Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy - Version 3.7.7

Version Description

Download this release

Release Info

Developer tareq1988
Plugin Icon wp plugin Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy
Version 3.7.7
Comparing to
See all releases

Code changes from version 3.7.6 to 3.7.7

assets/css/rtl.css CHANGED
@@ -91,6 +91,27 @@
91
  right: 93%;
92
  border-width: 16px 0px 16px 16px;
93
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.back a {
95
  padding-left: 0px;
96
  padding-right: 16px;
@@ -100,6 +121,7 @@
100
  }
101
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i {
102
  margin-top: 5px;
 
103
  }
104
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i.fa-angle-right {
105
  padding-top: 0px;
@@ -109,9 +131,27 @@
109
  -ms-transform: rotate(180deg);
110
  transform: rotate(180deg);
111
  }
 
 
 
 
 
 
112
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a {
113
  padding: 5% 5%;
114
  }
 
 
 
 
 
 
 
 
 
 
 
 
115
  .dokan-dashboard .product-edit-new-container .dokan-edit-row .dokan-section-heading h2 {
116
  float: right;
117
  }
91
  right: 93%;
92
  border-width: 16px 0px 16px 16px;
93
  }
94
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a {
95
+ padding-left: 16px;
96
+ padding-right: 0;
97
+ }
98
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a i.menu-dropdown {
99
+ display: none;
100
+ }
101
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover a i.menu-dropdown {
102
+ display: none;
103
+ }
104
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover:not(.active).has-submenu:after {
105
+ right: 92%;
106
+ border-width: 16px 0px 16px 16px;
107
+ }
108
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover:not(.active) ul.navigation-submenu {
109
+ right: 100%;
110
+ }
111
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover:not(.active) ul.navigation-submenu li {
112
+ padding-left: 0;
113
+ padding-right: 0.75em;
114
+ }
115
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.back a {
116
  padding-left: 0px;
117
  padding-right: 16px;
121
  }
122
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i {
123
  margin-top: 5px;
124
+ padding-left: 8px;
125
  }
126
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i.fa-angle-right {
127
  padding-top: 0px;
131
  -ms-transform: rotate(180deg);
132
  transform: rotate(180deg);
133
  }
134
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i.menu-dropdown {
135
+ transform: translateX(-50%) translateY(0%) rotate(180deg);
136
+ }
137
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i.menu-dropdown::before {
138
+ padding-left: 0;
139
+ }
140
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a {
141
  padding: 5% 5%;
142
  }
143
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu {
144
+ margin-right: 0;
145
+ }
146
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li {
147
+ padding-right: 1em;
148
+ padding-left: 0;
149
+ }
150
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li:hover:before,
151
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li.current:before {
152
+ right: 1%;
153
+ left: auto;
154
+ }
155
  .dokan-dashboard .product-edit-new-container .dokan-edit-row .dokan-section-heading h2 {
156
  float: right;
157
  }
assets/css/style.css CHANGED
@@ -2072,7 +2072,6 @@ article.dokan-notice-single-notice-area span.dokan-single-announcement-date {
2072
  width: 17%;
2073
  _float: left;
2074
  flex: 1 auto;
2075
- overflow: hidden;
2076
  background-color: #242424;
2077
  }
2078
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu {
@@ -2084,6 +2083,7 @@ article.dokan-notice-single-notice-area span.dokan-single-announcement-date {
2084
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li {
2085
  margin: 0;
2086
  position: relative;
 
2087
  }
2088
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
2089
  padding: 10px 0 10px 18px;
@@ -2097,10 +2097,52 @@ article.dokan-notice-single-notice-area span.dokan-single-announcement-date {
2097
  font-size: 17px;
2098
  padding-right: 15px;
2099
  }
 
 
 
2100
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover {
2101
  background: #f05025;
2102
  color: #fff;
2103
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2104
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links:hover {
2105
  background: none !important;
2106
  }
@@ -2117,13 +2159,54 @@ article.dokan-notice-single-notice-area span.dokan-single-announcement-date {
2117
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:last-child {
2118
  border-right: none;
2119
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2120
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active {
2121
  position: relative;
2122
  background: #f05025;
2123
  }
2124
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active:after {
2125
  left: 93%;
2126
- top: 50%;
2127
  border: transparent solid;
2128
  content: ' ';
2129
  height: 0;
@@ -2135,6 +2218,31 @@ article.dokan-notice-single-notice-area span.dokan-single-announcement-date {
2135
  border-width: 16px 16px 16px 0;
2136
  margin-top: -16px;
2137
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2138
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu {
2139
  background: #fff;
2140
  margin: 0;
2072
  width: 17%;
2073
  _float: left;
2074
  flex: 1 auto;
 
2075
  background-color: #242424;
2076
  }
2077
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu {
2083
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li {
2084
  margin: 0;
2085
  position: relative;
2086
+ cursor: pointer;
2087
  }
2088
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
2089
  padding: 10px 0 10px 18px;
2097
  font-size: 17px;
2098
  padding-right: 15px;
2099
  }
2100
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i.menu-dropdown::before {
2101
+ padding-left: 15px;
2102
+ }
2103
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover {
2104
  background: #f05025;
2105
  color: #fff;
2106
  }
2107
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover ul.navigation-submenu {
2108
+ position: relative;
2109
+ top: auto;
2110
+ left: auto;
2111
+ right: auto;
2112
+ bottom: auto;
2113
+ }
2114
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover:not(.active).has-submenu:after {
2115
+ right: 0;
2116
+ top: 1.3rem;
2117
+ border: transparent solid;
2118
+ content: ' ';
2119
+ height: 0;
2120
+ width: 0;
2121
+ position: absolute;
2122
+ pointer-events: none;
2123
+ border-color: transparent #242424eb transparent transparent;
2124
+ border-left-color: #242424eb;
2125
+ border-width: 16px 16px 16px 0;
2126
+ margin-top: -16px;
2127
+ z-index: 990;
2128
+ }
2129
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover:not(.active) ul.navigation-submenu {
2130
+ position: absolute;
2131
+ bottom: 0;
2132
+ left: 100%;
2133
+ min-width: 165px;
2134
+ display: block;
2135
+ background: #242424eb;
2136
+ border-bottom: none;
2137
+ padding: 1.5px;
2138
+ }
2139
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover:not(.active) ul.navigation-submenu li {
2140
+ display: block;
2141
+ padding-left: 0.5em;
2142
+ }
2143
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover a i.menu-dropdown {
2144
+ display: none;
2145
+ }
2146
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links:hover {
2147
  background: none !important;
2148
  }
2159
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:last-child {
2160
  border-right: none;
2161
  }
2162
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu {
2163
+ list-style: none;
2164
+ position: absolute;
2165
+ top: -1000em;
2166
+ left: 160px;
2167
+ overflow: visible;
2168
+ word-wrap: break-word;
2169
+ z-index: 9999;
2170
+ box-shadow: 0 3px 5px rgb(0 0 0%);
2171
+ margin-left: 0;
2172
+ background: #242424ed;
2173
+ padding: 3px 0;
2174
+ }
2175
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li {
2176
+ padding-left: 1.3em;
2177
+ line-height: 1;
2178
+ background: #242424ed;
2179
+ }
2180
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li a {
2181
+ font-size: 13px;
2182
+ }
2183
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li:hover,
2184
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li.current {
2185
+ background: inherit;
2186
+ }
2187
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li:hover:before,
2188
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li.current:before {
2189
+ left: 0.75%;
2190
+ top: 4%;
2191
+ border: transparent solid;
2192
+ content: ' ';
2193
+ height: 90%;
2194
+ position: absolute;
2195
+ pointer-events: none;
2196
+ border-color: #fff;
2197
+ }
2198
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li:hover a,
2199
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li.current a {
2200
+ font-weight: 800 !important;
2201
+ color: #fff;
2202
+ }
2203
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active {
2204
  position: relative;
2205
  background: #f05025;
2206
  }
2207
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active:after {
2208
  left: 93%;
2209
+ top: 1.3rem;
2210
  border: transparent solid;
2211
  content: ' ';
2212
  height: 0;
2218
  border-width: 16px 16px 16px 0;
2219
  margin-top: -16px;
2220
  }
2221
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active ul.navigation-submenu {
2222
+ position: relative;
2223
+ z-index: 3;
2224
+ top: auto;
2225
+ left: auto;
2226
+ right: auto;
2227
+ bottom: auto;
2228
+ border: 0 none;
2229
+ border-bottom: 0.5px solid #f05025;
2230
+ margin-top: 0;
2231
+ box-shadow: none;
2232
+ }
2233
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active ul.navigation-submenu li:not(.current) a {
2234
+ font-weight: normal;
2235
+ }
2236
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active ul.navigation-submenu li a:focus {
2237
+ outline: none;
2238
+ }
2239
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a {
2240
+ padding-right: 16px;
2241
+ font-weight: 800;
2242
+ }
2243
+ .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a i.menu-dropdown {
2244
+ display: none;
2245
+ }
2246
  .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu {
2247
  background: #fff;
2248
  margin: 0;
assets/js/dokan.js CHANGED
@@ -2936,6 +2936,86 @@ jQuery(function($) {
2936
  .css('cursor', 'help');
2937
  });
2938
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2939
  })(jQuery);
2940
  /**
2941
  * Show Delete Button Prompt
@@ -2964,7 +3044,6 @@ jQuery(function($) {
2964
  }
2965
  }
2966
 
2967
-
2968
  ;(function($) {
2969
  var storeLists = {
2970
  /**
2936
  .css('cursor', 'help');
2937
  });
2938
  });
2939
+
2940
+ // Submenu navigation on vendor dashboard
2941
+ $( '#dokan-navigation .dokan-dashboard-menu li.has-submenu:not(.active)' )
2942
+ .on( 'mouseover', (e) => {
2943
+ dokanNavigateSubmenu(e);
2944
+ } )
2945
+ .on( 'mouseout', (e) => {
2946
+ dokanNavigateSubmenu( e, true );
2947
+ } );
2948
+
2949
+ /**
2950
+ * Navigates submenu on hovering the parent menu.
2951
+ *
2952
+ * @param {event} evt The dom event
2953
+ * @param {boolean} hide Hide or show sub menu
2954
+ *
2955
+ * @return {void}
2956
+ */
2957
+ function dokanNavigateSubmenu( evt, hide ) {
2958
+ const elem = $( evt.target ).closest( 'li.has-submenu' );
2959
+
2960
+ elem.find( '.navigation-submenu' ).each( ( index, subElem ) => {
2961
+ if ( ! hide ) {
2962
+ elem.addClass( 'submenu-hovered' );
2963
+
2964
+ let elemRect = elem[0].getBoundingClientRect(),
2965
+ subElemRect = subElem.getBoundingClientRect(),
2966
+ dashboard = $( '.dokan-dashboard-wrap' ),
2967
+ dashboardRect = dashboard[0].getBoundingClientRect(),
2968
+ dashboardHeight = Math.min( dashboardRect.bottom, dashboardRect.height );
2969
+
2970
+ if ( dashboardHeight < subElemRect.height ) {
2971
+ let extendedHeight = subElemRect.height - dashboardHeight;
2972
+ if ( elemRect.top < elemRect.height ) {
2973
+ extendedHeight += elemRect.top;
2974
+ }
2975
+ dashboard.css( 'height', dashboardRect.height + extendedHeight );
2976
+ } else {
2977
+ dashboard.css( 'height', '' );
2978
+ }
2979
+
2980
+ if ( elemRect.top < elemRect.height ) {
2981
+ $(subElem).css( 'bottom', 'unset' );
2982
+ $(subElem).css( 'top', 0 );
2983
+ } else {
2984
+ $(subElem).css( 'top', 'unset' );
2985
+
2986
+ let dist = elemRect.top - subElemRect.height;
2987
+ if ( dist > 0 ) {
2988
+ $(subElem).css( 'bottom', 0 );
2989
+
2990
+ subElemRect = subElem.getBoundingClientRect();
2991
+ if ( subElemRect.top < 0 ) {
2992
+ $(subElem).css( 'bottom', 'unset' );
2993
+ $(subElem).css( 'top', 0 );
2994
+ }
2995
+ } else {
2996
+ $(subElem).css( 'bottom', dist );
2997
+
2998
+ let navRect = $( '.dokan-dash-sidebar' )[0].getBoundingClientRect(),
2999
+ navElderSiblingRect = $( '.entry-header' )[0].getBoundingClientRect();
3000
+ subElemRect = subElem.getBoundingClientRect();
3001
+
3002
+ if ( subElemRect.bottom > navRect.bottom ) {
3003
+ dist += subElemRect.bottom - navRect.bottom;
3004
+ } else if ( subElemRect.bottom - navElderSiblingRect.bottom < subElemRect.height ) {
3005
+ dist += subElemRect.bottom - navElderSiblingRect.bottom - subElemRect.height - 20;
3006
+ }
3007
+
3008
+ $(subElem).css( 'bottom', dist );
3009
+ }
3010
+ }
3011
+ } else {
3012
+ elem.removeClass( 'submenu-hovered' );
3013
+ $( '.dokan-dashboard-wrap' ).css( 'height', '' );
3014
+ $(subElem).css( 'bottom', 0 );
3015
+ $(subElem).removeAttr( 'style' );
3016
+ }
3017
+ } );
3018
+ }
3019
  })(jQuery);
3020
  /**
3021
  * Show Delete Button Prompt
3044
  }
3045
  }
3046
 
 
3047
  ;(function($) {
3048
  var storeLists = {
3049
  /**
assets/js/vue-admin.js CHANGED
@@ -6320,7 +6320,12 @@ var AdminNotice = dokan_get_lib('AdminNotice');
6320
 
6321
  if (!this.awaitingSearch) {
6322
  setTimeout(function () {
6323
- var searchText = _this4.$refs.searchInSettings.value.toLowerCase();
 
 
 
 
 
6324
 
6325
  _this4.doSearch(searchText);
6326
 
@@ -6337,21 +6342,33 @@ var AdminNotice = dokan_get_lib('AdminNotice');
6337
  var settingFields = {};
6338
  var filteredSettingSections = [];
6339
  var settingSections = [];
6340
- var dokan_setting_fields = dokan.settings_fields;
6341
- Object.keys(dokan_setting_fields).forEach(function (section, index) {
6342
- Object.keys(dokan_setting_fields[section]).forEach(function (field, i) {
6343
- if (dokan_setting_fields[section][field].type === "sub_section") {
6344
- return;
6345
- }
 
 
 
 
 
 
 
 
 
 
 
 
6346
 
6347
- var label = dokan_setting_fields[section][field]['label'].toLowerCase();
6348
 
6349
  if (label && label.includes(searchText)) {
6350
  if (!settingFields[section]) {
6351
  settingFields[section] = {};
6352
  }
6353
 
6354
- settingFields[section][field] = dokan_setting_fields[section][field];
6355
 
6356
  if (filteredSettingSections.indexOf(section) === -1) {
6357
  filteredSettingSections.push(section);
@@ -6360,7 +6377,7 @@ var AdminNotice = dokan_get_lib('AdminNotice');
6360
  });
6361
  });
6362
  var currentTab = 0;
6363
- Object.keys(dokan.settings_sections).forEach(function (section, index) {
6364
  if (filteredSettingSections.indexOf(dokan.settings_sections[section].id) !== -1) {
6365
  if (!currentTab) {
6366
  _this5.changeTab(dokan.settings_sections[section]);
6320
 
6321
  if (!this.awaitingSearch) {
6322
  setTimeout(function () {
6323
+ var searchText = _this4.$refs.searchInSettings.value; // If more than two (space/tab) found, replace with space > trim > lowercase.
6324
+
6325
+ searchText = searchText.replace(/\s\s+/g, ' ').trim().toLowerCase(); // Create an empty string search first to resolve all previous-state issues.
6326
+
6327
+ _this4.doSearch(''); // Search now with searchText.
6328
+
6329
 
6330
  _this4.doSearch(searchText);
6331
 
6342
  var settingFields = {};
6343
  var filteredSettingSections = [];
6344
  var settingSections = [];
6345
+ var dokanSettingFields = dokan.settings_fields;
6346
+ var dokanSettingSections = dokan.settings_sections;
6347
+ Object.keys(dokanSettingFields).forEach(function (section, index) {
6348
+ Object.keys(dokanSettingFields[section]).forEach(function (field) {
6349
+ var label = ''; // Append section field label and description.
6350
+
6351
+ if ('sub_section' !== dokanSettingFields[section][field].type) {
6352
+ label += " ".concat(dokanSettingFields[section][field]['label'], " ").concat(dokanSettingFields[section][field]['desc']);
6353
+ } // Append section label and description.
6354
+
6355
+
6356
+ Object.keys(dokanSettingSections).forEach(function (foundSectionIndex) {
6357
+ var foundSection = dokanSettingSections[foundSectionIndex];
6358
+
6359
+ if ((foundSection === null || foundSection === void 0 ? void 0 : foundSection.id) === section) {
6360
+ label += " ".concat(foundSection.title, " ").concat(foundSection.description, " ").concat(foundSection.settings_description);
6361
+ }
6362
+ }); // Make the label lowercase, as `searchText` is also like that.
6363
 
6364
+ label = label.toLocaleLowerCase();
6365
 
6366
  if (label && label.includes(searchText)) {
6367
  if (!settingFields[section]) {
6368
  settingFields[section] = {};
6369
  }
6370
 
6371
+ settingFields[section][field] = dokanSettingFields[section][field];
6372
 
6373
  if (filteredSettingSections.indexOf(section) === -1) {
6374
  filteredSettingSections.push(section);
6377
  });
6378
  });
6379
  var currentTab = 0;
6380
+ Object.keys(dokan.settings_sections).forEach(function (section) {
6381
  if (filteredSettingSections.indexOf(dokan.settings_sections[section].id) !== -1) {
6382
  if (!currentTab) {
6383
  _this5.changeTab(dokan.settings_sections[section]);
assets/js/vue-admin.min.js CHANGED
@@ -1 +1 @@
1
- dokanWebpack([0],[,function(e,t){e.exports=jQuery},function(e,t,a){"use strict";var s=a(11),n=a(32),i=!1;var o=function(e){i||a(31)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,function(e,t,a){"use strict";var s=a(54),n=a(135),i=!1;var o=function(e){i||a(134)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UpgradeBanner.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var s=a(18);a(26);t.a={extends:s.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{x:{type:"time",title:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}},y:{title:{display:!1},ticks:{fontColor:"#aaa"}}},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",s=t.datasets[e.datasetIndex].tooltipLabel||"",n=t.datasets[e.datasetIndex].tooltipPrefix||"",i=s?s+": ":a+": ";return i+=n+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},,function(e,t,a){"use strict";var s=a(65);t.a={components:{Sketch:s.a},props:{value:{type:String,default:"",required:!0},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,default:!0,required:!1},disableFields:{type:Boolean,default:!0,required:!1},customData:{type:Object,required:!0},itemKey:{type:String,required:!0}},data:function(){return{isPicked:!1,prevColor:"",showColorPicker:!1,selectedColor:""}},watch:{customData:{handler:function(){this.showColorPicker=this.customData.show_pallete,this.showColorPicker||this.updateColor({hex:this.prevColor})},deep:!0}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format],this.selectedColor=t),this.$emit("input",t),this.$emit("custom-change",t)},toggleColorPicker:function(){this.prevColor=this.value;var e={key:this.itemKey,values:this.customData};this.isPicked||this.updateColor({hex:this.prevColor}),this.$emit("toggleColorPicker",e)},setLastColor:function(e){var t={key:this.itemKey,values:this.customData};this.updateColor({hex:e}),this.$emit("toggleColorPicker",t)},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";var s=a(5),n=(a.n(s),a(2)),i=a(22),o=a(23);t.a={name:"VendorAccountFields",components:{Switches:n.a,UploadImage:i.a,PasswordGenerator:o.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.vendorInfo.user_nicename=e.split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(s.debounce)(this.checkStore,this.delay),this.checkUsername=Object(s.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(s.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},s={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,s,n,i){return(!0!==e||!0!==t)&&((!0!==e||s!==i)&&((!0!==t||a!==n)&&((a!==n||s!==i)&&!(n<=a))))}},n=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:s})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=n,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,s,n,i,o,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);o=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,o,i)),(s=o)/(n=i)>(a=l/d)?l=(d=n)*a:d=(l=s)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:o,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var s=a(6);a.n(s);t.a={name:"VendorAddressFields",components:{Multiselect:s.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],s=a&&a[e];return void 0!==s?s:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var s in a)if(s===e&&!(a[s]&&a[s].length<1))for(var n in a[s])t.push({name:a[s][n],code:n});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var s=a(2),n=a(6);a.n(n);t.a={name:"VendorPaymentFields",components:{Switches:s.a,Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,s=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=s}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,,,,,function(e,t,a){"use strict";var s=a(13),n=a(35),i=!1;var o=function(e){i||a(34)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(14),n=a(36),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,function(e,t,a){"use strict";var s=a(8),n=a(0)(s.a,null,!1,null,null,null);n.options.__file="src/admin/components/Chart.vue",t.a=n.exports},,,function(e,t,a){"use strict";var s=a(10),n=a(30),i=!1;var o=function(e){i||a(29)},r=a(0)(s.a,n.a,!1,o,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("div",{staticClass:"color",style:{backgroundColor:e.value}}),e._v(" "),a("span",{staticClass:"dashicons dashicons-arrow-down-alt2"})]),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e(),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small dashicons dashicons-no-alt",attrs:{type:"button"},on:{click:function(t){return e.setLastColor(e.prevColor)}}}),e._v(" "),a("button",{staticClass:"button button-small dashicons dashicons-saved",attrs:{type:"button"},on:{click:e.toggleColorPicker}})]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(12),n=a(37),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage.apply(null,arguments)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword.apply(null,arguments)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword.apply(null,arguments)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton.apply(null,arguments)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picture on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"first-name"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"first-name",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"last-name"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"last-name",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",id:"store-name",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"user-nicename"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"user-nicename",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",id:"store-phone",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",id:"store-email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"user-login"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",id:"user-login",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{id:"store-password",type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(15),n=a(40),i=!1;var o=function(e){i||a(39)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"street-1",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"street-2",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"city",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"zip",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"country",options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{id:"state",type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{id:"state",options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(16),n=a(43),i=!1;var o=function(e){i||a(42)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"account-name",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"account-number",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-type"}},[e._v(e._s(e.__("Account Type","dokan-lite")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_type,expression:"vendorInfo.payment.bank.ac_type"}],staticClass:"dokan-form-input",attrs:{id:"account-type"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.vendorInfo.payment.bank,"ac_type",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:""}},[e._v(e._s(e.__("Please Select...","dokan-lite")))]),e._v(" "),a("option",{attrs:{value:"personal"}},[e._v(e._s(e.__("Personal","dokan-lite")))]),e._v(" "),a("option",{attrs:{value:"business"}},[e._v(e._s(e.__("Business","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"bank-name",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"bank-address",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"routing-number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"iban",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"swift",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"paypal-email"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"paypal-email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"commission-type"}},[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"commission-type",options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("%    +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,,,function(e,t,a){"use strict";t.a={name:"App"}},function(e,t,a){"use strict";var s=a(25),n=a(4),i=dokan_get_lib("Postbox"),o=dokan_get_lib("Loading"),r=dokan_get_lib("Currency"),l=dokan_get_lib("AdminNotice");t.a={name:"Dashboard",components:{Postbox:i,Loading:o,Chart:s.a,Currency:r,UpgradeBanner:n.a,AdminNotice:l},data:function(){return{overview:null,feed:null,report:null,subscribe:{success:!1,loading:!1,email:"",full_name:""},hasPro:!!dokan.hasPro}},created:function(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview:function(){var e=this;dokan.api.get("/admin/report/summary").done(function(t){e.overview=t})},fetchFeed:function(){var e=this;dokan.api.get("/admin/dashboard/feed").done(function(t){e.feed=t})},fetchReport:function(){var e=this;dokan.api.get("/admin/report/overview").done(function(t){e.report=t})},validEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},emailSubscribe:function(){var e=this;if(this.validEmail(this.subscribe.email)){this.subscribe.loading=!0;var t={type:"POST",url:"https://api.getwemail.io/v1/embed/subscribe/8da67b42-c367-4ad3-ae70-5cf63635a832",data:{email:this.subscribe.email,full_name:this.subscribe.full_name,tag:"8e0ae2bb-e838-4ec8-9aa1-c9e5dd96fe34"},headers:{"X-Requested-With":"XMLHttpRequest"}};wp.ajax.send(t,t.data).always(function(t){e.subscribe.success=!0,e.subscribe.loading=!1})}}}}},,function(e,t,a){"use strict";t.a={name:"UpgradeBanner",data:function(){return{show:dokan.showPromoBanner,upgradeURL:dokan.urls.upgradeToPro}},computed:{showUpgrade:function(){return!dokan.hasPro&&"show"===dokan.proNag}},methods:{dismiss:function(){this.show=!1,wp.ajax.post("dokan-upgrade-dissmiss")}}}},function(e,t,a){"use strict";var s=a(1),n=a.n(s),i=a(4),o=dokan_get_lib("ListTable"),r=dokan_get_lib("Modal"),l=dokan_get_lib("Currency"),d=dokan_get_lib("AdminNotice");t.a={name:"Withdraw",components:{ListTable:o,Modal:r,Currency:l,UpgradeBanner:i.a,AdminNotice:d},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,filter:{user_id:0},counts:{pending:0,approved:0,cancelled:0},notFound:this.__("No requests found.","dokan-lite"),massPayment:this.__("Paypal Mass Payment File is Generated.","dokan-lite"),showCb:!0,loading:!1,columns:{seller:{label:this.__("Vendor","dokan-lite")},amount:{label:this.__("Amount","dokan-lite")},status:{label:this.__("Status","dokan-lite")},method_title:{label:this.__("Method","dokan-lite")},method_details:{label:this.__("Details","dokan-lite")},note:{label:this.__("Note","dokan-lite")},created:{label:this.__("Date","dokan-lite")},actions:{label:this.__("Actions","dokan-lite")}},requests:[],actionColumn:"seller",hasPro:!!dokan.hasPro}},watch:{"$route.query.status":function(){this.filter.user_id=0,this.clearSelection("#filter-vendors"),this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()},"$route.query.user_id":function(){this.fetchRequests()},"filter.user_id":function(e){0===e&&this.clearSelection("#filter-vendors"),this.goTo(this.query)}},computed:{currentStatus:function(){return this.$route.query.status||"pending"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},actions:function(){return"pending"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"cancel",label:this.__("Cancel","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"pending",label:this.__("Pending","dokan-lite")}]:[]},bulkActions:function(){return"pending"==this.currentStatus?[{key:"approved",label:this.__("Approve","dokan-lite")},{key:"cancelled",label:this.__("Cancel","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"pending",label:this.__("Pending","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:[{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]}},created:function(){this.fetchRequests()},mounted:function(){var e=this;n()("#filter-vendors").selectWoo({ajax:{url:"".concat(dokan.rest.root,"dokan/v1/stores"),dataType:"json",headers:{"X-WP-Nonce":dokan.rest.nonce},data:function(e){return{search:e.term}},processResults:function(e){return{results:e.map(function(e){return{id:e.id,text:e.store_name}})}}}}),n()("#filter-vendors").on("select2:select",function(t){e.filter.user_id=t.params.data.id})},methods:{updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Completed")),this.counts.cancelled=parseInt(e.getResponseHeader("X-Status-Cancelled"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},vendorUrl:function(e){return"1"===window.dokan.hasPro?dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e:dokan.urls.adminRoot+"user-edit.php?user_id="+e},fetchRequests:function(){var e=this;this.loading=!0;var t="";parseInt(this.filter.user_id)>0&&(t=this.filter.user_id);var a={per_page:this.perPage,page:this.currentPage,status:this.currentStatus,user_id:t};dokan.api.get("/withdraw",a).done(function(t,a,s){e.requests=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},goToPage:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:e,user_id:this.filter.user_id}})},goTo:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,user_id:this.filter.user_id}})},updateItem:function(e,t){var a=this.requests.findIndex(function(t){return t.id==e});this.$set(this.requests,a,t)},changeStatus:function(e,t){var a=this;this.loading=!0,dokan.api.put("/withdraw/"+t,{status:e}).done(function(e){a.loading=!1,a.fetchRequests()})},onActionClick:function(e,t){var a=this;"cancel"===e&&this.changeStatus("cancelled",t.id),"pending"===e&&this.changeStatus("pending",t.id),"trash"===e&&confirm(this.__("Are you sure?","dokan-lite"))&&(this.loading=!0,dokan.api.delete("/withdraw/"+t.id).done(function(e){a.loading=!1,a.fetchRequests()}))},getPaymentTitle:function(e,t){var a,s=t.method_title;void 0!==t.details[e]&&"dokan_custom"===e&&(s=null!==(a=t.details[e].method)&&void 0!==a?a:"");return dokan.hooks.applyFilters("dokan_get_payment_title",s,e,t)},getPaymentDetails:function(e,t){var a="—";if(void 0!==t[e])if("paypal"===e||"skrill"===e)a=t[e].email||"";else if("bank"===e)t.bank.hasOwnProperty("ac_name")&&(a="<p>"+this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)+"</p>"),t.bank.hasOwnProperty("ac_number")&&(a+="<p>"+this.sprintf(this.__("Account Number: %s","dokan-lite"),t.bank.ac_number)+"</p>"),t.bank.hasOwnProperty("bank_name")&&(a+="<p>"+this.sprintf(this.__("Bank Name: %s","dokan-lite"),t.bank.bank_name)+"</p>"),t.bank.hasOwnProperty("iban")&&(a+="<p>"+this.sprintf(this.__("IBAN: %s","dokan-lite"),t.bank.iban)+"</p>"),t.bank.hasOwnProperty("routing_number")&&(a+="<p>"+this.sprintf(this.__("Routing Number: %s","dokan-lite"),t.bank.routing_number)+"</p>"),t.bank.hasOwnProperty("swift")&&(a+="<p>"+this.sprintf(this.__("Swift Code: %s","dokan-lite"),t.bank.swift)+"</p>");else if("dokan_custom"===e){var s;a=null!==(s=t[e].value)&&void 0!==s?s:""}return dokan.hooks.applyFilters("dokan_get_payment_details",a,e,t)},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),onBulkAction:function(e,t){var a=this,s=this;if(_.contains(["delete","approved","cancelled","pending"],e)){var n={};n[e]=t,this.loading=!0,dokan.api.put("/withdraw/batch",n).done(function(e){a.loading=!1,a.fetchRequests()})}if("paypal"===e){var i=t.join(",");jQuery.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:i,action:"withdraw_ajax_submission",nonce:dokan.nonce},function(e,t,a){if("html/csv"===a.getResponseHeader("Content-type")){var n="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=o&&o[1]&&(n=o[1].replace(/['"]/g,""))}var r=a.getResponseHeader("Content-Type"),l="function"==typeof File?new File([e],n,{type:r}):new Blob([e],{type:r});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,n);else{var d=window.URL||window.webkitURL,c=d.createObjectURL(l);if(n){var u=document.createElement("a");void 0===u.download?window.location=c:(u.href=c,u.download=n,document.body.appendChild(u),u.click())}else window.location=c;setTimeout(function(){d.revokeObjectURL(c)},100)}}e&&alert(s.massPayment)})}},openNoteModal:function(e,t){this.showModal=!0,this.editing={id:t,note:e}},updateNote:function(){var e=this;this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id,{note:this.editing.note}).done(function(t){e.loading=!1,e.updateItem(e.editing.id,t),e.editing={id:null,note:null}})},clearSelection:function(e){n()(e).val(null).trigger("change")}}}},function(e,t,a){"use strict";var s=a(57),n=a(144),i=(a.n(n),a(147));t.a={name:"Premium",components:{Slick:i.a,ProCta:s.a},data:function(){return{asstesUrl:dokan.urls.assetsUrl,buyNowProUrl:"https://wedevs.com/account/",services:[{title:this.__("Premium modules to make everything easier & better","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-01@2x.png"},{title:this.__("Frontend dashboard for vendors with advanced controls","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-02@2x.png"},{title:this.__("Unlimited Product Variations and group product upload","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-03@2x.png"},{title:this.__("Zone wise shipping with multiple method for vendors","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-04@2x.png"},{title:this.__("Store support based on ticket system for your customers","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-05@2x.png"},{title:this.__("Vendors will be able to generate coupon codes","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-06@2x.png"},{title:this.__("Earning, Selling and Commission Reports & Statement","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-07@2x.png"},{title:this.__("24/7 super fast premium customer support for you","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-08@2x.png"},{title:this.__("Add Social profile to your vendor’s store and support for store SEO","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-09@2x.png"}],comparisons:[{title:this.__("Frontend order management","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Seller Statement Reports","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Making Announcements","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Customized Product Categories","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store SEO","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Back Ordering System","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store Contact Form","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Single Product Multiple Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Seller Verification","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Featured Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Multiple Commission Types","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Frontend Shipping Tracking","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Setup Wizard","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Google Maps","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Manage reviews","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Bookable Product","dokan-lite"),compare:{lite:"unavailable",pro:"available"}}],modules:[{title:"Domain",url:"https://wedevs.com/dokan/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"03"},business:{type:"numeric",value:"05"},enterprise:{type:"numeric",value:"20"}},{title:"Modules",url:"https://wedevs.com/dokan/modules/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"08"},business:{type:"numeric",value:"14"},enterprise:{type:"numeric",value:"14"}},{title:"Color Scheme",url:"https://wedevs.com/dokan/modules/color-scheme-customizer/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Review",url:"https://wedevs.com/dokan/modules/dokan-vendor-review/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Store Support",url:"https://wedevs.com/dokan/modules/store-support/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Auction",url:"https://wedevs.com/dokan/modules/dokan-simple-auctions/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Ajax Live Search",url:"https://wedevs.com/dokan/modules/ajax-live-search/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Stripe Connect",url:"https://wedevs.com/dokan/modules/stripe-connect/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Subscriptions",url:"https://wedevs.com/dokan/modules/subscription/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Single Product Multivendor",url:"https://wedevs.com/dokan/modules/single-product-multivendor/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Seller Verification",url:"https://wedevs.com/dokan/modules/seller-verification/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"WC Booking Integration",url:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Staff Manager",url:"https://wedevs.com/dokan/modules/vendor-staff-manager/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Export Import",url:"https://wedevs.com/dokan/modules/export-import/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Product Enquiry",url:"https://wedevs.com/dokan/modules/product-enquiry/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Vacation",url:"https://wedevs.com/dokan/modules/vendor-vacation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Return and Warranty Request",url:"https://wedevs.com/dokan/modules/rma/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Moip",url:"https://wedevs.com/dokan/modules/moip/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Follow Store",url:"https://wedevs.com/dokan/modules/follow-store/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Geolocation",url:"https://wedevs.com/dokan/modules/geolocation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Shipstation",url:"https://wedevs.com/dokan/modules/shipstation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Wholesale",url:"https://wedevs.com/dokan/modules/wholesale/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}}],payment:{thumbnail:dokan.urls.assetsUrl+"/images/premium/payment-options.png",guaranteeThumbnail:dokan.urls.assetsUrl+"/images/premium/gaurantee-thumb.png",viewIcon:dokan.urls.assetsUrl+"/images/premium/view-icon@2x.png",termsPolicyUrl:"https://wedevs.com/refund-policy/"},slickOptions:{slidesToShow:1,fade:!0,speed:500,cssEase:"linear",autoplay:!0,autoplaySpeed:2e3,infinite:!0,accessibility:!0,adaptiveHeight:!1,arrows:!1,dots:!0,draggable:!0,edgeFriction:.3,swipe:!0},testimonials:[{name:"Melissa McGovern",designation:"Director, Hawk And PeddleProjects",pic:dokan.urls.assetsUrl+"/images/premium/melissa.jpg",content:"We're still a new business and are continuing to build our platform. Dokan has halved the time it would take us to build our ecommerce platform by being feature rich and easy to install and configure."},{name:"Morten J. Christensen",designation:"Owner, Dincatering",pic:dokan.urls.assetsUrl+"/images/premium/Morten-J.-Christensen.jpg",content:"First and foremost it enables the possibility for actually creating the kind of marketplace i wanted. The plugin lets me create a local marketplace for local danish catering suppliers to showcase and sell their offers of the season."},{name:"Cédric Lefrancq",designation:"Webmaster, Unwebmaster.Be",pic:dokan.urls.assetsUrl+"/images/premium/cedric-lefrancq.jpeg",content:"The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."},{name:"David Gaz",designation:"Founder, The Bureau Of Small Projects",pic:dokan.urls.assetsUrl+"/images/premium/david-gaz.jpeg",content:"It’s hands down an amazing plugin. But their support is even more amazing. They got back to me within hours on the weekend."}],cta:{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.buynowpro}}},methods:{next:function(){this.$refs.slick.next()},prev:function(){this.$refs.slick.prev()},reInit:function(){var e=this;this.$nextTick(function(){e.$refs.slick.reSlick()})}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(58),n=a(143),i=!1;var o=function(e){i||a(142)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ProCta.vue",t.a=r.exports},function(e,t,a){"use strict";t.a={name:"ProCta",data:function(){return{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.upgradeToPro}}}},function(e,t,a){"use strict";var s=a(4),n=dokan_get_lib("Postbox"),i=dokan_get_lib("Loading"),o=dokan_get_lib("AdminNotice");t.a={name:"Help",components:{Postbox:n,Loading:i,UpgradeBanner:s.a,AdminNotice:o},data:function(){return{docs:null,hasPro:!!dokan.hasPro}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;dokan.api.get("/admin/help").done(function(t){e.docs=t})}}}},function(e,t,a){"use strict";var s=a(1),n=a.n(s),i=a(4),o=dokan_get_lib("Loading"),r=dokan_get_lib("AdminNotice");t.a={name:"ChangeLog",components:{Loading:o,UpgradeBanner:i.a,AdminNotice:r},data:function(){return{active_package:"lite",current_version:"lite-0",scrollPosition:null,openVersions:[],activeVersionBorder:"",lite_versions:null,pro_versions:null,loading:!1,hasPro:!!dokan.hasPro}},methods:{formatReleaseDate:function(e){return n.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e))},badgeClass:function(e){switch(e){case"New":case"New Module":case"New Feature":return"badge-green";case"Fix":return"badge-red";default:return"badge-blue"}},getDokanLiteChangeLog:function(){var e=this;this.loading=!0,dokan.api.get("/admin/changelog/lite").done(function(t){e.lite_versions=JSON.parse(t),e.loading=!1}).fail(function(t){e.loading=!1,e.$notify({type:"error",title:e.__("Error","dokan-lite"),text:e.__("Something went wrong","dokan-lite")})})},getDokanProChangeLog:function(){var e=this;this.loading=!0,dokan.api.get("/admin/changelog/pro").done(function(t){e.pro_versions=JSON.parse(t),e.loading=!1}).fail(function(t){e.loading=!1,e.$notify({type:"error",title:e.__("Error","dokan-lite"),text:e.__("Something went wrong","dokan-lite")})})},dismissWhatsNewNotice:function(){var e="pro"===this.active_package?"dokan-pro-whats-new-notice":"dokan-whats-new-notice";n.a.ajax({url:dokan.ajaxurl,method:"post",dataType:"json",data:{action:e,nonce:dokan.nonce,dokan_promotion_dismissed:!0}})},toggleReading:function(e){return this.isOpenVersion(e)?this.openVersions.splice(this.openVersions.indexOf(e),1):this.openVersions.push(e)},isOpenVersion:function(e){return this.openVersions.includes(e)},switchPackage:function(e){this.active_package=e,null===this.pro_versions&&"pro"===e&&this.getDokanProChangeLog(),null===this.lite_versions&&"lite"===e&&this.getDokanLiteChangeLog(),dokan.hasNewVersion&&this.dismissWhatsNewNotice()},isActivePackage:function(e){return this.active_package===e},addBorder:function(){var e,t=this;clearTimeout(e),this.activeVersionBorder="border: 1px solid #2271b1",e=setTimeout(function(){t.activeVersionBorder=""},3e3)},jumpVersion:function(e){this.current_version=e,this.goToPosition(e),this.addBorder()},isCurrentVersion:function(e){return this.current_version===e},updatePosition:function(){this.scrollPosition=window.scrollY},scrollTop:function(){this.goToPosition("change-log")},goToPosition:function(e){n()("html, body").animate({scrollTop:n()("#".concat(e)).offset().top-50},500)},loadChangelogData:function(){"dokan-pro"===this.$route.query.plugin?this.switchPackage("pro"):this.switchPackage("lite")}},watch:{"$route.query.plugin":function(){this.loadChangelogData()}},created:function(){this.loadChangelogData(),window.addEventListener("scroll",this.updatePosition)},destroyed:function(){window.removeEventListener("scroll",this.updatePosition)}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(20),o=a.n(i),r=a(21),l=a.n(r),d=a(159),c=a(190),u=a(4);function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var _=dokan_get_lib("Loading"),m=dokan_get_lib("AdminNotice");t.a={name:"Settings",components:{Fields:d.a,Loading:_,SettingsBanner:c.a,UpgradeBanner:u.a,AdminNotice:m},data:function(){return{isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{},requiredFields:[],errors:[],validationErrors:[],hasPro:!!dokan.hasPro,searchText:"",awaitingSearch:!1,withdrawMethods:{},isSaveConfirm:!1,dokanAssetsUrl:dokan.urls.assetsUrl}},computed:{refreshable_props:function(){var e,t={};for(e in this.settingFields){var a=this.settingFields[e],s=void 0;for(s in a)a[s].refresh_after_save&&(t["".concat(e,".").concat(s)]=!0)}return t}},methods:{changeTab:function(e){this.currentTab=e.id,this.requiredFields=[],this.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"}),"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},fetchSettingValues:function(){var e=this,t={action:"dokan_get_setting_values",nonce:dokan.nonce};e.showLoading=!0,jQuery.post(dokan.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,s){Object.keys(e.settingFields[a]).forEach(function(s,n){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][s]?void 0===e.settingFields[a][s].default?e.settingValues[a][s]="":e.settingValues[a][s]=e.settingFields[a][s].default:e.settingValues[a]=t.data[a]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0,e.setWithdrawMethods())})},showMedia:function(e,t){var a=this,s=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","dokan-lite"),button:{text:this.__("Select","dokan-lite")},multiple:!1});s.on("select",function(){var t=s.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),s.open()},saveSettings:function(e,t){var a=this;return o()(l.a.mark(function s(){var n,i,o;return l.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(a.formIsValid(t)){s.next=2;break}return s.abrupt("return");case 2:if("dokan_withdraw"!==t){s.next=9;break}return s.next=5,a.setPaymentChangeAnnouncementAction(e,t);case 5:n=s.sent,e.send_announcement_for_payment_change=!1,"value"in n&&!0===n.value&&(e.send_announcement_for_payment_change=a.getDifference(a.withdrawMethods,e.withdraw_methods)),a.withdrawMethods=e.withdraw_methods;case 9:i=a,o={action:"dokan_save_settings",nonce:dokan.nonce,settingsData:e,section:t},i.showLoading=!0,jQuery.post(dokan.ajaxurl,o).done(function(a){var s,n=a.data.settings;for(s in i.isSaved=!0,i.isUpdated=!0,i.message=a.data.message,i.settingValues[n.name]=n.value,e){var o="".concat(t,".").concat(s);if(i.refreshable_props[o]){window.location.reload();break}}i.validationErrors=[]}).fail(function(e){i.validationErrors=e.responseJSON.data.errors}).always(function(){i.showLoading=!1}),a.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"});case 13:case"end":return s.stop()}},s)}))()},setWithdrawMethods:function(){"withdraw_methods"in this.settingValues.dokan_withdraw&&(this.withdrawMethods=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},this.settingValues.dokan_withdraw.withdraw_methods))},setPaymentChangeAnnouncementAction:function(e,t){var a=this;return o()(l.a.mark(function s(){var n;return l.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if("withdraw_methods"in e&&"dokan_withdraw"===t){s.next=2;break}return s.abrupt("return",Promise.resolve({value:!1}));case 2:if(n=a.getDifference(a.withdrawMethods,e.withdraw_methods),0!==Object.keys(n).length){s.next=5;break}return s.abrupt("return",Promise.resolve({value:!1}));case 5:return s.abrupt("return",Swal.fire({title:a.__("Withdraw Method Changed","dokan-lite"),text:a.__("Do you want to send an announcement to vendors about the removal of currently active payment method?","dokan-lite"),icon:"warning",showCancelButton:!0,confirmButtonText:a.__("Save & send announcement","dokan-lite"),cancelButtonText:a.__("Save only","dokan-lite"),allowOutsideClick:!1,allowEscapeKey:!1}));case 6:case"end":return s.stop()}},s)}))()},getDifference:function(e,t){var a={};return Object.keys(t).forEach(function(s){""!==e[s]&&""===t[s]&&(a[s]=s)}),a},formIsValid:function(e){var t=this,a=Object.keys(this.settingFields),s=this.requiredFields;return!!a&&(a.forEach(function(a,n){if(e===a){var i=t.settingFields[a];Object.values(i).forEach(function(e){var t=e.fields;t&&Object.values(t).forEach(function(e){e&&e.required&&"yes"===e.required&&!s.includes(e.name)&&s.push(e.name)}),e&&e.required&&"yes"===e.required&&(s.includes(e.name)||s.push(e.name))})}}),this.errors=[],s.forEach(function(e){Object.values(t.settingValues).forEach(function(a){e in a&&a[e].length<1&&(t.errors.includes(e)||(t.errors.push(e),"flat"!==a.commission_type&&"percentage"!==a.commission_type||(t.errors=t.arrayRemove(t.errors,"admin_percentage"),t.errors=t.arrayRemove(t.errors,"additional_fee"))))})}),this.errors.length<1)},arrayRemove:function(e,t){return e.filter(function(e){return e!==t})},toggleLoadingState:function(){this.showLoading=!this.showLoading},clearSearch:function(){this.searchText="",this.validateBlankSearch()},validateBlankSearch:function(){return""!==this.searchText.toLowerCase()||(this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,!1)},searchInSettings:function(e){var t=this;this.validateBlankSearch()&&(this.awaitingSearch||setTimeout(function(){var e=t.$refs.searchInSettings.value.toLowerCase();t.doSearch(e),t.awaitingSearch=!1},1e3),this.awaitingSearch=!0)},doSearch:function(e){var t=this,a={},s=[],n=[],i=dokan.settings_fields;Object.keys(i).forEach(function(t,n){Object.keys(i[t]).forEach(function(n,o){if("sub_section"!==i[t][n].type){var r=i[t][n].label.toLowerCase();r&&r.includes(e)&&(a[t]||(a[t]={}),a[t][n]=i[t][n],-1===s.indexOf(t)&&s.push(t))}})});var o=0;Object.keys(dokan.settings_sections).forEach(function(e,a){-1!==s.indexOf(dokan.settings_sections[e].id)&&(o||(t.changeTab(dokan.settings_sections[e]),o=1),n.push(dokan.settings_sections[e]))}),this.settingFields=a,this.settingSections=n},scrollToTop:function(){this.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"})},handleScroll:function(){"Settings"===this.$route.name&&this.$refs.backToTop&&(this.$refs.backToTop.style.transform=window.scrollY>document.body.scrollHeight-800?"scale(1)":"scale(0)")}},created:function(){var e=this;this.fetchSettingValues(),this.currentTab="dokan_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"dokan_general"),this.$root.$on("onFieldSwitched",function(t,a){"on"===t&&"dokan_general"in e.settingValues&&"data_clear_on_uninstall"===a&&Swal.fire({icon:"warning",html:e.__("All data and tables related to Dokan and Dokan Pro will be deleted permanently after deleting the Dokan plugin. You will not be able to recover your lost data unless you keep a backup. Do you want to continue?","dokan-lite"),title:e.__("Are you sure?","dokan-lite"),showCancelButton:!0,cancelButtonText:e.__("Cancel","dokan-lite"),confirmButtonText:e.__("Okay","dokan-lite")}).then(function(t){t.dismiss&&(e.settingValues.dokan_general.data_clear_on_uninstall="off",e.$emit("switcHandler","data_clear_on_uninstall",e.settingValues.dokan_general.data_clear_on_uninstall))})}),this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,window.addEventListener("scroll",this.handleScroll)}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(161),o=a.n(i),r=a(28),l=a(2),d=a(185),c=a(187);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var m=dokan_get_lib("Mapbox"),v=dokan_get_lib("TextEditor"),f=dokan_get_lib("GoogleMaps"),h=dokan_get_lib("RefreshSettingOptions");t.a={name:"Fields",components:{Mapbox:m,Switches:l.a,TextEditor:v,GoogleMaps:f,colorPicker:r.a,FieldHeading:c.a,SocialFields:d.a,RefreshSettingOptions:h},props:["id","fieldData","sectionId","fieldValue","allSettingsValues","errors","toggleLoadingState","validationErrors","dokanAssetsUrl"],data:function(){return{hideMap:!1,checked:this.isChecked(),expandSocials:!1,repeatableItem:{},repeatableTime:[],singleColorPicker:{default:this.fieldData.default,label:"",show_pallete:!1},yourStringTimeValue:"",customFieldComponents:dokan.hooks.applyFilters("getDokanCustomFieldComponents",[])}},created:function(){var e=this;this.$root.$on("hasError",function(t){e.hasValidationError(t)}),this.$root.$on("getError",function(t){e.getValidationErrorMessage(t)}),this.$parent.$on("switcHandler",function(t,a){e.fieldData.name===t&&(e.checked=a)})},computed:{shouldShow:function(e){var t=!0;if(this.fieldData.show_if){var a=this.fieldData.show_if,s=Object.keys(a),n=0;for(n=0;n<s.length;n++){var i=s[n],r=i.split(".").reverse(),l=o()(r,2),d=l[0],c=l[1],u=void 0===c?this.sectionId:c,p=this.allSettingsValues[u][d],m=_.chain(a[i]).pairs().first().value(),v=o()(m,2),f=v[0],h=v[1];switch(f){case"greater_than":p>h||(t=!1);break;case"greater_than_equal":p>=h||(t=!1);break;case"less_than":p<h||(t=!1);break;case"less_than":p<=h||(t=!1);break;case"contains":Object.values(p).includes(h)||(t=!1);break;case"equal":default:p!==h&&(t=!1)}if(!t)break}}return t},mapApiSource:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.map_api_source},mapLocation:function(){var e=p(p({},{latitude:23.709921,longitude:90.40714300000002,address:"Dhaka",zoom:10}),this.fieldValue[this.fieldData.name]);return e={zoom:parseInt(e.zoom),address:"".concat(e.address),latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude)}},googleMapApiKey:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.gmap_api_key},mapboxAccessToken:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.mapbox_access_token}},beforeMount:function(){"multicheck"!==this.fieldData.type||this.fieldValue[this.fieldData.name]||(this.fieldValue[this.fieldData.name]=this.fieldData.default)},methods:{containCommonFields:function(e){return _.contains([void 0,"text","email","url","phone","time"],e)},setCheckedValue:function(e,t){this.fieldValue[this.fieldData.name][t]=e?t:""},addItem:function(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem:function(e,t){this.fieldValue[t].splice(e,1)},haveCondition:function(e){return e.hasOwnProperty("condition")},checkConditionLogic:function(e,t){var a=e.condition.logic,s=!1;return _.each(a,function(e,a){_.contains(e,t[a])&&(s=!0)}),s},onHideMap:function(e){this.hideMap=e},onUpdateMap:function(e){this.fieldValue[this.fieldData.name]=p(p({},this.mapLocation),e)},isSocialChecked:function(){return this.fieldValue[this.fieldData.name]?this.fieldValue[this.fieldData.name]:this.fieldData.default},thisSomeEvent:function(e){console.log("hello priting...",e)},isSwitchOptionChecked:function(e){return"multicheck"===this.fieldData.type?this.fieldValue[this.fieldData.name]&&this.fieldValue[this.fieldData.name][e]===e:"radio"===this.fieldData.type&&(this.fieldValue[this.fieldData.name]&&this.fieldValue[this.fieldData.name]===e)},expandSocial:function(){this.expandSocials=!this.expandSocials},getSocialValue:function(e){this.fieldValue[e.name]=this.fieldValue[e.name]?this.fieldValue[e.name]:""},isChecked:function(){return this.fieldValue[this.fieldData.name]?this.fieldValue[this.fieldData.name]:this.fieldData.default},onToggleSwitch:function(e,t){"isChecked"===t&&(this.checked=e?"on":"off",this.fieldValue[this.fieldData.name]=e?"on":"off",this.$root.$emit("onFieldSwitched",this.fieldValue[this.fieldData.name],this.fieldData.name))},hasError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},getError:function(e){return e+" "+this.__("is required.","dokan-lite")},hasValidationError:function(e){if(this.validationErrors.filter(function(t){return t.name===e}).length>0)return e},getValidationErrorMessage:function(e){var t="";return this.validationErrors.forEach(function(a){a.name===e&&(t=a.error)}),t},toggleColorPicker:function(e){this.fieldData.name===e.key?this.singleColorPicker.show_pallete=!e.values.show_pallete:this.singleColorPicker.show_pallete=!1},setCustomColor:function(e,t){t&&(this.fieldData[t]=e)}}}},,,,,,,,,,,function(e,t,a){"use strict";t.a={props:{fieldData:{type:Object,required:!0},fieldValue:{type:Object,required:!0}},methods:{isSocialOptionChecked:function(e){return"radio"===this.fieldData.type&&this.fieldValue[this.fieldData.name]===e}}}},function(e,t,a){"use strict";t.a={name:"FieldHeading",props:["fieldData"]}},function(e,t,a){"use strict";t.a={name:"SettingsBanner",data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},computed:{bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(196),n=a(4),i=dokan_get_lib("ListTable"),o=dokan_get_lib("Switches"),r=dokan_get_lib("Search"),l=dokan_get_lib("AdminNotice");t.a={name:"Vendors",components:{ListTable:i,Switches:o,Search:r,AddVendor:s.a,UpgradeBanner:n.a,AdminNotice:l},data:function(){return{showCb:!0,hasPro:dokan.hasPro,counts:{pending:0,approved:0,all:0},vendorId:0,totalItems:0,perPage:20,totalPages:1,loading:!1,columns:{store_name:{label:this.__("Store","dokan-lite"),sortable:!0},email:{label:this.__("E-mail","dokan-lite")},phone:{label:this.__("Phone","dokan-lite")},registered:{label:this.__("Registered","dokan-lite"),sortable:!0},enabled:{label:this.__("Status","dokan-lite")}},actionColumn:"title",actions:[{key:"edit",label:this.__("Edit","dokan-lite")},{key:"products",label:this.__("Products","dokan-lite")},{key:"orders",label:this.__("Orders","dokan-lite")}],bulkActions:[{key:"approved",label:this.__("Approve Vendors","dokan-lite")},{key:"pending",label:this.__("Disable Selling","dokan-lite")}],vendors:[],loadAddVendor:!1,dokanVendorHeaderArea:dokan.hooks.applyFilters("getDokanVendorHeaderArea",[]),isVendorSwitchingEnabled:!1,dokanVendorFilterSectionStart:dokan.hooks.applyFilters("dokanVendorFilterSectionStart",[])}},watch:{"$route.query.status":function(){this.fetchVendors()},"$route.query.page":function(){this.fetchVendors()},"$route.query.orderby":function(){this.fetchVendors()},"$route.query.order":function(){this.fetchVendors()}},computed:{currentStatus:function(){return this.$route.query.status||"all"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},sortBy:function(){return this.$route.query.orderby||"ID"},sortOrder:function(){return this.$route.query.order||"desc"},storeCategory:function(){return this.$route.query.store_categories||null}},created:function(){var e=this;this.$root.$on("modalClosed",function(){e.loadAddVendor=!1,e.vendorId=0}),this.fetchVendors(),this.$root.$on("vendorAdded",function(t){e.vendors.unshift(t)}),this.$root.$on("addAnotherVendor",function(){e.loadAddVendor=!0}),this.$root.$on("categoryFetched",function(t){e.categories=t.categories,e.isCategoryMultiple=t.isCategoryMultiple,e.columns=t.columns}),this.isVendorSwitchingEnabled=!!dokan.is_vendor_switching_enabled,this.isVendorSwitchingEnabled&&this.actions.push({key:"switch_to",label:this.__("Switch To","dokan-lite")})},methods:{addNew:function(){this.loadAddVendor=!0},updateVendorComponent:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.fetchVendors()},doSearch:function(e){var t=this,a=this;a.loading=!0,dokan.api.get("/stores",{search:e,page:this.currentPage,orderby:this.sortBy,order:this.sortOrder}).done(function(e,s,n){a.vendors=e,a.loading=!1,t.updatedCounts(n),t.updatePagination(n)})},updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Approved")),this.counts.all=parseInt(e.getResponseHeader("X-Status-All"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},fetchVendors:function(){var e=this;e.loading=!0;var t={per_page:e.perPage,page:e.currentPage,status:e.currentStatus,orderby:e.sortBy,order:e.sortOrder,store_categories:e.storeCategory};t=dokan.hooks.applyFilters("DokanGetVendorArgs",t,this.$route.query),dokan.api.get("/stores",t).done(function(t,a,s){e.vendors=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},onActionClick:function(e,t){"trash"===e&&confirm("Are you sure to delete?")&&alert("deleted: "+t.title)},onSwitch:function(e,t){var a=this,s=!1===e?this.__("The vendor has been disabled.","dokan-lite"):this.__("Selling has been enabled","dokan-lite");dokan.api.put("/stores/"+t+"/status",{status:!1===e?"inactive":"active"}).done(function(e){a.$notify({title:a.__("Success!","dokan-lite"),type:"success",text:s}),"all"!==a.currentStatus&&"pending"!==a.currentStatus&&"approved"!==a.currentStatus||a.fetchVendors()})},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),goToPage:function(e){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:e}})},onBulkAction:function(e,t){var a=this,s={};s[e]=t,this.loading=!0,dokan.api.put("/stores/batch",s).done(function(e){a.loading=!1,a.fetchVendors()})},sortCallback:function(e,t){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:1,orderby:e,order:t}})},productUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=product&author="+e},ordersUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=shop_order&vendor_id="+e},editUrl:function(e){return dokan.urls.adminRoot+"user-edit.php?user_id="+e},switchToUrl:function(e){return e.switch_url}}}},function(e,t,a){"use strict";var s=a(33),n=a(38),i=a(41),o=dokan_get_lib("Modal"),r=dokan_get_lib("Loading");t.a={name:"AddVendor",props:["vendorId"],components:{Modal:o,Loading:r,VendorAccountFields:s.a,VendorAddressFields:n.a,VendorPaymentFields:i.a},data:function(){return{isLoading:!1,storeId:"",nextBtn:this.__("Next","dokan-lite"),title:this.__("Add New Vendor","dokan-lite"),tabs:{VendorAccountFields:{label:this.__("Account Info","dokan-lite"),name:"VendorAccountFields",icon:"dashicons dashicons-admin-users"},VendorAddressFields:{label:this.__("Address","dokan-lite"),name:"VendorAddressFields",icon:"dashicons dashicons-admin-home"},VendorPaymentFields:{label:this.__("Payment Options","dokan-lite"),name:"VendorPaymentFields",icon:"dashicons dashicons-money"}},currentTab:"VendorAccountFields",store:{store_name:"",user_pass:"",store_url:"",user_login:"",email:"",user_nicename:"",notify_vendor:!0,phone:"",banner:"",banner_id:"",gravatar:"",gravatar_id:"",social:{fb:"",youtube:"",twitter:"",linkedin:"",pinterest:"",instagram:""},payment:{bank:{ac_name:"",ac_type:"",ac_number:"",bank_name:"",bank_addr:"",routing_number:"",iban:"",swift:""},paypal:{email:""}},address:{street_1:"",street_2:"",city:"",zip:"",state:"",country:""}},requiredFields:["store_name","user_login","email"],errors:[],storeAvailable:!1,userNameAvailable:!1,emailAvailable:!1,hasPro:dokan.hasPro}},created:function(){var e=this;this.$root.$on("vendorInfoChecked",function(t){e.storeAvailable=t.storeAvailable,e.userNameAvailable=t.userNameAvailable,e.emailAvailable=t.emailAvailable})},methods:{getId:function(){return this.$route.params.id},showAlert:function(e,t,a){Swal.fire(e,t,a)},createVendor:function(){var e=this;this.formIsValid()&&("VendorPaymentFields"===this.currentTab&&(this.isLoading=!0,dokan.api.post("/stores/",this.store).done(function(t){e.$root.$emit("vendorAdded",t),Swal.fire({icon:"success",title:e.__("Vendor Created","dokan-lite"),text:e.__("A vendor has been created successfully!","dokan-lite"),showCloseButton:!0,showCancelButton:!0,confirmButtonText:e.__("Add Another","dokan-lite"),cancelButtonText:e.__("Edit Vendor","dokan-lite"),focusConfirm:!1}).then(function(a){a.value?e.$root.$emit("addAnotherVendor"):a.dismiss===Swal.DismissReason.cancel&&(e.hasPro?e.$router.push({path:"vendors/"+t.id,query:{edit:"true"}}):window.location.replace("".concat(dokan.urls.adminRoot,"user-edit.php?user_id=").concat(t.id)))})}).fail(function(t){e.showAlert(e.__(t.responseJSON.message,"dokan-lite"),"","error")}).always(function(){e.$root.$emit("modalClosed")})),this.currentTab="VendorPaymentFields"===this.currentTab?"VendorPaymentFields":this.nextTab(this.tabs,this.currentTab))},nextTab:function(e,t){var a=Object.keys(e),s=a[a.indexOf(t)+1];return s},closeModal:function(){this.$root.$emit("modalClosed")},formIsValid:function(){var e=this,t=this.requiredFields,a=this.store;return this.errors=[],t.forEach(function(t){t in a&&a[t].length<1&&e.errors.push(t)}),!!(this.errors.length<1&&this.storeAvailable&&this.userNameAvailable&&this.emailAvailable)||(this.currentTab="VendorAccountFields",!1)}}}},function(e,t,a){"use strict";var s=a(20),n=a.n(s),i=a(21),o=a.n(i),r=a(79);a.n(r);t.a={name:"DummyData",data:function(){return{errorMsg:"",csvFileUrl:dokan.urls.dummy_data,progress:0,dummyData:[],loading:!0,allVendors:[],allProducts:[],done:!1,statusLoader:!0,vendorsDataToRemove:["sku","status","catalog_visibility","short_description","date_on_sale_from","date_on_sale_to","tax_status","tax_class","stock_status","manage_stock","stock_quantity","children","backorders","sold_individually","reviews_allowed","purchase_note","sale_price","regular_price","category_ids","tag_ids","shipping_class_id","raw_image_id","raw_gallery_image_ids","download_limit","download_expiry","parent_id","grouped_products","upsell_ids","cross_sell_ids","product_url","button_text","menu_order","virtual","downloadable","status","attribute_1_name","attribute_1_value","attribute_1_visible","attribute_1_global","attribute_2_name","attribute_2_value","attribute_2_visible","attribute_2_global","_wpcom_is_markdown","download1_name","download_1_url","download_2_name","download_2_url","vendor"],productsDataToRemove:["email","password","store_name","social","payment","phone","show_email","address","location","banner","icon","gravatar","show_more_tpab","show_ppp","enable_tnc","store_tnc","show_min_order_discount","store_seo","dokan_store_time","enabled","trusted","attribute_1_name","attribute_1_value","attribute_1_visible","attribute_1_global","attribute_2_name","attribute_2_value","attribute_2_visible","attribute_2_global"]}},created:function(){this.loadImportStatus(),this.loadCsvFile()},methods:{loadImportStatus:function(){this.statusLoader=!0;var e=this;dokan.api.get("/dummy-data/status",{nonce:dokan.nonce}).done(function(t,a,s){"yes"==t.import_status&&(e.done=!0),e.statusLoader=!1}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&Swal.fire(t,"","error")})},resetDataState:function(){this.dummyData=[],this.allVendors=[],this.allProducts=[]},loadCsvFile:function(){var e=this;e.loading=!0,e.resetDataState(),jQuery.ajax({type:"GET",url:this.csvFileUrl,data:{},success:function(t){Object(r.parse)(t,{header:!0,complete:function(t){e.loading=!1,e.dummyData=t.data,e.loadCsvData()}}),e.loading=!1}})},loadCsvData:function(){var e=this;this.dummyData.forEach(function(t){"vendor"===t.type?e.allVendors.push(e.formatVendorData(t)):e.allProducts.push(e.formatProductData(t))})},requestToImport:function(e){var t=this;dokan.api.post("/dummy-data/import",e).done(function(e,a,s){t.handleImport(e.vendor_index),t.updateProgress(e.vendor_index)}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&Swal.fire(t,"","error")})},importBtnHandler:function(){this.handleImport()},updateProgress:function(e){this.progress=100*e/this.allVendors.length},handleImport:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.allVendors[e];if(!t||void 0==t)return this.loading=!1,void(this.done=!0);var a={nonce:dokan.nonce,vendor_data:t,vendor_products:this.getVendorProducts(t.id),vendor_index:e,total_vendors:this.allVendors.length};this.loading=!0,this.requestToImport(a)},formatVendorData:function(e){return this.vendorsDataToRemove.forEach(function(t){delete e[t]}),e},formatProductData:function(e){return e.raw_attributes=[{name:e.attribute_1_name,value:e.attribute_1_value.split(","),visible:e.attribute_1_visible,taxonomy:e.attribute_1_global},{name:e.attribute_2_name,value:e.attribute_2_value.split(","),visible:e.attribute_2_visible,taxonomy:e.attribute_2_global}],e.manage_stock=Boolean(e.manage_stock),this.productsDataToRemove.forEach(function(t){delete e[t]}),e},getVendorProducts:function(e){return this.allProducts.filter(function(t){return t.vendor==e})},resetToImport:function(){this.errorMsg="",this.progress=0,this.loading=!1,this.done=!1},clearAllDummyData:function(){var e=this;return n()(o.a.mark(function t(){var a,s;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,dokan_sweetalert("Are you sure? You want to remove all dummy data!",{action:"confirm",icon:"warning"});case 3:"undefined"!==(s=t.sent)&&s.isConfirmed&&(a.loading=!0,dokan.api.delete("/dummy-data/clear",{nonce:dokan.nonce}).done(function(e,t,s){dokan_sweetalert("",{toast:!0,icon:"success",title:e.message,position:"bottom-right",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:function(e){e.addEventListener("mouseenter",Swal.stopTimer),e.addEventListener("mouseleave",Swal.resumeTimer)}}),a.resetToImport()}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&Swal.fire(t,"","error")}));case 5:case"end":return t.stop()}},t)}))()},getProductsPageUrl:function(){return"".concat(dokan.urls.adminRoot,"edit.php?post_type=product")}}}},,function(e,t,a){"use strict";var s=a(57);t.a={name:"VendorCapabilities",components:{ProCta:s.a},data:function(){return{showPopup:!1,selectedCapabilityImage:"",capabilityCards:[{title:this.__("Coupons","dokan-lite"),content:this.__("Each vendor can create unlimited discount coupon codes for their products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-coupon.svg")},{title:this.__("Shipping","dokan-lite"),content:this.__("Vendors can configure their own shipping costs for each country, state & single products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-shipping.svg")},{title:this.__("Duplicate Product","dokan-lite"),content:this.__("Vendors can duplicate their own products for ease and time saving.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-duplicate-product.svg")},{title:this.__("Reporting","dokan-lite"),content:this.__("Earning, selling and commissions reports for vendors to improve sales & take major decisions.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-reports.svg")},{title:this.__("Create Tags","dokan-lite"),content:this.__("Vendors can create & attach tags to products to categorize & for better search engine optimization.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-create-tags.svg")},{title:this.__("Vendor Biography","dokan-lite"),content:this.__("Vendors can write about themselves & about their store in a text field which visitors can see from the store page","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-biography.svg")},{title:this.__("Vendor Product Upload","dokan-lite"),content:this.__("New vendors can start uploading products upon registration if admins allow.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-product-upload.svg")},{title:this.__("Order Status Change","dokan-lite"),content:this.__("Vendors will be able to mark products as draft & update the order status to inform customers about progress.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-order-status-change.svg")},{title:this.__("Social Share","dokan-lite"),content:this.__("Visitors and customers can share a store page with their friends and acquaintances on their social profiles.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-share.svg")},{title:this.__("Variable Product","dokan-lite"),content:this.__("Vendors can create variable products with predefined and custom attributes.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-variable-product.svg")},{title:this.__("Store Opening & Closing Time","dokan-lite"),content:this.__("Vendors can define the working hours of their online store for each day of the week for visitors to see.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-opening-closing-hours.svg")},{title:this.__("Woocommerce Booking Integration","dokan-lite"),content:this.__("Create hotel rooms, resorts, conference rooms, cars, bikes, etc for renting out.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-woocommerce-booking.svg")},{title:this.__("Announcement For Vendors","dokan-lite"),content:this.__("Admins can make announcements targeted to a single vendor, multiple or all vendors.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-announcement-vendors.svg")},{title:this.__("Woocommerce Simple Auctions Integration","dokan-lite"),content:this.__("Sell auction-able products in your store with Dokan’s integration.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-simple-auction.svg")},{title:this.__("Social Profiles","dokan-lite"),content:this.__("Vendors can upload & showcase their Facebook, Twitter and Linkedin profiles on their store page.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-profile.svg")},{title:this.__("Refund","dokan-lite"),content:this.__("Vendors can send refund requests for an order to the admins who can approve or deny it from the dashboard.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-refund.svg")},{title:this.__("Store Seo","dokan-lite"),content:this.__("The Yoast SEO integration lets vendors define Store Title, Description, Slug and Keyword to appear in search engine results.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-store-seo.svg")}]}},methods:{closePopup:function(){this.showPopup=!1},openPopup:function(e){this.showPopup=!0,this.selectedCapabilityImage=e}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner.svg")}}}},function(e,t,a){"use strict";var s=a(208);t.a={name:"ProModules",components:{ModuleUpgradePopup:s.a},data:function(){return{modules:[{name:this.__("WooCommerce Booking Integration","dokan-lite"),description:this.__("Integrates WooCommerce Booking with Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/booking.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-bookings/",modLink:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/"},{name:this.__("Color Scheme Customizer","dokan-lite"),description:this.__("A Dokan plugin Add-on to Customize Colors of Dokan Dashboard","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/color-scheme-customizer.png"),docLink:"https://wedevs.com/docs/dokan/modules/color-scheme/",modLink:"https://wedevs.com/dokan/modules/color-scheme-customizer/"},{name:this.__("Elementor","dokan-lite"),description:this.__("Elementor Page Builder widgets for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/elementor.png"),docLink:"https://wedevs.com/docs/dokan/modules/elementor-dokan/",modLink:"https://wedevs.com/dokan/modules/elementor/"},{name:this.__("Vendor Product Importer and Exporter","dokan-lite"),description:this.__("This is simple product import and export plugin for vendor","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/import-export.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-dokan-exportimport-add/",modLink:"https://wedevs.com/dokan/modules/export-import/"},{name:this.__("Follow Store","dokan-lite"),description:this.__("Send emails to customers when their favorite store updates.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/follow-store.png"),docLink:"https://wedevs.com/docs/dokan/modules/follow-store/",modLink:"https://wedevs.com/dokan/modules/follow-store/"},{name:this.__("Geolocation","dokan-lite"),description:this.__("Search Products and Vendors by geolocation.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/geolocation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-geolocation/",modLink:"https://wedevs.com/dokan/modules/geolocation/"},{name:this.__("Live Chat","dokan-lite"),description:this.__("Live Chat Between Vendor & Customer.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/live-chat.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-live-chat/",modLink:"https://wedevs.com/dokan/modules/live-chat/"},{name:this.__("Live Search","dokan-lite"),description:this.__("Live product search for WooCommerce store.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/ajax-live-search.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-live-search/",modLink:"https://wedevs.com/dokan/modules/ajax-live-search/"},{name:this.__("Wirecard","dokan-lite"),description:this.__("Wirecard payment gateway for Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wirecard-connect.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-moip-connect/",modLink:"https://wedevs.com/dokan/modules/moip/"},{name:this.__("PayPal Adaptive Payment","dokan-lite"),description:this.__("Allows to send split payments to vendor via PayPal Adaptive Payment gateway.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/paypal-adaptive.png"),docLink:"#",modLink:"#"},{name:this.__("Product Addon","dokan-lite"),description:this.__("WooCommerce Product Addon support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-addon.png"),docLink:"https://wedevs.com/docs/dokan/modules/product-addon/",modLink:"https://wedevs.com/dokan/modules/product-addons/"},{name:this.__("Product Enquiry","dokan-lite"),description:this.__("Enquiry for a specific product to a seller.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-enquiry.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-product-enquiry/",modLink:"https://wedevs.com/dokan/modules/product-enquiry/"},{name:this.__("Report Abuse","dokan-lite"),description:this.__("Let customers report fraudulent or fake products.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/"},{name:this.__("Return and Warranty Request","dokan-lite"),description:this.__("Manage return and warranty from vendor end.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-rma/",modLink:"https://wedevs.com/dokan/modules/rma/"},{name:this.__("Seller Vacation","dokan-lite"),description:this.__("Using this plugin seller can go to vacation by closing their stores.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/seller-vacation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-vacation/",modLink:"https://wedevs.com/dokan/modules/vendor-vacation/"},{name:this.__("ShipStation Integration","dokan-lite"),description:this.__("Adds ShipStation label printing support to Dokan. Requires server DomDocument support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/shipstation.png"),docLink:"https://wedevs.com/docs/dokan/modules/shipstation-dokan-wedevs/",modLink:"https://wedevs.com/dokan/modules/shipstation/"},{name:this.__("Auction Integration","dokan-lite"),description:this.__("A plugin that combined WooCommerce simple auction and Dokan plugin.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/auction.png"),docLink:"https://wedevs.com/docs/dokan/modules/woocommerce-auctions-frontend-multivendor-marketplace/",modLink:"https://wedevs.com/dokan/modules/dokan-simple-auctions/"},{name:this.__("Single Product Multiple Vendor","dokan-lite"),description:this.__("A module that offers multiple vendor to sell a single product.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/single-product-multivendor.png"),docLink:"https://wedevs.com/docs/dokan/modules/single-product-multiple-vendor/",modLink:"https://wedevs.com/dokan/modules/single-product-multivendor/"},{name:this.__("Store Reviews","dokan-lite"),description:this.__("A plugin that allows customers to rate the sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-review.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-review/",modLink:"https://wedevs.com/dokan/modules/dokan-vendor-review/"},{name:this.__("Store Support","dokan-lite"),description:this.__("Enable vendors to provide support to customers from store page.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/store-support.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-store-support/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Stripe Connect","dokan-lite"),description:this.__("Accept credit card payments and allow your sellers to get automatic split payment in Dokan via Stripe.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/stripe.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-configure-dokan-stripe-connect/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Vendor Subscription","dokan-lite"),description:this.__("Product subscription pack add-on for Dokan vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/subscription.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-use-dokan-subscription/",modLink:"https://wedevs.com/dokan/modules/subscription/"},{name:this.__("Vendor Analytics","dokan-lite"),description:this.__("A plugin for store and product analytics for vendor.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/analytics.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/"},{name:this.__("Vendor Staff Manager","dokan-lite"),description:this.__("A plugin for manage store via vendor staffs.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-staff.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-staff-manager/",modLink:"https://wedevs.com/dokan/modules/vendor-staff-manager/"},{name:this.__("Vendor Subscription Product","dokan-lite"),description:this.__("WooCommerce Subscription integration for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-subscription-product.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-subscription-product/",modLink:"https://wedevs.com/dokan/modules/vendor-subscription-product/"},{name:this.__("Vendor Verification","dokan-lite"),description:this.__("Dokan add-on to verify sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-verification.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-seller-verification-admin-settings/",modLink:"https://wedevs.com/dokan/modules/seller-verification/"},{name:this.__("Wholesale","dokan-lite"),description:this.__("Offer any customer to buy product as a wholesale price from any vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wholesale.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-wholesale/",modLink:"https://wedevs.com/dokan/modules/wholesale/"}],showPopup:!0}},methods:{togglePopup:function(e){this.showPopup=e}}}},function(e,t,a){"use strict";t.a={name:"ModuleUpgradePopup",props:{showPopup:{type:Boolean,required:!0,default:!0}},data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},methods:{closePopup:function(){this.$emit("toggle",!1)}}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(1),o=a.n(i),r=a(19),l=a.n(r);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var c=dokan_get_lib("ListTable"),u=dokan_get_lib("Multiselect"),p=dokan_get_lib("debounce"),_=dokan_get_lib("DateRangePicker"),m=dokan_get_lib("AdminNotice"),v=dokan_get_lib("Currency"),f=dokan_get_lib("CardFunFact"),h=Swal.mixin({customClass:{confirmButton:"button button-primary",cancelButton:"button button-secondary"},buttonsStyling:!1});t.a={name:"ReverseWithdrawal",components:{Currency:v,ListTable:c,Multiselect:u,Debounce:p,swal:h,DateRangePicker:_,AdminNotice:m,CardFunFact:f},data:function(){return{transactionData:[],loading:!1,clearingFilters:!1,counts:{debit:0,credit:0,balance:0,total_transactions:0,total_vendors:0},dateTimePickerFormat:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({format:dokan_get_daterange_picker_format().toLowerCase()},dokan_helper.daterange_picker_local),dateRangePickerRanges:{Today:[l()().toDate(),l()().toDate()],"Last 30 Days":[l()().subtract(29,"days").toDate(),l()().toDate()],"This Month":[l()().startOf("month").toDate(),l()().endOf("month").toDate()],"Last Month":[l()().subtract(1,"month").startOf("month").toDate(),l()().subtract(1,"month").endOf("month").toDate()],"This Year":[l()().month(0).startOf("month").toDate(),l()().month(11).endOf("month").toDate()],"Last Year":[l()().month(0).subtract(1,"year").startOf("month").toDate(),l()().month(11).subtract(1,"year").endOf("month").toDate()]},totalPages:1,perPage:20,totalItems:0,showCb:!0,notFound:this.__("No transaction found.","dokan-lite"),columns:{store_name:{label:this.__("Stores","dokan-lite")},balance:{label:this.__("Balance","dokan-lite")},last_payment_date:{label:this.__("Last Payment Date","dokan-lite")}},actions:[],filter:{stores:this.getDefaultStore(),selected_store:this.getDefaultStore()[0],transaction_date:{startDate:"",endDate:""}}}},created:function(){this.setDefaultTransactionDate(),this.fetchStoreLists(),this.fetchBalances()},mounted:function(){this.mountToolTips()},updated:function(){this.mountToolTips()},filters:{getFormattedDate:function(e){return e?o.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e)):""}},computed:{getCurrentPage:function(){return this.$route.query.page?parseInt(this.$route.query.page):1},getSortBy:function(){var e;return null!==(e=this.$route.query.orderby)&&void 0!==e?e:"added"},getSortOrder:function(){var e;return null!==(e=this.$route.query.order)&&void 0!==e?e:"desc"},filterStoreID:function(){return this.filter.selected_store?this.filter.selected_store.id:0},filterTransactionDate:function(){var e={from:"",to:""};return this.filter.transaction_date.startDate&&this.filter.transaction_date.endDate?(e.from=o.a.datepicker.formatDate("yy-mm-dd",this.filter.transaction_date.startDate),e.to=o.a.datepicker.formatDate("yy-mm-dd",this.filter.transaction_date.endDate),e.from===e.to&&(e.from=""),e):e},bulkActions:function(){return[]}},watch:{"$route.query.page":function(){this.fetchBalances()},"$route.query.orderby":function(){this.fetchBalances()},"$route.query.order":function(){this.fetchBalances()},"filter.selected_store":function(){this.clearingFilters||this.loading||this.fetchBalances()},"filter.transaction_date.startDate":function(){this.clearingFilters||this.loading||this.fetchBalances()}},methods:{updatedCounts:function(e){var t,a,s,n,i;this.counts.debit=parseInt(null!==(t=e.getResponseHeader("X-Status-Debit"))&&void 0!==t?t:0),this.counts.credit=parseInt(null!==(a=e.getResponseHeader("X-Status-Credit"))&&void 0!==a?a:0),this.counts.balance=parseInt(null!==(s=e.getResponseHeader("X-Status-Balance"))&&void 0!==s?s:0),this.counts.total_transactions=parseInt(null!==(n=e.getResponseHeader("X-Status-Total-Transactions"))&&void 0!==n?n:0),this.counts.total_vendors=parseInt(null!==(i=e.getResponseHeader("X-Status-Total-Vendors"))&&void 0!==i?i:0)},updatePagination:function(e){var t,a;this.totalPages=parseInt(null!==(t=e.getResponseHeader("X-WP-TotalPages"))&&void 0!==t?t:0),this.totalItems=parseInt(null!==(a=e.getResponseHeader("X-WP-Total"))&&void 0!==a?a:0)},resetCounts:function(){this.counts.debit=0,this.counts.credit=0,this.counts.balance=0,this.counts.total_transactions=0,this.counts.total_vendors=0,this.totalPages=0,this.totalItems=0},clearFilters:function(){this.clearingFilters=!0,this.filter.selected_store=this.getDefaultStore()[0],this.setDefaultTransactionDate(),this.clearingFilters=!1,this.fetchBalances()},getDefaultStore:function(){return[{id:0,name:this.__("All Stores","dokan-lite")}]},fetchStoreLists:p(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this;dokan.api.get("/reverse-withdrawal/stores",{paged:1,search:e}).done(function(e){t.filter.stores=t.getDefaultStore().concat(e)}).fail(function(e){t.filter.stores=t.getDefaultStore()})},300),getDefaultTransactionDate:function(){var e=l()().endOf("today").hour(23).minute(59).second(59).toDate();return{startDate:e,endDate:e}},setDefaultTransactionDate:function(){var e=this.getDefaultTransactionDate();this.filter.transaction_date.startDate=e.startDate,this.filter.transaction_date.endDate=e.endDate,this.$refs.picker&&this.$refs.picker.togglePicker(!1)},fetchBalances:function(){this.loading=!0;var e=this,t={per_page:e.perPage,page:e.getCurrentPage,orderby:e.getSortBy,order:e.getSortOrder,trn_date:e.filterTransactionDate};e.filterStoreID&&(t.vendor_id=e.filterStoreID),dokan.api.get("/reverse-withdrawal/stores-balance",t).done(function(t,a,s){e.transactionData=t,e.updatedCounts(s),e.updatePagination(s)}).always(function(){e.loading=!1}).fail(function(t){e.transactionData=[],e.resetCounts();var a=e.renderApiError(t);a&&e.showErrorAlert(a)})},goToPage:function(e){this.$router.push({name:"ReverseWithdrawal",query:{page:e}})},doSort:function(e,t){this.$router.push({name:"ReverseWithdrawal",query:{page:1,orderby:e,order:t}})},orderUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},vendorUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e},productUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},mountToolTips:function(){o()(".tips").tooltip()},moment:function(e){return l()(e)},showErrorAlert:function(e){h.fire(this.__("Something went wrong","dokan-lite"),e,"error")},renderApiError:function(e){var t="";return e.responseJSON&&e.responseJSON.message?t=e.responseJSON.message:e.responseJSON&&e.responseJSON.data&&e.responseJSON.data.message?t=e.responseJSON.data.message:e.responseText&&(t=e.responseText),t}}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(1),o=a.n(i),r=a(19),l=a.n(r);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var c=dokan_get_lib("ListTable"),u=dokan_get_lib("Multiselect"),p=dokan_get_lib("debounce"),_=dokan_get_lib("DateRangePicker"),m=dokan_get_lib("AdminNotice"),v=dokan_get_lib("Currency"),f=dokan_get_lib("CardFunFact"),h=Swal.mixin({customClass:{confirmButton:"button button-primary",cancelButton:"button button-secondary"},buttonsStyling:!1});t.a={name:"ReverseWithdrawalTransactions",components:{Currency:v,ListTable:c,Multiselect:u,Debounce:p,swal:h,DateRangePicker:_,AdminNotice:m,CardFunFact:f},data:function(){return{storeDetails:{},transactionData:[],loading:!1,clearingFilters:!1,counts:{debit:0,credit:0,total_transaction:0},dateTimePickerFormat:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({format:dokan_get_daterange_picker_format().toLowerCase()},dokan_helper.daterange_picker_local),dateRangePickerRanges:{Today:[l()().toDate(),l()().toDate()],"Last 30 Days":[l()().subtract(29,"days").toDate(),l()().toDate()],"This Month":[l()().startOf("month").toDate(),l()().endOf("month").toDate()],"Last Month":[l()().subtract(1,"month").startOf("month").toDate(),l()().subtract(1,"month").endOf("month").toDate()],"This Year":[l()().month(0).startOf("month").toDate(),l()().month(11).endOf("month").toDate()],"Last Year":[l()().month(0).subtract(1,"year").startOf("month").toDate(),l()().month(11).subtract(1,"year").endOf("month").toDate()]},totalPages:1,perPage:100,totalItems:0,showCb:!0,notFound:this.__("No transaction found.","dokan-lite"),columns:{trn_id:{label:this.__("Transaction ID","dokan-lite")},trn_date:{label:this.__("Date","dokan-lite")},trn_type:{label:this.__("Transaction Type","dokan-lite")},note:{label:this.__("Note","dokan-lite")},debit:{label:this.__("Debit","dokan-lite")},credit:{label:this.__("Credit","dokan-lite")},balance:{label:this.__("Balance","dokan-lite")}},actions:[],filter:{transaction_date:{startDate:"",endDate:""}}}},created:function(){this.setDefaultTransactionDate(),this.fetchTransactions()},mounted:function(){this.fetchStoreDetails(),this.mountToolTips(),this.scrollToTop()},updated:function(){this.mountToolTips()},filters:{getFormattedDate:function(e){return e?o.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e)):""}},computed:{ID:function(){return this.$route.params.store_id},getCurrentPage:function(){return this.$route.query.page?parseInt(this.$route.query.page):1},getSortBy:function(){var e;return null!==(e=this.$route.query.orderby)&&void 0!==e?e:"added"},getSortOrder:function(){var e;return null!==(e=this.$route.query.order)&&void 0!==e?e:"desc"},filterTransactionDate:function(){var e={};return this.filter.transaction_date.startDate&&this.filter.transaction_date.endDate?(e.from=o.a.datepicker.formatDate("yy-mm-dd",new Date(this.filter.transaction_date.startDate)),e.to=o.a.datepicker.formatDate("yy-mm-dd",new Date(this.filter.transaction_date.endDate)),e):e},bulkActions:function(){return[]}},watch:{"$route.query.page":function(){this.fetchTransactions()},"$route.query.orderby":function(){this.fetchTransactions()},"$route.query.order":function(){this.fetchTransactions()},"filter.transaction_date.startDate":function(){this.clearingFilters||this.loading||this.fetchTransactions()}},methods:{updatedCounts:function(e){var t,a,s,n;this.counts.debit=parseInt(null!==(t=e.getResponseHeader("X-Status-Debit"))&&void 0!==t?t:0),this.counts.credit=parseInt(null!==(a=e.getResponseHeader("X-Status-Credit"))&&void 0!==a?a:0),this.counts.balance=parseInt(null!==(s=e.getResponseHeader("X-Status-Balance"))&&void 0!==s?s:0),this.counts.total_transactions=parseInt(null!==(n=e.getResponseHeader("X-Status-Total-Transactions"))&&void 0!==n?n:0)},updatePagination:function(e){var t,a;this.totalPages=parseInt(null!==(t=e.getResponseHeader("X-WP-TotalPages"))&&void 0!==t?t:0),this.totalItems=parseInt(null!==(a=e.getResponseHeader("X-WP-Total"))&&void 0!==a?a:0)},resetCounts:function(){this.counts.debit=0,this.counts.credit=0,this.counts.balance=0,this.counts.total_transaction=0},resetPagination:function(){this.totalPages=0,this.totalItems=0},clearFilters:function(){this.clearingFilters=!0,this.setDefaultTransactionDate(),this.fetchTransactions(),this.clearingFilters=!1},getDefaultTransactionDate:function(){return{startDate:l()().subtract(29,"days").hour(0).minute(0).second(0).toDate(),endDate:l()().hour(23).minute(59).second(59).toDate()}},setDefaultTransactionDate:function(){var e=this.getDefaultTransactionDate();this.filter.transaction_date.startDate=e.startDate,this.filter.transaction_date.endDate=e.endDate,this.$refs.picker&&this.$refs.picker.togglePicker(!1)},goToPage:function(e){this.$router.push({name:"ReverseWithdrawalTransactions",query:{page:e}})},fetchTransactions:function(){this.loading=!0;var e=this,t={orderby:e.getSortBy,order:e.getSortOrder,vendor_id:e.ID,trn_date:e.filterTransactionDate,per_page:-1};dokan.api.get("/reverse-withdrawal/transactions/"+e.ID,t).done(function(t,a,s){e.transactionData=t,e.updatedCounts(s),e.updatePagination(s)}).always(function(){e.loading=!1}).fail(function(t){e.transactionData=[],e.resetPagination();var a=dokan_handle_ajax_error(t);a&&e.showErrorAlert(a)})},fetchStoreDetails:function(){var e=this;dokan.api.get("/stores/"+e.ID).done(function(t,a,s){e.storeDetails=t}).always(function(){}).fail(function(t){e.storeDetails={};var a=dokan_handle_ajax_error(t);a&&e.showErrorAlert(a)})},doSort:function(e,t){this.$router.push({name:"ReverseWithdrawalTransactions",query:{page:1,orderby:e,order:t}})},reverseWithdrawalUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/reverse-withdrawal"},orderUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},vendorUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e},productUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},mountToolTips:function(){o()(".tips").tooltip()},moment:function(e){return l()(e)},showErrorAlert:function(e){h.fire(this.__("Something went wrong","dokan-lite"),e,"error")},scrollToTop:function(){window.scrollTo(0,0)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(125),n=a(128),i=a(218);new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:n.a,render:function(e){return e(s.a)},created:function(){this.setLocaleData(dokan.i18n["dokan-lite"]),dokan.dokan_pro_i18n&&this.setLocaleData(dokan.dokan_pro_i18n.dokan)},methods:{listTableTexts:function(){return{loading:this.__("Loading","dokan-lite"),select_bulk_action:this.__("Select bulk action","dokan-lite"),bulk_actions:this.__("Bulk Actions","dokan-lite"),items:this.__("items","dokan-lite"),apply:this.__("Apply","dokan-lite")}}}}),Object(i.a)("dokan")},function(e,t,a){"use strict";var s=a(51),n=a(127),i=!1;var o=function(e){i||a(126)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/App.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"vue-backend-app"}},[t("router-view"),this._v(" "),t("notifications",{attrs:{position:"bottom right"}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(129),n=a.n(s),i=a(130),o=a(137),r=a(140),l=a(150),d=a(153),c=a(156),u=a(194),p=a(200),_=a(203),m=a(206),v=a(212),f=a(215),h=dokan_get_lib("Vue"),g=dokan_get_lib("Router"),k=dokan_get_lib("VersionCompare");h.use(g),dokan_add_route(i.a),dokan_add_route(o.a),dokan_add_route(r.a),dokan_add_route(d.a),dokan_add_route(l.a),dokan_add_route(c.a),dokan_add_route(_.a),dokan_add_route(m.a),dokan_add_route(p.a),dokan_add_route(v.a),dokan_add_route(f.a),dokan.hasPro&&!k(dokan.proVersion,"2.9.14",">")||dokan_add_route(u.a),function e(t){for(var a=0;a<t.length;a++)"object"===n()(t[a].children)?(e(t[a].children),void 0!==t[a].component&&(t[a].component=dokan.routeComponents[t[a].component])):t[a].component=dokan.routeComponents[t[a].component]}(dokan.routes),t.a=new g({routes:dokan.routes})},,function(e,t,a){"use strict";var s=a(52),n=a(136),i=!1;var o=function(e){i||a(131)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Dashboard.vue",t.a=r.exports},function(e,t){},,,function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.show&&e.showUpgrade?a("div",{staticClass:"dokan-promo-banner"},[a("div",{staticClass:"thumbnail"},[a("svg",{attrs:{width:"219",height:"146",viewBox:"0 0 219 146",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("g",{attrs:{filter:"url(#filter0_d_248_61)"}},[a("rect",{attrs:{x:"38.7051",y:"24.564",width:"122.83",height:"92.5357",rx:"2.75404",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M38.7051 27.318C38.7051 25.797 39.9381 24.564 41.4591 24.564H158.781C160.302 24.564 161.535 25.797 161.535 27.318V34.4785H38.7051V27.318Z",fill:"#5165FF"}}),e._v(" "),a("circle",{attrs:{cx:"46.1409",cy:"29.7966",r:"1.37702",fill:"#FF2323"}}),e._v(" "),a("circle",{attrs:{cx:"51.0982",cy:"29.7966",r:"1.37702",fill:"#FF9A23"}}),e._v(" "),a("circle",{attrs:{cx:"56.0555",cy:"29.7966",r:"1.37702",fill:"#3FD826"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"42.7406",width:"58.9364",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"56.5109",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"62.0189",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"67.527",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"73.035",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"78.5431",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"84.0513",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"89.5592",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"95.0674",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"46.5962",width:"25.888",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"102.779",width:"21.4815",height:"4.95727",rx:"2.47864",fill:"#F86C57"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0891",r:"48.0891",fill:"url(#paint0_linear_248_61)","fill-opacity":"0.08"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0891",r:"42.9732",fill:"url(#paint1_linear_248_61)","fill-opacity":"0.08"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0892",r:"38.3689",fill:"url(#paint2_linear_248_61)","fill-opacity":"0.09"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter1_d_248_61)"}},[a("circle",{attrs:{cx:"166.253",cy:"71.0891",r:"33.2531",fill:"url(#paint3_linear_248_61)"}})]),e._v(" "),a("path",{attrs:{d:"M161.113 57.209H157.627V54.7871H160.933V54.0059H157.627V51.7451H161.113V50.9541H156.748V58H161.113V57.209ZM162.144 58H162.993V55.0117C162.993 54.1523 163.516 53.5859 164.316 53.5859C165.098 53.5859 165.483 54.0352 165.483 54.8555V58H166.333V54.7041C166.333 53.5518 165.688 52.834 164.575 52.834C163.789 52.834 163.247 53.1855 162.964 53.7324H162.944V52.9219H162.144V58ZM168.311 52.9219H167.461V58.2588C167.461 58.8252 167.261 59.0352 166.709 59.0352C166.704 59.0352 166.587 59.0352 166.577 59.0352V59.7432C166.587 59.748 166.724 59.748 166.738 59.748C167.822 59.748 168.311 59.2793 168.311 58.249V52.9219ZM167.886 52.0674C168.179 52.0674 168.418 51.8281 168.418 51.54C168.418 51.2471 168.179 51.0127 167.886 51.0127C167.598 51.0127 167.358 51.2471 167.358 51.54C167.358 51.8281 167.598 52.0674 167.886 52.0674ZM171.562 58.0879C172.964 58.0879 173.911 57.0771 173.911 55.4609C173.911 53.8398 172.964 52.834 171.562 52.834C170.156 52.834 169.209 53.8398 169.209 55.4609C169.209 57.0771 170.156 58.0879 171.562 58.0879ZM171.562 57.3408C170.664 57.3408 170.073 56.6572 170.073 55.4609C170.073 54.2646 170.664 53.5811 171.562 53.5811C172.461 53.5811 173.047 54.2646 173.047 55.4609C173.047 56.6572 172.461 57.3408 171.562 57.3408ZM175.044 59.8994C175.962 59.8994 176.382 59.543 176.816 58.3564L178.813 52.9219H177.92L176.514 57.1504H176.499L175.093 52.9219H174.185L176.06 58.0049L175.942 58.3613C175.747 58.9521 175.483 59.1816 175.01 59.1816C174.902 59.1816 174.771 59.1768 174.678 59.1572V59.8701C174.771 59.8896 174.941 59.8994 175.044 59.8994Z",fill:"white"}}),e._v(" "),a("path",{attrs:{d:"M159.657 85.8369C157.66 85.8369 156.41 87.2432 156.41 89.4795C156.41 91.7158 157.66 93.1172 159.657 93.1172C161.654 93.1172 162.904 91.7158 162.904 89.4795C162.904 87.2432 161.654 85.8369 159.657 85.8369ZM159.657 86.6475C161.098 86.6475 162.001 87.7412 162.001 89.4795C162.001 91.2129 161.098 92.3066 159.657 92.3066C158.217 92.3066 157.313 91.2129 157.313 89.4795C157.313 87.7412 158.217 86.6475 159.657 86.6475ZM164.877 93V89.9482H167.997V89.167H164.877V86.7451H168.275V85.9541H163.998V93H164.877ZM170.16 93V89.9482H173.28V89.167H170.16V86.7451H173.559V85.9541H169.281V93H170.16Z",fill:"white"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter2_d_248_61)"}},[a("path",{attrs:{d:"M149.708 73.6738H151.268C152.344 73.6738 152.98 74.176 152.98 75.0188C152.98 75.8527 152.308 76.4086 151.304 76.4086C150.192 76.4086 149.51 75.8796 149.483 75.0188H145.861C145.986 77.655 148.085 79.3587 151.223 79.3587C154.657 79.3587 156.845 77.8254 156.845 75.4044C156.845 73.638 155.599 72.5171 153.698 72.3109V72.2392C155.258 71.9612 156.397 70.8314 156.397 69.2712C156.397 67.0834 154.46 65.7025 151.402 65.7025C148.219 65.7025 146.112 67.4151 146.103 70.0065H149.528C149.528 69.1008 150.219 68.4732 151.241 68.4732C152.281 68.4732 152.9 68.9753 152.9 69.7913C152.9 70.6162 152.281 71.1273 151.286 71.1273H149.708V73.6738ZM163.83 79.3587C167.327 79.3587 169.524 76.7583 169.524 72.4902C169.524 68.1863 167.3 65.6935 163.83 65.6935C160.36 65.6935 158.127 68.1952 158.127 72.4992C158.127 76.7763 160.333 79.3587 163.83 79.3587ZM163.83 76.4355C162.772 76.4355 162.001 75.1623 162.001 72.4992C162.001 69.8271 162.772 68.6167 163.83 68.6167C164.888 68.6167 165.65 69.8271 165.65 72.4992C165.65 75.1623 164.888 76.4355 163.83 76.4355ZM176.939 69.2174C176.939 67.0565 175.729 65.7294 173.756 65.7294C171.783 65.7294 170.573 67.0565 170.573 69.2174C170.573 71.3784 171.783 72.7054 173.756 72.7054C175.729 72.7054 176.939 71.3784 176.939 69.2174ZM173.756 70.6252C173.38 70.6252 173.155 70.0961 173.155 69.1905C173.155 68.2849 173.38 67.7559 173.756 67.7559C174.133 67.7559 174.357 68.2849 174.357 69.1905C174.357 70.0961 174.133 70.6252 173.756 70.6252ZM175.146 79L179.665 72.7951L184.57 66.0612H181.79L177.415 72.0688L172.366 79H175.146ZM186.363 75.7451C186.363 73.5842 185.153 72.2571 183.18 72.2571C181.207 72.2571 179.997 73.5842 179.997 75.7451C179.997 77.9061 181.207 79.2331 183.18 79.2331C185.153 79.2331 186.363 77.9061 186.363 75.7451ZM183.18 77.1529C182.803 77.1529 182.579 76.6238 182.579 75.7182C182.579 74.8126 182.803 74.2836 183.18 74.2836C183.557 74.2836 183.781 74.8126 183.781 75.7182C183.781 76.6238 183.557 77.1529 183.18 77.1529Z",fill:"white"}})]),e._v(" "),a("g",{attrs:{filter:"url(#filter3_d_248_61)"}},[a("rect",{attrs:{x:"19",y:"38.3818",width:"50.2355",height:"17.2853",rx:"8.64266",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M42.394 48.9926C42.394 50.0814 41.6317 50.7359 40.0117 50.7359C38.3917 50.7359 37.6294 50.0814 37.6294 48.9926V47.1386C37.6294 46.0497 38.3931 45.3953 40.0117 45.3953C41.6303 45.3953 42.394 46.0497 42.394 47.1386V48.9926ZM41.1062 47.2885C41.1062 46.6831 40.9184 46.337 40.0061 46.337C39.0938 46.337 38.9074 46.6831 38.9074 47.2885V48.844C38.9074 49.448 39.0952 49.7941 40.0061 49.7941C40.917 49.7941 41.1062 49.448 41.1062 48.844V47.2885Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M46.011 47.7439C47.4881 48.2694 47.5371 49.4676 48.1425 50.5578C47.9012 50.6184 47.6557 50.6614 47.4082 50.6867C46.0419 50.6867 46.814 48.6253 44.7736 48.289V50.6867C44.7736 50.6867 43.4844 50.6867 43.4844 50.0421V43.0465C43.4844 43.0465 44.7736 43.0465 44.7736 43.6911V47.2982C45.358 47.2086 45.6845 46.7727 46.1302 45.9305C46.3193 45.5732 46.6907 45.4442 47.0817 45.4442C47.3199 45.4489 47.556 45.489 47.7824 45.5634C47.24 46.3061 46.9037 47.3865 46.011 47.7439Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M51.6206 47.0307C51.6206 46.6733 51.4216 46.3566 50.6592 46.3566C49.8268 46.3566 49.0743 46.6369 49.0743 47.4777C48.7856 47.0909 48.6973 46.784 48.6973 46.5164C48.6973 45.6545 49.8563 45.3953 50.669 45.3953C52.1251 45.3953 52.8986 46.0091 52.8986 47.0895V50.712C52.6603 50.5991 52.3984 50.5448 52.1349 50.5537C51.6402 50.5537 51.1441 50.7317 50.5794 50.7317C49.5592 50.7317 48.5586 50.3547 48.5586 49.1761C48.5586 47.3277 51.2142 47.8126 51.6206 47.0307ZM51.65 48.041C51.4216 48.5666 49.8366 48.2793 49.8366 49.1621C49.8366 49.6078 50.1632 49.8362 50.7279 49.8362C51.0439 49.8362 51.357 49.7753 51.65 49.6568V48.041Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M57.2093 47.1792C57.2093 46.6537 56.9613 46.3566 56.2578 46.3566C55.9389 46.3599 55.6221 46.4071 55.3161 46.4967V50.6868C55.3161 50.6868 54.0282 50.6868 54.0282 50.0422V45.3953C54.3062 45.5298 54.6106 45.6007 54.9195 45.6027C55.4057 45.6027 55.8612 45.3953 56.3965 45.3953C57.4167 45.3953 58.4986 45.7414 58.4986 47.0307V50.6868C58.4986 50.6868 57.2107 50.6672 57.2107 50.0422L57.2093 47.1792Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M29.8406 42.6191C29.8406 42.6191 34.4371 42.2814 34.4371 46.2486C34.4371 50.2159 33.2221 51.0133 32.157 51.2641C32.157 51.2641 36.5881 52.332 36.5881 46.7503C36.5881 41.1687 30.9364 41.9745 29.8406 42.6191Z",fill:"#F2634D"}}),e._v(" "),a("path",{attrs:{d:"M33.5781 49.3681C33.5781 49.3681 33.1352 50.9082 31.7899 51.103C30.4446 51.2978 30.2022 50.5719 29.2675 50.6209C29.2568 50.522 29.266 50.422 29.2945 50.3267C29.323 50.2314 29.3702 50.1427 29.4333 50.0658C29.4965 49.989 29.5743 49.9255 29.6623 49.8791C29.7503 49.8327 29.8466 49.8042 29.9457 49.7955C30.7011 49.6932 32.115 49.8922 33.0554 49.298C33.0554 49.298 33.6159 49.0065 33.721 48.865L33.5781 49.3681Z",fill:"#F2634D"}}),e._v(" "),a("path",{attrs:{d:"M29.7705 42.8966V44.8066V49.5615C29.8165 49.549 29.8634 49.5397 29.9106 49.5334C30.1755 49.505 30.4417 49.491 30.708 49.4914C30.9883 49.4914 31.2868 49.4802 31.5895 49.4536V47.2086C31.5895 46.4644 31.5432 45.7021 31.5895 44.9664C31.6149 44.7457 31.7 44.5361 31.8355 44.36C31.971 44.184 32.152 44.0482 32.3588 43.9672C32.5252 43.9058 32.7028 43.8801 32.8798 43.892C33.0568 43.9038 33.2293 43.9528 33.386 44.0359C32.3334 43.2799 31.0664 42.8807 29.7705 42.8966Z",fill:"#F2634D"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_248_61",x:"1.43361",y:"0.796654",width:"197.373",height:"167.079",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"13.5042"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"18.6357"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter1_d_248_61",x:"113.644",y:"28.4061",width:"105.219",height:"105.219",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"9.92629"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.67814"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter2_d_248_61",x:"131.878",y:"65.3495",width:"68.4692",height:"41.6322",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"13.6395"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"6.99175"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.633333 0 0 0 0 0.0860081 0 0 0 0 0 0 0 0 0.38 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter3_d_248_61",x:"0.094183",y:"29.7392",width:"88.0471",height:"55.0969",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"10.2632"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.45291"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0.095 0 0 0 0 0.2375 0 0 0 0.25 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_248_61",x1:"216.161",y1:"71.332",x2:"122.442",y2:"71.332",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FFA5A5"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FFA5A5","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint1_linear_248_61",x1:"218.051",y1:"74.8431",x2:"133.515",y2:"74.3029",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FF6262"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FF6262","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint2_linear_248_61",x1:"212.38",y1:"71.3321",x2:"133.245",y2:"71.3321",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FE6868"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FE6868","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint3_linear_248_61",x1:"166.253",y1:"28.3761",x2:"166.253",y2:"104.342",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FF9F8F"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#F95F47"}})],1)],1)])]),e._v(" "),a("div",{staticClass:"content"},[a("div",{staticClass:"details"},[a("h3",[e._v(e._s(e.__("Dokan Premium","dokan-lite"))+" "),a("span",{staticClass:"dokan-offer"},[e._v(e._s(e.__("Enjoy","dokan-lite"))+" "),a("span",{staticClass:"penchant-off"},[e._v(e._s(e.__("30%","dokan-lite")))]),e._v(e._s(e.__("OFF","dokan-lite")))])]),e._v(" "),a("p",[e._v(e._s(e.__("Unleash the full potential of your marketplace with more premium features.","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"features"},[a("label",[e._v("\n "+e._s(e.__("Table rate shipping","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",[e._v("\n "+e._s(e.__("Vendor Reviews","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Product Subscriptions","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Auction","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Delivery Time","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("a",{attrs:{target:"_blank",href:"https://wedevs.com/dokan/modules"}},[e._v(e._s(e.__("See All Premium Modules","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"btn-upgrade"},[a("a",{attrs:{target:"_blank",href:"https://wedevs.com/dokan-lite-upgrade-to-pro/?utm_source=dokan-plugin-dashboard&utm_medium=wp-admin-promotion&utm_campaign=dokan-lite"}},[e._v(e._s(e.__("Upgrade to Premium","dokan-lite")))])]),e._v(" "),a("button",{staticClass:"close-banner",on:{click:function(t){return e.dismiss()}}},[a("span",{staticClass:"dashicons dashicons-no-alt"})])]):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-dashboard"},[a("h1",[e._v(e._s(e.__("Dashboard","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"widgets-wrapper"},[a("div",{staticClass:"left-side"},[a("postbox",{attrs:{title:e.__("At a Glance","dokan-lite"),extraClass:"dokan-status"}},[null!==e.overview?a("div",{staticClass:"dokan-status"},[a("ul",[a("li",{staticClass:"sale"},[a("div",{staticClass:"dashicons dashicons-chart-bar"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.sales.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("net sales this month","dokan-lite"))+" "),a("span",{class:e.overview.sales.class},[e._v(e._s(e.overview.sales.parcent))])])])],1),e._v(" "),a("li",{staticClass:"commission"},[a("div",{staticClass:"dashicons dashicons-chart-pie"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.earning.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("commission earned","dokan-lite"))+" "),a("span",{class:e.overview.earning.class},[e._v(e._s(e.overview.earning.parcent))])])])],1),e._v(" "),a("li",{staticClass:"vendor"},[a("div",{staticClass:"dashicons dashicons-id"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors"}:""}},[a("strong",[e._v(e._s(e.overview.vendors.this_month)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("signup this month","dokan-lite"))+" "),a("span",{class:e.overview.vendors.class},[e._v(e._s(e.overview.vendors.parcent))])])])],1),e._v(" "),a("li",{staticClass:"approval"},[a("div",{staticClass:"dashicons dashicons-businessman"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors",query:{status:"pending"}}:""}},[a("strong",[e._v(e._s(e.overview.vendors.inactive)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1),e._v(" "),a("li",{staticClass:"product"},[a("div",{staticClass:"dashicons dashicons-cart"}),e._v(" "),a("a",{attrs:{href:"#"}},[a("strong",[e._v(e._s(e.overview.products.this_month)+" "+e._s(e.__("Products","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("created this month","dokan-lite"))+" "),a("span",{class:e.overview.products.class},[e._v(e._s(e.overview.products.parcent))])])])]),e._v(" "),a("li",{staticClass:"withdraw"},[a("div",{staticClass:"dashicons dashicons-money"}),e._v(" "),a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[a("strong",[e._v(e._s(e.overview.withdraw.pending)+" "+e._s(e.__("Withdrawals","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1)])]):a("div",{staticClass:"loading"},[a("loading")],1)]),e._v(" "),a("postbox",{attrs:{title:e.__("Dokan News Updates","dokan-lite")}},[null!==e.feed?a("div",{staticClass:"rss-widget"},[a("ul",e._l(e.feed,function(t){return a("li",[a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[e._v(e._s(t.title))])])}),0),e._v(" "),a("div",{staticClass:"subscribe-box"},[e.subscribe.success?a("div",{staticClass:"thank-you"},[e._v(e._s(e.__("Thank you for subscribing!","dokan-lite")))]):[e.subscribe.loading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),a("h3",[e._v(e._s(e.__("Stay up-to-date","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("We're constantly developing new features, stay up-to-date by subscribing to our newsletter.","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"form-wrap"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.full_name,expression:"subscribe.full_name"}],attrs:{type:"text",placeholder:e.__("Your Name","dokan-lite")},domProps:{value:e.subscribe.full_name},on:{input:function(t){t.target.composing||e.$set(e.subscribe,"full_name",t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.email,expression:"subscribe.email"}],attrs:{type:"email",placeholder:e.__("Your Email Address","dokan-lite")},domProps:{value:e.subscribe.email},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emailSubscribe()},input:function(t){t.target.composing||e.$set(e.subscribe,"email",t.target.value)}}}),e._v(" "),a("button",{staticClass:"button",on:{click:function(t){return e.emailSubscribe()}}},[e._v(e._s(e.__("Subscribe","dokan-lite")))])])]],2)]):a("div",{staticClass:"loading"},[a("loading")],1)])],1),e._v(" "),a("div",{staticClass:"right-side"},[a("postbox",{staticClass:"overview-chart",attrs:{title:e.__("Overview","dokan-lite")}},[null!==e.report?a("div",[a("chart",{attrs:{data:e.report}})],1):a("div",{staticClass:"loading"},[a("loading")],1)])],1)])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(55),n=a(139),i=!1;var o=function(e){i||a(138)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Withdraw.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"withdraw-requests"},[a("h1",[e._v(e._s(e.__("Withdraw Requests","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),e.showModal?a("modal",{attrs:{title:e.__("Update Note","dokan-lite")},on:{close:function(t){e.showModal=!1}}},[a("template",{slot:"body"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.editing.note,expression:"editing.note"}],attrs:{rows:"3"},domProps:{value:e.editing.note},on:{input:function(t){t.target.composing||e.$set(e.editing,"note",t.target.value)}}})]),e._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"button button-primary button-large",on:{click:function(t){return e.updateNote()}}},[e._v(e._s(e.__("Update Note","dokan-lite")))])])],2):e._e(),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{class:{current:"pending"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{class:{current:"approved"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"approved"}}}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{class:{current:"cancelled"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"cancelled"}}}},[e._v(e._s(e.__("Cancelled","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.cancelled))])]),e._v(" | ")],1)]),e._v(" "),a("list-table",{attrs:{columns:e.columns,rows:e.requests,loading:e.loading,"action-column":e.actionColumn,actions:e.actions,"show-cb":e.showCb,"bulk-actions":e.bulkActions,"not-found":e.notFound,"total-pages":e.totalPages,"total-items":e.totalItems,"per-page":e.perPage,"current-page":e.currentPage,text:e.$root.listTableTexts()},on:{pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction},scopedSlots:e._u([{key:"seller",fn:function(t){return[a("img",{attrs:{src:t.row.user.gravatar,alt:t.row.user.store_name,width:"50"}}),e._v(" "),a("strong",[a("a",{attrs:{href:e.vendorUrl(t.row.user.id)}},[e._v(e._s(t.row.user.store_name?t.row.user.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"vendor",fn:function(t){var s=t.row;return[a("router-link",{attrs:{to:"/vendors/"+s.vendor.id}},[e._v("\n "+e._s(s.vendor.name?s.vendor.name:e.__("(no name)","dokan-lite"))+"\n ")])]}},{key:"amount",fn:function(e){return[a("currency",{attrs:{amount:e.row.amount}})]}},{key:"status",fn:function(t){return[a("span",{class:t.row.status},[e._v(e._s(e._f("capitalize")(t.row.status)))])]}},{key:"created",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_title",fn:function(t){return[a("div",{staticClass:"method_title_inner",domProps:{innerHTML:e._s(e.getPaymentTitle(t.row.method,t.row))}})]}},{key:"method_details",fn:function(t){return[a("div",{staticClass:"method_details_inner",domProps:{innerHTML:e._s(e.getPaymentDetails(t.row.method,t.row.details))}})]}},{key:"actions",fn:function(t){return["pending"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Approve Request","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("approved",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-yes"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Mark as Pending","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("pending",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-backup"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("select",{staticStyle:{width:"190px"},attrs:{id:"filter-vendors","data-placeholder":e.__("Filter by vendor","dokan-lite")}}),e._v(" "),e.filter.user_id?a("button",{staticClass:"button",attrs:{type:"button"},on:{click:function(t){e.filter.user_id=0}}},[e._v("×")]):e._e()])],2)],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(56),n=a(149),i=!1;var o=function(e){i||a(141)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Premium.vue",t.a=r.exports},function(e,t){},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cta-section",style:{"background-image":"url("+e.styles.bgPattern+"), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"}},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.thumbnail,alt:"Dokan Lite"}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h2",[e._v(e._s(e.__("Convinced?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("With all the advance features you get it’s hard to resist buying Dokan Pro.","dokan-lite")))]),e._v(" "),a("a",{staticClass:"btn",attrs:{href:e.url,target:"_blank"}},[e._v("\n "+e._s(e.__("Upgrade to Pro","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-pro-features"},[a("div",{staticClass:"header-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/header-feature-thumb@2x.png",alt:e.__("Upgrade to Dokan Pro!","dokan-lite"),title:e.__("Upgrade to Dokan Pro!","dokan-lite")}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h1",[e._v(e._s(e.__("Upgrade to Dokan Pro!","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Seems To Be Convinced, You Need More Out Of Your Marketplace","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")]),e._v(" "),a("router-link",{staticClass:"button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)]),e._v(" "),a("div",{staticClass:"service-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Why Upgrade","dokan-lite")))]),e._v(" "),a("div",{staticClass:"service-list"},e._l(e.services,function(t){return a("div",{staticClass:"service-box"},[a("div",{staticClass:"service-thumb"},[a("img",{attrs:{src:t.thumbnail,alt:t.title,title:t.title}})]),e._v(" "),a("div",{staticClass:"service-detail"},[a("h3",{staticClass:"title"},[e._v(e._s(t.title))])])])}),0),e._v(" "),a("a",{staticClass:"btn",attrs:{href:"https://wedevs.com/dokan/features/",target:"_blank"}},[e._v("\n "+e._s(e.__("And Many More","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])]),e._v(" "),a("div",{staticClass:"comparison-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Comparison With Dokan PRO","dokan-lite")))]),e._v(" "),a("div",{staticClass:"comparison-area"},[a("div",{staticClass:"compare-box dokan-lite"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-lite-logo@2x.png",alt:"Dokan Lite"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.lite},["available"===t.compare.lite?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)]),e._v(" "),a("div",{staticClass:"compare-box dokan-pro"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-pro-logo@2x.png",alt:"Dokan Pro"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.pro},["available"===t.compare.pro?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)])])]),e._v(" "),a("div",{staticClass:"pricing-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("The Packages We Provide","dokan-lite")))]),e._v(" "),a("div",{staticClass:"pricing-wrapper"},[e._m(0),e._v(" "),e._l(e.modules,function(t){return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"},[a("a",{staticClass:"module-name",attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.title))])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.starter.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.starter.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.starter.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col popular"},["numeric"===t.professional.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.professional.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.professional.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.business.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.business.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.business.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.enterprise.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.enterprise.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.enterprise.value,alt:""}})])])])}),e._v(" "),a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn starter",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("a",{staticClass:"buy-btn professional",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn business",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15315&attribute_pa_license=business",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn enterprise",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])])])],2)]),e._v(" "),a("div",{staticClass:"payment-section"},[a("div",{staticClass:"guarantee-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.payment.guaranteeThumbnail,alt:"Dokan"}})]),e._v(" "),a("div",{staticClass:"guarantee-detail"},[a("h2",[e._v(e._s(e.__("14 Days Money Back Guarantee","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("After successful purchase, you will be eligible for conditional refund","dokan-lite")))]),e._v(" "),a("a",{attrs:{href:e.payment.termsPolicyUrl,target:"_blank"}},[a("img",{attrs:{src:e.payment.viewIcon,alt:"Dokan"}}),e._v(" "+e._s(e.__("Terms & Condition Applied","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"payment-area"},[a("h3",[e._v(e._s(e.__("Payment Options:","dokan-lite")))]),e._v(" "),a("div",{staticClass:"option"},[a("img",{attrs:{src:e.payment.thumbnail,alt:"Credit Card"}})])])]),e._v(" "),a("div",{staticClass:"testimonial-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("People We Have Helped","dokan-lite")))]),e._v(" "),a("div",{staticClass:"testimonial-wrapper"},[a("slick",{ref:"slick",attrs:{options:e.slickOptions}},e._l(e.testimonials,function(t){return a("div",{staticClass:"testimonial-box"},[a("div",{staticClass:"profile-pic"},[a("img",{attrs:{src:t.pic,alt:""}})]),e._v(" "),a("div",{staticClass:"content-detail",style:{"background-image":"url("+e.asstesUrl+"/images/premium/quote-icon.png)"}},[a("h4",[e._v(e._s(t.name))]),e._v(" "),a("span",[e._v(e._s(t.designation))]),e._v(" "),a("p",[e._v(e._s(t.content))])])])}),0)],1),e._v(" "),a("p",{domProps:{innerHTML:e._s(e.sprintf("%s <a href='%s' target='_blank'>%s</a> %s",e.__("We are proud to say the official","dokan-lite"),"https://themes.getbootstrap.com/","Bootstrap theme marketplace",e.__("is built using Dokan","dokan-lite")))}})]),e._v(" "),a("ProCta")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name starter"},[e._v("Starter")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("149")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("div",{staticClass:"plan-name professional"},[e._v("Professional")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("249")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name business"},[e._v("Business")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("499")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name enterprise"},[e._v("Enterprise")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("999")]),e._v(" "),a("span",[e._v("/year")])])])])}]};t.a=n},function(e,t,a){"use strict";var s=a(59),n=a(152),i=!1;var o=function(e){i||a(151)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Help.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[a("h1",[e._v(e._s(e.__("Help","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),null!==e.docs?a("div",{staticClass:"section-wrapper"},e._l(e.docs,function(t,s){return a("postbox",{key:s,attrs:{title:t.title}},[a("ul",e._l(t.questions,function(t){return a("li",[a("span",{staticClass:"dashicons dashicons-media-text"}),e._v(" "),a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[e._v(e._s(t.title))])])}),0)])}),1):a("div",{staticClass:"loading"},[a("loading")],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(60),n=a(155),i=!1;var o=function(e){i||a(154)},r=a(0)(s.a,n.a,!1,o,"data-v-254fdb80",null);r.options.__file="src/admin/pages/ChangeLog.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[a("div",{staticClass:"section-wrapper"},[a("div",{staticClass:"dokan-notice"},[a("h2"),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner")],1),e._v(" "),a("div",{staticClass:"change-log",class:e.hasPro?"pro-change-log":"lite-change-log",attrs:{id:"change-log"}},[a("h3",[e._v(e._s(e.__("Dokan Changelog","dokan-lite")))]),e._v(" "),e.hasPro?a("div",{staticClass:"switch-button-wrap"},[a("transition-group",{attrs:{name:"fade"}},[a("span",{key:1,staticClass:"active",style:e.isActivePackage("pro")?"right: 0":"left: 0"}),e._v(" "),a("button",{key:2,staticClass:"switch-button lite",class:{"active-case":e.isActivePackage("lite")},on:{click:function(t){return e.switchPackage("lite")}}},[e._v(e._s(e.__("Lite","dokan-lite")))]),e._v(" "),a("button",{key:3,staticClass:"switch-button pro",class:{"active-case":e.isActivePackage("pro")},on:{click:function(t){return e.switchPackage("pro")}}},[e._v(e._s(e.__("PRO","dokan-lite")))])])],1):e._e(),e._v(" "),e.loading?a("div",{staticClass:"loading"},[a("loading")],1):a("div",{staticClass:"jump-version"},[a("p",[e._v(e._s(e.__("Jump to version","dokan-lite"))+"... "),a("span",{staticClass:"dashicons dashicons-arrow-down-alt2"})]),e._v(" "),a("div",{staticClass:"version-menu"},[a("div",{staticClass:"version-dropdown"},[a("ul",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("lite"),expression:"isActivePackage( 'lite' )"}]},e._l(e.lite_versions,function(t,s){return a("li",{class:{current:e.isCurrentVersion("lite-"+s)},on:{click:function(t){return e.jumpVersion("lite-"+s)}}},[e._v("\n "+e._s(t.version)+"\n "),0===s?a("span",[e._v("("+e._s(e.__("Latest","dokan-lite"))+")")]):e._e(),e._v(" "),e.isCurrentVersion("lite-"+s)&&0!==s?a("span",[e._v("("+e._s(e.__("Current","dokan-lite"))+")")]):e._e()])}),0),e._v(" "),a("ul",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("pro"),expression:"isActivePackage( 'pro' )"}]},e._l(e.pro_versions,function(t,s){return a("li",{class:{current:e.isCurrentVersion("pro-"+s)},on:{click:function(t){return e.jumpVersion("pro-"+s)}}},[e._v("\n "+e._s(t.version)+"\n "),0===s?a("span",[e._v("("+e._s(e.__("Latest","dokan-lite"))+")")]):e._e(),e._v(" "),e.isCurrentVersion("pro-"+s)&&0!==s?a("span",[e._v("("+e._s(e.__("Current","dokan-lite"))+")")]):e._e()])}),0)])])])]),e._v(" "),a("div",{staticClass:"version-list"},[e._l(e.lite_versions,function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("lite"),expression:"isActivePackage( 'lite' )"}],staticClass:"version",class:0===s?"latest-version":"old-version",attrs:{id:"lite-"+s}},[a("div",{staticClass:"version-number"},[a("h4",[e._v(e._s(t.version))]),e._v(" "),a("p",[e._v(e._s(e.formatReleaseDate(t.released))+" "),0===s?a("label",[e._v(e._s(e.__("Latest","dokan-lite")))]):e._e()])]),e._v(" "),a("div",{staticClass:"card-version",style:e.isCurrentVersion("lite-"+s)?e.activeVersionBorder:""},[a("transition-group",{attrs:{name:"slide",tag:"div"}},e._l(t.changes,function(t,n,i){return 0===s||i<1||e.isOpenVersion("lite-"+s)?a("div",{key:"index-"+i,staticClass:"feature-list"},[a("span",{staticClass:"feature-badge",class:e.badgeClass(n)},[e._v(e._s(n))]),e._v(" "),e._l(t,function(t,n){return 0===s||n<2||e.isOpenVersion("lite-"+s)?a("div",{staticClass:"feature"},[a("h5",[e._v(e._s(t.title))]),e._v(" "),a("div",{domProps:{innerHTML:e._s(t.description)}})]):e._e()})],2):e._e()}),0),e._v(" "),0!==s&&Object.keys(t.changes).length>1?a("div",{staticClass:"continue-reading"},[a("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleReading("lite-"+s)}}},[e._v(e._s(e.isOpenVersion("lite-"+s)?e.__("View Less...","dokan-lite"):e.__("Continue reading...","dokan-lite")))])]):e._e()],1)])}),e._v(" "),e._l(e.pro_versions,function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("pro"),expression:"isActivePackage( 'pro' )"}],staticClass:"version",class:0===s?"latest-version":"old-version",attrs:{id:"pro-"+s}},[a("div",{staticClass:"version-number"},[a("h4",[e._v(e._s(t.version))]),e._v(" "),a("p",[e._v(e._s(e.formatReleaseDate(t.released))+" "),0===s?a("label",[e._v(e._s(e.__("Latest","dokan-lite")))]):e._e()])]),e._v(" "),a("div",{staticClass:"card-version",style:e.isCurrentVersion("pro-"+s)?e.activeVersionBorder:""},[a("transition-group",{attrs:{name:"slide",tag:"div"}},e._l(t.changes,function(t,n,i){return 0===s||i<1||e.isOpenVersion("pro-"+s)?a("div",{key:"index-"+i,staticClass:"feature-list"},[a("span",{staticClass:"feature-badge",class:e.badgeClass(n)},[e._v(e._s(n))]),e._v(" "),e._l(t,function(t,n){return 0===s||n<2||e.isOpenVersion("pro-"+s)?a("div",{staticClass:"feature"},[a("h5",[e._v(e._s(t.title))]),e._v(" "),a("div",{domProps:{innerHTML:e._s(t.description)}})]):e._e()})],2):e._e()}),0),e._v(" "),0!==s&&Object.keys(t.changes).length>1?a("div",{staticClass:"continue-reading"},[a("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleReading("pro-"+s)}}},[e._v(e._s(e.isOpenVersion("pro-"+s)?e.__("View Less...","dokan-lite"):e.__("Continue reading...","dokan-lite")))])]):e._e()],1)])})],2)]),e._v(" "),a("button",{staticClass:"scroll-to-top",style:e.scrollPosition>300?"opacity: 1; visibility: visible":"",on:{click:e.scrollTop}},[a("span",{staticClass:"dashicons dashicons-arrow-up-alt"})])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(61),n=a(193),i=!1;var o=function(e){i||a(157)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Settings.vue",t.a=r.exports},function(e,t){},,function(e,t,a){"use strict";var s=a(62),n=a(189),i=!1;var o=function(e){i||a(160)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Fields.vue",t.a=r.exports},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var s=a(73),n=a(186),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/SocialFields.vue",t.a=i.exports},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("fieldset",[a("div",{staticClass:"html_contents"},[a("h3",{staticClass:"field_heading",attrs:{scope:"row"}},[e._v("\n "+e._s(e.fieldData.label)+"\n "),e.fieldData.tooltip?a("span",[a("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fieldData.tooltip,expression:"fieldData.tooltip"}],staticClass:"dashicons dashicons-editor-help tips",attrs:{title:e.fieldData.tooltip}})]):e._e()]),e._v(" "),a("p",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})]),e._v(" "),e.fieldData.url||"html"!==e.fieldData.type?a("div",{staticClass:"fields",class:["radio"===e.fieldData.type?"radio_fields":""]},[e.fieldData.url?a("input",{staticClass:"regular-text large",attrs:{disabled:"",type:"text"},domProps:{value:e.fieldData.url}}):e._e(),e._v(" "),"checkbox"===e.fieldData.type&&"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===e.fieldData.type&&"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:e.fieldData.type},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}):e._e(),e._v(" "),"textarea"===e.fieldData.type?a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"large",domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}):e._e(),e._v(" "),"radio"===e.fieldData.type?e._l(e.fieldData.options,function(t,s){return a("label",{key:s,class:e.isSocialOptionChecked(s)?"checked":""},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "),"checkbox"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:"checkbox"},domProps:{value:s,checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],s)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=s,r=e._i(a,o);n.checked?r<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([o])):r>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.fieldValue,e.fieldData.name,i)}}}):"radio"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:"radio"},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:e.fieldData.type},domProps:{value:s,value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v("\n "+e._s(t)+"\n ")])}):e._e()],2):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(74),n=a(188),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/FieldHeading.vue",t.a=i.exports},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"field_data"},[a("h3",{staticClass:"field_heading",attrs:{scope:"row"}},[e._v("\n "+e._s(e.fieldData.label)+"\n "),e.fieldData.icon_class?a("span"):e._e(),e._v(" "),e.fieldData.tooltip||e.fieldData.field_icon?a("span",[a("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fieldData.tooltip?e.fieldData.tooltip:e.fieldData.field_icon,expression:"fieldData.tooltip ? fieldData.tooltip : fieldData.field_icon"}],staticClass:"tips",class:[{"dashicons dashicons-editor-help":e.fieldData.tooltip},{"fas fa-exclamation-triangle":e.fieldData.field_icon}],attrs:{title:e.fieldData.tooltip?e.fieldData.tooltip:e.fieldData.field_icon}})]):e._e()]),e._v(" "),a("p",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.shouldShow?a("div",{class:[e.id,"dokan-settings-field-type-"+e.fieldData.type]},["sub_section"===e.fieldData.type?[a("div",{staticClass:"dokan-settings-sub-section",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("h3",{staticClass:"sub-section-title"},[e._v(e._s(e.fieldData.label))]),e._v(" "),a("p",{staticClass:"sub-section-description"},[e._v("\n "+e._s(e.fieldData.description)+"\n ")])])]:e._e(),e._v(" "),e.containCommonFields(e.fieldData.type)?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},["checkbox"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:e.fieldData.type||"text"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"number"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"price"===e.fieldData.type&&e.allSettingsValues.dokan_selling&&"combine"!==e.allSettingsValues.dokan_selling.commission_type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:{wc_input_decimal:"percentage"==e.allSettingsValues.dokan_selling.commission_type,wc_input_price:"flat"==e.allSettingsValues.dokan_selling.commission_type},attrs:{type:"text",min:e.fieldData.min,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"combine"===e.fieldData.type&&e.haveCondition(e.fieldData)&&"show"==e.fieldData.condition.type&&e.checkConditionLogic(e.fieldData,e.fieldValue)?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field combine_fields"},[a("div",{staticClass:"percent_fee"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.percent_fee.name],expression:"fieldValue[fieldData.fields.percent_fee.name]"}],staticClass:"wc_input_decimal regular-text medium",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][percent_fee]",name:e.sectionId+"["+e.fieldData.fields.percent_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.percent_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.percent_fee.name,t.target.value)}}}),e._v("\n "+e._s("%")+"\n ")]),e._v(" "),a("div",{staticClass:"fixed_fee"},[e._v("\n "+e._s("+")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.fixed_fee.name],expression:"fieldValue[fieldData.fields.fixed_fee.name]"}],staticClass:"wc_input_price regular-text medium",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][fixed_fee]",name:e.sectionId+"["+e.fieldData.fields.fixed_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.fixed_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.fixed_fee.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.fields.percent_fee.name)&&e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.__("Both percentage and fixed fee is required.","dokan-lite"))+"\n ")]):e.hasError(e.fieldData.fields.percent_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.percent_fee.label))+"\n ")]):e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.fixed_fee.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"textarea"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"switcher"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("switches",{attrs:{enabled:"on"===e.checked,value:"isChecked"},on:{input:e.onToggleSwitch}})],1)])],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"multicheck"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field multicheck_fields"},[e._l(e.fieldData.options,function(t,s){return[a("div",{key:s},[e._v("\n "+e._s(t)+"\n "),a("switches",{attrs:{enabled:e.isSwitchOptionChecked(s),value:s},on:{input:e.setCheckedValue}})],1)]})],2)],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"select"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular medium",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:"",disabled:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("optgroup",{key:s,attrs:{label:t.group_label}},e._l(t.group_values,function(t,s){return a("option",{key:s,domProps:{value:t.value,innerHTML:e._s(t.label)}})}),0)})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular medium",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("option",{key:s,domProps:{value:s,innerHTML:e._s(t)}})})],2),e._v(" "),e.fieldData.refresh_options?a("RefreshSettingOptions",{attrs:{field:e.fieldData,section:e.sectionId,"toggle-loading-state":e.toggleLoadingState}}):e._e()],1)],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"file"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field add_files"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){return t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"color"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("color-picker",{attrs:{itemKey:e.fieldData.name,customData:e.singleColorPicker},on:{"custom-change":function(t){return e.setCustomColor(t,e.fieldData.name)},toggleColorPicker:e.toggleColorPicker},model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}})],1)],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"html"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"warning"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("div",{staticClass:"field_data"},[a("h3",{staticClass:"field_heading dokan-setting-warning error",attrs:{scope:"row"}},[a("span",{staticClass:"dokan-setting-warning-label"},[a("span",{staticClass:"dashicons dashicons-warning"}),e._v("\n "+e._s(e.fieldData.label)+"\n ")]),e._v(" "),a("span",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})])])])])]:e._e(),e._v(" "),"radio"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field radio_fields"},[e._l(e.fieldData.options,function(t,s){return[a("label",{key:s,class:e.isSwitchOptionChecked(s)?"checked":"",attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:s,id:e.sectionId+"["+e.fieldData.name+"]["+s+"]"},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v("\n "+e._s(t)+"\n ")])]})],2)],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"wpeditor"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field editor_field"},[a("text-editor",{domProps:{innerHTML:e._s(e.fieldData.default)},model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}})],1)])]:e._e(),e._v(" "),"repeatable"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field repeatable_fields"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text medium",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button dokan-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[a("span",{staticClass:"dashicons dashicons-plus-alt2"})])])],1),e._v(" "),a("ul",{staticClass:"dokan-settings-repeatable-list"},[e._l(e.fieldValue[e.fieldData.name],function(t,s){return[e.fieldValue[e.fieldData.name]?a("li",{key:s},[e._v("\n "+e._s(t.value)+"\n "),t.must_use?e._e():a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}}),e._v(" "),a("span",{staticClass:"repeatable-item-description",domProps:{innerHTML:e._s(t.desc)}})]):e._e()]})],2)])]:e._e(),e._v(" "),"radio_image"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field radio-image-container"},[e._l(e.fieldData.options,function(t,s){return[a("label",{key:s,staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===s,"not-active":e.fieldValue[e.fieldData.name]!==s}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v("\n "+e._s(e.__("Active","dokan-lite"))+"\n ")]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=s}}},[e._v("\n "+e._s(e.__("Select","dokan-lite"))+"\n ")])])])]})],2)])]:e._e(),e._v(" "),"gmap"!==e.fieldData.type||e.hideMap?e._e():[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field gmap-field"},[a("input",{attrs:{type:"hidden",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.mapLocation}}),e._v(" "),"mapbox"===e.mapApiSource?a("Mapbox",{attrs:{width:"100%",height:"300px",location:e.mapLocation,accessToken:e.mapboxAccessToken},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}):a("GoogleMaps",{attrs:{location:e.mapLocation,apiKey:e.googleMapApiKey},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}})],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])],e._v(" "),"social"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field scl_fields"},[a("div",{staticClass:"scl_header"},[a("div",{staticClass:"scl_contents"},[a("div",{staticClass:"scl_icon"},[a("img",{attrs:{src:e.fieldData.icon_url,alt:e.fieldData.label}})]),e._v(" "),a("p",{staticClass:"scl_desc"},[e._v(e._s(e.fieldData.social_desc))])]),e._v(" "),a("div",{staticClass:"expand_btn",on:{click:e.expandSocial}},[a("span",{staticClass:"dashicons",class:[this.expandSocials?"dashicons-arrow-up-alt2":"dashicons-arrow-down-alt2"]})])]),e._v(" "),e._l(e.fieldData,function(t,s){return[e.expandSocials&&t.social_field?a("div",{key:s,staticClass:"scl_info"},[a("div",{class:[{scl_html:"html"===t.type},{scl_text:"html"!==t.type},t.content_class?t.content_class:""]},[a("SocialFields",{attrs:{fieldData:t,fieldValue:e.fieldValue}})],1)]):e._e()]})],2)])]:e._e(),e._v(" "),e.customFieldComponents?e._l(e.customFieldComponents,function(t,s){return a(t,{key:s,tag:"component",attrs:{sectionId:e.sectionId,fieldData:e.fieldData,fieldValue:e.fieldValue,assetsUrl:e.dokanAssetsUrl,validationErrors:e.validationErrors,toggleLoadingState:e.toggleLoadingState},on:{"some-event":e.thisSomeEvent}})}):e._e()],2):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(75),n=a(192),i=!1;var o=function(e){i||a(191)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/SettingsBanner.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-settings-banner"}},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Settings Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("h1",[e._v(e._s(e.__("Looking for Coupons, Variable Products, SEO or Shipping?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Unlock these awesome frontend features with Dokan PRO","dokan-lite")))]),e._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("router-link",{staticClass:"button custom-button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"dokan-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","dokan-lite")))])])]):e._e(),e._v(" "),a("div",{ref:"settingsWrapper",staticClass:"dokan-settings-wrap"},[a("div",{staticClass:"nav-tab-wrapper"},[a("div",{staticClass:"nab-section"},[a("div",{staticClass:"search-box"},[a("label",{staticClass:"dashicons dashicons-search",attrs:{for:"dokan-admin-search"}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],ref:"searchInSettings",staticClass:"dokan-admin-search-settings",attrs:{type:"text",id:"dokan-admin-search",placeholder:e.__("Search e.g. vendor","dokan-lite")},domProps:{value:e.searchText},on:{input:[function(t){t.target.composing||(e.searchText=t.target.value)},e.searchInSettings]}}),e._v(" "),""!==e.searchText?a("span",{staticClass:"dashicons dashicons-no-alt",on:{click:function(t){return t.preventDefault(),e.clearSearch.apply(null,arguments)}}}):e._e()]),e._v(" "),e._l(e.settingSections,function(t){return[a("div",{key:t.id,class:["nav-tab",e.currentTab===t.id?"nav-tab-active":""],on:{click:function(a){return a.preventDefault(),e.changeTab(t)}}},[a("img",{attrs:{src:t.icon_url,alt:t.settings_title}}),e._v(" "),a("div",{staticClass:"nav-content"},[a("div",{staticClass:"nav-title"},[e._v(e._s(t.title))]),e._v(" "),a("div",{staticClass:"nav-description"},[e._v(e._s(t.description))])])])]})],2)]),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingSections,function(t){return e.currentTab===t.id?a("fieldset",{staticClass:"settings-header"},[a("div",{staticClass:"settings-content"},[a("h2",{staticClass:"settings-title"},[e._v(e._s(t.settings_title))]),e._v(" "),a("p",{staticClass:"settings-description"},[e._v(e._s(t.settings_description))])]),e._v(" "),t.document_link?a("div",{staticClass:"settings-document-button"},[a("a",{staticClass:"doc-link",attrs:{href:t.document_link,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan-lite")))])]):e._e()]):e._e()}),e._v(" "),e._l(e.settingFields,function(t,s){return e.isLoaded?[e.currentTab===s?a("div",{key:s,staticClass:"group",attrs:{id:s}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:s}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("div",{staticClass:"form-table"},[a("div",{staticClass:"dokan-settings-fields"},e._l(t,function(t,n){return a("Fields",{key:n,attrs:{"section-id":s,id:n,"field-data":t,"field-value":e.settingValues[s],"all-settings-values":e.settingValues,errors:e.errors,validationErrors:e.validationErrors,"toggle-loading-state":e.toggleLoadingState,dokanAssetsUrl:e.dokanAssetsUrl},on:{openMedia:e.showMedia}})}),1)]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit",value:"Save Changes"},on:{click:function(t){return t.preventDefault(),e.saveSettings(e.settingValues[s],s)}}})])])]):e._e()]:e._e()}),e._v(" "),a("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.__("Back to top","dokan-lite"),expression:"__( 'Back to top', 'dokan-lite' )"}],ref:"backToTop",staticClass:"back-to-top tips",attrs:{title:e.__("Back to top","dokan-lite")},on:{click:e.scrollToTop}},[a("img",{attrs:{src:e.dokanAssetsUrl+"/images/up-arrow.svg",alt:e.__("Dokan Back to Top Button","dokan-lite")}})])],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e()])],1),e._v(" "),e.hasPro?e._e():a("SettingsBanner")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(76),n=a(199),i=!1;var o=function(e){i||a(195)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Vendors.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(77),n=a(198),i=!1;var o=function(e){i||a(197)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/AddVendor.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-vendor-edit"},[a("modal",{attrs:{title:e.title,width:"800px"},on:{close:e.closeModal}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("div",{staticClass:"tab-header"},[a("ul",{staticClass:"tab-list"},e._l(e.tabs,function(t,s){return a("li",{key:s,class:{"tab-title":!0,active:e.currentTab===t.name,last:"VendorPaymentFields"===t.name}},[a("div",{staticClass:"tab-link"},[a("a",{class:{first:"VendorAccountFields"===t.name},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.currentTab=t.name}}},[a("span",{class:[t.icon]}),e._v("\n "+e._s(t.label)+"\n ")])])])}),0)]),e._v(" "),e.currentTab?a("div",{staticClass:"tab-contents"},[e.isLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),e.isLoading?e._e():a("transition",{attrs:{name:"component-fade",mode:"out-in"}},[a(e.currentTab,{tag:"component",attrs:{vendorInfo:e.store,errors:e.errors}})],1)],1):e._e()]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("button",{staticClass:"button button-primary button-hero",on:{click:e.createVendor}},[e._v(e._s("VendorPaymentFields"===e.currentTab?e.__("Create Vendor","dokan-lite"):this.nextBtn))])])])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"vendor-list"},[a("h1",{staticClass:"wp-heading-inline"},[e._v(e._s(e.__("Vendors","dokan-lite")))]),e._v(" "),a("button",{staticClass:"page-title-action",on:{click:function(t){return e.addNew()}}},[e._v(e._s(e.__("Add New","dokan-lite")))]),e._v(" "),e._l(e.dokanVendorHeaderArea,function(e,t){return a(e,{key:t,tag:"component"})}),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("All","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.all))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1)]),e._v(" "),a("search",{attrs:{title:e.__("Search Vendors","dokan-lite")},on:{searched:e.doSearch}}),e._v(" "),a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.vendors,actions:e.actions,actionColumn:"store_name","show-cb":e.showCb,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.currentPage,"action-column":e.actionColumn,"not-found":"No vendors found.","sort-by":e.sortBy,"sort-order":e.sortOrder,text:e.$root.listTableTexts()},on:{sort:e.sortCallback,pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction,searched:e.doSearch},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("img",{attrs:{src:t.row.gravatar,alt:t.row.store_name,width:"50"}}),e._v(" "),a("strong",[e.hasPro?a("router-link",{attrs:{to:"/vendors/"+t.row.id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])],1)]}},{key:"email",fn:function(t){return[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])]}},{key:"categories",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.categories.map(function(e){return e.name}).join(", "))+"\n ")]}},{key:"registered",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.registered).format("MMM D, YYYY"))+"\n ")]}},{key:"enabled",fn:function(t){return[a("switches",{attrs:{enabled:t.row.enabled,value:t.row.id},on:{input:e.onSwitch}})]}},{key:"row-actions",fn:function(t){return e._l(e.actions,function(s,n){return a("span",{class:s.key},[e.hasPro&&"edit"==s.key?a("router-link",{attrs:{to:{path:"vendors/"+t.row.id,query:{edit:"true"}}}},[e._v(e._s(s.label))]):e.hasPro||"edit"!=s.key?"products"==s.key?a("a",{attrs:{href:e.productUrl(t.row.id)}},[e._v(e._s(s.label))]):"orders"==s.key?a("a",{attrs:{href:e.ordersUrl(t.row.id)}},[e._v(e._s(s.label))]):"switch_to"==s.key?a("a",{attrs:{href:e.switchToUrl(t.row)}},[e._v(e._s(s.label))]):a("a",{attrs:{href:"#"}},[e._v(e._s(s.label))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(s.label))]),e._v(" "),n!==e.actions.length-1?[e._v(" | ")]:e._e()],2)})}},{key:"filters",fn:function(t){return e._l(e.dokanVendorFilterSectionStart,function(t,s){return a(t,{key:s,tag:"component",on:{updateVendorComponent:e.updateVendorComponent}})})}}])}),e._v(" "),e.loadAddVendor?a("add-vendor",{attrs:{"vendor-id":e.vendorId}}):e._e()],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(78),n=a(202),i=!1;var o=function(e){i||a(201)},r=a(0)(s.a,n.a,!1,o,"data-v-33b27104",null);r.options.__file="src/admin/pages/DummyData.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",[e._v(e._s(e.__("Import dummy data","dokan-lite")))]),e._v(" "),e.statusLoader?a("div",{staticClass:"dokan-importer-wrapper"},[e._m(0)]):a("div",{staticClass:"dokan-importer-wrapper"},[a("ol",{staticClass:"dokan-importer-progress-steps"},[a("li",{staticClass:"active"},[e._v(e._s(e.__("Import","dokan-lite")))]),e._v(" "),a("li",{class:e.done?"active":""},[e._v(e._s(e.__("Done!","dokan-lite")))])]),e._v(" "),""!=e.errorMsg?a("div",{staticClass:"error inline"},[a("p",[e._v(e._s(e.errorMsg))])]):e._e(),e._v(" "),e.done?a("div",{staticClass:"dokan-importer"},[a("section",{staticClass:"import-done"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"100",height:"100"}},[a("path",{attrs:{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z",fill:"#1BAC9E"}})]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("Import complete!","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"links"},[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},exact:""}},[e._v(e._s(e.__("View vendors","dokan-lite")))]),e._v("\n  \n "),a("a",{attrs:{href:e.getProductsPageUrl()}},[e._v(e._s(e.__("View products","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"dokan-importer-action"},[a("button",{staticClass:"cancel-btn dokan-import-continue-btn",class:e.loading?"is-busy":"",attrs:{disabled:e.loading},on:{click:e.clearAllDummyData}},[e._v(e._s(e.__("Clear dummy data","dokan-lite")))])])]):a("div",{staticClass:"dokan-importer"},[a("header",[a("h2",[e._v(e._s(e.__("Import dummy vendors and products","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("This tool allows you to import vendor and some products for vendors to your marketplace.","dokan-lite")))])]),e._v(" "),a("section",[a("div",[a("progress",{staticClass:"dokan-dummy-data-progress-bar",attrs:{max:"100"},domProps:{value:e.progress}})])]),e._v(" "),a("div",{staticClass:"dokan-importer-action"},[a("button",{staticClass:"dokan-import-continue-btn",class:e.loading?"is-loading":"",attrs:{disabled:e.loading},on:{click:e.importBtnHandler}},[e._v(e._s(e.__("Run the importer","dokan-lite")))])])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dokan-importer"},[t("header",[t("span",{staticClass:"loader-title skeleton-loader"}),this._v(" "),t("span",{staticClass:"loader-description skeleton-loader"})]),this._v(" "),t("section",[t("div",[t("span",{staticClass:"loader-loader skeleton-loader"})])]),this._v(" "),t("div",{staticClass:"dokan-importer-action"},[t("span",{staticClass:"loader-btn skeleton-loader"})])])}]};t.a=n},function(e,t,a){"use strict";var s=a(80),n=a(205),i=!1;var o=function(e){i||a(204)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorCapabilities.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-vendor-capabilities"}},[a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")])])]),e._v(" "),a("div",{staticClass:"grid"},e._l(e.capabilityCards,function(t){return a("div",{staticClass:"col-6"},[a("div",{staticClass:"capability-card"},[a("div",{staticClass:"capability-image"},[a("img",{staticClass:"image",attrs:{src:t.image,alt:e.__("Dokan Capability","dokan-lite")}}),e._v(" "),a("div",{staticClass:"middle"},[a("div",{staticClass:"zoom",on:{click:function(a){return e.openPopup(t.image)}}},[a("div",{staticClass:"dashicons dashicons-search"})])])]),e._v(" "),a("p",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"content"},[e._v(e._s(t.content))])])])}),0),e._v(" "),a("ProCta"),e._v(" "),e.showPopup?a("div",{attrs:{id:"dokan-capability-image-popup"},on:{click:e.closePopup}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("img",{attrs:{src:this.selectedCapabilityImage,alt:e.__("Dokan Capability","dokan-lite")}})])])]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(81),n=a(211),i=!1;var o=function(e){i||a(207)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ProModules.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(82),n=a(210),i=!1;var o=function(e){i||a(209)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ModuleUpgradePopup.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-upgrade-to-pro-wrapper"}},[e.showPopup?a("div",{attrs:{id:"dokan-upgrade-popup"},on:{click:function(t){return t.target!==t.currentTarget?null:e.closePopup.apply(null,arguments)}}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("svg",{attrs:{width:"128",height:"109",viewBox:"0 0 128 109",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M127.502 37.5077C127.406 37.2181 127.141 37.0125 126.827 36.9851L122.568 36.6104L120.884 32.7907C120.76 32.5108 120.477 32.3296 120.163 32.3296C119.848 32.3296 119.566 32.5108 119.441 32.7914L117.757 36.6104L113.497 36.9851C113.184 37.0132 112.92 37.2181 112.823 37.5077C112.726 37.7972 112.815 38.1148 113.052 38.315L116.272 41.0508L115.322 45.1028C115.253 45.4008 115.372 45.7087 115.627 45.8874C115.764 45.9834 115.925 46.0323 116.087 46.0323C116.226 46.0323 116.364 45.9959 116.489 45.9239L120.163 43.7962L123.835 45.9239C124.104 46.0805 124.443 46.0662 124.697 45.8874C124.953 45.7082 125.072 45.4001 125.002 45.1028L124.053 41.0508L127.272 38.3155C127.509 38.1148 127.6 37.7978 127.502 37.5077Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M16.8209 38.1758C16.7105 37.8194 16.4076 37.5663 16.0492 37.5326L11.1816 37.0714L9.25677 32.3703C9.11485 32.0258 8.79162 31.8027 8.4325 31.8027C8.07338 31.8027 7.75015 32.0258 7.60823 32.3711L5.68343 37.0714L0.815005 37.5326C0.457297 37.5671 0.155176 37.8194 0.0441323 38.1758C-0.0669114 38.5321 0.0356399 38.923 0.306237 39.1693L3.98561 42.5365L2.90064 47.5236C2.82125 47.8903 2.95765 48.2694 3.24922 48.4893C3.40594 48.6074 3.5893 48.6676 3.7742 48.6676C3.93362 48.6676 4.09176 48.6228 4.23368 48.5341L8.4325 45.9155L12.6298 48.5341C12.9369 48.7269 13.3241 48.7094 13.615 48.4893C13.9067 48.2687 14.043 47.8895 13.9636 47.5236L12.8786 42.5365L16.558 39.17C16.8286 38.923 16.9319 38.5328 16.8209 38.1758Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M110.124 10.7456C110.062 10.5674 109.891 10.4409 109.69 10.424L106.952 10.1934L105.869 7.84286C105.789 7.67059 105.607 7.55908 105.405 7.55908C105.203 7.55908 105.022 7.67059 104.942 7.84326L103.859 10.1934L101.121 10.424C100.919 10.4413 100.749 10.5674 100.687 10.7456C100.624 10.9238 100.682 11.1192 100.834 11.2424L102.904 12.926L102.294 15.4195C102.249 15.6029 102.326 15.7924 102.49 15.9024C102.578 15.9614 102.681 15.9915 102.785 15.9915C102.875 15.9915 102.964 15.9691 103.044 15.9248L105.405 14.6155L107.766 15.9248C107.939 16.0212 108.157 16.0124 108.321 15.9024C108.485 15.7921 108.561 15.6025 108.517 15.4195L107.906 12.926L109.976 11.2427C110.128 11.1192 110.186 10.9241 110.124 10.7456Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M34.2322 8.63769C34.1701 8.45951 33.9998 8.33297 33.7982 8.31612L31.0601 8.08551L29.9774 5.73495C29.8976 5.56268 29.7158 5.45117 29.5138 5.45117C29.3118 5.45117 29.13 5.56268 29.0501 5.73535L27.9674 8.08551L25.2289 8.31612C25.0277 8.33337 24.8578 8.45951 24.7953 8.63769C24.7329 8.81586 24.7906 9.01129 24.9428 9.13448L27.0124 10.8181L26.4021 13.3116C26.3575 13.495 26.4342 13.6845 26.5982 13.7945C26.6863 13.8535 26.7895 13.8836 26.8935 13.8836C26.9832 13.8836 27.0721 13.8612 27.152 13.8169L29.5138 12.5076L31.8748 13.8169C32.0475 13.9133 32.2653 13.9045 32.429 13.7945C32.593 13.6842 32.6697 13.4946 32.625 13.3116L32.0147 10.8181L34.0844 9.13481C34.2366 9.01129 34.2947 8.8162 34.2322 8.63769Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M36.3471 79.5168C36.3023 79.3832 36.1792 79.2883 36.0337 79.2757L34.0562 79.1027L33.2742 77.3398C33.2166 77.2106 33.0853 77.127 32.9394 77.127C32.7935 77.127 32.6622 77.2106 32.6045 77.3401L31.8226 79.1027L29.8448 79.2757C29.6994 79.2886 29.5767 79.3832 29.5316 79.5168C29.4865 79.6505 29.5282 79.797 29.6381 79.8894L31.1328 81.1521L30.6921 83.0223C30.6598 83.1598 30.7152 83.3019 30.8337 83.3844C30.8973 83.4287 30.9718 83.4513 31.0469 83.4513C31.1117 83.4513 31.1759 83.4345 31.2336 83.4012L32.9394 82.4192L34.6445 83.4012C34.7693 83.4735 34.9266 83.4669 35.0448 83.3844C35.1633 83.3017 35.2186 83.1595 35.1864 83.0223L34.7456 81.1521L36.2404 79.8897C36.3503 79.797 36.3923 79.6507 36.3471 79.5168Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M115.928 67.9221C115.883 67.7885 115.76 67.6936 115.615 67.6809L113.637 67.508L112.855 65.7451C112.798 65.6159 112.666 65.5322 112.52 65.5322C112.375 65.5322 112.243 65.6159 112.186 65.7454L111.404 67.508L109.426 67.6809C109.281 67.6939 109.158 67.7885 109.113 67.9221C109.068 68.0557 109.109 68.2023 109.219 68.2947L110.714 69.5574L110.273 71.4276C110.241 71.5651 110.296 71.7072 110.415 71.7897C110.478 71.834 110.553 71.8566 110.628 71.8566C110.693 71.8566 110.757 71.8397 110.815 71.8065L112.52 70.8245L114.226 71.8065C114.35 71.8788 114.508 71.8722 114.626 71.7897C114.744 71.707 114.8 71.5648 114.767 71.4276L114.327 69.5574L115.821 68.295C115.931 68.2023 115.973 68.056 115.928 67.9221Z",fill:"#FFC107"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter0_d_1098_419)"}},[a("circle",{attrs:{cx:"65.5727",cy:"47.0224",r:"35.0473",fill:"url(#paint0_linear_1098_419)"}})]),e._v(" "),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M73.2509 40.3179C73.2509 35.8737 69.6482 32.271 65.204 32.271C60.7598 32.271 57.1571 35.8737 57.1571 40.3179V44.2984H56.5271C54.9772 44.2984 53.7207 45.5549 53.7207 47.1048V58.5595C53.7207 60.1094 54.9772 61.3659 56.5271 61.3659H74.11C75.6599 61.3659 76.9164 60.1094 76.9164 58.5595V47.1048C76.9164 45.5549 75.6599 44.2984 74.11 44.2984H59.3335V40.4324L59.3345 40.3196C59.3947 37.1295 61.9995 34.5619 65.204 34.5619C68.4462 34.5619 71.0745 37.1902 71.0745 40.4324L71.0745 40.5756H73.2509V40.3179ZM65.3185 50.9994C66.4098 50.9994 67.2944 51.884 67.2944 52.9753C67.2944 53.9393 66.6042 54.742 65.6909 54.9162L65.6908 57.7863C65.6908 57.9919 65.5241 58.1585 65.3185 58.1585C65.1129 58.1585 64.9462 57.9919 64.9462 57.7863L64.9464 54.9163C64.033 54.7422 63.3426 53.9394 63.3426 52.9753C63.3426 51.884 64.2272 50.9994 65.3185 50.9994Z",fill:"white"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_1098_419",x:"11.5524",y:"0.90753",width:"108.041",height:"108.041",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"7.90541"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.48649"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.743854 0 0 0 0 0.925 0 0 0 0 0.850411 0 0 0 1 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1098_419"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1098_419",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_1098_419",x1:"65.5727",y1:"11.9751",x2:"65.5727",y2:"82.0697",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#01CB70"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#1CE385"}})],1)],1)]),e._v(" "),a("p",{staticClass:"unlock"},[e._v(e._s(e.__("Unlock","dokan-lite")))]),e._v(" "),a("h1",[e._v(e._s(e.__("20+ Modules","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-brand"},[e._v(e._s(e.__("with Dokan Premium Plans","dokan-lite")))]),e._v(" "),a("p",{staticClass:"upgrade-text",domProps:{innerHTML:e._s(e.sprintf(e.__("We’re sorry %s Dokan Modules are not available on %s. Please upgrade to a PRO plan to unlock the modules of your choice.","dokan-lite"),"<br>","<strong>Dokan Lite</strong>"))}}),e._v(" "),a("a",{staticClass:"upgrade-button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("div",{staticClass:"promo-card"},[a("svg",{attrs:{width:"318",height:"181",viewBox:"0 0 318 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("rect",{attrs:{width:"318",height:"181",rx:"10",fill:"url(#paint0_linear_1061_678)"}}),e._v(" "),a("path",{attrs:{d:"M69.7623 78.1796C19.6582 89.3268 8.33272 60.917 0 47.3061V10C0 4.47715 4.47714 0 9.99999 0H308C313.523 0 318 4.47716 318 10V122C287.77 58.7592 226.42 82.2094 166.516 91.1265C119.684 98.098 114.527 68.2204 69.7623 78.1796Z",fill:"#7867FF","fill-opacity":"0.1"}}),e._v(" "),a("path",{attrs:{d:"M50.6582 112H54.5068C56.6055 112 57.8496 110.968 57.8496 109.238V109.225C57.8496 107.926 56.9951 107.003 55.6484 106.832V106.723C56.5986 106.552 57.3506 105.622 57.3506 104.604V104.59C57.3506 103.086 56.2432 102.136 54.4316 102.136H50.6582V112ZM54.1719 103.223C55.3955 103.223 56.1064 103.804 56.1064 104.802V104.815C56.1064 105.854 55.3477 106.388 53.8574 106.388H51.8887V103.223H54.1719ZM54.2061 107.447C55.7783 107.447 56.585 108.028 56.585 109.163V109.177C56.585 110.312 55.8057 110.913 54.3223 110.913H51.8887V107.447H54.2061ZM62.7373 112.13C64.8359 112.13 66.1348 110.681 66.1348 108.322V108.309C66.1348 105.943 64.8359 104.501 62.7373 104.501C60.6387 104.501 59.3398 105.943 59.3398 108.309V108.322C59.3398 110.681 60.6387 112.13 62.7373 112.13ZM62.7373 111.077C61.3428 111.077 60.5566 110.059 60.5566 108.322V108.309C60.5566 106.565 61.3428 105.554 62.7373 105.554C64.1318 105.554 64.918 106.565 64.918 108.309V108.322C64.918 110.059 64.1318 111.077 62.7373 111.077ZM67.9805 112H69.1699V107.639C69.1699 106.347 69.915 105.554 71.0908 105.554C72.2666 105.554 72.8135 106.189 72.8135 107.516V112H74.0029V107.229C74.0029 105.479 73.0801 104.501 71.4258 104.501C70.3389 104.501 69.6484 104.959 69.2793 105.738H69.1699V104.631H67.9805V112ZM78.624 112.13C79.7041 112.13 80.4492 111.686 80.8115 110.899H80.9209V112H82.1104V104.631H80.9209V108.992C80.9209 110.284 80.2305 111.077 78.9316 111.077C77.7559 111.077 77.2773 110.441 77.2773 109.115V104.631H76.0879V109.402C76.0879 111.146 76.9492 112.13 78.624 112.13ZM86.8613 112.13C88.5361 112.13 89.8145 111.221 89.8145 109.908V109.895C89.8145 108.842 89.1445 108.24 87.7568 107.905L86.6221 107.632C85.7539 107.42 85.3848 107.105 85.3848 106.606V106.593C85.3848 105.943 86.0273 105.492 86.9023 105.492C87.791 105.492 88.3652 105.896 88.5225 106.477H89.6914C89.5273 105.273 88.4541 104.501 86.9092 104.501C85.3438 104.501 84.168 105.424 84.168 106.647V106.654C84.168 107.714 84.79 108.315 86.1709 108.644L87.3125 108.917C88.2217 109.136 88.5977 109.484 88.5977 109.983V109.997C88.5977 110.667 87.8936 111.139 86.9023 111.139C85.959 111.139 85.3711 110.735 85.1729 110.12H83.9561C84.0928 111.337 85.2207 112.13 86.8613 112.13ZM92.6309 106.777C93.123 106.777 93.5195 106.374 93.5195 105.889C93.5195 105.396 93.123 105 92.6309 105C92.1455 105 91.7422 105.396 91.7422 105.889C91.7422 106.374 92.1455 106.777 92.6309 106.777ZM92.6309 112.068C93.123 112.068 93.5195 111.665 93.5195 111.18C93.5195 110.688 93.123 110.291 92.6309 110.291C92.1455 110.291 91.7422 110.688 91.7422 111.18C91.7422 111.665 92.1455 112.068 92.6309 112.068ZM99.9043 112H103.288C106.221 112 107.943 110.175 107.943 107.071V107.058C107.943 103.961 106.214 102.136 103.288 102.136H99.9043V112ZM101.135 110.893V103.243H103.206C105.394 103.243 106.686 104.665 106.686 107.071V107.085C106.686 109.484 105.407 110.893 103.206 110.893H101.135ZM112.954 112.13C115.053 112.13 116.352 110.681 116.352 108.322V108.309C116.352 105.943 115.053 104.501 112.954 104.501C110.855 104.501 109.557 105.943 109.557 108.309V108.322C109.557 110.681 110.855 112.13 112.954 112.13ZM112.954 111.077C111.56 111.077 110.773 110.059 110.773 108.322V108.309C110.773 106.565 111.56 105.554 112.954 105.554C114.349 105.554 115.135 106.565 115.135 108.309V108.322C115.135 110.059 114.349 111.077 112.954 111.077ZM118.266 112H119.455V109.204L120.146 108.534L122.907 112H124.404L120.979 107.728L124.192 104.631H122.75L119.564 107.851H119.455V101.705H118.266V112ZM127.617 112.13C128.608 112.13 129.381 111.699 129.846 110.913H129.955V112H131.145V106.955C131.145 105.424 130.14 104.501 128.342 104.501C126.77 104.501 125.648 105.28 125.457 106.436L125.45 106.477H126.64L126.646 106.456C126.838 105.882 127.419 105.554 128.301 105.554C129.401 105.554 129.955 106.046 129.955 106.955V107.625L127.843 107.755C126.127 107.857 125.156 108.616 125.156 109.929V109.942C125.156 111.282 126.216 112.13 127.617 112.13ZM126.373 109.915V109.901C126.373 109.17 126.865 108.773 127.986 108.705L129.955 108.582V109.252C129.955 110.305 129.073 111.098 127.863 111.098C127.009 111.098 126.373 110.66 126.373 109.915ZM133.318 112H134.508V107.639C134.508 106.347 135.253 105.554 136.429 105.554C137.604 105.554 138.151 106.189 138.151 107.516V112H139.341V107.229C139.341 105.479 138.418 104.501 136.764 104.501C135.677 104.501 134.986 104.959 134.617 105.738H134.508V104.631H133.318V112ZM145.582 112H151.57V110.893H146.812V102.136H145.582V112ZM154.018 103.209C154.469 103.209 154.838 102.84 154.838 102.389C154.838 101.938 154.469 101.568 154.018 101.568C153.566 101.568 153.197 101.938 153.197 102.389C153.197 102.84 153.566 103.209 154.018 103.209ZM153.416 112H154.605V104.631H153.416V112ZM159.466 112.055C159.698 112.055 159.924 112.027 160.156 111.986V110.975C159.938 110.995 159.821 111.002 159.609 111.002C158.844 111.002 158.543 110.653 158.543 109.785V105.615H160.156V104.631H158.543V102.724H157.312V104.631H156.15V105.615H157.312V110.086C157.312 111.494 157.948 112.055 159.466 112.055ZM164.832 112.13C166.568 112.13 167.621 111.146 167.874 110.147L167.888 110.093H166.698L166.671 110.154C166.473 110.599 165.857 111.07 164.859 111.07C163.547 111.07 162.706 110.182 162.672 108.657H167.977V108.192C167.977 105.991 166.76 104.501 164.757 104.501C162.754 104.501 161.455 106.06 161.455 108.336V108.343C161.455 110.653 162.727 112.13 164.832 112.13ZM164.75 105.561C165.837 105.561 166.644 106.251 166.767 107.707H162.692C162.822 106.306 163.656 105.561 164.75 105.561ZM176.228 112.13C177.308 112.13 178.053 111.686 178.415 110.899H178.524V112H179.714V104.631H178.524V108.992C178.524 110.284 177.834 111.077 176.535 111.077C175.359 111.077 174.881 110.441 174.881 109.115V104.631H173.691V109.402C173.691 111.146 174.553 112.13 176.228 112.13ZM184.465 112.13C186.14 112.13 187.418 111.221 187.418 109.908V109.895C187.418 108.842 186.748 108.24 185.36 107.905L184.226 107.632C183.357 107.42 182.988 107.105 182.988 106.606V106.593C182.988 105.943 183.631 105.492 184.506 105.492C185.395 105.492 185.969 105.896 186.126 106.477H187.295C187.131 105.273 186.058 104.501 184.513 104.501C182.947 104.501 181.771 105.424 181.771 106.647V106.654C181.771 107.714 182.394 108.315 183.774 108.644L184.916 108.917C185.825 109.136 186.201 109.484 186.201 109.983V109.997C186.201 110.667 185.497 111.139 184.506 111.139C183.562 111.139 182.975 110.735 182.776 110.12H181.56C181.696 111.337 182.824 112.13 184.465 112.13ZM192.271 112.13C194.008 112.13 195.061 111.146 195.313 110.147L195.327 110.093H194.138L194.11 110.154C193.912 110.599 193.297 111.07 192.299 111.07C190.986 111.07 190.146 110.182 190.111 108.657H195.416V108.192C195.416 105.991 194.199 104.501 192.196 104.501C190.193 104.501 188.895 106.06 188.895 108.336V108.343C188.895 110.653 190.166 112.13 192.271 112.13ZM192.189 105.561C193.276 105.561 194.083 106.251 194.206 107.707H190.132C190.262 106.306 191.096 105.561 192.189 105.561ZM197.262 112H198.451V107.434C198.451 106.354 199.258 105.636 200.393 105.636C200.652 105.636 200.878 105.663 201.124 105.704V104.549C201.008 104.528 200.755 104.501 200.529 104.501C199.531 104.501 198.841 104.952 198.561 105.725H198.451V104.631H197.262V112ZM204.986 112.13C206.661 112.13 207.939 111.221 207.939 109.908V109.895C207.939 108.842 207.27 108.24 205.882 107.905L204.747 107.632C203.879 107.42 203.51 107.105 203.51 106.606V106.593C203.51 105.943 204.152 105.492 205.027 105.492C205.916 105.492 206.49 105.896 206.647 106.477H207.816C207.652 105.273 206.579 104.501 205.034 104.501C203.469 104.501 202.293 105.424 202.293 106.647V106.654C202.293 107.714 202.915 108.315 204.296 108.644L205.438 108.917C206.347 109.136 206.723 109.484 206.723 109.983V109.997C206.723 110.667 206.019 111.139 205.027 111.139C204.084 111.139 203.496 110.735 203.298 110.12H202.081C202.218 111.337 203.346 112.13 204.986 112.13ZM216.758 114.598C218.768 114.598 220.039 113.545 220.039 111.897V104.631H218.85V105.848H218.768C218.316 105.014 217.51 104.501 216.471 104.501C214.543 104.501 213.354 105.998 213.354 108.062V108.076C213.354 110.141 214.536 111.617 216.443 111.617C217.455 111.617 218.289 111.159 218.754 110.346H218.863V111.836C218.863 112.923 218.077 113.545 216.758 113.545C215.698 113.545 215.042 113.148 214.912 112.588L214.905 112.581H213.675L213.661 112.588C213.846 113.798 214.98 114.598 216.758 114.598ZM216.703 110.564C215.336 110.564 214.57 109.539 214.57 108.076V108.062C214.57 106.6 215.336 105.554 216.703 105.554C218.063 105.554 218.891 106.6 218.891 108.062V108.076C218.891 109.539 218.07 110.564 216.703 110.564ZM225.262 112.13C226.998 112.13 228.051 111.146 228.304 110.147L228.317 110.093H227.128L227.101 110.154C226.902 110.599 226.287 111.07 225.289 111.07C223.977 111.07 223.136 110.182 223.102 108.657H228.406V108.192C228.406 105.991 227.189 104.501 225.187 104.501C223.184 104.501 221.885 106.06 221.885 108.336V108.343C221.885 110.653 223.156 112.13 225.262 112.13ZM225.18 105.561C226.267 105.561 227.073 106.251 227.196 107.707H223.122C223.252 106.306 224.086 105.561 225.18 105.561ZM232.87 112.055C233.103 112.055 233.328 112.027 233.561 111.986V110.975C233.342 110.995 233.226 111.002 233.014 111.002C232.248 111.002 231.947 110.653 231.947 109.785V105.615H233.561V104.631H231.947V102.724H230.717V104.631H229.555V105.615H230.717V110.086C230.717 111.494 231.353 112.055 232.87 112.055ZM242.304 112.13C244.402 112.13 245.701 110.681 245.701 108.322V108.309C245.701 105.943 244.402 104.501 242.304 104.501C240.205 104.501 238.906 105.943 238.906 108.309V108.322C238.906 110.681 240.205 112.13 242.304 112.13ZM242.304 111.077C240.909 111.077 240.123 110.059 240.123 108.322V108.309C240.123 106.565 240.909 105.554 242.304 105.554C243.698 105.554 244.484 106.565 244.484 108.309V108.322C244.484 110.059 243.698 111.077 242.304 111.077ZM248.039 112H249.229V105.615H250.903V104.631H249.229V103.845C249.229 103.038 249.57 102.621 250.418 102.621C250.63 102.621 250.828 102.628 250.972 102.655V101.705C250.726 101.657 250.466 101.637 250.179 101.637C248.777 101.637 248.039 102.341 248.039 103.811V104.631H246.815V105.615H248.039V112ZM253.111 112H254.301V105.615H255.976V104.631H254.301V103.845C254.301 103.038 254.643 102.621 255.49 102.621C255.702 102.621 255.9 102.628 256.044 102.655V101.705C255.798 101.657 255.538 101.637 255.251 101.637C253.85 101.637 253.111 102.341 253.111 103.811V104.631H251.888V105.615H253.111V112ZM260.385 112.13C262.121 112.13 263.174 111.146 263.427 110.147L263.44 110.093H262.251L262.224 110.154C262.025 110.599 261.41 111.07 260.412 111.07C259.1 111.07 258.259 110.182 258.225 108.657H263.529V108.192C263.529 105.991 262.312 104.501 260.31 104.501C258.307 104.501 257.008 106.06 257.008 108.336V108.343C257.008 110.653 258.279 112.13 260.385 112.13ZM260.303 105.561C261.39 105.561 262.196 106.251 262.319 107.707H258.245C258.375 106.306 259.209 105.561 260.303 105.561ZM265.375 112H266.564V107.434C266.564 106.354 267.371 105.636 268.506 105.636C268.766 105.636 268.991 105.663 269.237 105.704V104.549C269.121 104.528 268.868 104.501 268.643 104.501C267.645 104.501 266.954 104.952 266.674 105.725H266.564V104.631H265.375V112ZM30.335 133H31.5244L33.165 127.299H33.2744L34.9219 133H36.1182L38.1826 125.631H37L35.5508 131.523H35.4414L33.7939 125.631H32.666L31.0186 131.523H30.9092L29.46 125.631H28.2705L30.335 133ZM40.3838 124.209C40.835 124.209 41.2041 123.84 41.2041 123.389C41.2041 122.938 40.835 122.568 40.3838 122.568C39.9326 122.568 39.5635 122.938 39.5635 123.389C39.5635 123.84 39.9326 124.209 40.3838 124.209ZM39.7822 133H40.9717V125.631H39.7822V133ZM45.832 133.055C46.0645 133.055 46.29 133.027 46.5225 132.986V131.975C46.3037 131.995 46.1875 132.002 45.9756 132.002C45.21 132.002 44.9092 131.653 44.9092 130.785V126.615H46.5225V125.631H44.9092V123.724H43.6787V125.631H42.5166V126.615H43.6787V131.086C43.6787 132.494 44.3145 133.055 45.832 133.055ZM48.3682 133H49.5576V128.639C49.5576 127.347 50.3027 126.554 51.4785 126.554C52.6543 126.554 53.2012 127.189 53.2012 128.516V133H54.3906V128.229C54.3906 126.479 53.4678 125.501 51.8135 125.501C50.7266 125.501 50.0361 125.959 49.667 126.738H49.5576V122.705H48.3682V133ZM60.4814 133H61.6709V128.434C61.6709 127.354 62.4775 126.636 63.6123 126.636C63.8721 126.636 64.0977 126.663 64.3438 126.704V125.549C64.2275 125.528 63.9746 125.501 63.749 125.501C62.751 125.501 62.0605 125.952 61.7803 126.725H61.6709V125.631H60.4814V133ZM68.6162 133.13C70.3525 133.13 71.4053 132.146 71.6582 131.147L71.6719 131.093H70.4824L70.4551 131.154C70.2568 131.599 69.6416 132.07 68.6436 132.07C67.3311 132.07 66.4902 131.182 66.4561 129.657H71.7607V129.192C71.7607 126.991 70.5439 125.501 68.541 125.501C66.5381 125.501 65.2393 127.06 65.2393 129.336V129.343C65.2393 131.653 66.5107 133.13 68.6162 133.13ZM68.5342 126.561C69.6211 126.561 70.4277 127.251 70.5508 128.707H66.4766C66.6064 127.306 67.4404 126.561 68.5342 126.561ZM76.6416 135.598C78.6514 135.598 79.9229 134.545 79.9229 132.897V125.631H78.7334V126.848H78.6514C78.2002 126.014 77.3936 125.501 76.3545 125.501C74.4268 125.501 73.2373 126.998 73.2373 129.062V129.076C73.2373 131.141 74.4199 132.617 76.3271 132.617C77.3389 132.617 78.1729 132.159 78.6377 131.346H78.7471V132.836C78.7471 133.923 77.9609 134.545 76.6416 134.545C75.582 134.545 74.9258 134.148 74.7959 133.588L74.7891 133.581H73.5586L73.5449 133.588C73.7295 134.798 74.8643 135.598 76.6416 135.598ZM76.5869 131.564C75.2197 131.564 74.4541 130.539 74.4541 129.076V129.062C74.4541 127.6 75.2197 126.554 76.5869 126.554C77.9473 126.554 78.7744 127.6 78.7744 129.062V129.076C78.7744 130.539 77.9541 131.564 76.5869 131.564ZM84.6055 133.13C85.6855 133.13 86.4307 132.686 86.793 131.899H86.9023V133H88.0918V125.631H86.9023V129.992C86.9023 131.284 86.2119 132.077 84.9131 132.077C83.7373 132.077 83.2588 131.441 83.2588 130.115V125.631H82.0693V130.402C82.0693 132.146 82.9307 133.13 84.6055 133.13ZM90.3818 133H91.5713V122.705H90.3818V133ZM95.8779 133.13C96.8691 133.13 97.6416 132.699 98.1064 131.913H98.2158V133H99.4053V127.955C99.4053 126.424 98.4004 125.501 96.6025 125.501C95.0303 125.501 93.9092 126.28 93.7178 127.436L93.7109 127.477H94.9004L94.9072 127.456C95.0986 126.882 95.6797 126.554 96.5615 126.554C97.6621 126.554 98.2158 127.046 98.2158 127.955V128.625L96.1035 128.755C94.3877 128.857 93.417 129.616 93.417 130.929V130.942C93.417 132.282 94.4766 133.13 95.8779 133.13ZM94.6338 130.915V130.901C94.6338 130.17 95.126 129.773 96.2471 129.705L98.2158 129.582V130.252C98.2158 131.305 97.334 132.098 96.124 132.098C95.2695 132.098 94.6338 131.66 94.6338 130.915ZM101.579 133H102.769V128.434C102.769 127.354 103.575 126.636 104.71 126.636C104.97 126.636 105.195 126.663 105.441 126.704V125.549C105.325 125.528 105.072 125.501 104.847 125.501C103.849 125.501 103.158 125.952 102.878 126.725H102.769V125.631H101.579V133ZM110.849 135.461H112.038V131.838H112.147C112.551 132.624 113.433 133.13 114.444 133.13C116.317 133.13 117.534 131.633 117.534 129.322V129.309C117.534 127.012 116.311 125.501 114.444 125.501C113.419 125.501 112.599 125.986 112.147 126.807H112.038V125.631H110.849V135.461ZM114.171 132.077C112.831 132.077 112.011 131.024 112.011 129.322V129.309C112.011 127.606 112.831 126.554 114.171 126.554C115.518 126.554 116.317 127.593 116.317 129.309V129.322C116.317 131.038 115.518 132.077 114.171 132.077ZM119.394 133H120.583V128.434C120.583 127.354 121.39 126.636 122.524 126.636C122.784 126.636 123.01 126.663 123.256 126.704V125.549C123.14 125.528 122.887 125.501 122.661 125.501C121.663 125.501 120.973 125.952 120.692 126.725H120.583V125.631H119.394V133ZM125.354 124.209C125.806 124.209 126.175 123.84 126.175 123.389C126.175 122.938 125.806 122.568 125.354 122.568C124.903 122.568 124.534 122.938 124.534 123.389C124.534 123.84 124.903 124.209 125.354 124.209ZM124.753 133H125.942V125.631H124.753V133ZM131.199 133.13C132.97 133.13 133.961 132.18 134.262 130.847L134.275 130.771L133.1 130.778L133.086 130.819C132.812 131.64 132.184 132.077 131.192 132.077C129.88 132.077 129.032 130.99 129.032 129.295V129.281C129.032 127.62 129.866 126.554 131.192 126.554C132.252 126.554 132.908 127.142 133.093 127.866L133.1 127.887H134.282L134.275 127.846C134.057 126.533 132.983 125.501 131.192 125.501C129.128 125.501 127.815 126.991 127.815 129.281V129.295C127.815 131.633 129.135 133.13 131.199 133.13ZM139.026 133.13C140.763 133.13 141.815 132.146 142.068 131.147L142.082 131.093H140.893L140.865 131.154C140.667 131.599 140.052 132.07 139.054 132.07C137.741 132.07 136.9 131.182 136.866 129.657H142.171V129.192C142.171 126.991 140.954 125.501 138.951 125.501C136.948 125.501 135.649 127.06 135.649 129.336V129.343C135.649 131.653 136.921 133.13 139.026 133.13ZM138.944 126.561C140.031 126.561 140.838 127.251 140.961 128.707H136.887C137.017 127.306 137.851 126.561 138.944 126.561ZM143.716 135.509H144.598L145.671 131.619H144.311L143.716 135.509ZM154.134 133.13C155.125 133.13 155.897 132.699 156.362 131.913H156.472V133H157.661V127.955C157.661 126.424 156.656 125.501 154.858 125.501C153.286 125.501 152.165 126.28 151.974 127.436L151.967 127.477H153.156L153.163 127.456C153.354 126.882 153.936 126.554 154.817 126.554C155.918 126.554 156.472 127.046 156.472 127.955V128.625L154.359 128.755C152.644 128.857 151.673 129.616 151.673 130.929V130.942C151.673 132.282 152.732 133.13 154.134 133.13ZM152.89 130.915V130.901C152.89 130.17 153.382 129.773 154.503 129.705L156.472 129.582V130.252C156.472 131.305 155.59 132.098 154.38 132.098C153.525 132.098 152.89 131.66 152.89 130.915ZM162.303 133.13C163.383 133.13 164.128 132.686 164.49 131.899H164.6V133H165.789V125.631H164.6V129.992C164.6 131.284 163.909 132.077 162.61 132.077C161.435 132.077 160.956 131.441 160.956 130.115V125.631H159.767V130.402C159.767 132.146 160.628 133.13 162.303 133.13ZM170.629 133.055C170.861 133.055 171.087 133.027 171.319 132.986V131.975C171.101 131.995 170.984 132.002 170.772 132.002C170.007 132.002 169.706 131.653 169.706 130.785V126.615H171.319V125.631H169.706V123.724H168.476V125.631H167.313V126.615H168.476V131.086C168.476 132.494 169.111 133.055 170.629 133.055ZM176.016 133.13C178.114 133.13 179.413 131.681 179.413 129.322V129.309C179.413 126.943 178.114 125.501 176.016 125.501C173.917 125.501 172.618 126.943 172.618 129.309V129.322C172.618 131.681 173.917 133.13 176.016 133.13ZM176.016 132.077C174.621 132.077 173.835 131.059 173.835 129.322V129.309C173.835 127.565 174.621 126.554 176.016 126.554C177.41 126.554 178.196 127.565 178.196 129.309V129.322C178.196 131.059 177.41 132.077 176.016 132.077ZM181.259 133H182.448V128.434C182.448 127.395 183.18 126.554 184.144 126.554C185.073 126.554 185.675 127.121 185.675 127.996V133H186.864V128.263C186.864 127.326 187.541 126.554 188.566 126.554C189.605 126.554 190.104 127.094 190.104 128.181V133H191.294V127.907C191.294 126.362 190.453 125.501 188.949 125.501C187.931 125.501 187.09 126.014 186.693 126.793H186.584C186.242 126.027 185.545 125.501 184.547 125.501C183.583 125.501 182.886 125.959 182.558 126.752H182.448V125.631H181.259V133ZM195.464 133.13C196.455 133.13 197.228 132.699 197.692 131.913H197.802V133H198.991V127.955C198.991 126.424 197.986 125.501 196.188 125.501C194.616 125.501 193.495 126.28 193.304 127.436L193.297 127.477H194.486L194.493 127.456C194.685 126.882 195.266 126.554 196.147 126.554C197.248 126.554 197.802 127.046 197.802 127.955V128.625L195.689 128.755C193.974 128.857 193.003 129.616 193.003 130.929V130.942C193.003 132.282 194.062 133.13 195.464 133.13ZM194.22 130.915V130.901C194.22 130.17 194.712 129.773 195.833 129.705L197.802 129.582V130.252C197.802 131.305 196.92 132.098 195.71 132.098C194.855 132.098 194.22 131.66 194.22 130.915ZM203.783 133.055C204.016 133.055 204.241 133.027 204.474 132.986V131.975C204.255 131.995 204.139 132.002 203.927 132.002C203.161 132.002 202.86 131.653 202.86 130.785V126.615H204.474V125.631H202.86V123.724H201.63V125.631H200.468V126.615H201.63V131.086C201.63 132.494 202.266 133.055 203.783 133.055ZM206.88 124.209C207.331 124.209 207.7 123.84 207.7 123.389C207.7 122.938 207.331 122.568 206.88 122.568C206.429 122.568 206.06 122.938 206.06 123.389C206.06 123.84 206.429 124.209 206.88 124.209ZM206.278 133H207.468V125.631H206.278V133ZM212.725 133.13C214.495 133.13 215.486 132.18 215.787 130.847L215.801 130.771L214.625 130.778L214.611 130.819C214.338 131.64 213.709 132.077 212.718 132.077C211.405 132.077 210.558 130.99 210.558 129.295V129.281C210.558 127.62 211.392 126.554 212.718 126.554C213.777 126.554 214.434 127.142 214.618 127.866L214.625 127.887H215.808L215.801 127.846C215.582 126.533 214.509 125.501 212.718 125.501C210.653 125.501 209.341 126.991 209.341 129.281V129.295C209.341 131.633 210.66 133.13 212.725 133.13ZM219.567 133.13C220.559 133.13 221.331 132.699 221.796 131.913H221.905V133H223.095V127.955C223.095 126.424 222.09 125.501 220.292 125.501C218.72 125.501 217.599 126.28 217.407 127.436L217.4 127.477H218.59L218.597 127.456C218.788 126.882 219.369 126.554 220.251 126.554C221.352 126.554 221.905 127.046 221.905 127.955V128.625L219.793 128.755C218.077 128.857 217.106 129.616 217.106 130.929V130.942C217.106 132.282 218.166 133.13 219.567 133.13ZM218.323 130.915V130.901C218.323 130.17 218.815 129.773 219.937 129.705L221.905 129.582V130.252C221.905 131.305 221.023 132.098 219.813 132.098C218.959 132.098 218.323 131.66 218.323 130.915ZM225.337 133H226.526V122.705H225.337V133ZM228.878 133H230.067V122.705H228.878V133ZM232.979 135.584C234.285 135.584 234.894 135.105 235.502 133.451L238.38 125.631H237.129L235.112 131.694H235.003L232.979 125.631H231.708L234.436 133.007L234.299 133.444C234.032 134.292 233.622 134.6 232.945 134.6C232.781 134.6 232.597 134.593 232.453 134.565V135.543C232.617 135.57 232.822 135.584 232.979 135.584ZM245.913 133.13C246.904 133.13 247.677 132.699 248.142 131.913H248.251V133H249.44V127.955C249.44 126.424 248.436 125.501 246.638 125.501C245.065 125.501 243.944 126.28 243.753 127.436L243.746 127.477H244.936L244.942 127.456C245.134 126.882 245.715 126.554 246.597 126.554C247.697 126.554 248.251 127.046 248.251 127.955V128.625L246.139 128.755C244.423 128.857 243.452 129.616 243.452 130.929V130.942C243.452 132.282 244.512 133.13 245.913 133.13ZM244.669 130.915V130.901C244.669 130.17 245.161 129.773 246.282 129.705L248.251 129.582V130.252C248.251 131.305 247.369 132.098 246.159 132.098C245.305 132.098 244.669 131.66 244.669 130.915ZM251.614 135.461H252.804V131.838H252.913C253.316 132.624 254.198 133.13 255.21 133.13C257.083 133.13 258.3 131.633 258.3 129.322V129.309C258.3 127.012 257.076 125.501 255.21 125.501C254.185 125.501 253.364 125.986 252.913 126.807H252.804V125.631H251.614V135.461ZM254.937 132.077C253.597 132.077 252.776 131.024 252.776 129.322V129.309C252.776 127.606 253.597 126.554 254.937 126.554C256.283 126.554 257.083 127.593 257.083 129.309V129.322C257.083 131.038 256.283 132.077 254.937 132.077ZM260.159 135.461H261.349V131.838H261.458C261.861 132.624 262.743 133.13 263.755 133.13C265.628 133.13 266.845 131.633 266.845 129.322V129.309C266.845 127.012 265.621 125.501 263.755 125.501C262.729 125.501 261.909 125.986 261.458 126.807H261.349V125.631H260.159V135.461ZM263.481 132.077C262.142 132.077 261.321 131.024 261.321 129.322V129.309C261.321 127.606 262.142 126.554 263.481 126.554C264.828 126.554 265.628 127.593 265.628 129.309V129.322C265.628 131.038 264.828 132.077 263.481 132.077ZM268.772 133H269.962V122.705H268.772V133ZM272.874 124.209C273.325 124.209 273.694 123.84 273.694 123.389C273.694 122.938 273.325 122.568 272.874 122.568C272.423 122.568 272.054 122.938 272.054 123.389C272.054 123.84 272.423 124.209 272.874 124.209ZM272.272 133H273.462V125.631H272.272V133ZM278.712 133.13C280.448 133.13 281.501 132.146 281.754 131.147L281.768 131.093H280.578L280.551 131.154C280.353 131.599 279.737 132.07 278.739 132.07C277.427 132.07 276.586 131.182 276.552 129.657H281.856V129.192C281.856 126.991 280.64 125.501 278.637 125.501C276.634 125.501 275.335 127.06 275.335 129.336V129.343C275.335 131.653 276.606 133.13 278.712 133.13ZM278.63 126.561C279.717 126.561 280.523 127.251 280.646 128.707H276.572C276.702 127.306 277.536 126.561 278.63 126.561ZM286.423 133.13C287.448 133.13 288.269 132.645 288.72 131.824H288.829V133H290.019V122.705H288.829V126.793H288.72C288.316 126.007 287.435 125.501 286.423 125.501C284.55 125.501 283.333 126.998 283.333 129.309V129.322C283.333 131.619 284.557 133.13 286.423 133.13ZM286.696 132.077C285.35 132.077 284.55 131.038 284.55 129.322V129.309C284.55 127.593 285.35 126.554 286.696 126.554C288.036 126.554 288.856 127.606 288.856 129.309V129.322C288.856 131.024 288.036 132.077 286.696 132.077ZM122.203 155.055C122.436 155.055 122.661 155.027 122.894 154.986V153.975C122.675 153.995 122.559 154.002 122.347 154.002C121.581 154.002 121.28 153.653 121.28 152.785V148.615H122.894V147.631H121.28V145.724H120.05V147.631H118.888V148.615H120.05V153.086C120.05 154.494 120.686 155.055 122.203 155.055ZM127.59 155.13C129.688 155.13 130.987 153.681 130.987 151.322V151.309C130.987 148.943 129.688 147.501 127.59 147.501C125.491 147.501 124.192 148.943 124.192 151.309V151.322C124.192 153.681 125.491 155.13 127.59 155.13ZM127.59 154.077C126.195 154.077 125.409 153.059 125.409 151.322V151.309C125.409 149.565 126.195 148.554 127.59 148.554C128.984 148.554 129.771 149.565 129.771 151.309V151.322C129.771 153.059 128.984 154.077 127.59 154.077ZM139.785 155.13C141.556 155.13 142.547 154.18 142.848 152.847L142.861 152.771L141.686 152.778L141.672 152.819C141.398 153.64 140.77 154.077 139.778 154.077C138.466 154.077 137.618 152.99 137.618 151.295V151.281C137.618 149.62 138.452 148.554 139.778 148.554C140.838 148.554 141.494 149.142 141.679 149.866L141.686 149.887H142.868L142.861 149.846C142.643 148.533 141.569 147.501 139.778 147.501C137.714 147.501 136.401 148.991 136.401 151.281V151.295C136.401 153.633 137.721 155.13 139.785 155.13ZM144.673 155H145.862V150.639C145.862 149.347 146.607 148.554 147.783 148.554C148.959 148.554 149.506 149.189 149.506 150.516V155H150.695V150.229C150.695 148.479 149.772 147.501 148.118 147.501C147.031 147.501 146.341 147.959 145.972 148.738H145.862V144.705H144.673V155ZM155.856 155.13C157.593 155.13 158.646 154.146 158.898 153.147L158.912 153.093H157.723L157.695 153.154C157.497 153.599 156.882 154.07 155.884 154.07C154.571 154.07 153.73 153.182 153.696 151.657H159.001V151.192C159.001 148.991 157.784 147.501 155.781 147.501C153.778 147.501 152.479 149.06 152.479 151.336V151.343C152.479 153.653 153.751 155.13 155.856 155.13ZM155.774 148.561C156.861 148.561 157.668 149.251 157.791 150.707H153.717C153.847 149.306 154.681 148.561 155.774 148.561ZM163.861 155.13C165.632 155.13 166.623 154.18 166.924 152.847L166.938 152.771L165.762 152.778L165.748 152.819C165.475 153.64 164.846 154.077 163.854 154.077C162.542 154.077 161.694 152.99 161.694 151.295V151.281C161.694 149.62 162.528 148.554 163.854 148.554C164.914 148.554 165.57 149.142 165.755 149.866L165.762 149.887H166.944L166.938 149.846C166.719 148.533 165.646 147.501 163.854 147.501C161.79 147.501 160.478 148.991 160.478 151.281V151.295C160.478 153.633 161.797 155.13 163.861 155.13ZM168.749 155H169.938V152.204L170.629 151.534L173.391 155H174.888L171.463 150.728L174.676 147.631H173.233L170.048 150.851H169.938V144.705H168.749V155ZM178.969 155.13C181.067 155.13 182.366 153.681 182.366 151.322V151.309C182.366 148.943 181.067 147.501 178.969 147.501C176.87 147.501 175.571 148.943 175.571 151.309V151.322C175.571 153.681 176.87 155.13 178.969 155.13ZM178.969 154.077C177.574 154.077 176.788 153.059 176.788 151.322V151.309C176.788 149.565 177.574 148.554 178.969 148.554C180.363 148.554 181.149 149.565 181.149 151.309V151.322C181.149 153.059 180.363 154.077 178.969 154.077ZM186.68 155.13C187.76 155.13 188.505 154.686 188.867 153.899H188.977V155H190.166V147.631H188.977V151.992C188.977 153.284 188.286 154.077 186.987 154.077C185.812 154.077 185.333 153.441 185.333 152.115V147.631H184.144V152.402C184.144 154.146 185.005 155.13 186.68 155.13ZM195.006 155.055C195.238 155.055 195.464 155.027 195.696 154.986V153.975C195.478 153.995 195.361 154.002 195.149 154.002C194.384 154.002 194.083 153.653 194.083 152.785V148.615H195.696V147.631H194.083V145.724H192.853V147.631H191.69V148.615H192.853V153.086C192.853 154.494 193.488 155.055 195.006 155.055ZM198.444 155.068C198.937 155.068 199.333 154.665 199.333 154.18C199.333 153.688 198.937 153.291 198.444 153.291C197.959 153.291 197.556 153.688 197.556 154.18C197.556 154.665 197.959 155.068 198.444 155.068Z",fill:"white"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter0_d_1061_678)"}},[a("path",{attrs:{d:"M133.607 56.5262C139.149 56.5262 142.849 53.6156 142.849 49.3072V49.2743C142.849 46.0512 140.547 44.0121 137.011 43.6832V43.5845C139.79 43.009 141.961 41.085 141.961 38.125V38.0921C141.961 34.3099 138.672 31.7446 133.574 31.7446C128.592 31.7446 125.254 34.5073 124.908 38.7499L124.892 38.9472H129.463L129.48 38.7992C129.677 36.8259 131.239 35.5597 133.574 35.5597C135.91 35.5597 137.274 36.7766 137.274 38.7499V38.7828C137.274 40.7068 135.663 42.0223 133.163 42.0223H130.516V45.5578H133.229C136.107 45.5578 137.801 46.8076 137.801 49.0769V49.1098C137.801 51.116 136.14 52.5302 133.607 52.5302C131.042 52.5302 129.348 51.2147 129.134 49.3729L129.118 49.192H124.366L124.382 49.4058C124.711 53.6485 128.246 56.5262 133.607 56.5262ZM156.235 56.6084C162.105 56.6084 165.657 51.8067 165.657 44.1436V44.1107C165.657 36.4312 162.105 31.6624 156.235 31.6624C150.381 31.6624 146.812 36.4312 146.812 44.1107V44.1436C146.812 51.8067 150.381 56.6084 156.235 56.6084ZM156.235 52.6782C153.439 52.6782 151.844 49.5045 151.844 44.1436V44.1107C151.844 38.7334 153.439 35.5926 156.235 35.5926C159.047 35.5926 160.642 38.7334 160.642 44.1107V44.1436C160.642 49.5045 159.047 52.6782 156.235 52.6782ZM175.475 45.2783C178.961 45.2783 181.082 42.713 181.082 38.6019V38.5854C181.082 34.4744 178.961 31.9255 175.475 31.9255C172.005 31.9255 169.867 34.4744 169.867 38.5854V38.6019C169.867 42.713 172.005 45.2783 175.475 45.2783ZM179.125 56L195.093 32.2708H191.294L175.327 56H179.125ZM175.475 42.6472C174.044 42.6472 173.238 41.1837 173.238 38.6019V38.5854C173.238 35.9872 174.044 34.5566 175.475 34.5566C176.922 34.5566 177.727 35.9872 177.727 38.5854V38.6019C177.727 41.1837 176.922 42.6472 175.475 42.6472ZM194.928 56.3453C198.414 56.3453 200.536 53.78 200.536 49.6689V49.6525C200.536 45.5414 198.414 42.9925 194.928 42.9925C191.458 42.9925 189.321 45.5414 189.321 49.6525V49.6689C189.321 53.78 191.458 56.3453 194.928 56.3453ZM194.928 53.7142C193.498 53.7142 192.692 52.2507 192.692 49.6689V49.6525C192.692 47.0543 193.498 45.6236 194.928 45.6236C196.375 45.6236 197.181 47.0543 197.181 49.6525V49.6689C197.181 52.2507 196.375 53.7142 194.928 53.7142Z",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M55.2031 48H60.4414V47.0508H56.2578V44.1445H60.2246V43.207H56.2578V40.4941H60.4414V39.5449H55.2031V48ZM62.2227 48H63.2422V44.2617C63.2422 43.1543 63.8809 42.4746 64.8887 42.4746C65.8965 42.4746 66.3652 43.0195 66.3652 44.1562V48H67.3848V43.9102C67.3848 42.4102 66.5938 41.5723 65.1758 41.5723C64.2441 41.5723 63.6523 41.9648 63.3359 42.6328H63.2422V41.6836H62.2227V48ZM69.7578 40.4648C70.1445 40.4648 70.4609 40.1484 70.4609 39.7617C70.4609 39.375 70.1445 39.0586 69.7578 39.0586C69.3711 39.0586 69.0547 39.375 69.0547 39.7617C69.0547 40.1484 69.3711 40.4648 69.7578 40.4648ZM68.3281 50.168C69.6523 50.168 70.2676 49.6113 70.2676 48.3105V41.6836H69.248V48.3281C69.248 49.0254 68.9902 49.2656 68.3047 49.2656H68.1523V50.168H68.3281ZM74.791 48.1113C76.5898 48.1113 77.7031 46.8691 77.7031 44.8477V44.8359C77.7031 42.8086 76.5898 41.5723 74.791 41.5723C72.9922 41.5723 71.8789 42.8086 71.8789 44.8359V44.8477C71.8789 46.8691 72.9922 48.1113 74.791 48.1113ZM74.791 47.209C73.5957 47.209 72.9219 46.3359 72.9219 44.8477V44.8359C72.9219 43.3418 73.5957 42.4746 74.791 42.4746C75.9863 42.4746 76.6602 43.3418 76.6602 44.8359V44.8477C76.6602 46.3359 75.9863 47.209 74.791 47.209ZM79.5898 50.2148C80.709 50.2148 81.2305 49.8047 81.752 48.3867L84.2188 41.6836H83.1465L81.418 46.8809H81.3242L79.5898 41.6836H78.5L80.8379 48.0059L80.7207 48.3809C80.4922 49.1074 80.1406 49.3711 79.5605 49.3711C79.4199 49.3711 79.2617 49.3652 79.1387 49.3418V50.1797C79.2793 50.2031 79.4551 50.2148 79.5898 50.2148ZM89.0703 48H90.125V44.3379H93.8691V43.4004H90.125V40.4941H94.2031V39.5449H89.0703V48ZM95.8672 48H96.8867V39.1758H95.8672V48ZM100.578 48.1113C101.428 48.1113 102.09 47.7422 102.488 47.0684H102.582V48H103.602V43.6758C103.602 42.3633 102.74 41.5723 101.199 41.5723C99.8516 41.5723 98.8906 42.2402 98.7266 43.2305L98.7207 43.2656H99.7402L99.7461 43.248C99.9102 42.7559 100.408 42.4746 101.164 42.4746C102.107 42.4746 102.582 42.8965 102.582 43.6758V44.25L100.771 44.3613C99.3008 44.4492 98.4688 45.0996 98.4688 46.2246V46.2363C98.4688 47.3848 99.377 48.1113 100.578 48.1113ZM99.5117 46.2129V46.2012C99.5117 45.5742 99.9336 45.2344 100.895 45.1758L102.582 45.0703V45.6445C102.582 46.5469 101.826 47.2266 100.789 47.2266C100.057 47.2266 99.5117 46.8516 99.5117 46.2129ZM107.709 48.0469C107.908 48.0469 108.102 48.0234 108.301 47.9883V47.1211C108.113 47.1387 108.014 47.1445 107.832 47.1445C107.176 47.1445 106.918 46.8457 106.918 46.1016V42.5273H108.301V41.6836H106.918V40.0488H105.863V41.6836H104.867V42.5273H105.863V46.3594C105.863 47.5664 106.408 48.0469 107.709 48.0469Z",fill:"#0C0071"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter1_d_1061_678)"}},[a("rect",{attrs:{x:"216",y:"34.1777",width:"48",height:"20",rx:"10",fill:"#573CFF"}})]),e._v(" "),a("path",{attrs:{d:"M232.513 48.1942C234.867 48.1942 236.295 46.5089 236.295 43.881V43.8696C236.295 41.2302 234.855 39.5621 232.513 39.5621C230.182 39.5621 228.731 41.2245 228.731 43.8696V43.881C228.731 46.5146 230.148 48.1942 232.513 48.1942ZM232.513 47.2459C230.799 47.2459 229.782 45.9205 229.782 43.881V43.8696C229.782 41.8129 230.834 40.5104 232.513 40.5104C234.198 40.5104 235.244 41.8129 235.244 43.8696V43.881C235.244 45.9205 234.204 47.2459 232.513 47.2459ZM238.078 48H239.106V44.4294H242.756V43.5154H239.106V40.6818H243.082V39.7563H238.078V48ZM244.773 48H245.801V44.4294H249.452V43.5154H245.801V40.6818H249.778V39.7563H244.773V48Z",fill:"white"}}),e._v(" "),a("path",{attrs:{opacity:"0.3",d:"M107.399 17.3745C103.071 13.4067 97.5458 18.8781 101.18 23.0547",stroke:"#FF00F5","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M229.162 77.0844C226.678 76.4391 225.753 79.6327 225.299 81.4364C225.039 82.4955 224.714 83.5876 224 84.3984",stroke:"#00FFC2","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M103.555 82.1191C105.333 79.408 101.942 77.0254 99.9777 75.752C98.8197 75.0126 97.6617 74.191 97 72.9997",stroke:"#FFE600","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M228.334 20.7854C228.097 19.5881 227.386 18.4985 226.411 17.8124C225.437 17.1263 224.172 16.8573 223 17.0725",stroke:"#64E3FF","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_1061_678",x:"118.378",y:"31.6626",width:"88.1453",height:"39.9138",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"8.9808"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"2.9936"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.192851 0 0 0 0 0.0922663 0 0 0 0 0.512993 0 0 0 0.278409 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1061_678"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1061_678",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter1_d_1061_678",x:"209",y:"34.1777",width:"62",height:"35",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"8"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"3.5"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.0507051 0 0 0 0 0 0 0 0 0 0.470833 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1061_678"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1061_678",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_1061_678",x1:"0",y1:"0",x2:"0",y2:"181",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#D0CAFD"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#7463FF"}})],1)],1)])]),e._v(" "),a("a",{staticClass:"already-updated",attrs:{target:"_blank",rel:"noopener noreferrer",href:"https://wedevs.com/docs/dokan/getting-started/installation-2/"}},[e._v(e._s(e.__("Already upgraded?","dokan-lite")))])]),e._v(" "),a("span",{staticClass:"close",on:{click:e.closePopup}},[a("svg",{attrs:{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M6.18849 5.00002L9.75385 1.43465C10.082 1.10645 10.082 0.574344 9.75385 0.246195C9.42566 -0.0820022 8.89359 -0.0820022 8.5654 0.246195L4.99998 3.81161L1.43457 0.246148C1.10637 -0.0820492 0.574308 -0.0820492 0.246112 0.246148C-0.0820373 0.574344 -0.0820373 1.10645 0.246112 1.4346L3.81153 4.99998L0.246112 8.5654C-0.0820373 8.89359 -0.0820373 9.4257 0.246112 9.75385C0.574308 10.082 1.10637 10.082 1.43457 9.75385L4.99998 6.18843L8.5654 9.75385C8.89355 10.082 9.42566 10.082 9.75385 9.75385C10.082 9.42566 10.082 8.89359 9.75385 8.5654L6.18849 5.00002Z",fill:"#95A5A6"}})])])])]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"lite-modules"}},[a("div",{staticClass:"dokan-modules-wrap"},[a("h1",[e._v(e._s(e.__("Modules","dokan-lite")))]),e._v(" "),a("div",{staticClass:"module-content"},[a("div",{staticClass:"wp-list-table widefat dokan-modules"},[e.modules.length>0?e._l(e.modules,function(t){return a("div",{staticClass:"plugin-card"},[a("div",{staticClass:"plugin-card-top"},[a("div",{staticClass:"name column-name"},[a("h3",[a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[e._v(e._s(t.name))]),e._v(" "),a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[a("img",{staticClass:"plugin-icon",attrs:{src:t.thumbnail,alt:t.name}})])])]),e._v(" "),a("div",{staticClass:"action-links"},[a("ul",{staticClass:"plugin-action-buttons"},[a("li",{on:{click:function(t){return e.togglePopup(!0)}}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"20"}},[a("rect",{attrs:{width:"42",height:"20",rx:"10",fill:"#c0c3c6"}}),a("circle",{attrs:{cx:"6",cy:"6",r:"6",transform:"translate(6 4)",fill:"#fff"}})])])])]),e._v(" "),a("div",{staticClass:"desc column-description"},[a("p",{domProps:{innerHTML:e._s(t.description)}})]),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{attrs:{href:t.docLink,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan-lite")))])])])])}):[a("div",{staticClass:"notice notice-info",attrs:{id:"message"}},[a("p",[a("strong",[e._v(e._s(e.__("No modules found.","dokan-lite")))])])])]],2)])]),e._v(" "),a("ModuleUpgradePopup",{attrs:{"show-popup":e.showPopup},on:{toggle:e.togglePopup}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(83),n=a(214),i=!1;var o=function(e){i||a(213)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ReverseWithdrawal.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-reverse-withdrawal"},[a("h1",{staticClass:"wp-heading-inline"},[e._v("\n "+e._s(e.__("Reverse Withdrawal","dokan-lite"))+"\n ")]),e._v(" "),a("AdminNotice"),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("div",{staticClass:"dokan-reverse-withdrawal-fact-card"},[a("CardFunFact",{attrs:{count:e.counts.credit,icon:"fas fa-comments-dollar",is_currency:"",title:e.__("Total Collected","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.balance,icon:"fas fa-coins",is_currency:"",title:e.__("Remaining Balance","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_transactions,icon:"fas fa-info",title:e.__("Total Transactions","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_vendors,icon:"fas fa-users",title:e.__("Total Vendors","dokan-lite")}})],1),e._v(" "),a("div",{attrs:{id:"dokan_reverse_withdrawal_list_table"}},[a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.transactionData,actions:e.actions,"show-cb":!1,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.getCurrentPage,"not-found":this.__("No transaction found.","dokan-lite"),"sort-by":e.getSortBy,"sort-order":e.getSortOrder},on:{sort:e.doSort,pagination:e.goToPage},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("strong",[a("a",{attrs:{href:"?page=dokan#/reverse-withdrawal/store/"+t.row.vendor_id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"balance",fn:function(t){return[""===t.row.balance?a("div",[e._v("--")]):t.row.balance>=0?a("currency",{attrs:{amount:t.row.balance}}):t.row.balance<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.balance}}),e._v(" )\n ")],1):e._e()]}},{key:"last_payment_date",fn:function(t){return[e._v("\n "+e._s(t.row.last_payment_date)+"\n ")]}}])},[e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("span",{staticClass:"form-group"},[a("multiselect",{attrs:{placeholder:this.__("Filter by store","dokan-lite"),options:e.filter.stores,"track-by":"id",label:"name","internal-search":!1,"clear-on-select":!1,"allow-empty":!1,multiselect:!1,searchable:!0,showLabels:!1},on:{"search-change":e.fetchStoreLists},model:{value:e.filter.selected_store,callback:function(t){e.$set(e.filter,"selected_store",t)},expression:"filter.selected_store"}}),e._v(" "),e.filter.selected_store.id?a("button",{staticClass:"button",staticStyle:{"line-height":"0",padding:"0 5px","margin-right":"5px"},attrs:{type:"button"},on:{click:function(t){e.filter.selected_store=e.getDefaultStore()[0]}}},[a("i",{staticClass:"dashicons dashicons-no"})]):e._e()],1),e._v(" "),a("span",{staticClass:"form-group"},[a("date-range-picker",{ref:"picker",staticClass:"mr-5",attrs:{"locale-data":this.dateTimePickerFormat,singleDatePicker:!1,showDropdowns:!0,autoApply:!1,ranges:this.dateRangePickerRanges},scopedSlots:e._u([{key:"input",fn:function(t){return[e.filter.transaction_date.startDate?a("span",[e._v(e._s(e._f("getFormattedDate")(e.filter.transaction_date.startDate))+" - "+e._s(e._f("getFormattedDate")(e.filter.transaction_date.endDate)))]):e._e(),e._v(" "),e.filter.transaction_date.startDate?e._e():a("span",{staticClass:"date-range-placeholder"},[e._v(e._s(e.__("Filter by expire date","dokan-lite")))])]}},{key:"footer",fn:function(t){return a("div",{staticClass:"drp-buttons"},[a("span",{staticClass:"drp-selected"},[e._v(e._s(t.rangeText))]),e._v(" "),a("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:function(t){return e.setDefaultTransactionDate()}}},[e._v(e._s(e.__("Cancel","dokan-lite")))]),e._v(" "),t.in_selection?e._e():a("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{type:"button"},on:{click:t.clickApply}},[e._v(e._s(e.__("Apply","dokan-lite")))])])}}]),model:{value:e.filter.transaction_date,callback:function(t){e.$set(e.filter,"transaction_date",t)},expression:"filter.transaction_date"}})],1),e._v(" "),a("span",{staticClass:"form-group"},[a("button",{staticClass:"button action",on:{click:this.clearFilters}},[e._v(e._s(this.__("Clear","dokan-lite")))])])])],2)],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(84),n=a(217),i=!1;var o=function(e){i||a(216)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ReverseWithdrawalTransactions.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-reverse-withdrawal-transactions"},[a("h1",{staticClass:"wp-heading-inline"},[e._v("\n "+e._s(e.__("Reverse Withdrawal","dokan-lite"))+"\n "),a("a",{staticClass:"button",attrs:{href:this.reverseWithdrawalUrl()}},[e._v("← "+e._s(e.__("Go Back","dokan-lite")))])]),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("div",{staticClass:"dokan-reverse-withdrawal-fact-card"},[a("CardFunFact",{attrs:{icon:"fas fa-user",title:e.storeDetails.store_name?e.storeDetails.store_name:""}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.credit,icon:"fas fa-comments-dollar",is_currency:"",title:e.__("Total Collected","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.balance,icon:"fas fa-coins",is_currency:"",title:e.__("Remaining Balance","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_transactions,icon:"fas fa-info",title:e.__("Total Transactions","dokan-lite")}})],1),e._v(" "),a("div",{attrs:{id:"dokan_reverse_withdrawal_transactions_list_table"}},[a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.transactionData,actions:e.actions,"show-cb":!1,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.getCurrentPage,"not-found":this.__("No transaction found.","dokan-lite"),"sort-by":e.getSortBy,"sort-order":e.getSortOrder},on:{sort:e.doSort,pagination:e.goToPage},scopedSlots:e._u([{key:"trn_id",fn:function(t){return"--"!==t.row.trn_id?[a("a",{attrs:{href:t.row.trn_url,target:"_blank"}},[e._v(e._s(t.row.trn_id))])]:void 0}},{key:"trn_date",fn:function(t){return[e._v("\n "+e._s(t.row.trn_date)+"\n ")]}},{key:"trn_type",fn:function(t){return[e._v("\n "+e._s(t.row.trn_type)+"\n ")]}},{key:"note",fn:function(t){return[e._v("\n "+e._s(t.row.note)+"\n ")]}},{key:"debit",fn:function(t){return[""===t.row.debit?a("div",[e._v("--")]):t.row.debit>=0?a("currency",{attrs:{amount:t.row.debit}}):t.row.debit<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.debit}}),e._v(" )\n ")],1):e._e()]}},{key:"credit",fn:function(t){return[""===t.row.credit?a("div",[e._v("--")]):t.row.credit>=0?a("currency",{attrs:{amount:t.row.credit}}):t.row.credit<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.credit}}),e._v(" )\n ")],1):e._e()]}},{key:"balance",fn:function(t){return[""===t.row.balance?a("div",[e._v("--")]):t.row.balance>=0?a("currency",{attrs:{amount:t.row.balance}}):t.row.balance<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.balance}}),e._v(" )\n ")],1):e._e()]}}],null,!0)},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("span",{staticClass:"form-group"},[a("date-range-picker",{ref:"picker",staticClass:"mr-5",attrs:{"locale-data":this.dateTimePickerFormat,singleDatePicker:!1,timePicker:!1,timePicker24Hour:!1,showWeekNumbers:!1,showDropdowns:!0,autoApply:!1,ranges:this.dateRangePickerRanges,linkedCalendars:!0,opens:"right"},scopedSlots:e._u([{key:"input",fn:function(t){return[e.filter.transaction_date.startDate?a("span",[e._v(e._s(e._f("getFormattedDate")(e.filter.transaction_date.startDate))+" - "+e._s(e._f("getFormattedDate")(e.filter.transaction_date.endDate)))]):e._e(),e._v(" "),e.filter.transaction_date.startDate?e._e():a("span",{staticClass:"date-range-placeholder"},[e._v(e._s(e.__("Filter by expire date","dokan-lite")))])]}},{key:"footer",fn:function(t){return a("div",{staticClass:"drp-buttons"},[a("span",{staticClass:"drp-selected"},[e._v(e._s(t.rangeText))]),e._v(" "),a("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:function(t){return e.setDefaultTransactionDate()}}},[e._v(e._s(e.__("Cancel","dokan-lite")))]),e._v(" "),t.in_selection?e._e():a("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{type:"button"},on:{click:t.clickApply}},[e._v(e._s(e.__("Apply","dokan-lite")))])])}}]),model:{value:e.filter.transaction_date,callback:function(t){e.$set(e.filter,"transaction_date",t)},expression:"filter.transaction_date"}})],1),e._v(" "),a("span",{staticClass:"form-group"},[a("button",{staticClass:"button action",on:{click:this.clearFilters}},[e._v(e._s(this.__("Clear","dokan-lite")))])])])],2)],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";t.a=function(e){var t=jQuery,a=t("#toplevel_page_"+e),s=window.location.href,n=s.substr(s.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==n||t(a).parent().addClass("current")})}}],[124]);
1
+ dokanWebpack([0],[,function(e,t){e.exports=jQuery},function(e,t,a){"use strict";var s=a(11),n=a(32),i=!1;var o=function(e){i||a(31)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,function(e,t,a){"use strict";var s=a(54),n=a(135),i=!1;var o=function(e){i||a(134)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UpgradeBanner.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var s=a(18);a(26);t.a={extends:s.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{x:{type:"time",title:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}},y:{title:{display:!1},ticks:{fontColor:"#aaa"}}},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",s=t.datasets[e.datasetIndex].tooltipLabel||"",n=t.datasets[e.datasetIndex].tooltipPrefix||"",i=s?s+": ":a+": ";return i+=n+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},,function(e,t,a){"use strict";var s=a(65);t.a={components:{Sketch:s.a},props:{value:{type:String,default:"",required:!0},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,default:!0,required:!1},disableFields:{type:Boolean,default:!0,required:!1},customData:{type:Object,required:!0},itemKey:{type:String,required:!0}},data:function(){return{isPicked:!1,prevColor:"",showColorPicker:!1,selectedColor:""}},watch:{customData:{handler:function(){this.showColorPicker=this.customData.show_pallete,this.showColorPicker||this.updateColor({hex:this.prevColor})},deep:!0}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format],this.selectedColor=t),this.$emit("input",t),this.$emit("custom-change",t)},toggleColorPicker:function(){this.prevColor=this.value;var e={key:this.itemKey,values:this.customData};this.isPicked||this.updateColor({hex:this.prevColor}),this.$emit("toggleColorPicker",e)},setLastColor:function(e){var t={key:this.itemKey,values:this.customData};this.updateColor({hex:e}),this.$emit("toggleColorPicker",t)},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";var s=a(5),n=(a.n(s),a(2)),i=a(22),o=a(23);t.a={name:"VendorAccountFields",components:{Switches:n.a,UploadImage:i.a,PasswordGenerator:o.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.vendorInfo.user_nicename=e.split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-").toLowerCase().replace(/[^\w\s/-]/g,"").replace(/-+/g,"-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(s.debounce)(this.checkStore,this.delay),this.checkUsername=Object(s.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(s.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},s={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,s,n,i){return(!0!==e||!0!==t)&&((!0!==e||s!==i)&&((!0!==t||a!==n)&&((a!==n||s!==i)&&!(n<=a))))}},n=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:s})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=n,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,s,n,i,o,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);o=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,o,i)),(s=o)/(n=i)>(a=l/d)?l=(d=n)*a:d=(l=s)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:o,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var s=a(6);a.n(s);t.a={name:"VendorAddressFields",components:{Multiselect:s.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],s=a&&a[e];return void 0!==s?s:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var s in a)if(s===e&&!(a[s]&&a[s].length<1))for(var n in a[s])t.push({name:a[s][n],code:n});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var s=a(2),n=a(6);a.n(n);t.a={name:"VendorPaymentFields",components:{Switches:s.a,Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,s=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=s}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,,,,,function(e,t,a){"use strict";var s=a(13),n=a(35),i=!1;var o=function(e){i||a(34)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(14),n=a(36),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,function(e,t,a){"use strict";var s=a(8),n=a(0)(s.a,null,!1,null,null,null);n.options.__file="src/admin/components/Chart.vue",t.a=n.exports},,,function(e,t,a){"use strict";var s=a(10),n=a(30),i=!1;var o=function(e){i||a(29)},r=a(0)(s.a,n.a,!1,o,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("div",{staticClass:"color",style:{backgroundColor:e.value}}),e._v(" "),a("span",{staticClass:"dashicons dashicons-arrow-down-alt2"})]),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e(),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small dashicons dashicons-no-alt",attrs:{type:"button"},on:{click:function(t){return e.setLastColor(e.prevColor)}}}),e._v(" "),a("button",{staticClass:"button button-small dashicons dashicons-saved",attrs:{type:"button"},on:{click:e.toggleColorPicker}})]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(12),n=a(37),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage.apply(null,arguments)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword.apply(null,arguments)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword.apply(null,arguments)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton.apply(null,arguments)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picture on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"first-name"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"first-name",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"last-name"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"last-name",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",id:"store-name",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"user-nicename"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"user-nicename",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",id:"store-phone",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",id:"store-email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"user-login"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",id:"user-login",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{id:"store-password",type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(15),n=a(40),i=!1;var o=function(e){i||a(39)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"street-1",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"street-2",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"city",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"zip",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"country",options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{id:"state",type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{id:"state",options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(16),n=a(43),i=!1;var o=function(e){i||a(42)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"account-name",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"account-number",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-type"}},[e._v(e._s(e.__("Account Type","dokan-lite")))]),e._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_type,expression:"vendorInfo.payment.bank.ac_type"}],staticClass:"dokan-form-input",attrs:{id:"account-type"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.vendorInfo.payment.bank,"ac_type",t.target.multiple?a:a[0])}}},[a("option",{attrs:{value:""}},[e._v(e._s(e.__("Please Select...","dokan-lite")))]),e._v(" "),a("option",{attrs:{value:"personal"}},[e._v(e._s(e.__("Personal","dokan-lite")))]),e._v(" "),a("option",{attrs:{value:"business"}},[e._v(e._s(e.__("Business","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"bank-name",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"bank-address",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"routing-number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"iban",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",id:"swift",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"paypal-email"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",id:"paypal-email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"commission-type"}},[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{id:"commission-type",options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("%    +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,,,function(e,t,a){"use strict";t.a={name:"App"}},function(e,t,a){"use strict";var s=a(25),n=a(4),i=dokan_get_lib("Postbox"),o=dokan_get_lib("Loading"),r=dokan_get_lib("Currency"),l=dokan_get_lib("AdminNotice");t.a={name:"Dashboard",components:{Postbox:i,Loading:o,Chart:s.a,Currency:r,UpgradeBanner:n.a,AdminNotice:l},data:function(){return{overview:null,feed:null,report:null,subscribe:{success:!1,loading:!1,email:"",full_name:""},hasPro:!!dokan.hasPro}},created:function(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview:function(){var e=this;dokan.api.get("/admin/report/summary").done(function(t){e.overview=t})},fetchFeed:function(){var e=this;dokan.api.get("/admin/dashboard/feed").done(function(t){e.feed=t})},fetchReport:function(){var e=this;dokan.api.get("/admin/report/overview").done(function(t){e.report=t})},validEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},emailSubscribe:function(){var e=this;if(this.validEmail(this.subscribe.email)){this.subscribe.loading=!0;var t={type:"POST",url:"https://api.getwemail.io/v1/embed/subscribe/8da67b42-c367-4ad3-ae70-5cf63635a832",data:{email:this.subscribe.email,full_name:this.subscribe.full_name,tag:"8e0ae2bb-e838-4ec8-9aa1-c9e5dd96fe34"},headers:{"X-Requested-With":"XMLHttpRequest"}};wp.ajax.send(t,t.data).always(function(t){e.subscribe.success=!0,e.subscribe.loading=!1})}}}}},,function(e,t,a){"use strict";t.a={name:"UpgradeBanner",data:function(){return{show:dokan.showPromoBanner,upgradeURL:dokan.urls.upgradeToPro}},computed:{showUpgrade:function(){return!dokan.hasPro&&"show"===dokan.proNag}},methods:{dismiss:function(){this.show=!1,wp.ajax.post("dokan-upgrade-dissmiss")}}}},function(e,t,a){"use strict";var s=a(1),n=a.n(s),i=a(4),o=dokan_get_lib("ListTable"),r=dokan_get_lib("Modal"),l=dokan_get_lib("Currency"),d=dokan_get_lib("AdminNotice");t.a={name:"Withdraw",components:{ListTable:o,Modal:r,Currency:l,UpgradeBanner:i.a,AdminNotice:d},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,filter:{user_id:0},counts:{pending:0,approved:0,cancelled:0},notFound:this.__("No requests found.","dokan-lite"),massPayment:this.__("Paypal Mass Payment File is Generated.","dokan-lite"),showCb:!0,loading:!1,columns:{seller:{label:this.__("Vendor","dokan-lite")},amount:{label:this.__("Amount","dokan-lite")},status:{label:this.__("Status","dokan-lite")},method_title:{label:this.__("Method","dokan-lite")},method_details:{label:this.__("Details","dokan-lite")},note:{label:this.__("Note","dokan-lite")},created:{label:this.__("Date","dokan-lite")},actions:{label:this.__("Actions","dokan-lite")}},requests:[],actionColumn:"seller",hasPro:!!dokan.hasPro}},watch:{"$route.query.status":function(){this.filter.user_id=0,this.clearSelection("#filter-vendors"),this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()},"$route.query.user_id":function(){this.fetchRequests()},"filter.user_id":function(e){0===e&&this.clearSelection("#filter-vendors"),this.goTo(this.query)}},computed:{currentStatus:function(){return this.$route.query.status||"pending"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},actions:function(){return"pending"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"cancel",label:this.__("Cancel","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"pending",label:this.__("Pending","dokan-lite")}]:[]},bulkActions:function(){return"pending"==this.currentStatus?[{key:"approved",label:this.__("Approve","dokan-lite")},{key:"cancelled",label:this.__("Cancel","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"pending",label:this.__("Pending","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:[{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]}},created:function(){this.fetchRequests()},mounted:function(){var e=this;n()("#filter-vendors").selectWoo({ajax:{url:"".concat(dokan.rest.root,"dokan/v1/stores"),dataType:"json",headers:{"X-WP-Nonce":dokan.rest.nonce},data:function(e){return{search:e.term}},processResults:function(e){return{results:e.map(function(e){return{id:e.id,text:e.store_name}})}}}}),n()("#filter-vendors").on("select2:select",function(t){e.filter.user_id=t.params.data.id})},methods:{updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Completed")),this.counts.cancelled=parseInt(e.getResponseHeader("X-Status-Cancelled"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},vendorUrl:function(e){return"1"===window.dokan.hasPro?dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e:dokan.urls.adminRoot+"user-edit.php?user_id="+e},fetchRequests:function(){var e=this;this.loading=!0;var t="";parseInt(this.filter.user_id)>0&&(t=this.filter.user_id);var a={per_page:this.perPage,page:this.currentPage,status:this.currentStatus,user_id:t};dokan.api.get("/withdraw",a).done(function(t,a,s){e.requests=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},goToPage:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:e,user_id:this.filter.user_id}})},goTo:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,user_id:this.filter.user_id}})},updateItem:function(e,t){var a=this.requests.findIndex(function(t){return t.id==e});this.$set(this.requests,a,t)},changeStatus:function(e,t){var a=this;this.loading=!0,dokan.api.put("/withdraw/"+t,{status:e}).done(function(e){a.loading=!1,a.fetchRequests()})},onActionClick:function(e,t){var a=this;"cancel"===e&&this.changeStatus("cancelled",t.id),"pending"===e&&this.changeStatus("pending",t.id),"trash"===e&&confirm(this.__("Are you sure?","dokan-lite"))&&(this.loading=!0,dokan.api.delete("/withdraw/"+t.id).done(function(e){a.loading=!1,a.fetchRequests()}))},getPaymentTitle:function(e,t){var a,s=t.method_title;void 0!==t.details[e]&&"dokan_custom"===e&&(s=null!==(a=t.details[e].method)&&void 0!==a?a:"");return dokan.hooks.applyFilters("dokan_get_payment_title",s,e,t)},getPaymentDetails:function(e,t){var a="—";if(void 0!==t[e])if("paypal"===e||"skrill"===e)a=t[e].email||"";else if("bank"===e)t.bank.hasOwnProperty("ac_name")&&(a="<p>"+this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)+"</p>"),t.bank.hasOwnProperty("ac_number")&&(a+="<p>"+this.sprintf(this.__("Account Number: %s","dokan-lite"),t.bank.ac_number)+"</p>"),t.bank.hasOwnProperty("bank_name")&&(a+="<p>"+this.sprintf(this.__("Bank Name: %s","dokan-lite"),t.bank.bank_name)+"</p>"),t.bank.hasOwnProperty("iban")&&(a+="<p>"+this.sprintf(this.__("IBAN: %s","dokan-lite"),t.bank.iban)+"</p>"),t.bank.hasOwnProperty("routing_number")&&(a+="<p>"+this.sprintf(this.__("Routing Number: %s","dokan-lite"),t.bank.routing_number)+"</p>"),t.bank.hasOwnProperty("swift")&&(a+="<p>"+this.sprintf(this.__("Swift Code: %s","dokan-lite"),t.bank.swift)+"</p>");else if("dokan_custom"===e){var s;a=null!==(s=t[e].value)&&void 0!==s?s:""}return dokan.hooks.applyFilters("dokan_get_payment_details",a,e,t)},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),onBulkAction:function(e,t){var a=this,s=this;if(_.contains(["delete","approved","cancelled","pending"],e)){var n={};n[e]=t,this.loading=!0,dokan.api.put("/withdraw/batch",n).done(function(e){a.loading=!1,a.fetchRequests()})}if("paypal"===e){var i=t.join(",");jQuery.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:i,action:"withdraw_ajax_submission",nonce:dokan.nonce},function(e,t,a){if("html/csv"===a.getResponseHeader("Content-type")){var n="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=o&&o[1]&&(n=o[1].replace(/['"]/g,""))}var r=a.getResponseHeader("Content-Type"),l="function"==typeof File?new File([e],n,{type:r}):new Blob([e],{type:r});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,n);else{var d=window.URL||window.webkitURL,c=d.createObjectURL(l);if(n){var u=document.createElement("a");void 0===u.download?window.location=c:(u.href=c,u.download=n,document.body.appendChild(u),u.click())}else window.location=c;setTimeout(function(){d.revokeObjectURL(c)},100)}}e&&alert(s.massPayment)})}},openNoteModal:function(e,t){this.showModal=!0,this.editing={id:t,note:e}},updateNote:function(){var e=this;this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id,{note:this.editing.note}).done(function(t){e.loading=!1,e.updateItem(e.editing.id,t),e.editing={id:null,note:null}})},clearSelection:function(e){n()(e).val(null).trigger("change")}}}},function(e,t,a){"use strict";var s=a(57),n=a(144),i=(a.n(n),a(147));t.a={name:"Premium",components:{Slick:i.a,ProCta:s.a},data:function(){return{asstesUrl:dokan.urls.assetsUrl,buyNowProUrl:"https://wedevs.com/account/",services:[{title:this.__("Premium modules to make everything easier & better","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-01@2x.png"},{title:this.__("Frontend dashboard for vendors with advanced controls","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-02@2x.png"},{title:this.__("Unlimited Product Variations and group product upload","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-03@2x.png"},{title:this.__("Zone wise shipping with multiple method for vendors","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-04@2x.png"},{title:this.__("Store support based on ticket system for your customers","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-05@2x.png"},{title:this.__("Vendors will be able to generate coupon codes","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-06@2x.png"},{title:this.__("Earning, Selling and Commission Reports & Statement","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-07@2x.png"},{title:this.__("24/7 super fast premium customer support for you","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-08@2x.png"},{title:this.__("Add Social profile to your vendor’s store and support for store SEO","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-09@2x.png"}],comparisons:[{title:this.__("Frontend order management","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Seller Statement Reports","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Making Announcements","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Customized Product Categories","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store SEO","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Back Ordering System","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store Contact Form","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Single Product Multiple Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Seller Verification","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Featured Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Multiple Commission Types","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Frontend Shipping Tracking","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Setup Wizard","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Google Maps","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Manage reviews","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Bookable Product","dokan-lite"),compare:{lite:"unavailable",pro:"available"}}],modules:[{title:"Domain",url:"https://wedevs.com/dokan/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"03"},business:{type:"numeric",value:"05"},enterprise:{type:"numeric",value:"20"}},{title:"Modules",url:"https://wedevs.com/dokan/modules/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"08"},business:{type:"numeric",value:"14"},enterprise:{type:"numeric",value:"14"}},{title:"Color Scheme",url:"https://wedevs.com/dokan/modules/color-scheme-customizer/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Review",url:"https://wedevs.com/dokan/modules/dokan-vendor-review/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Store Support",url:"https://wedevs.com/dokan/modules/store-support/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Auction",url:"https://wedevs.com/dokan/modules/dokan-simple-auctions/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Ajax Live Search",url:"https://wedevs.com/dokan/modules/ajax-live-search/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Stripe Connect",url:"https://wedevs.com/dokan/modules/stripe-connect/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Subscriptions",url:"https://wedevs.com/dokan/modules/subscription/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Single Product Multivendor",url:"https://wedevs.com/dokan/modules/single-product-multivendor/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Seller Verification",url:"https://wedevs.com/dokan/modules/seller-verification/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"WC Booking Integration",url:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Staff Manager",url:"https://wedevs.com/dokan/modules/vendor-staff-manager/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Export Import",url:"https://wedevs.com/dokan/modules/export-import/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Product Enquiry",url:"https://wedevs.com/dokan/modules/product-enquiry/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Vacation",url:"https://wedevs.com/dokan/modules/vendor-vacation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Return and Warranty Request",url:"https://wedevs.com/dokan/modules/rma/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Moip",url:"https://wedevs.com/dokan/modules/moip/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Follow Store",url:"https://wedevs.com/dokan/modules/follow-store/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Geolocation",url:"https://wedevs.com/dokan/modules/geolocation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Shipstation",url:"https://wedevs.com/dokan/modules/shipstation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Wholesale",url:"https://wedevs.com/dokan/modules/wholesale/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}}],payment:{thumbnail:dokan.urls.assetsUrl+"/images/premium/payment-options.png",guaranteeThumbnail:dokan.urls.assetsUrl+"/images/premium/gaurantee-thumb.png",viewIcon:dokan.urls.assetsUrl+"/images/premium/view-icon@2x.png",termsPolicyUrl:"https://wedevs.com/refund-policy/"},slickOptions:{slidesToShow:1,fade:!0,speed:500,cssEase:"linear",autoplay:!0,autoplaySpeed:2e3,infinite:!0,accessibility:!0,adaptiveHeight:!1,arrows:!1,dots:!0,draggable:!0,edgeFriction:.3,swipe:!0},testimonials:[{name:"Melissa McGovern",designation:"Director, Hawk And PeddleProjects",pic:dokan.urls.assetsUrl+"/images/premium/melissa.jpg",content:"We're still a new business and are continuing to build our platform. Dokan has halved the time it would take us to build our ecommerce platform by being feature rich and easy to install and configure."},{name:"Morten J. Christensen",designation:"Owner, Dincatering",pic:dokan.urls.assetsUrl+"/images/premium/Morten-J.-Christensen.jpg",content:"First and foremost it enables the possibility for actually creating the kind of marketplace i wanted. The plugin lets me create a local marketplace for local danish catering suppliers to showcase and sell their offers of the season."},{name:"Cédric Lefrancq",designation:"Webmaster, Unwebmaster.Be",pic:dokan.urls.assetsUrl+"/images/premium/cedric-lefrancq.jpeg",content:"The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."},{name:"David Gaz",designation:"Founder, The Bureau Of Small Projects",pic:dokan.urls.assetsUrl+"/images/premium/david-gaz.jpeg",content:"It’s hands down an amazing plugin. But their support is even more amazing. They got back to me within hours on the weekend."}],cta:{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.buynowpro}}},methods:{next:function(){this.$refs.slick.next()},prev:function(){this.$refs.slick.prev()},reInit:function(){var e=this;this.$nextTick(function(){e.$refs.slick.reSlick()})}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(58),n=a(143),i=!1;var o=function(e){i||a(142)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ProCta.vue",t.a=r.exports},function(e,t,a){"use strict";t.a={name:"ProCta",data:function(){return{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.upgradeToPro}}}},function(e,t,a){"use strict";var s=a(4),n=dokan_get_lib("Postbox"),i=dokan_get_lib("Loading"),o=dokan_get_lib("AdminNotice");t.a={name:"Help",components:{Postbox:n,Loading:i,UpgradeBanner:s.a,AdminNotice:o},data:function(){return{docs:null,hasPro:!!dokan.hasPro}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;dokan.api.get("/admin/help").done(function(t){e.docs=t})}}}},function(e,t,a){"use strict";var s=a(1),n=a.n(s),i=a(4),o=dokan_get_lib("Loading"),r=dokan_get_lib("AdminNotice");t.a={name:"ChangeLog",components:{Loading:o,UpgradeBanner:i.a,AdminNotice:r},data:function(){return{active_package:"lite",current_version:"lite-0",scrollPosition:null,openVersions:[],activeVersionBorder:"",lite_versions:null,pro_versions:null,loading:!1,hasPro:!!dokan.hasPro}},methods:{formatReleaseDate:function(e){return n.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e))},badgeClass:function(e){switch(e){case"New":case"New Module":case"New Feature":return"badge-green";case"Fix":return"badge-red";default:return"badge-blue"}},getDokanLiteChangeLog:function(){var e=this;this.loading=!0,dokan.api.get("/admin/changelog/lite").done(function(t){e.lite_versions=JSON.parse(t),e.loading=!1}).fail(function(t){e.loading=!1,e.$notify({type:"error",title:e.__("Error","dokan-lite"),text:e.__("Something went wrong","dokan-lite")})})},getDokanProChangeLog:function(){var e=this;this.loading=!0,dokan.api.get("/admin/changelog/pro").done(function(t){e.pro_versions=JSON.parse(t),e.loading=!1}).fail(function(t){e.loading=!1,e.$notify({type:"error",title:e.__("Error","dokan-lite"),text:e.__("Something went wrong","dokan-lite")})})},dismissWhatsNewNotice:function(){var e="pro"===this.active_package?"dokan-pro-whats-new-notice":"dokan-whats-new-notice";n.a.ajax({url:dokan.ajaxurl,method:"post",dataType:"json",data:{action:e,nonce:dokan.nonce,dokan_promotion_dismissed:!0}})},toggleReading:function(e){return this.isOpenVersion(e)?this.openVersions.splice(this.openVersions.indexOf(e),1):this.openVersions.push(e)},isOpenVersion:function(e){return this.openVersions.includes(e)},switchPackage:function(e){this.active_package=e,null===this.pro_versions&&"pro"===e&&this.getDokanProChangeLog(),null===this.lite_versions&&"lite"===e&&this.getDokanLiteChangeLog(),dokan.hasNewVersion&&this.dismissWhatsNewNotice()},isActivePackage:function(e){return this.active_package===e},addBorder:function(){var e,t=this;clearTimeout(e),this.activeVersionBorder="border: 1px solid #2271b1",e=setTimeout(function(){t.activeVersionBorder=""},3e3)},jumpVersion:function(e){this.current_version=e,this.goToPosition(e),this.addBorder()},isCurrentVersion:function(e){return this.current_version===e},updatePosition:function(){this.scrollPosition=window.scrollY},scrollTop:function(){this.goToPosition("change-log")},goToPosition:function(e){n()("html, body").animate({scrollTop:n()("#".concat(e)).offset().top-50},500)},loadChangelogData:function(){"dokan-pro"===this.$route.query.plugin?this.switchPackage("pro"):this.switchPackage("lite")}},watch:{"$route.query.plugin":function(){this.loadChangelogData()}},created:function(){this.loadChangelogData(),window.addEventListener("scroll",this.updatePosition)},destroyed:function(){window.removeEventListener("scroll",this.updatePosition)}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(20),o=a.n(i),r=a(21),l=a.n(r),d=a(159),c=a(190),u=a(4);function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var _=dokan_get_lib("Loading"),m=dokan_get_lib("AdminNotice");t.a={name:"Settings",components:{Fields:d.a,Loading:_,SettingsBanner:c.a,UpgradeBanner:u.a,AdminNotice:m},data:function(){return{isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{},requiredFields:[],errors:[],validationErrors:[],hasPro:!!dokan.hasPro,searchText:"",awaitingSearch:!1,withdrawMethods:{},isSaveConfirm:!1,dokanAssetsUrl:dokan.urls.assetsUrl}},computed:{refreshable_props:function(){var e,t={};for(e in this.settingFields){var a=this.settingFields[e],s=void 0;for(s in a)a[s].refresh_after_save&&(t["".concat(e,".").concat(s)]=!0)}return t}},methods:{changeTab:function(e){this.currentTab=e.id,this.requiredFields=[],this.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"}),"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},fetchSettingValues:function(){var e=this,t={action:"dokan_get_setting_values",nonce:dokan.nonce};e.showLoading=!0,jQuery.post(dokan.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,s){Object.keys(e.settingFields[a]).forEach(function(s,n){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][s]?void 0===e.settingFields[a][s].default?e.settingValues[a][s]="":e.settingValues[a][s]=e.settingFields[a][s].default:e.settingValues[a]=t.data[a]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0,e.setWithdrawMethods())})},showMedia:function(e,t){var a=this,s=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","dokan-lite"),button:{text:this.__("Select","dokan-lite")},multiple:!1});s.on("select",function(){var t=s.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),s.open()},saveSettings:function(e,t){var a=this;return o()(l.a.mark(function s(){var n,i,o;return l.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(a.formIsValid(t)){s.next=2;break}return s.abrupt("return");case 2:if("dokan_withdraw"!==t){s.next=9;break}return s.next=5,a.setPaymentChangeAnnouncementAction(e,t);case 5:n=s.sent,e.send_announcement_for_payment_change=!1,"value"in n&&!0===n.value&&(e.send_announcement_for_payment_change=a.getDifference(a.withdrawMethods,e.withdraw_methods)),a.withdrawMethods=e.withdraw_methods;case 9:i=a,o={action:"dokan_save_settings",nonce:dokan.nonce,settingsData:e,section:t},i.showLoading=!0,jQuery.post(dokan.ajaxurl,o).done(function(a){var s,n=a.data.settings;for(s in i.isSaved=!0,i.isUpdated=!0,i.message=a.data.message,i.settingValues[n.name]=n.value,e){var o="".concat(t,".").concat(s);if(i.refreshable_props[o]){window.location.reload();break}}i.validationErrors=[]}).fail(function(e){i.validationErrors=e.responseJSON.data.errors}).always(function(){i.showLoading=!1}),a.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"});case 13:case"end":return s.stop()}},s)}))()},setWithdrawMethods:function(){"withdraw_methods"in this.settingValues.dokan_withdraw&&(this.withdrawMethods=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},this.settingValues.dokan_withdraw.withdraw_methods))},setPaymentChangeAnnouncementAction:function(e,t){var a=this;return o()(l.a.mark(function s(){var n;return l.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if("withdraw_methods"in e&&"dokan_withdraw"===t){s.next=2;break}return s.abrupt("return",Promise.resolve({value:!1}));case 2:if(n=a.getDifference(a.withdrawMethods,e.withdraw_methods),0!==Object.keys(n).length){s.next=5;break}return s.abrupt("return",Promise.resolve({value:!1}));case 5:return s.abrupt("return",Swal.fire({title:a.__("Withdraw Method Changed","dokan-lite"),text:a.__("Do you want to send an announcement to vendors about the removal of currently active payment method?","dokan-lite"),icon:"warning",showCancelButton:!0,confirmButtonText:a.__("Save & send announcement","dokan-lite"),cancelButtonText:a.__("Save only","dokan-lite"),allowOutsideClick:!1,allowEscapeKey:!1}));case 6:case"end":return s.stop()}},s)}))()},getDifference:function(e,t){var a={};return Object.keys(t).forEach(function(s){""!==e[s]&&""===t[s]&&(a[s]=s)}),a},formIsValid:function(e){var t=this,a=Object.keys(this.settingFields),s=this.requiredFields;return!!a&&(a.forEach(function(a,n){if(e===a){var i=t.settingFields[a];Object.values(i).forEach(function(e){var t=e.fields;t&&Object.values(t).forEach(function(e){e&&e.required&&"yes"===e.required&&!s.includes(e.name)&&s.push(e.name)}),e&&e.required&&"yes"===e.required&&(s.includes(e.name)||s.push(e.name))})}}),this.errors=[],s.forEach(function(e){Object.values(t.settingValues).forEach(function(a){e in a&&a[e].length<1&&(t.errors.includes(e)||(t.errors.push(e),"flat"!==a.commission_type&&"percentage"!==a.commission_type||(t.errors=t.arrayRemove(t.errors,"admin_percentage"),t.errors=t.arrayRemove(t.errors,"additional_fee"))))})}),this.errors.length<1)},arrayRemove:function(e,t){return e.filter(function(e){return e!==t})},toggleLoadingState:function(){this.showLoading=!this.showLoading},clearSearch:function(){this.searchText="",this.validateBlankSearch()},validateBlankSearch:function(){return""!==this.searchText.toLowerCase()||(this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,!1)},searchInSettings:function(e){var t=this;this.validateBlankSearch()&&(this.awaitingSearch||setTimeout(function(){var e=t.$refs.searchInSettings.value;e=e.replace(/\s\s+/g," ").trim().toLowerCase(),t.doSearch(""),t.doSearch(e),t.awaitingSearch=!1},1e3),this.awaitingSearch=!0)},doSearch:function(e){var t=this,a={},s=[],n=[],i=dokan.settings_fields,o=dokan.settings_sections;Object.keys(i).forEach(function(t,n){Object.keys(i[t]).forEach(function(n){var r="";"sub_section"!==i[t][n].type&&(r+=" ".concat(i[t][n].label," ").concat(i[t][n].desc)),Object.keys(o).forEach(function(e){var a=o[e];(null===a||void 0===a?void 0:a.id)===t&&(r+=" ".concat(a.title," ").concat(a.description," ").concat(a.settings_description))}),(r=r.toLocaleLowerCase())&&r.includes(e)&&(a[t]||(a[t]={}),a[t][n]=i[t][n],-1===s.indexOf(t)&&s.push(t))})});var r=0;Object.keys(dokan.settings_sections).forEach(function(e){-1!==s.indexOf(dokan.settings_sections[e].id)&&(r||(t.changeTab(dokan.settings_sections[e]),r=1),n.push(dokan.settings_sections[e]))}),this.settingFields=a,this.settingSections=n},scrollToTop:function(){this.$refs.settingsWrapper.scrollIntoView({behavior:"smooth"})},handleScroll:function(){"Settings"===this.$route.name&&this.$refs.backToTop&&(this.$refs.backToTop.style.transform=window.scrollY>document.body.scrollHeight-800?"scale(1)":"scale(0)")}},created:function(){var e=this;this.fetchSettingValues(),this.currentTab="dokan_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"dokan_general"),this.$root.$on("onFieldSwitched",function(t,a){"on"===t&&"dokan_general"in e.settingValues&&"data_clear_on_uninstall"===a&&Swal.fire({icon:"warning",html:e.__("All data and tables related to Dokan and Dokan Pro will be deleted permanently after deleting the Dokan plugin. You will not be able to recover your lost data unless you keep a backup. Do you want to continue?","dokan-lite"),title:e.__("Are you sure?","dokan-lite"),showCancelButton:!0,cancelButtonText:e.__("Cancel","dokan-lite"),confirmButtonText:e.__("Okay","dokan-lite")}).then(function(t){t.dismiss&&(e.settingValues.dokan_general.data_clear_on_uninstall="off",e.$emit("switcHandler","data_clear_on_uninstall",e.settingValues.dokan_general.data_clear_on_uninstall))})}),this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,window.addEventListener("scroll",this.handleScroll)}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(161),o=a.n(i),r=a(28),l=a(2),d=a(185),c=a(187);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var m=dokan_get_lib("Mapbox"),v=dokan_get_lib("TextEditor"),f=dokan_get_lib("GoogleMaps"),h=dokan_get_lib("RefreshSettingOptions");t.a={name:"Fields",components:{Mapbox:m,Switches:l.a,TextEditor:v,GoogleMaps:f,colorPicker:r.a,FieldHeading:c.a,SocialFields:d.a,RefreshSettingOptions:h},props:["id","fieldData","sectionId","fieldValue","allSettingsValues","errors","toggleLoadingState","validationErrors","dokanAssetsUrl"],data:function(){return{hideMap:!1,checked:this.isChecked(),expandSocials:!1,repeatableItem:{},repeatableTime:[],singleColorPicker:{default:this.fieldData.default,label:"",show_pallete:!1},yourStringTimeValue:"",customFieldComponents:dokan.hooks.applyFilters("getDokanCustomFieldComponents",[])}},created:function(){var e=this;this.$root.$on("hasError",function(t){e.hasValidationError(t)}),this.$root.$on("getError",function(t){e.getValidationErrorMessage(t)}),this.$parent.$on("switcHandler",function(t,a){e.fieldData.name===t&&(e.checked=a)})},computed:{shouldShow:function(e){var t=!0;if(this.fieldData.show_if){var a=this.fieldData.show_if,s=Object.keys(a),n=0;for(n=0;n<s.length;n++){var i=s[n],r=i.split(".").reverse(),l=o()(r,2),d=l[0],c=l[1],u=void 0===c?this.sectionId:c,p=this.allSettingsValues[u][d],m=_.chain(a[i]).pairs().first().value(),v=o()(m,2),f=v[0],h=v[1];switch(f){case"greater_than":p>h||(t=!1);break;case"greater_than_equal":p>=h||(t=!1);break;case"less_than":p<h||(t=!1);break;case"less_than":p<=h||(t=!1);break;case"contains":Object.values(p).includes(h)||(t=!1);break;case"equal":default:p!==h&&(t=!1)}if(!t)break}}return t},mapApiSource:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.map_api_source},mapLocation:function(){var e=p(p({},{latitude:23.709921,longitude:90.40714300000002,address:"Dhaka",zoom:10}),this.fieldValue[this.fieldData.name]);return e={zoom:parseInt(e.zoom),address:"".concat(e.address),latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude)}},googleMapApiKey:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.gmap_api_key},mapboxAccessToken:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.mapbox_access_token}},beforeMount:function(){"multicheck"!==this.fieldData.type||this.fieldValue[this.fieldData.name]||(this.fieldValue[this.fieldData.name]=this.fieldData.default)},methods:{containCommonFields:function(e){return _.contains([void 0,"text","email","url","phone","time"],e)},setCheckedValue:function(e,t){this.fieldValue[this.fieldData.name][t]=e?t:""},addItem:function(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem:function(e,t){this.fieldValue[t].splice(e,1)},haveCondition:function(e){return e.hasOwnProperty("condition")},checkConditionLogic:function(e,t){var a=e.condition.logic,s=!1;return _.each(a,function(e,a){_.contains(e,t[a])&&(s=!0)}),s},onHideMap:function(e){this.hideMap=e},onUpdateMap:function(e){this.fieldValue[this.fieldData.name]=p(p({},this.mapLocation),e)},isSocialChecked:function(){return this.fieldValue[this.fieldData.name]?this.fieldValue[this.fieldData.name]:this.fieldData.default},thisSomeEvent:function(e){console.log("hello priting...",e)},isSwitchOptionChecked:function(e){return"multicheck"===this.fieldData.type?this.fieldValue[this.fieldData.name]&&this.fieldValue[this.fieldData.name][e]===e:"radio"===this.fieldData.type&&(this.fieldValue[this.fieldData.name]&&this.fieldValue[this.fieldData.name]===e)},expandSocial:function(){this.expandSocials=!this.expandSocials},getSocialValue:function(e){this.fieldValue[e.name]=this.fieldValue[e.name]?this.fieldValue[e.name]:""},isChecked:function(){return this.fieldValue[this.fieldData.name]?this.fieldValue[this.fieldData.name]:this.fieldData.default},onToggleSwitch:function(e,t){"isChecked"===t&&(this.checked=e?"on":"off",this.fieldValue[this.fieldData.name]=e?"on":"off",this.$root.$emit("onFieldSwitched",this.fieldValue[this.fieldData.name],this.fieldData.name))},hasError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},getError:function(e){return e+" "+this.__("is required.","dokan-lite")},hasValidationError:function(e){if(this.validationErrors.filter(function(t){return t.name===e}).length>0)return e},getValidationErrorMessage:function(e){var t="";return this.validationErrors.forEach(function(a){a.name===e&&(t=a.error)}),t},toggleColorPicker:function(e){this.fieldData.name===e.key?this.singleColorPicker.show_pallete=!e.values.show_pallete:this.singleColorPicker.show_pallete=!1},setCustomColor:function(e,t){t&&(this.fieldData[t]=e)}}}},,,,,,,,,,,function(e,t,a){"use strict";t.a={props:{fieldData:{type:Object,required:!0},fieldValue:{type:Object,required:!0}},methods:{isSocialOptionChecked:function(e){return"radio"===this.fieldData.type&&this.fieldValue[this.fieldData.name]===e}}}},function(e,t,a){"use strict";t.a={name:"FieldHeading",props:["fieldData"]}},function(e,t,a){"use strict";t.a={name:"SettingsBanner",data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},computed:{bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(196),n=a(4),i=dokan_get_lib("ListTable"),o=dokan_get_lib("Switches"),r=dokan_get_lib("Search"),l=dokan_get_lib("AdminNotice");t.a={name:"Vendors",components:{ListTable:i,Switches:o,Search:r,AddVendor:s.a,UpgradeBanner:n.a,AdminNotice:l},data:function(){return{showCb:!0,hasPro:dokan.hasPro,counts:{pending:0,approved:0,all:0},vendorId:0,totalItems:0,perPage:20,totalPages:1,loading:!1,columns:{store_name:{label:this.__("Store","dokan-lite"),sortable:!0},email:{label:this.__("E-mail","dokan-lite")},phone:{label:this.__("Phone","dokan-lite")},registered:{label:this.__("Registered","dokan-lite"),sortable:!0},enabled:{label:this.__("Status","dokan-lite")}},actionColumn:"title",actions:[{key:"edit",label:this.__("Edit","dokan-lite")},{key:"products",label:this.__("Products","dokan-lite")},{key:"orders",label:this.__("Orders","dokan-lite")}],bulkActions:[{key:"approved",label:this.__("Approve Vendors","dokan-lite")},{key:"pending",label:this.__("Disable Selling","dokan-lite")}],vendors:[],loadAddVendor:!1,dokanVendorHeaderArea:dokan.hooks.applyFilters("getDokanVendorHeaderArea",[]),isVendorSwitchingEnabled:!1,dokanVendorFilterSectionStart:dokan.hooks.applyFilters("dokanVendorFilterSectionStart",[])}},watch:{"$route.query.status":function(){this.fetchVendors()},"$route.query.page":function(){this.fetchVendors()},"$route.query.orderby":function(){this.fetchVendors()},"$route.query.order":function(){this.fetchVendors()}},computed:{currentStatus:function(){return this.$route.query.status||"all"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},sortBy:function(){return this.$route.query.orderby||"ID"},sortOrder:function(){return this.$route.query.order||"desc"},storeCategory:function(){return this.$route.query.store_categories||null}},created:function(){var e=this;this.$root.$on("modalClosed",function(){e.loadAddVendor=!1,e.vendorId=0}),this.fetchVendors(),this.$root.$on("vendorAdded",function(t){e.vendors.unshift(t)}),this.$root.$on("addAnotherVendor",function(){e.loadAddVendor=!0}),this.$root.$on("categoryFetched",function(t){e.categories=t.categories,e.isCategoryMultiple=t.isCategoryMultiple,e.columns=t.columns}),this.isVendorSwitchingEnabled=!!dokan.is_vendor_switching_enabled,this.isVendorSwitchingEnabled&&this.actions.push({key:"switch_to",label:this.__("Switch To","dokan-lite")})},methods:{addNew:function(){this.loadAddVendor=!0},updateVendorComponent:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.fetchVendors()},doSearch:function(e){var t=this,a=this;a.loading=!0,dokan.api.get("/stores",{search:e,page:this.currentPage,orderby:this.sortBy,order:this.sortOrder}).done(function(e,s,n){a.vendors=e,a.loading=!1,t.updatedCounts(n),t.updatePagination(n)})},updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Approved")),this.counts.all=parseInt(e.getResponseHeader("X-Status-All"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},fetchVendors:function(){var e=this;e.loading=!0;var t={per_page:e.perPage,page:e.currentPage,status:e.currentStatus,orderby:e.sortBy,order:e.sortOrder,store_categories:e.storeCategory};t=dokan.hooks.applyFilters("DokanGetVendorArgs",t,this.$route.query),dokan.api.get("/stores",t).done(function(t,a,s){e.vendors=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},onActionClick:function(e,t){"trash"===e&&confirm("Are you sure to delete?")&&alert("deleted: "+t.title)},onSwitch:function(e,t){var a=this,s=!1===e?this.__("The vendor has been disabled.","dokan-lite"):this.__("Selling has been enabled","dokan-lite");dokan.api.put("/stores/"+t+"/status",{status:!1===e?"inactive":"active"}).done(function(e){a.$notify({title:a.__("Success!","dokan-lite"),type:"success",text:s}),"all"!==a.currentStatus&&"pending"!==a.currentStatus&&"approved"!==a.currentStatus||a.fetchVendors()})},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),goToPage:function(e){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:e}})},onBulkAction:function(e,t){var a=this,s={};s[e]=t,this.loading=!0,dokan.api.put("/stores/batch",s).done(function(e){a.loading=!1,a.fetchVendors()})},sortCallback:function(e,t){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:1,orderby:e,order:t}})},productUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=product&author="+e},ordersUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=shop_order&vendor_id="+e},editUrl:function(e){return dokan.urls.adminRoot+"user-edit.php?user_id="+e},switchToUrl:function(e){return e.switch_url}}}},function(e,t,a){"use strict";var s=a(33),n=a(38),i=a(41),o=dokan_get_lib("Modal"),r=dokan_get_lib("Loading");t.a={name:"AddVendor",props:["vendorId"],components:{Modal:o,Loading:r,VendorAccountFields:s.a,VendorAddressFields:n.a,VendorPaymentFields:i.a},data:function(){return{isLoading:!1,storeId:"",nextBtn:this.__("Next","dokan-lite"),title:this.__("Add New Vendor","dokan-lite"),tabs:{VendorAccountFields:{label:this.__("Account Info","dokan-lite"),name:"VendorAccountFields",icon:"dashicons dashicons-admin-users"},VendorAddressFields:{label:this.__("Address","dokan-lite"),name:"VendorAddressFields",icon:"dashicons dashicons-admin-home"},VendorPaymentFields:{label:this.__("Payment Options","dokan-lite"),name:"VendorPaymentFields",icon:"dashicons dashicons-money"}},currentTab:"VendorAccountFields",store:{store_name:"",user_pass:"",store_url:"",user_login:"",email:"",user_nicename:"",notify_vendor:!0,phone:"",banner:"",banner_id:"",gravatar:"",gravatar_id:"",social:{fb:"",youtube:"",twitter:"",linkedin:"",pinterest:"",instagram:""},payment:{bank:{ac_name:"",ac_type:"",ac_number:"",bank_name:"",bank_addr:"",routing_number:"",iban:"",swift:""},paypal:{email:""}},address:{street_1:"",street_2:"",city:"",zip:"",state:"",country:""}},requiredFields:["store_name","user_login","email"],errors:[],storeAvailable:!1,userNameAvailable:!1,emailAvailable:!1,hasPro:dokan.hasPro}},created:function(){var e=this;this.$root.$on("vendorInfoChecked",function(t){e.storeAvailable=t.storeAvailable,e.userNameAvailable=t.userNameAvailable,e.emailAvailable=t.emailAvailable})},methods:{getId:function(){return this.$route.params.id},showAlert:function(e,t,a){Swal.fire(e,t,a)},createVendor:function(){var e=this;this.formIsValid()&&("VendorPaymentFields"===this.currentTab&&(this.isLoading=!0,dokan.api.post("/stores/",this.store).done(function(t){e.$root.$emit("vendorAdded",t),Swal.fire({icon:"success",title:e.__("Vendor Created","dokan-lite"),text:e.__("A vendor has been created successfully!","dokan-lite"),showCloseButton:!0,showCancelButton:!0,confirmButtonText:e.__("Add Another","dokan-lite"),cancelButtonText:e.__("Edit Vendor","dokan-lite"),focusConfirm:!1}).then(function(a){a.value?e.$root.$emit("addAnotherVendor"):a.dismiss===Swal.DismissReason.cancel&&(e.hasPro?e.$router.push({path:"vendors/"+t.id,query:{edit:"true"}}):window.location.replace("".concat(dokan.urls.adminRoot,"user-edit.php?user_id=").concat(t.id)))})}).fail(function(t){e.showAlert(e.__(t.responseJSON.message,"dokan-lite"),"","error")}).always(function(){e.$root.$emit("modalClosed")})),this.currentTab="VendorPaymentFields"===this.currentTab?"VendorPaymentFields":this.nextTab(this.tabs,this.currentTab))},nextTab:function(e,t){var a=Object.keys(e),s=a[a.indexOf(t)+1];return s},closeModal:function(){this.$root.$emit("modalClosed")},formIsValid:function(){var e=this,t=this.requiredFields,a=this.store;return this.errors=[],t.forEach(function(t){t in a&&a[t].length<1&&e.errors.push(t)}),!!(this.errors.length<1&&this.storeAvailable&&this.userNameAvailable&&this.emailAvailable)||(this.currentTab="VendorAccountFields",!1)}}}},function(e,t,a){"use strict";var s=a(20),n=a.n(s),i=a(21),o=a.n(i),r=a(79);a.n(r);t.a={name:"DummyData",data:function(){return{errorMsg:"",csvFileUrl:dokan.urls.dummy_data,progress:0,dummyData:[],loading:!0,allVendors:[],allProducts:[],done:!1,statusLoader:!0,vendorsDataToRemove:["sku","status","catalog_visibility","short_description","date_on_sale_from","date_on_sale_to","tax_status","tax_class","stock_status","manage_stock","stock_quantity","children","backorders","sold_individually","reviews_allowed","purchase_note","sale_price","regular_price","category_ids","tag_ids","shipping_class_id","raw_image_id","raw_gallery_image_ids","download_limit","download_expiry","parent_id","grouped_products","upsell_ids","cross_sell_ids","product_url","button_text","menu_order","virtual","downloadable","status","attribute_1_name","attribute_1_value","attribute_1_visible","attribute_1_global","attribute_2_name","attribute_2_value","attribute_2_visible","attribute_2_global","_wpcom_is_markdown","download1_name","download_1_url","download_2_name","download_2_url","vendor"],productsDataToRemove:["email","password","store_name","social","payment","phone","show_email","address","location","banner","icon","gravatar","show_more_tpab","show_ppp","enable_tnc","store_tnc","show_min_order_discount","store_seo","dokan_store_time","enabled","trusted","attribute_1_name","attribute_1_value","attribute_1_visible","attribute_1_global","attribute_2_name","attribute_2_value","attribute_2_visible","attribute_2_global"]}},created:function(){this.loadImportStatus(),this.loadCsvFile()},methods:{loadImportStatus:function(){this.statusLoader=!0;var e=this;dokan.api.get("/dummy-data/status",{nonce:dokan.nonce}).done(function(t,a,s){"yes"==t.import_status&&(e.done=!0),e.statusLoader=!1}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&Swal.fire(t,"","error")})},resetDataState:function(){this.dummyData=[],this.allVendors=[],this.allProducts=[]},loadCsvFile:function(){var e=this;e.loading=!0,e.resetDataState(),jQuery.ajax({type:"GET",url:this.csvFileUrl,data:{},success:function(t){Object(r.parse)(t,{header:!0,complete:function(t){e.loading=!1,e.dummyData=t.data,e.loadCsvData()}}),e.loading=!1}})},loadCsvData:function(){var e=this;this.dummyData.forEach(function(t){"vendor"===t.type?e.allVendors.push(e.formatVendorData(t)):e.allProducts.push(e.formatProductData(t))})},requestToImport:function(e){var t=this;dokan.api.post("/dummy-data/import",e).done(function(e,a,s){t.handleImport(e.vendor_index),t.updateProgress(e.vendor_index)}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&Swal.fire(t,"","error")})},importBtnHandler:function(){this.handleImport()},updateProgress:function(e){this.progress=100*e/this.allVendors.length},handleImport:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.allVendors[e];if(!t||void 0==t)return this.loading=!1,void(this.done=!0);var a={nonce:dokan.nonce,vendor_data:t,vendor_products:this.getVendorProducts(t.id),vendor_index:e,total_vendors:this.allVendors.length};this.loading=!0,this.requestToImport(a)},formatVendorData:function(e){return this.vendorsDataToRemove.forEach(function(t){delete e[t]}),e},formatProductData:function(e){return e.raw_attributes=[{name:e.attribute_1_name,value:e.attribute_1_value.split(","),visible:e.attribute_1_visible,taxonomy:e.attribute_1_global},{name:e.attribute_2_name,value:e.attribute_2_value.split(","),visible:e.attribute_2_visible,taxonomy:e.attribute_2_global}],e.manage_stock=Boolean(e.manage_stock),this.productsDataToRemove.forEach(function(t){delete e[t]}),e},getVendorProducts:function(e){return this.allProducts.filter(function(t){return t.vendor==e})},resetToImport:function(){this.errorMsg="",this.progress=0,this.loading=!1,this.done=!1},clearAllDummyData:function(){var e=this;return n()(o.a.mark(function t(){var a,s;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,dokan_sweetalert("Are you sure? You want to remove all dummy data!",{action:"confirm",icon:"warning"});case 3:"undefined"!==(s=t.sent)&&s.isConfirmed&&(a.loading=!0,dokan.api.delete("/dummy-data/clear",{nonce:dokan.nonce}).done(function(e,t,s){dokan_sweetalert("",{toast:!0,icon:"success",title:e.message,position:"bottom-right",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:function(e){e.addEventListener("mouseenter",Swal.stopTimer),e.addEventListener("mouseleave",Swal.resumeTimer)}}),a.resetToImport()}).fail(function(e){var t=window.dokan_handle_ajax_error(e);t&&Swal.fire(t,"","error")}));case 5:case"end":return t.stop()}},t)}))()},getProductsPageUrl:function(){return"".concat(dokan.urls.adminRoot,"edit.php?post_type=product")}}}},,function(e,t,a){"use strict";var s=a(57);t.a={name:"VendorCapabilities",components:{ProCta:s.a},data:function(){return{showPopup:!1,selectedCapabilityImage:"",capabilityCards:[{title:this.__("Coupons","dokan-lite"),content:this.__("Each vendor can create unlimited discount coupon codes for their products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-coupon.svg")},{title:this.__("Shipping","dokan-lite"),content:this.__("Vendors can configure their own shipping costs for each country, state & single products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-shipping.svg")},{title:this.__("Duplicate Product","dokan-lite"),content:this.__("Vendors can duplicate their own products for ease and time saving.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-duplicate-product.svg")},{title:this.__("Reporting","dokan-lite"),content:this.__("Earning, selling and commissions reports for vendors to improve sales & take major decisions.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-reports.svg")},{title:this.__("Create Tags","dokan-lite"),content:this.__("Vendors can create & attach tags to products to categorize & for better search engine optimization.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-create-tags.svg")},{title:this.__("Vendor Biography","dokan-lite"),content:this.__("Vendors can write about themselves & about their store in a text field which visitors can see from the store page","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-biography.svg")},{title:this.__("Vendor Product Upload","dokan-lite"),content:this.__("New vendors can start uploading products upon registration if admins allow.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-product-upload.svg")},{title:this.__("Order Status Change","dokan-lite"),content:this.__("Vendors will be able to mark products as draft & update the order status to inform customers about progress.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-order-status-change.svg")},{title:this.__("Social Share","dokan-lite"),content:this.__("Visitors and customers can share a store page with their friends and acquaintances on their social profiles.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-share.svg")},{title:this.__("Variable Product","dokan-lite"),content:this.__("Vendors can create variable products with predefined and custom attributes.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-variable-product.svg")},{title:this.__("Store Opening & Closing Time","dokan-lite"),content:this.__("Vendors can define the working hours of their online store for each day of the week for visitors to see.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-opening-closing-hours.svg")},{title:this.__("Woocommerce Booking Integration","dokan-lite"),content:this.__("Create hotel rooms, resorts, conference rooms, cars, bikes, etc for renting out.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-woocommerce-booking.svg")},{title:this.__("Announcement For Vendors","dokan-lite"),content:this.__("Admins can make announcements targeted to a single vendor, multiple or all vendors.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-announcement-vendors.svg")},{title:this.__("Woocommerce Simple Auctions Integration","dokan-lite"),content:this.__("Sell auction-able products in your store with Dokan’s integration.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-simple-auction.svg")},{title:this.__("Social Profiles","dokan-lite"),content:this.__("Vendors can upload & showcase their Facebook, Twitter and Linkedin profiles on their store page.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-profile.svg")},{title:this.__("Refund","dokan-lite"),content:this.__("Vendors can send refund requests for an order to the admins who can approve or deny it from the dashboard.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-refund.svg")},{title:this.__("Store Seo","dokan-lite"),content:this.__("The Yoast SEO integration lets vendors define Store Title, Description, Slug and Keyword to appear in search engine results.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-store-seo.svg")}]}},methods:{closePopup:function(){this.showPopup=!1},openPopup:function(e){this.showPopup=!0,this.selectedCapabilityImage=e}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner.svg")}}}},function(e,t,a){"use strict";var s=a(208);t.a={name:"ProModules",components:{ModuleUpgradePopup:s.a},data:function(){return{modules:[{name:this.__("WooCommerce Booking Integration","dokan-lite"),description:this.__("Integrates WooCommerce Booking with Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/booking.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-bookings/",modLink:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/"},{name:this.__("Color Scheme Customizer","dokan-lite"),description:this.__("A Dokan plugin Add-on to Customize Colors of Dokan Dashboard","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/color-scheme-customizer.png"),docLink:"https://wedevs.com/docs/dokan/modules/color-scheme/",modLink:"https://wedevs.com/dokan/modules/color-scheme-customizer/"},{name:this.__("Elementor","dokan-lite"),description:this.__("Elementor Page Builder widgets for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/elementor.png"),docLink:"https://wedevs.com/docs/dokan/modules/elementor-dokan/",modLink:"https://wedevs.com/dokan/modules/elementor/"},{name:this.__("Vendor Product Importer and Exporter","dokan-lite"),description:this.__("This is simple product import and export plugin for vendor","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/import-export.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-dokan-exportimport-add/",modLink:"https://wedevs.com/dokan/modules/export-import/"},{name:this.__("Follow Store","dokan-lite"),description:this.__("Send emails to customers when their favorite store updates.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/follow-store.png"),docLink:"https://wedevs.com/docs/dokan/modules/follow-store/",modLink:"https://wedevs.com/dokan/modules/follow-store/"},{name:this.__("Geolocation","dokan-lite"),description:this.__("Search Products and Vendors by geolocation.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/geolocation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-geolocation/",modLink:"https://wedevs.com/dokan/modules/geolocation/"},{name:this.__("Live Chat","dokan-lite"),description:this.__("Live Chat Between Vendor & Customer.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/live-chat.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-live-chat/",modLink:"https://wedevs.com/dokan/modules/live-chat/"},{name:this.__("Live Search","dokan-lite"),description:this.__("Live product search for WooCommerce store.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/ajax-live-search.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-live-search/",modLink:"https://wedevs.com/dokan/modules/ajax-live-search/"},{name:this.__("Wirecard","dokan-lite"),description:this.__("Wirecard payment gateway for Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wirecard-connect.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-moip-connect/",modLink:"https://wedevs.com/dokan/modules/moip/"},{name:this.__("PayPal Adaptive Payment","dokan-lite"),description:this.__("Allows to send split payments to vendor via PayPal Adaptive Payment gateway.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/paypal-adaptive.png"),docLink:"#",modLink:"#"},{name:this.__("Product Addon","dokan-lite"),description:this.__("WooCommerce Product Addon support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-addon.png"),docLink:"https://wedevs.com/docs/dokan/modules/product-addon/",modLink:"https://wedevs.com/dokan/modules/product-addons/"},{name:this.__("Product Enquiry","dokan-lite"),description:this.__("Enquiry for a specific product to a seller.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-enquiry.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-product-enquiry/",modLink:"https://wedevs.com/dokan/modules/product-enquiry/"},{name:this.__("Report Abuse","dokan-lite"),description:this.__("Let customers report fraudulent or fake products.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/"},{name:this.__("Return and Warranty Request","dokan-lite"),description:this.__("Manage return and warranty from vendor end.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-rma/",modLink:"https://wedevs.com/dokan/modules/rma/"},{name:this.__("Seller Vacation","dokan-lite"),description:this.__("Using this plugin seller can go to vacation by closing their stores.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/seller-vacation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-vacation/",modLink:"https://wedevs.com/dokan/modules/vendor-vacation/"},{name:this.__("ShipStation Integration","dokan-lite"),description:this.__("Adds ShipStation label printing support to Dokan. Requires server DomDocument support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/shipstation.png"),docLink:"https://wedevs.com/docs/dokan/modules/shipstation-dokan-wedevs/",modLink:"https://wedevs.com/dokan/modules/shipstation/"},{name:this.__("Auction Integration","dokan-lite"),description:this.__("A plugin that combined WooCommerce simple auction and Dokan plugin.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/auction.png"),docLink:"https://wedevs.com/docs/dokan/modules/woocommerce-auctions-frontend-multivendor-marketplace/",modLink:"https://wedevs.com/dokan/modules/dokan-simple-auctions/"},{name:this.__("Single Product Multiple Vendor","dokan-lite"),description:this.__("A module that offers multiple vendor to sell a single product.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/single-product-multivendor.png"),docLink:"https://wedevs.com/docs/dokan/modules/single-product-multiple-vendor/",modLink:"https://wedevs.com/dokan/modules/single-product-multivendor/"},{name:this.__("Store Reviews","dokan-lite"),description:this.__("A plugin that allows customers to rate the sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-review.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-review/",modLink:"https://wedevs.com/dokan/modules/dokan-vendor-review/"},{name:this.__("Store Support","dokan-lite"),description:this.__("Enable vendors to provide support to customers from store page.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/store-support.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-store-support/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Stripe Connect","dokan-lite"),description:this.__("Accept credit card payments and allow your sellers to get automatic split payment in Dokan via Stripe.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/stripe.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-configure-dokan-stripe-connect/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Vendor Subscription","dokan-lite"),description:this.__("Product subscription pack add-on for Dokan vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/subscription.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-use-dokan-subscription/",modLink:"https://wedevs.com/dokan/modules/subscription/"},{name:this.__("Vendor Analytics","dokan-lite"),description:this.__("A plugin for store and product analytics for vendor.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/analytics.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/"},{name:this.__("Vendor Staff Manager","dokan-lite"),description:this.__("A plugin for manage store via vendor staffs.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-staff.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-staff-manager/",modLink:"https://wedevs.com/dokan/modules/vendor-staff-manager/"},{name:this.__("Vendor Subscription Product","dokan-lite"),description:this.__("WooCommerce Subscription integration for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-subscription-product.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-subscription-product/",modLink:"https://wedevs.com/dokan/modules/vendor-subscription-product/"},{name:this.__("Vendor Verification","dokan-lite"),description:this.__("Dokan add-on to verify sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-verification.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-seller-verification-admin-settings/",modLink:"https://wedevs.com/dokan/modules/seller-verification/"},{name:this.__("Wholesale","dokan-lite"),description:this.__("Offer any customer to buy product as a wholesale price from any vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wholesale.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-wholesale/",modLink:"https://wedevs.com/dokan/modules/wholesale/"}],showPopup:!0}},methods:{togglePopup:function(e){this.showPopup=e}}}},function(e,t,a){"use strict";t.a={name:"ModuleUpgradePopup",props:{showPopup:{type:Boolean,required:!0,default:!0}},data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},methods:{closePopup:function(){this.$emit("toggle",!1)}}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(1),o=a.n(i),r=a(19),l=a.n(r);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var c=dokan_get_lib("ListTable"),u=dokan_get_lib("Multiselect"),p=dokan_get_lib("debounce"),_=dokan_get_lib("DateRangePicker"),m=dokan_get_lib("AdminNotice"),v=dokan_get_lib("Currency"),f=dokan_get_lib("CardFunFact"),h=Swal.mixin({customClass:{confirmButton:"button button-primary",cancelButton:"button button-secondary"},buttonsStyling:!1});t.a={name:"ReverseWithdrawal",components:{Currency:v,ListTable:c,Multiselect:u,Debounce:p,swal:h,DateRangePicker:_,AdminNotice:m,CardFunFact:f},data:function(){return{transactionData:[],loading:!1,clearingFilters:!1,counts:{debit:0,credit:0,balance:0,total_transactions:0,total_vendors:0},dateTimePickerFormat:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({format:dokan_get_daterange_picker_format().toLowerCase()},dokan_helper.daterange_picker_local),dateRangePickerRanges:{Today:[l()().toDate(),l()().toDate()],"Last 30 Days":[l()().subtract(29,"days").toDate(),l()().toDate()],"This Month":[l()().startOf("month").toDate(),l()().endOf("month").toDate()],"Last Month":[l()().subtract(1,"month").startOf("month").toDate(),l()().subtract(1,"month").endOf("month").toDate()],"This Year":[l()().month(0).startOf("month").toDate(),l()().month(11).endOf("month").toDate()],"Last Year":[l()().month(0).subtract(1,"year").startOf("month").toDate(),l()().month(11).subtract(1,"year").endOf("month").toDate()]},totalPages:1,perPage:20,totalItems:0,showCb:!0,notFound:this.__("No transaction found.","dokan-lite"),columns:{store_name:{label:this.__("Stores","dokan-lite")},balance:{label:this.__("Balance","dokan-lite")},last_payment_date:{label:this.__("Last Payment Date","dokan-lite")}},actions:[],filter:{stores:this.getDefaultStore(),selected_store:this.getDefaultStore()[0],transaction_date:{startDate:"",endDate:""}}}},created:function(){this.setDefaultTransactionDate(),this.fetchStoreLists(),this.fetchBalances()},mounted:function(){this.mountToolTips()},updated:function(){this.mountToolTips()},filters:{getFormattedDate:function(e){return e?o.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e)):""}},computed:{getCurrentPage:function(){return this.$route.query.page?parseInt(this.$route.query.page):1},getSortBy:function(){var e;return null!==(e=this.$route.query.orderby)&&void 0!==e?e:"added"},getSortOrder:function(){var e;return null!==(e=this.$route.query.order)&&void 0!==e?e:"desc"},filterStoreID:function(){return this.filter.selected_store?this.filter.selected_store.id:0},filterTransactionDate:function(){var e={from:"",to:""};return this.filter.transaction_date.startDate&&this.filter.transaction_date.endDate?(e.from=o.a.datepicker.formatDate("yy-mm-dd",this.filter.transaction_date.startDate),e.to=o.a.datepicker.formatDate("yy-mm-dd",this.filter.transaction_date.endDate),e.from===e.to&&(e.from=""),e):e},bulkActions:function(){return[]}},watch:{"$route.query.page":function(){this.fetchBalances()},"$route.query.orderby":function(){this.fetchBalances()},"$route.query.order":function(){this.fetchBalances()},"filter.selected_store":function(){this.clearingFilters||this.loading||this.fetchBalances()},"filter.transaction_date.startDate":function(){this.clearingFilters||this.loading||this.fetchBalances()}},methods:{updatedCounts:function(e){var t,a,s,n,i;this.counts.debit=parseInt(null!==(t=e.getResponseHeader("X-Status-Debit"))&&void 0!==t?t:0),this.counts.credit=parseInt(null!==(a=e.getResponseHeader("X-Status-Credit"))&&void 0!==a?a:0),this.counts.balance=parseInt(null!==(s=e.getResponseHeader("X-Status-Balance"))&&void 0!==s?s:0),this.counts.total_transactions=parseInt(null!==(n=e.getResponseHeader("X-Status-Total-Transactions"))&&void 0!==n?n:0),this.counts.total_vendors=parseInt(null!==(i=e.getResponseHeader("X-Status-Total-Vendors"))&&void 0!==i?i:0)},updatePagination:function(e){var t,a;this.totalPages=parseInt(null!==(t=e.getResponseHeader("X-WP-TotalPages"))&&void 0!==t?t:0),this.totalItems=parseInt(null!==(a=e.getResponseHeader("X-WP-Total"))&&void 0!==a?a:0)},resetCounts:function(){this.counts.debit=0,this.counts.credit=0,this.counts.balance=0,this.counts.total_transactions=0,this.counts.total_vendors=0,this.totalPages=0,this.totalItems=0},clearFilters:function(){this.clearingFilters=!0,this.filter.selected_store=this.getDefaultStore()[0],this.setDefaultTransactionDate(),this.clearingFilters=!1,this.fetchBalances()},getDefaultStore:function(){return[{id:0,name:this.__("All Stores","dokan-lite")}]},fetchStoreLists:p(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this;dokan.api.get("/reverse-withdrawal/stores",{paged:1,search:e}).done(function(e){t.filter.stores=t.getDefaultStore().concat(e)}).fail(function(e){t.filter.stores=t.getDefaultStore()})},300),getDefaultTransactionDate:function(){var e=l()().endOf("today").hour(23).minute(59).second(59).toDate();return{startDate:e,endDate:e}},setDefaultTransactionDate:function(){var e=this.getDefaultTransactionDate();this.filter.transaction_date.startDate=e.startDate,this.filter.transaction_date.endDate=e.endDate,this.$refs.picker&&this.$refs.picker.togglePicker(!1)},fetchBalances:function(){this.loading=!0;var e=this,t={per_page:e.perPage,page:e.getCurrentPage,orderby:e.getSortBy,order:e.getSortOrder,trn_date:e.filterTransactionDate};e.filterStoreID&&(t.vendor_id=e.filterStoreID),dokan.api.get("/reverse-withdrawal/stores-balance",t).done(function(t,a,s){e.transactionData=t,e.updatedCounts(s),e.updatePagination(s)}).always(function(){e.loading=!1}).fail(function(t){e.transactionData=[],e.resetCounts();var a=e.renderApiError(t);a&&e.showErrorAlert(a)})},goToPage:function(e){this.$router.push({name:"ReverseWithdrawal",query:{page:e}})},doSort:function(e,t){this.$router.push({name:"ReverseWithdrawal",query:{page:1,orderby:e,order:t}})},orderUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},vendorUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e},productUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},mountToolTips:function(){o()(".tips").tooltip()},moment:function(e){return l()(e)},showErrorAlert:function(e){h.fire(this.__("Something went wrong","dokan-lite"),e,"error")},renderApiError:function(e){var t="";return e.responseJSON&&e.responseJSON.message?t=e.responseJSON.message:e.responseJSON&&e.responseJSON.data&&e.responseJSON.data.message?t=e.responseJSON.data.message:e.responseText&&(t=e.responseText),t}}}},function(e,t,a){"use strict";var s=a(9),n=a.n(s),i=a(1),o=a.n(i),r=a(19),l=a.n(r);function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}var c=dokan_get_lib("ListTable"),u=dokan_get_lib("Multiselect"),p=dokan_get_lib("debounce"),_=dokan_get_lib("DateRangePicker"),m=dokan_get_lib("AdminNotice"),v=dokan_get_lib("Currency"),f=dokan_get_lib("CardFunFact"),h=Swal.mixin({customClass:{confirmButton:"button button-primary",cancelButton:"button button-secondary"},buttonsStyling:!1});t.a={name:"ReverseWithdrawalTransactions",components:{Currency:v,ListTable:c,Multiselect:u,Debounce:p,swal:h,DateRangePicker:_,AdminNotice:m,CardFunFact:f},data:function(){return{storeDetails:{},transactionData:[],loading:!1,clearingFilters:!1,counts:{debit:0,credit:0,total_transaction:0},dateTimePickerFormat:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({format:dokan_get_daterange_picker_format().toLowerCase()},dokan_helper.daterange_picker_local),dateRangePickerRanges:{Today:[l()().toDate(),l()().toDate()],"Last 30 Days":[l()().subtract(29,"days").toDate(),l()().toDate()],"This Month":[l()().startOf("month").toDate(),l()().endOf("month").toDate()],"Last Month":[l()().subtract(1,"month").startOf("month").toDate(),l()().subtract(1,"month").endOf("month").toDate()],"This Year":[l()().month(0).startOf("month").toDate(),l()().month(11).endOf("month").toDate()],"Last Year":[l()().month(0).subtract(1,"year").startOf("month").toDate(),l()().month(11).subtract(1,"year").endOf("month").toDate()]},totalPages:1,perPage:100,totalItems:0,showCb:!0,notFound:this.__("No transaction found.","dokan-lite"),columns:{trn_id:{label:this.__("Transaction ID","dokan-lite")},trn_date:{label:this.__("Date","dokan-lite")},trn_type:{label:this.__("Transaction Type","dokan-lite")},note:{label:this.__("Note","dokan-lite")},debit:{label:this.__("Debit","dokan-lite")},credit:{label:this.__("Credit","dokan-lite")},balance:{label:this.__("Balance","dokan-lite")}},actions:[],filter:{transaction_date:{startDate:"",endDate:""}}}},created:function(){this.setDefaultTransactionDate(),this.fetchTransactions()},mounted:function(){this.fetchStoreDetails(),this.mountToolTips(),this.scrollToTop()},updated:function(){this.mountToolTips()},filters:{getFormattedDate:function(e){return e?o.a.datepicker.formatDate(dokan_get_i18n_date_format(),new Date(e)):""}},computed:{ID:function(){return this.$route.params.store_id},getCurrentPage:function(){return this.$route.query.page?parseInt(this.$route.query.page):1},getSortBy:function(){var e;return null!==(e=this.$route.query.orderby)&&void 0!==e?e:"added"},getSortOrder:function(){var e;return null!==(e=this.$route.query.order)&&void 0!==e?e:"desc"},filterTransactionDate:function(){var e={};return this.filter.transaction_date.startDate&&this.filter.transaction_date.endDate?(e.from=o.a.datepicker.formatDate("yy-mm-dd",new Date(this.filter.transaction_date.startDate)),e.to=o.a.datepicker.formatDate("yy-mm-dd",new Date(this.filter.transaction_date.endDate)),e):e},bulkActions:function(){return[]}},watch:{"$route.query.page":function(){this.fetchTransactions()},"$route.query.orderby":function(){this.fetchTransactions()},"$route.query.order":function(){this.fetchTransactions()},"filter.transaction_date.startDate":function(){this.clearingFilters||this.loading||this.fetchTransactions()}},methods:{updatedCounts:function(e){var t,a,s,n;this.counts.debit=parseInt(null!==(t=e.getResponseHeader("X-Status-Debit"))&&void 0!==t?t:0),this.counts.credit=parseInt(null!==(a=e.getResponseHeader("X-Status-Credit"))&&void 0!==a?a:0),this.counts.balance=parseInt(null!==(s=e.getResponseHeader("X-Status-Balance"))&&void 0!==s?s:0),this.counts.total_transactions=parseInt(null!==(n=e.getResponseHeader("X-Status-Total-Transactions"))&&void 0!==n?n:0)},updatePagination:function(e){var t,a;this.totalPages=parseInt(null!==(t=e.getResponseHeader("X-WP-TotalPages"))&&void 0!==t?t:0),this.totalItems=parseInt(null!==(a=e.getResponseHeader("X-WP-Total"))&&void 0!==a?a:0)},resetCounts:function(){this.counts.debit=0,this.counts.credit=0,this.counts.balance=0,this.counts.total_transaction=0},resetPagination:function(){this.totalPages=0,this.totalItems=0},clearFilters:function(){this.clearingFilters=!0,this.setDefaultTransactionDate(),this.fetchTransactions(),this.clearingFilters=!1},getDefaultTransactionDate:function(){return{startDate:l()().subtract(29,"days").hour(0).minute(0).second(0).toDate(),endDate:l()().hour(23).minute(59).second(59).toDate()}},setDefaultTransactionDate:function(){var e=this.getDefaultTransactionDate();this.filter.transaction_date.startDate=e.startDate,this.filter.transaction_date.endDate=e.endDate,this.$refs.picker&&this.$refs.picker.togglePicker(!1)},goToPage:function(e){this.$router.push({name:"ReverseWithdrawalTransactions",query:{page:e}})},fetchTransactions:function(){this.loading=!0;var e=this,t={orderby:e.getSortBy,order:e.getSortOrder,vendor_id:e.ID,trn_date:e.filterTransactionDate,per_page:-1};dokan.api.get("/reverse-withdrawal/transactions/"+e.ID,t).done(function(t,a,s){e.transactionData=t,e.updatedCounts(s),e.updatePagination(s)}).always(function(){e.loading=!1}).fail(function(t){e.transactionData=[],e.resetPagination();var a=dokan_handle_ajax_error(t);a&&e.showErrorAlert(a)})},fetchStoreDetails:function(){var e=this;dokan.api.get("/stores/"+e.ID).done(function(t,a,s){e.storeDetails=t}).always(function(){}).fail(function(t){e.storeDetails={};var a=dokan_handle_ajax_error(t);a&&e.showErrorAlert(a)})},doSort:function(e,t){this.$router.push({name:"ReverseWithdrawalTransactions",query:{page:1,orderby:e,order:t}})},reverseWithdrawalUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/reverse-withdrawal"},orderUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},vendorUrl:function(e){return dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e},productUrl:function(e){return dokan.urls.adminRoot+"post.php?post="+e+"&action=edit"},mountToolTips:function(){o()(".tips").tooltip()},moment:function(e){return l()(e)},showErrorAlert:function(e){h.fire(this.__("Something went wrong","dokan-lite"),e,"error")},scrollToTop:function(){window.scrollTo(0,0)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(125),n=a(128),i=a(218);new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:n.a,render:function(e){return e(s.a)},created:function(){this.setLocaleData(dokan.i18n["dokan-lite"]),dokan.dokan_pro_i18n&&this.setLocaleData(dokan.dokan_pro_i18n.dokan)},methods:{listTableTexts:function(){return{loading:this.__("Loading","dokan-lite"),select_bulk_action:this.__("Select bulk action","dokan-lite"),bulk_actions:this.__("Bulk Actions","dokan-lite"),items:this.__("items","dokan-lite"),apply:this.__("Apply","dokan-lite")}}}}),Object(i.a)("dokan")},function(e,t,a){"use strict";var s=a(51),n=a(127),i=!1;var o=function(e){i||a(126)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/App.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"vue-backend-app"}},[t("router-view"),this._v(" "),t("notifications",{attrs:{position:"bottom right"}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(129),n=a.n(s),i=a(130),o=a(137),r=a(140),l=a(150),d=a(153),c=a(156),u=a(194),p=a(200),_=a(203),m=a(206),v=a(212),f=a(215),h=dokan_get_lib("Vue"),g=dokan_get_lib("Router"),k=dokan_get_lib("VersionCompare");h.use(g),dokan_add_route(i.a),dokan_add_route(o.a),dokan_add_route(r.a),dokan_add_route(d.a),dokan_add_route(l.a),dokan_add_route(c.a),dokan_add_route(_.a),dokan_add_route(m.a),dokan_add_route(p.a),dokan_add_route(v.a),dokan_add_route(f.a),dokan.hasPro&&!k(dokan.proVersion,"2.9.14",">")||dokan_add_route(u.a),function e(t){for(var a=0;a<t.length;a++)"object"===n()(t[a].children)?(e(t[a].children),void 0!==t[a].component&&(t[a].component=dokan.routeComponents[t[a].component])):t[a].component=dokan.routeComponents[t[a].component]}(dokan.routes),t.a=new g({routes:dokan.routes})},,function(e,t,a){"use strict";var s=a(52),n=a(136),i=!1;var o=function(e){i||a(131)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Dashboard.vue",t.a=r.exports},function(e,t){},,,function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.show&&e.showUpgrade?a("div",{staticClass:"dokan-promo-banner"},[a("div",{staticClass:"thumbnail"},[a("svg",{attrs:{width:"219",height:"146",viewBox:"0 0 219 146",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("g",{attrs:{filter:"url(#filter0_d_248_61)"}},[a("rect",{attrs:{x:"38.7051",y:"24.564",width:"122.83",height:"92.5357",rx:"2.75404",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M38.7051 27.318C38.7051 25.797 39.9381 24.564 41.4591 24.564H158.781C160.302 24.564 161.535 25.797 161.535 27.318V34.4785H38.7051V27.318Z",fill:"#5165FF"}}),e._v(" "),a("circle",{attrs:{cx:"46.1409",cy:"29.7966",r:"1.37702",fill:"#FF2323"}}),e._v(" "),a("circle",{attrs:{cx:"51.0982",cy:"29.7966",r:"1.37702",fill:"#FF9A23"}}),e._v(" "),a("circle",{attrs:{cx:"56.0555",cy:"29.7966",r:"1.37702",fill:"#3FD826"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"42.7406",width:"58.9364",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"56.5109",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"62.0189",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"67.527",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"73.035",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"78.5431",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"84.0513",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"89.5592",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{opacity:"0.2",x:"48.6196",y:"95.0674",width:"103.001",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"46.5962",width:"25.888",height:"1.65242",rx:"0.826212",fill:"#35D893"}}),e._v(" "),a("rect",{attrs:{x:"48.6196",y:"102.779",width:"21.4815",height:"4.95727",rx:"2.47864",fill:"#F86C57"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0891",r:"48.0891",fill:"url(#paint0_linear_248_61)","fill-opacity":"0.08"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0891",r:"42.9732",fill:"url(#paint1_linear_248_61)","fill-opacity":"0.08"}}),e._v(" "),a("circle",{attrs:{opacity:"0.91",cx:"165.911",cy:"71.0892",r:"38.3689",fill:"url(#paint2_linear_248_61)","fill-opacity":"0.09"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter1_d_248_61)"}},[a("circle",{attrs:{cx:"166.253",cy:"71.0891",r:"33.2531",fill:"url(#paint3_linear_248_61)"}})]),e._v(" "),a("path",{attrs:{d:"M161.113 57.209H157.627V54.7871H160.933V54.0059H157.627V51.7451H161.113V50.9541H156.748V58H161.113V57.209ZM162.144 58H162.993V55.0117C162.993 54.1523 163.516 53.5859 164.316 53.5859C165.098 53.5859 165.483 54.0352 165.483 54.8555V58H166.333V54.7041C166.333 53.5518 165.688 52.834 164.575 52.834C163.789 52.834 163.247 53.1855 162.964 53.7324H162.944V52.9219H162.144V58ZM168.311 52.9219H167.461V58.2588C167.461 58.8252 167.261 59.0352 166.709 59.0352C166.704 59.0352 166.587 59.0352 166.577 59.0352V59.7432C166.587 59.748 166.724 59.748 166.738 59.748C167.822 59.748 168.311 59.2793 168.311 58.249V52.9219ZM167.886 52.0674C168.179 52.0674 168.418 51.8281 168.418 51.54C168.418 51.2471 168.179 51.0127 167.886 51.0127C167.598 51.0127 167.358 51.2471 167.358 51.54C167.358 51.8281 167.598 52.0674 167.886 52.0674ZM171.562 58.0879C172.964 58.0879 173.911 57.0771 173.911 55.4609C173.911 53.8398 172.964 52.834 171.562 52.834C170.156 52.834 169.209 53.8398 169.209 55.4609C169.209 57.0771 170.156 58.0879 171.562 58.0879ZM171.562 57.3408C170.664 57.3408 170.073 56.6572 170.073 55.4609C170.073 54.2646 170.664 53.5811 171.562 53.5811C172.461 53.5811 173.047 54.2646 173.047 55.4609C173.047 56.6572 172.461 57.3408 171.562 57.3408ZM175.044 59.8994C175.962 59.8994 176.382 59.543 176.816 58.3564L178.813 52.9219H177.92L176.514 57.1504H176.499L175.093 52.9219H174.185L176.06 58.0049L175.942 58.3613C175.747 58.9521 175.483 59.1816 175.01 59.1816C174.902 59.1816 174.771 59.1768 174.678 59.1572V59.8701C174.771 59.8896 174.941 59.8994 175.044 59.8994Z",fill:"white"}}),e._v(" "),a("path",{attrs:{d:"M159.657 85.8369C157.66 85.8369 156.41 87.2432 156.41 89.4795C156.41 91.7158 157.66 93.1172 159.657 93.1172C161.654 93.1172 162.904 91.7158 162.904 89.4795C162.904 87.2432 161.654 85.8369 159.657 85.8369ZM159.657 86.6475C161.098 86.6475 162.001 87.7412 162.001 89.4795C162.001 91.2129 161.098 92.3066 159.657 92.3066C158.217 92.3066 157.313 91.2129 157.313 89.4795C157.313 87.7412 158.217 86.6475 159.657 86.6475ZM164.877 93V89.9482H167.997V89.167H164.877V86.7451H168.275V85.9541H163.998V93H164.877ZM170.16 93V89.9482H173.28V89.167H170.16V86.7451H173.559V85.9541H169.281V93H170.16Z",fill:"white"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter2_d_248_61)"}},[a("path",{attrs:{d:"M149.708 73.6738H151.268C152.344 73.6738 152.98 74.176 152.98 75.0188C152.98 75.8527 152.308 76.4086 151.304 76.4086C150.192 76.4086 149.51 75.8796 149.483 75.0188H145.861C145.986 77.655 148.085 79.3587 151.223 79.3587C154.657 79.3587 156.845 77.8254 156.845 75.4044C156.845 73.638 155.599 72.5171 153.698 72.3109V72.2392C155.258 71.9612 156.397 70.8314 156.397 69.2712C156.397 67.0834 154.46 65.7025 151.402 65.7025C148.219 65.7025 146.112 67.4151 146.103 70.0065H149.528C149.528 69.1008 150.219 68.4732 151.241 68.4732C152.281 68.4732 152.9 68.9753 152.9 69.7913C152.9 70.6162 152.281 71.1273 151.286 71.1273H149.708V73.6738ZM163.83 79.3587C167.327 79.3587 169.524 76.7583 169.524 72.4902C169.524 68.1863 167.3 65.6935 163.83 65.6935C160.36 65.6935 158.127 68.1952 158.127 72.4992C158.127 76.7763 160.333 79.3587 163.83 79.3587ZM163.83 76.4355C162.772 76.4355 162.001 75.1623 162.001 72.4992C162.001 69.8271 162.772 68.6167 163.83 68.6167C164.888 68.6167 165.65 69.8271 165.65 72.4992C165.65 75.1623 164.888 76.4355 163.83 76.4355ZM176.939 69.2174C176.939 67.0565 175.729 65.7294 173.756 65.7294C171.783 65.7294 170.573 67.0565 170.573 69.2174C170.573 71.3784 171.783 72.7054 173.756 72.7054C175.729 72.7054 176.939 71.3784 176.939 69.2174ZM173.756 70.6252C173.38 70.6252 173.155 70.0961 173.155 69.1905C173.155 68.2849 173.38 67.7559 173.756 67.7559C174.133 67.7559 174.357 68.2849 174.357 69.1905C174.357 70.0961 174.133 70.6252 173.756 70.6252ZM175.146 79L179.665 72.7951L184.57 66.0612H181.79L177.415 72.0688L172.366 79H175.146ZM186.363 75.7451C186.363 73.5842 185.153 72.2571 183.18 72.2571C181.207 72.2571 179.997 73.5842 179.997 75.7451C179.997 77.9061 181.207 79.2331 183.18 79.2331C185.153 79.2331 186.363 77.9061 186.363 75.7451ZM183.18 77.1529C182.803 77.1529 182.579 76.6238 182.579 75.7182C182.579 74.8126 182.803 74.2836 183.18 74.2836C183.557 74.2836 183.781 74.8126 183.781 75.7182C183.781 76.6238 183.557 77.1529 183.18 77.1529Z",fill:"white"}})]),e._v(" "),a("g",{attrs:{filter:"url(#filter3_d_248_61)"}},[a("rect",{attrs:{x:"19",y:"38.3818",width:"50.2355",height:"17.2853",rx:"8.64266",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M42.394 48.9926C42.394 50.0814 41.6317 50.7359 40.0117 50.7359C38.3917 50.7359 37.6294 50.0814 37.6294 48.9926V47.1386C37.6294 46.0497 38.3931 45.3953 40.0117 45.3953C41.6303 45.3953 42.394 46.0497 42.394 47.1386V48.9926ZM41.1062 47.2885C41.1062 46.6831 40.9184 46.337 40.0061 46.337C39.0938 46.337 38.9074 46.6831 38.9074 47.2885V48.844C38.9074 49.448 39.0952 49.7941 40.0061 49.7941C40.917 49.7941 41.1062 49.448 41.1062 48.844V47.2885Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M46.011 47.7439C47.4881 48.2694 47.5371 49.4676 48.1425 50.5578C47.9012 50.6184 47.6557 50.6614 47.4082 50.6867C46.0419 50.6867 46.814 48.6253 44.7736 48.289V50.6867C44.7736 50.6867 43.4844 50.6867 43.4844 50.0421V43.0465C43.4844 43.0465 44.7736 43.0465 44.7736 43.6911V47.2982C45.358 47.2086 45.6845 46.7727 46.1302 45.9305C46.3193 45.5732 46.6907 45.4442 47.0817 45.4442C47.3199 45.4489 47.556 45.489 47.7824 45.5634C47.24 46.3061 46.9037 47.3865 46.011 47.7439Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M51.6206 47.0307C51.6206 46.6733 51.4216 46.3566 50.6592 46.3566C49.8268 46.3566 49.0743 46.6369 49.0743 47.4777C48.7856 47.0909 48.6973 46.784 48.6973 46.5164C48.6973 45.6545 49.8563 45.3953 50.669 45.3953C52.1251 45.3953 52.8986 46.0091 52.8986 47.0895V50.712C52.6603 50.5991 52.3984 50.5448 52.1349 50.5537C51.6402 50.5537 51.1441 50.7317 50.5794 50.7317C49.5592 50.7317 48.5586 50.3547 48.5586 49.1761C48.5586 47.3277 51.2142 47.8126 51.6206 47.0307ZM51.65 48.041C51.4216 48.5666 49.8366 48.2793 49.8366 49.1621C49.8366 49.6078 50.1632 49.8362 50.7279 49.8362C51.0439 49.8362 51.357 49.7753 51.65 49.6568V48.041Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M57.2093 47.1792C57.2093 46.6537 56.9613 46.3566 56.2578 46.3566C55.9389 46.3599 55.6221 46.4071 55.3161 46.4967V50.6868C55.3161 50.6868 54.0282 50.6868 54.0282 50.0422V45.3953C54.3062 45.5298 54.6106 45.6007 54.9195 45.6027C55.4057 45.6027 55.8612 45.3953 56.3965 45.3953C57.4167 45.3953 58.4986 45.7414 58.4986 47.0307V50.6868C58.4986 50.6868 57.2107 50.6672 57.2107 50.0422L57.2093 47.1792Z",fill:"#4D4D4F"}}),e._v(" "),a("path",{attrs:{d:"M29.8406 42.6191C29.8406 42.6191 34.4371 42.2814 34.4371 46.2486C34.4371 50.2159 33.2221 51.0133 32.157 51.2641C32.157 51.2641 36.5881 52.332 36.5881 46.7503C36.5881 41.1687 30.9364 41.9745 29.8406 42.6191Z",fill:"#F2634D"}}),e._v(" "),a("path",{attrs:{d:"M33.5781 49.3681C33.5781 49.3681 33.1352 50.9082 31.7899 51.103C30.4446 51.2978 30.2022 50.5719 29.2675 50.6209C29.2568 50.522 29.266 50.422 29.2945 50.3267C29.323 50.2314 29.3702 50.1427 29.4333 50.0658C29.4965 49.989 29.5743 49.9255 29.6623 49.8791C29.7503 49.8327 29.8466 49.8042 29.9457 49.7955C30.7011 49.6932 32.115 49.8922 33.0554 49.298C33.0554 49.298 33.6159 49.0065 33.721 48.865L33.5781 49.3681Z",fill:"#F2634D"}}),e._v(" "),a("path",{attrs:{d:"M29.7705 42.8966V44.8066V49.5615C29.8165 49.549 29.8634 49.5397 29.9106 49.5334C30.1755 49.505 30.4417 49.491 30.708 49.4914C30.9883 49.4914 31.2868 49.4802 31.5895 49.4536V47.2086C31.5895 46.4644 31.5432 45.7021 31.5895 44.9664C31.6149 44.7457 31.7 44.5361 31.8355 44.36C31.971 44.184 32.152 44.0482 32.3588 43.9672C32.5252 43.9058 32.7028 43.8801 32.8798 43.892C33.0568 43.9038 33.2293 43.9528 33.386 44.0359C32.3334 43.2799 31.0664 42.8807 29.7705 42.8966Z",fill:"#F2634D"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_248_61",x:"1.43361",y:"0.796654",width:"197.373",height:"167.079",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"13.5042"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"18.6357"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter1_d_248_61",x:"113.644",y:"28.4061",width:"105.219",height:"105.219",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"9.92629"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.67814"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter2_d_248_61",x:"131.878",y:"65.3495",width:"68.4692",height:"41.6322",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"13.6395"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"6.99175"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.633333 0 0 0 0 0.0860081 0 0 0 0 0 0 0 0 0.38 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter3_d_248_61",x:"0.094183",y:"29.7392",width:"88.0471",height:"55.0969",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"10.2632"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.45291"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0.095 0 0 0 0 0.2375 0 0 0 0.25 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_248_61"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_248_61",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_248_61",x1:"216.161",y1:"71.332",x2:"122.442",y2:"71.332",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FFA5A5"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FFA5A5","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint1_linear_248_61",x1:"218.051",y1:"74.8431",x2:"133.515",y2:"74.3029",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FF6262"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FF6262","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint2_linear_248_61",x1:"212.38",y1:"71.3321",x2:"133.245",y2:"71.3321",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FE6868"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#FE6868","stop-opacity":"0"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint3_linear_248_61",x1:"166.253",y1:"28.3761",x2:"166.253",y2:"104.342",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#FF9F8F"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#F95F47"}})],1)],1)])]),e._v(" "),a("div",{staticClass:"content"},[a("div",{staticClass:"details"},[a("h3",[e._v(e._s(e.__("Dokan Premium","dokan-lite"))+" "),a("span",{staticClass:"dokan-offer"},[e._v(e._s(e.__("Enjoy","dokan-lite"))+" "),a("span",{staticClass:"penchant-off"},[e._v(e._s(e.__("30%","dokan-lite")))]),e._v(e._s(e.__("OFF","dokan-lite")))])]),e._v(" "),a("p",[e._v(e._s(e.__("Unleash the full potential of your marketplace with more premium features.","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"features"},[a("label",[e._v("\n "+e._s(e.__("Table rate shipping","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",[e._v("\n "+e._s(e.__("Vendor Reviews","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Product Subscriptions","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Auction","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("label",{staticClass:"hidden-sm"},[e._v("\n "+e._s(e.__("Delivery Time","dokan-lite"))+"\n "),a("span")]),e._v(" "),a("a",{attrs:{target:"_blank",href:"https://wedevs.com/dokan/modules"}},[e._v(e._s(e.__("See All Premium Modules","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"btn-upgrade"},[a("a",{attrs:{target:"_blank",href:"https://wedevs.com/dokan-lite-upgrade-to-pro/?utm_source=dokan-plugin-dashboard&utm_medium=wp-admin-promotion&utm_campaign=dokan-lite"}},[e._v(e._s(e.__("Upgrade to Premium","dokan-lite")))])]),e._v(" "),a("button",{staticClass:"close-banner",on:{click:function(t){return e.dismiss()}}},[a("span",{staticClass:"dashicons dashicons-no-alt"})])]):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-dashboard"},[a("h1",[e._v(e._s(e.__("Dashboard","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"widgets-wrapper"},[a("div",{staticClass:"left-side"},[a("postbox",{attrs:{title:e.__("At a Glance","dokan-lite"),extraClass:"dokan-status"}},[null!==e.overview?a("div",{staticClass:"dokan-status"},[a("ul",[a("li",{staticClass:"sale"},[a("div",{staticClass:"dashicons dashicons-chart-bar"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.sales.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("net sales this month","dokan-lite"))+" "),a("span",{class:e.overview.sales.class},[e._v(e._s(e.overview.sales.parcent))])])])],1),e._v(" "),a("li",{staticClass:"commission"},[a("div",{staticClass:"dashicons dashicons-chart-pie"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.earning.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("commission earned","dokan-lite"))+" "),a("span",{class:e.overview.earning.class},[e._v(e._s(e.overview.earning.parcent))])])])],1),e._v(" "),a("li",{staticClass:"vendor"},[a("div",{staticClass:"dashicons dashicons-id"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors"}:""}},[a("strong",[e._v(e._s(e.overview.vendors.this_month)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("signup this month","dokan-lite"))+" "),a("span",{class:e.overview.vendors.class},[e._v(e._s(e.overview.vendors.parcent))])])])],1),e._v(" "),a("li",{staticClass:"approval"},[a("div",{staticClass:"dashicons dashicons-businessman"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors",query:{status:"pending"}}:""}},[a("strong",[e._v(e._s(e.overview.vendors.inactive)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1),e._v(" "),a("li",{staticClass:"product"},[a("div",{staticClass:"dashicons dashicons-cart"}),e._v(" "),a("a",{attrs:{href:"#"}},[a("strong",[e._v(e._s(e.overview.products.this_month)+" "+e._s(e.__("Products","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("created this month","dokan-lite"))+" "),a("span",{class:e.overview.products.class},[e._v(e._s(e.overview.products.parcent))])])])]),e._v(" "),a("li",{staticClass:"withdraw"},[a("div",{staticClass:"dashicons dashicons-money"}),e._v(" "),a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[a("strong",[e._v(e._s(e.overview.withdraw.pending)+" "+e._s(e.__("Withdrawals","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1)])]):a("div",{staticClass:"loading"},[a("loading")],1)]),e._v(" "),a("postbox",{attrs:{title:e.__("Dokan News Updates","dokan-lite")}},[null!==e.feed?a("div",{staticClass:"rss-widget"},[a("ul",e._l(e.feed,function(t){return a("li",[a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[e._v(e._s(t.title))])])}),0),e._v(" "),a("div",{staticClass:"subscribe-box"},[e.subscribe.success?a("div",{staticClass:"thank-you"},[e._v(e._s(e.__("Thank you for subscribing!","dokan-lite")))]):[e.subscribe.loading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),a("h3",[e._v(e._s(e.__("Stay up-to-date","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("We're constantly developing new features, stay up-to-date by subscribing to our newsletter.","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"form-wrap"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.full_name,expression:"subscribe.full_name"}],attrs:{type:"text",placeholder:e.__("Your Name","dokan-lite")},domProps:{value:e.subscribe.full_name},on:{input:function(t){t.target.composing||e.$set(e.subscribe,"full_name",t.target.value)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.email,expression:"subscribe.email"}],attrs:{type:"email",placeholder:e.__("Your Email Address","dokan-lite")},domProps:{value:e.subscribe.email},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emailSubscribe()},input:function(t){t.target.composing||e.$set(e.subscribe,"email",t.target.value)}}}),e._v(" "),a("button",{staticClass:"button",on:{click:function(t){return e.emailSubscribe()}}},[e._v(e._s(e.__("Subscribe","dokan-lite")))])])]],2)]):a("div",{staticClass:"loading"},[a("loading")],1)])],1),e._v(" "),a("div",{staticClass:"right-side"},[a("postbox",{staticClass:"overview-chart",attrs:{title:e.__("Overview","dokan-lite")}},[null!==e.report?a("div",[a("chart",{attrs:{data:e.report}})],1):a("div",{staticClass:"loading"},[a("loading")],1)])],1)])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(55),n=a(139),i=!1;var o=function(e){i||a(138)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Withdraw.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"withdraw-requests"},[a("h1",[e._v(e._s(e.__("Withdraw Requests","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),e.showModal?a("modal",{attrs:{title:e.__("Update Note","dokan-lite")},on:{close:function(t){e.showModal=!1}}},[a("template",{slot:"body"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.editing.note,expression:"editing.note"}],attrs:{rows:"3"},domProps:{value:e.editing.note},on:{input:function(t){t.target.composing||e.$set(e.editing,"note",t.target.value)}}})]),e._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"button button-primary button-large",on:{click:function(t){return e.updateNote()}}},[e._v(e._s(e.__("Update Note","dokan-lite")))])])],2):e._e(),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{class:{current:"pending"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{class:{current:"approved"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"approved"}}}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{class:{current:"cancelled"===e.currentStatus},attrs:{to:{name:"Withdraw",query:{status:"cancelled"}}}},[e._v(e._s(e.__("Cancelled","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.cancelled))])]),e._v(" | ")],1)]),e._v(" "),a("list-table",{attrs:{columns:e.columns,rows:e.requests,loading:e.loading,"action-column":e.actionColumn,actions:e.actions,"show-cb":e.showCb,"bulk-actions":e.bulkActions,"not-found":e.notFound,"total-pages":e.totalPages,"total-items":e.totalItems,"per-page":e.perPage,"current-page":e.currentPage,text:e.$root.listTableTexts()},on:{pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction},scopedSlots:e._u([{key:"seller",fn:function(t){return[a("img",{attrs:{src:t.row.user.gravatar,alt:t.row.user.store_name,width:"50"}}),e._v(" "),a("strong",[a("a",{attrs:{href:e.vendorUrl(t.row.user.id)}},[e._v(e._s(t.row.user.store_name?t.row.user.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"vendor",fn:function(t){var s=t.row;return[a("router-link",{attrs:{to:"/vendors/"+s.vendor.id}},[e._v("\n "+e._s(s.vendor.name?s.vendor.name:e.__("(no name)","dokan-lite"))+"\n ")])]}},{key:"amount",fn:function(e){return[a("currency",{attrs:{amount:e.row.amount}})]}},{key:"status",fn:function(t){return[a("span",{class:t.row.status},[e._v(e._s(e._f("capitalize")(t.row.status)))])]}},{key:"created",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_title",fn:function(t){return[a("div",{staticClass:"method_title_inner",domProps:{innerHTML:e._s(e.getPaymentTitle(t.row.method,t.row))}})]}},{key:"method_details",fn:function(t){return[a("div",{staticClass:"method_details_inner",domProps:{innerHTML:e._s(e.getPaymentDetails(t.row.method,t.row.details))}})]}},{key:"actions",fn:function(t){return["pending"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Approve Request","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("approved",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-yes"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Mark as Pending","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("pending",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-backup"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("select",{staticStyle:{width:"190px"},attrs:{id:"filter-vendors","data-placeholder":e.__("Filter by vendor","dokan-lite")}}),e._v(" "),e.filter.user_id?a("button",{staticClass:"button",attrs:{type:"button"},on:{click:function(t){e.filter.user_id=0}}},[e._v("×")]):e._e()])],2)],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(56),n=a(149),i=!1;var o=function(e){i||a(141)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Premium.vue",t.a=r.exports},function(e,t){},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cta-section",style:{"background-image":"url("+e.styles.bgPattern+"), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"}},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.thumbnail,alt:"Dokan Lite"}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h2",[e._v(e._s(e.__("Convinced?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("With all the advance features you get it’s hard to resist buying Dokan Pro.","dokan-lite")))]),e._v(" "),a("a",{staticClass:"btn",attrs:{href:e.url,target:"_blank"}},[e._v("\n "+e._s(e.__("Upgrade to Pro","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-pro-features"},[a("div",{staticClass:"header-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/header-feature-thumb@2x.png",alt:e.__("Upgrade to Dokan Pro!","dokan-lite"),title:e.__("Upgrade to Dokan Pro!","dokan-lite")}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h1",[e._v(e._s(e.__("Upgrade to Dokan Pro!","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Seems To Be Convinced, You Need More Out Of Your Marketplace","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")]),e._v(" "),a("router-link",{staticClass:"button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)]),e._v(" "),a("div",{staticClass:"service-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Why Upgrade","dokan-lite")))]),e._v(" "),a("div",{staticClass:"service-list"},e._l(e.services,function(t){return a("div",{staticClass:"service-box"},[a("div",{staticClass:"service-thumb"},[a("img",{attrs:{src:t.thumbnail,alt:t.title,title:t.title}})]),e._v(" "),a("div",{staticClass:"service-detail"},[a("h3",{staticClass:"title"},[e._v(e._s(t.title))])])])}),0),e._v(" "),a("a",{staticClass:"btn",attrs:{href:"https://wedevs.com/dokan/features/",target:"_blank"}},[e._v("\n "+e._s(e.__("And Many More","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])]),e._v(" "),a("div",{staticClass:"comparison-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Comparison With Dokan PRO","dokan-lite")))]),e._v(" "),a("div",{staticClass:"comparison-area"},[a("div",{staticClass:"compare-box dokan-lite"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-lite-logo@2x.png",alt:"Dokan Lite"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.lite},["available"===t.compare.lite?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)]),e._v(" "),a("div",{staticClass:"compare-box dokan-pro"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-pro-logo@2x.png",alt:"Dokan Pro"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.pro},["available"===t.compare.pro?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)])])]),e._v(" "),a("div",{staticClass:"pricing-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("The Packages We Provide","dokan-lite")))]),e._v(" "),a("div",{staticClass:"pricing-wrapper"},[e._m(0),e._v(" "),e._l(e.modules,function(t){return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"},[a("a",{staticClass:"module-name",attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.title))])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.starter.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.starter.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.starter.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col popular"},["numeric"===t.professional.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.professional.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.professional.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.business.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.business.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.business.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.enterprise.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.enterprise.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.enterprise.value,alt:""}})])])])}),e._v(" "),a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn starter",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("a",{staticClass:"buy-btn professional",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn business",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15315&attribute_pa_license=business",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn enterprise",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])])])],2)]),e._v(" "),a("div",{staticClass:"payment-section"},[a("div",{staticClass:"guarantee-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.payment.guaranteeThumbnail,alt:"Dokan"}})]),e._v(" "),a("div",{staticClass:"guarantee-detail"},[a("h2",[e._v(e._s(e.__("14 Days Money Back Guarantee","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("After successful purchase, you will be eligible for conditional refund","dokan-lite")))]),e._v(" "),a("a",{attrs:{href:e.payment.termsPolicyUrl,target:"_blank"}},[a("img",{attrs:{src:e.payment.viewIcon,alt:"Dokan"}}),e._v(" "+e._s(e.__("Terms & Condition Applied","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"payment-area"},[a("h3",[e._v(e._s(e.__("Payment Options:","dokan-lite")))]),e._v(" "),a("div",{staticClass:"option"},[a("img",{attrs:{src:e.payment.thumbnail,alt:"Credit Card"}})])])]),e._v(" "),a("div",{staticClass:"testimonial-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("People We Have Helped","dokan-lite")))]),e._v(" "),a("div",{staticClass:"testimonial-wrapper"},[a("slick",{ref:"slick",attrs:{options:e.slickOptions}},e._l(e.testimonials,function(t){return a("div",{staticClass:"testimonial-box"},[a("div",{staticClass:"profile-pic"},[a("img",{attrs:{src:t.pic,alt:""}})]),e._v(" "),a("div",{staticClass:"content-detail",style:{"background-image":"url("+e.asstesUrl+"/images/premium/quote-icon.png)"}},[a("h4",[e._v(e._s(t.name))]),e._v(" "),a("span",[e._v(e._s(t.designation))]),e._v(" "),a("p",[e._v(e._s(t.content))])])])}),0)],1),e._v(" "),a("p",{domProps:{innerHTML:e._s(e.sprintf("%s <a href='%s' target='_blank'>%s</a> %s",e.__("We are proud to say the official","dokan-lite"),"https://themes.getbootstrap.com/","Bootstrap theme marketplace",e.__("is built using Dokan","dokan-lite")))}})]),e._v(" "),a("ProCta")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name starter"},[e._v("Starter")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("149")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("div",{staticClass:"plan-name professional"},[e._v("Professional")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("249")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name business"},[e._v("Business")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("499")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name enterprise"},[e._v("Enterprise")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("999")]),e._v(" "),a("span",[e._v("/year")])])])])}]};t.a=n},function(e,t,a){"use strict";var s=a(59),n=a(152),i=!1;var o=function(e){i||a(151)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Help.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[a("h1",[e._v(e._s(e.__("Help","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),null!==e.docs?a("div",{staticClass:"section-wrapper"},e._l(e.docs,function(t,s){return a("postbox",{key:s,attrs:{title:t.title}},[a("ul",e._l(t.questions,function(t){return a("li",[a("span",{staticClass:"dashicons dashicons-media-text"}),e._v(" "),a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[e._v(e._s(t.title))])])}),0)])}),1):a("div",{staticClass:"loading"},[a("loading")],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(60),n=a(155),i=!1;var o=function(e){i||a(154)},r=a(0)(s.a,n.a,!1,o,"data-v-254fdb80",null);r.options.__file="src/admin/pages/ChangeLog.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[a("div",{staticClass:"section-wrapper"},[a("div",{staticClass:"dokan-notice"},[a("h2"),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner")],1),e._v(" "),a("div",{staticClass:"change-log",class:e.hasPro?"pro-change-log":"lite-change-log",attrs:{id:"change-log"}},[a("h3",[e._v(e._s(e.__("Dokan Changelog","dokan-lite")))]),e._v(" "),e.hasPro?a("div",{staticClass:"switch-button-wrap"},[a("transition-group",{attrs:{name:"fade"}},[a("span",{key:1,staticClass:"active",style:e.isActivePackage("pro")?"right: 0":"left: 0"}),e._v(" "),a("button",{key:2,staticClass:"switch-button lite",class:{"active-case":e.isActivePackage("lite")},on:{click:function(t){return e.switchPackage("lite")}}},[e._v(e._s(e.__("Lite","dokan-lite")))]),e._v(" "),a("button",{key:3,staticClass:"switch-button pro",class:{"active-case":e.isActivePackage("pro")},on:{click:function(t){return e.switchPackage("pro")}}},[e._v(e._s(e.__("PRO","dokan-lite")))])])],1):e._e(),e._v(" "),e.loading?a("div",{staticClass:"loading"},[a("loading")],1):a("div",{staticClass:"jump-version"},[a("p",[e._v(e._s(e.__("Jump to version","dokan-lite"))+"... "),a("span",{staticClass:"dashicons dashicons-arrow-down-alt2"})]),e._v(" "),a("div",{staticClass:"version-menu"},[a("div",{staticClass:"version-dropdown"},[a("ul",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("lite"),expression:"isActivePackage( 'lite' )"}]},e._l(e.lite_versions,function(t,s){return a("li",{class:{current:e.isCurrentVersion("lite-"+s)},on:{click:function(t){return e.jumpVersion("lite-"+s)}}},[e._v("\n "+e._s(t.version)+"\n "),0===s?a("span",[e._v("("+e._s(e.__("Latest","dokan-lite"))+")")]):e._e(),e._v(" "),e.isCurrentVersion("lite-"+s)&&0!==s?a("span",[e._v("("+e._s(e.__("Current","dokan-lite"))+")")]):e._e()])}),0),e._v(" "),a("ul",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("pro"),expression:"isActivePackage( 'pro' )"}]},e._l(e.pro_versions,function(t,s){return a("li",{class:{current:e.isCurrentVersion("pro-"+s)},on:{click:function(t){return e.jumpVersion("pro-"+s)}}},[e._v("\n "+e._s(t.version)+"\n "),0===s?a("span",[e._v("("+e._s(e.__("Latest","dokan-lite"))+")")]):e._e(),e._v(" "),e.isCurrentVersion("pro-"+s)&&0!==s?a("span",[e._v("("+e._s(e.__("Current","dokan-lite"))+")")]):e._e()])}),0)])])])]),e._v(" "),a("div",{staticClass:"version-list"},[e._l(e.lite_versions,function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("lite"),expression:"isActivePackage( 'lite' )"}],staticClass:"version",class:0===s?"latest-version":"old-version",attrs:{id:"lite-"+s}},[a("div",{staticClass:"version-number"},[a("h4",[e._v(e._s(t.version))]),e._v(" "),a("p",[e._v(e._s(e.formatReleaseDate(t.released))+" "),0===s?a("label",[e._v(e._s(e.__("Latest","dokan-lite")))]):e._e()])]),e._v(" "),a("div",{staticClass:"card-version",style:e.isCurrentVersion("lite-"+s)?e.activeVersionBorder:""},[a("transition-group",{attrs:{name:"slide",tag:"div"}},e._l(t.changes,function(t,n,i){return 0===s||i<1||e.isOpenVersion("lite-"+s)?a("div",{key:"index-"+i,staticClass:"feature-list"},[a("span",{staticClass:"feature-badge",class:e.badgeClass(n)},[e._v(e._s(n))]),e._v(" "),e._l(t,function(t,n){return 0===s||n<2||e.isOpenVersion("lite-"+s)?a("div",{staticClass:"feature"},[a("h5",[e._v(e._s(t.title))]),e._v(" "),a("div",{domProps:{innerHTML:e._s(t.description)}})]):e._e()})],2):e._e()}),0),e._v(" "),0!==s&&Object.keys(t.changes).length>1?a("div",{staticClass:"continue-reading"},[a("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleReading("lite-"+s)}}},[e._v(e._s(e.isOpenVersion("lite-"+s)?e.__("View Less...","dokan-lite"):e.__("Continue reading...","dokan-lite")))])]):e._e()],1)])}),e._v(" "),e._l(e.pro_versions,function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActivePackage("pro"),expression:"isActivePackage( 'pro' )"}],staticClass:"version",class:0===s?"latest-version":"old-version",attrs:{id:"pro-"+s}},[a("div",{staticClass:"version-number"},[a("h4",[e._v(e._s(t.version))]),e._v(" "),a("p",[e._v(e._s(e.formatReleaseDate(t.released))+" "),0===s?a("label",[e._v(e._s(e.__("Latest","dokan-lite")))]):e._e()])]),e._v(" "),a("div",{staticClass:"card-version",style:e.isCurrentVersion("pro-"+s)?e.activeVersionBorder:""},[a("transition-group",{attrs:{name:"slide",tag:"div"}},e._l(t.changes,function(t,n,i){return 0===s||i<1||e.isOpenVersion("pro-"+s)?a("div",{key:"index-"+i,staticClass:"feature-list"},[a("span",{staticClass:"feature-badge",class:e.badgeClass(n)},[e._v(e._s(n))]),e._v(" "),e._l(t,function(t,n){return 0===s||n<2||e.isOpenVersion("pro-"+s)?a("div",{staticClass:"feature"},[a("h5",[e._v(e._s(t.title))]),e._v(" "),a("div",{domProps:{innerHTML:e._s(t.description)}})]):e._e()})],2):e._e()}),0),e._v(" "),0!==s&&Object.keys(t.changes).length>1?a("div",{staticClass:"continue-reading"},[a("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.toggleReading("pro-"+s)}}},[e._v(e._s(e.isOpenVersion("pro-"+s)?e.__("View Less...","dokan-lite"):e.__("Continue reading...","dokan-lite")))])]):e._e()],1)])})],2)]),e._v(" "),a("button",{staticClass:"scroll-to-top",style:e.scrollPosition>300?"opacity: 1; visibility: visible":"",on:{click:e.scrollTop}},[a("span",{staticClass:"dashicons dashicons-arrow-up-alt"})])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(61),n=a(193),i=!1;var o=function(e){i||a(157)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Settings.vue",t.a=r.exports},function(e,t){},,function(e,t,a){"use strict";var s=a(62),n=a(189),i=!1;var o=function(e){i||a(160)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Fields.vue",t.a=r.exports},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var s=a(73),n=a(186),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/SocialFields.vue",t.a=i.exports},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("fieldset",[a("div",{staticClass:"html_contents"},[a("h3",{staticClass:"field_heading",attrs:{scope:"row"}},[e._v("\n "+e._s(e.fieldData.label)+"\n "),e.fieldData.tooltip?a("span",[a("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fieldData.tooltip,expression:"fieldData.tooltip"}],staticClass:"dashicons dashicons-editor-help tips",attrs:{title:e.fieldData.tooltip}})]):e._e()]),e._v(" "),a("p",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})]),e._v(" "),e.fieldData.url||"html"!==e.fieldData.type?a("div",{staticClass:"fields",class:["radio"===e.fieldData.type?"radio_fields":""]},[e.fieldData.url?a("input",{staticClass:"regular-text large",attrs:{disabled:"",type:"text"},domProps:{value:e.fieldData.url}}):e._e(),e._v(" "),"checkbox"===e.fieldData.type&&"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===e.fieldData.type&&"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):"text"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text large",attrs:{type:e.fieldData.type},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}):e._e(),e._v(" "),"textarea"===e.fieldData.type?a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"large",domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}):e._e(),e._v(" "),"radio"===e.fieldData.type?e._l(e.fieldData.options,function(t,s){return a("label",{key:s,class:e.isSocialOptionChecked(s)?"checked":""},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "),"checkbox"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:"checkbox"},domProps:{value:s,checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],s)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],n=t.target,i=!!n.checked;if(Array.isArray(a)){var o=s,r=e._i(a,o);n.checked?r<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([o])):r>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,r).concat(a.slice(r+1)))}else e.$set(e.fieldValue,e.fieldData.name,i)}}}):"radio"===e.fieldData.type?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:"radio"},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{name:s,type:e.fieldData.type},domProps:{value:s,value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v("\n "+e._s(t)+"\n ")])}):e._e()],2):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(74),n=a(188),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/FieldHeading.vue",t.a=i.exports},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"field_data"},[a("h3",{staticClass:"field_heading",attrs:{scope:"row"}},[e._v("\n "+e._s(e.fieldData.label)+"\n "),e.fieldData.icon_class?a("span"):e._e(),e._v(" "),e.fieldData.tooltip||e.fieldData.field_icon?a("span",[a("i",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.fieldData.tooltip?e.fieldData.tooltip:e.fieldData.field_icon,expression:"fieldData.tooltip ? fieldData.tooltip : fieldData.field_icon"}],staticClass:"tips",class:[{"dashicons dashicons-editor-help":e.fieldData.tooltip},{"fas fa-exclamation-triangle":e.fieldData.field_icon}],attrs:{title:e.fieldData.tooltip?e.fieldData.tooltip:e.fieldData.field_icon}})]):e._e()]),e._v(" "),a("p",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.shouldShow?a("div",{class:[e.id,"dokan-settings-field-type-"+e.fieldData.type]},["sub_section"===e.fieldData.type?[a("div",{staticClass:"dokan-settings-sub-section",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("h3",{staticClass:"sub-section-title"},[e._v(e._s(e.fieldData.label))]),e._v(" "),a("p",{staticClass:"sub-section-description"},[e._v("\n "+e._s(e.fieldData.description)+"\n ")])])]:e._e(),e._v(" "),e.containCommonFields(e.fieldData.type)?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},["checkbox"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:e.fieldData.type||"text"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"number"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:[{"dokan-input-validation-error":e.hasValidationError(e.fieldData.name)},e.fieldData.class],attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"price"===e.fieldData.type&&e.allSettingsValues.dokan_selling&&"combine"!==e.allSettingsValues.dokan_selling.commission_type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",class:{wc_input_decimal:"percentage"==e.allSettingsValues.dokan_selling.commission_type,wc_input_price:"flat"==e.allSettingsValues.dokan_selling.commission_type},attrs:{type:"text",min:e.fieldData.min,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"combine"===e.fieldData.type&&e.haveCondition(e.fieldData)&&"show"==e.fieldData.condition.type&&e.checkConditionLogic(e.fieldData,e.fieldValue)?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field combine_fields"},[a("div",{staticClass:"percent_fee"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.percent_fee.name],expression:"fieldValue[fieldData.fields.percent_fee.name]"}],staticClass:"wc_input_decimal regular-text medium",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][percent_fee]",name:e.sectionId+"["+e.fieldData.fields.percent_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.percent_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.percent_fee.name,t.target.value)}}}),e._v("\n "+e._s("%")+"\n ")]),e._v(" "),a("div",{staticClass:"fixed_fee"},[e._v("\n "+e._s("+")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.fixed_fee.name],expression:"fieldValue[fieldData.fields.fixed_fee.name]"}],staticClass:"wc_input_price regular-text medium",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][fixed_fee]",name:e.sectionId+"["+e.fieldData.fields.fixed_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.fixed_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.fixed_fee.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.fields.percent_fee.name)&&e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.__("Both percentage and fixed fee is required.","dokan-lite"))+"\n ")]):e.hasError(e.fieldData.fields.percent_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.percent_fee.label))+"\n ")]):e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.fixed_fee.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"textarea"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"switcher"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("switches",{attrs:{enabled:"on"===e.checked,value:"isChecked"},on:{input:e.onToggleSwitch}})],1)])],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"multicheck"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field multicheck_fields"},[e._l(e.fieldData.options,function(t,s){return[a("div",{key:s},[e._v("\n "+e._s(t)+"\n "),a("switches",{attrs:{enabled:e.isSwitchOptionChecked(s),value:s},on:{input:e.setCheckedValue}})],1)]})],2)],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"select"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular medium",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:"",disabled:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("optgroup",{key:s,attrs:{label:t.group_label}},e._l(t.group_values,function(t,s){return a("option",{key:s,domProps:{value:t.value,innerHTML:e._s(t.label)}})}),0)})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular medium",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("option",{key:s,domProps:{value:s,innerHTML:e._s(t)}})})],2),e._v(" "),e.fieldData.refresh_options?a("RefreshSettingOptions",{attrs:{field:e.fieldData,section:e.sectionId,"toggle-loading-state":e.toggleLoadingState}}):e._e()],1)],1),e._v(" "),e.hasValidationError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getValidationErrorMessage(e.fieldData.name))+"\n ")]):e._e()])]:e._e(),e._v(" "),"file"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field add_files"},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){return t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text medium wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}})])])],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"color"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field"},[a("color-picker",{attrs:{itemKey:e.fieldData.name,customData:e.singleColorPicker},on:{"custom-change":function(t){return e.setCustomColor(t,e.fieldData.name)},toggleColorPicker:e.toggleColorPicker},model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}})],1)],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"html"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"warning"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("div",{staticClass:"field_data"},[a("h3",{staticClass:"field_heading dokan-setting-warning error",attrs:{scope:"row"}},[a("span",{staticClass:"dokan-setting-warning-label"},[a("span",{staticClass:"dashicons dashicons-warning"}),e._v("\n "+e._s(e.fieldData.label)+"\n ")]),e._v(" "),a("span",{staticClass:"field_desc",domProps:{innerHTML:e._s(e.fieldData.desc)}})])])])])]:e._e(),e._v(" "),"radio"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field radio_fields"},[e._l(e.fieldData.options,function(t,s){return[a("label",{key:s,class:e.isSwitchOptionChecked(s)?"checked":"",attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:s,id:e.sectionId+"["+e.fieldData.name+"]["+s+"]"},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v("\n "+e._s(t)+"\n ")])]})],2)],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])]:e._e(),e._v(" "),"wpeditor"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field editor_field"},[a("text-editor",{domProps:{innerHTML:e._s(e.fieldData.default)},model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}})],1)])]:e._e(),e._v(" "),"repeatable"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}}),e._v(" "),a("div",{staticClass:"field repeatable_fields"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text medium",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button dokan-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[a("span",{staticClass:"dashicons dashicons-plus-alt2"})])])],1),e._v(" "),a("ul",{staticClass:"dokan-settings-repeatable-list"},[e._l(e.fieldValue[e.fieldData.name],function(t,s){return[e.fieldValue[e.fieldData.name]?a("li",{key:s},[e._v("\n "+e._s(t.value)+"\n "),t.must_use?e._e():a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}}),e._v(" "),a("span",{staticClass:"repeatable-item-description",domProps:{innerHTML:e._s(t.desc)}})]):e._e()]})],2)])]:e._e(),e._v(" "),"radio_image"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field radio-image-container"},[e._l(e.fieldData.options,function(t,s){return[a("label",{key:s,staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===s,"not-active":e.fieldValue[e.fieldData.name]!==s}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v("\n "+e._s(e.__("Active","dokan-lite"))+"\n ")]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=s}}},[e._v("\n "+e._s(e.__("Select","dokan-lite"))+"\n ")])])])]})],2)])]:e._e(),e._v(" "),"gmap"!==e.fieldData.type||e.hideMap?e._e():[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field gmap-field"},[a("input",{attrs:{type:"hidden",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.mapLocation}}),e._v(" "),"mapbox"===e.mapApiSource?a("Mapbox",{attrs:{width:"100%",height:"300px",location:e.mapLocation,accessToken:e.mapboxAccessToken},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}):a("GoogleMaps",{attrs:{location:e.mapLocation,apiKey:e.googleMapApiKey},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}})],1),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e()])],e._v(" "),"social"===e.fieldData.type?[a("div",{staticClass:"field_contents",class:[e.fieldData.content_class?e.fieldData.content_class:""]},[a("fieldset",[a("FieldHeading",{attrs:{fieldData:e.fieldData}})],1),e._v(" "),a("div",{staticClass:"field scl_fields"},[a("div",{staticClass:"scl_header"},[a("div",{staticClass:"scl_contents"},[a("div",{staticClass:"scl_icon"},[a("img",{attrs:{src:e.fieldData.icon_url,alt:e.fieldData.label}})]),e._v(" "),a("p",{staticClass:"scl_desc"},[e._v(e._s(e.fieldData.social_desc))])]),e._v(" "),a("div",{staticClass:"expand_btn",on:{click:e.expandSocial}},[a("span",{staticClass:"dashicons",class:[this.expandSocials?"dashicons-arrow-up-alt2":"dashicons-arrow-down-alt2"]})])]),e._v(" "),e._l(e.fieldData,function(t,s){return[e.expandSocials&&t.social_field?a("div",{key:s,staticClass:"scl_info"},[a("div",{class:[{scl_html:"html"===t.type},{scl_text:"html"!==t.type},t.content_class?t.content_class:""]},[a("SocialFields",{attrs:{fieldData:t,fieldValue:e.fieldValue}})],1)]):e._e()]})],2)])]:e._e(),e._v(" "),e.customFieldComponents?e._l(e.customFieldComponents,function(t,s){return a(t,{key:s,tag:"component",attrs:{sectionId:e.sectionId,fieldData:e.fieldData,fieldValue:e.fieldValue,assetsUrl:e.dokanAssetsUrl,validationErrors:e.validationErrors,toggleLoadingState:e.toggleLoadingState},on:{"some-event":e.thisSomeEvent}})}):e._e()],2):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(75),n=a(192),i=!1;var o=function(e){i||a(191)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/SettingsBanner.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-settings-banner"}},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Settings Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("h1",[e._v(e._s(e.__("Looking for Coupons, Variable Products, SEO or Shipping?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Unlock these awesome frontend features with Dokan PRO","dokan-lite")))]),e._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("router-link",{staticClass:"button custom-button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"dokan-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","dokan-lite")))]),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","dokan-lite")))])])]):e._e(),e._v(" "),a("div",{ref:"settingsWrapper",staticClass:"dokan-settings-wrap"},[a("div",{staticClass:"nav-tab-wrapper"},[a("div",{staticClass:"nab-section"},[a("div",{staticClass:"search-box"},[a("label",{staticClass:"dashicons dashicons-search",attrs:{for:"dokan-admin-search"}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],ref:"searchInSettings",staticClass:"dokan-admin-search-settings",attrs:{type:"text",id:"dokan-admin-search",placeholder:e.__("Search e.g. vendor","dokan-lite")},domProps:{value:e.searchText},on:{input:[function(t){t.target.composing||(e.searchText=t.target.value)},e.searchInSettings]}}),e._v(" "),""!==e.searchText?a("span",{staticClass:"dashicons dashicons-no-alt",on:{click:function(t){return t.preventDefault(),e.clearSearch.apply(null,arguments)}}}):e._e()]),e._v(" "),e._l(e.settingSections,function(t){return[a("div",{key:t.id,class:["nav-tab",e.currentTab===t.id?"nav-tab-active":""],on:{click:function(a){return a.preventDefault(),e.changeTab(t)}}},[a("img",{attrs:{src:t.icon_url,alt:t.settings_title}}),e._v(" "),a("div",{staticClass:"nav-content"},[a("div",{staticClass:"nav-title"},[e._v(e._s(t.title))]),e._v(" "),a("div",{staticClass:"nav-description"},[e._v(e._s(t.description))])])])]})],2)]),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingSections,function(t){return e.currentTab===t.id?a("fieldset",{staticClass:"settings-header"},[a("div",{staticClass:"settings-content"},[a("h2",{staticClass:"settings-title"},[e._v(e._s(t.settings_title))]),e._v(" "),a("p",{staticClass:"settings-description"},[e._v(e._s(t.settings_description))])]),e._v(" "),t.document_link?a("div",{staticClass:"settings-document-button"},[a("a",{staticClass:"doc-link",attrs:{href:t.document_link,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan-lite")))])]):e._e()]):e._e()}),e._v(" "),e._l(e.settingFields,function(t,s){return e.isLoaded?[e.currentTab===s?a("div",{key:s,staticClass:"group",attrs:{id:s}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:s}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("div",{staticClass:"form-table"},[a("div",{staticClass:"dokan-settings-fields"},e._l(t,function(t,n){return a("Fields",{key:n,attrs:{"section-id":s,id:n,"field-data":t,"field-value":e.settingValues[s],"all-settings-values":e.settingValues,errors:e.errors,validationErrors:e.validationErrors,"toggle-loading-state":e.toggleLoadingState,dokanAssetsUrl:e.dokanAssetsUrl},on:{openMedia:e.showMedia}})}),1)]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit",value:"Save Changes"},on:{click:function(t){return t.preventDefault(),e.saveSettings(e.settingValues[s],s)}}})])])]):e._e()]:e._e()}),e._v(" "),a("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.__("Back to top","dokan-lite"),expression:"__( 'Back to top', 'dokan-lite' )"}],ref:"backToTop",staticClass:"back-to-top tips",attrs:{title:e.__("Back to top","dokan-lite")},on:{click:e.scrollToTop}},[a("img",{attrs:{src:e.dokanAssetsUrl+"/images/up-arrow.svg",alt:e.__("Dokan Back to Top Button","dokan-lite")}})])],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e()])],1),e._v(" "),e.hasPro?e._e():a("SettingsBanner")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(76),n=a(199),i=!1;var o=function(e){i||a(195)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Vendors.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(77),n=a(198),i=!1;var o=function(e){i||a(197)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/AddVendor.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-vendor-edit"},[a("modal",{attrs:{title:e.title,width:"800px"},on:{close:e.closeModal}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("div",{staticClass:"tab-header"},[a("ul",{staticClass:"tab-list"},e._l(e.tabs,function(t,s){return a("li",{key:s,class:{"tab-title":!0,active:e.currentTab===t.name,last:"VendorPaymentFields"===t.name}},[a("div",{staticClass:"tab-link"},[a("a",{class:{first:"VendorAccountFields"===t.name},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.currentTab=t.name}}},[a("span",{class:[t.icon]}),e._v("\n "+e._s(t.label)+"\n ")])])])}),0)]),e._v(" "),e.currentTab?a("div",{staticClass:"tab-contents"},[e.isLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),e.isLoading?e._e():a("transition",{attrs:{name:"component-fade",mode:"out-in"}},[a(e.currentTab,{tag:"component",attrs:{vendorInfo:e.store,errors:e.errors}})],1)],1):e._e()]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("button",{staticClass:"button button-primary button-hero",on:{click:e.createVendor}},[e._v(e._s("VendorPaymentFields"===e.currentTab?e.__("Create Vendor","dokan-lite"):this.nextBtn))])])])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"vendor-list"},[a("h1",{staticClass:"wp-heading-inline"},[e._v(e._s(e.__("Vendors","dokan-lite")))]),e._v(" "),a("button",{staticClass:"page-title-action",on:{click:function(t){return e.addNew()}}},[e._v(e._s(e.__("Add New","dokan-lite")))]),e._v(" "),e._l(e.dokanVendorHeaderArea,function(e,t){return a(e,{key:t,tag:"component"})}),e._v(" "),a("AdminNotice"),e._v(" "),e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("All","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.all))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1)]),e._v(" "),a("search",{attrs:{title:e.__("Search Vendors","dokan-lite")},on:{searched:e.doSearch}}),e._v(" "),a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.vendors,actions:e.actions,actionColumn:"store_name","show-cb":e.showCb,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.currentPage,"action-column":e.actionColumn,"not-found":"No vendors found.","sort-by":e.sortBy,"sort-order":e.sortOrder,text:e.$root.listTableTexts()},on:{sort:e.sortCallback,pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction,searched:e.doSearch},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("img",{attrs:{src:t.row.gravatar,alt:t.row.store_name,width:"50"}}),e._v(" "),a("strong",[e.hasPro?a("router-link",{attrs:{to:"/vendors/"+t.row.id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])],1)]}},{key:"email",fn:function(t){return[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])]}},{key:"categories",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.categories.map(function(e){return e.name}).join(", "))+"\n ")]}},{key:"registered",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.registered).format("MMM D, YYYY"))+"\n ")]}},{key:"enabled",fn:function(t){return[a("switches",{attrs:{enabled:t.row.enabled,value:t.row.id},on:{input:e.onSwitch}})]}},{key:"row-actions",fn:function(t){return e._l(e.actions,function(s,n){return a("span",{class:s.key},[e.hasPro&&"edit"==s.key?a("router-link",{attrs:{to:{path:"vendors/"+t.row.id,query:{edit:"true"}}}},[e._v(e._s(s.label))]):e.hasPro||"edit"!=s.key?"products"==s.key?a("a",{attrs:{href:e.productUrl(t.row.id)}},[e._v(e._s(s.label))]):"orders"==s.key?a("a",{attrs:{href:e.ordersUrl(t.row.id)}},[e._v(e._s(s.label))]):"switch_to"==s.key?a("a",{attrs:{href:e.switchToUrl(t.row)}},[e._v(e._s(s.label))]):a("a",{attrs:{href:"#"}},[e._v(e._s(s.label))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(s.label))]),e._v(" "),n!==e.actions.length-1?[e._v(" | ")]:e._e()],2)})}},{key:"filters",fn:function(t){return e._l(e.dokanVendorFilterSectionStart,function(t,s){return a(t,{key:s,tag:"component",on:{updateVendorComponent:e.updateVendorComponent}})})}}])}),e._v(" "),e.loadAddVendor?a("add-vendor",{attrs:{"vendor-id":e.vendorId}}):e._e()],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(78),n=a(202),i=!1;var o=function(e){i||a(201)},r=a(0)(s.a,n.a,!1,o,"data-v-33b27104",null);r.options.__file="src/admin/pages/DummyData.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h1",[e._v(e._s(e.__("Import dummy data","dokan-lite")))]),e._v(" "),e.statusLoader?a("div",{staticClass:"dokan-importer-wrapper"},[e._m(0)]):a("div",{staticClass:"dokan-importer-wrapper"},[a("ol",{staticClass:"dokan-importer-progress-steps"},[a("li",{staticClass:"active"},[e._v(e._s(e.__("Import","dokan-lite")))]),e._v(" "),a("li",{class:e.done?"active":""},[e._v(e._s(e.__("Done!","dokan-lite")))])]),e._v(" "),""!=e.errorMsg?a("div",{staticClass:"error inline"},[a("p",[e._v(e._s(e.errorMsg))])]):e._e(),e._v(" "),e.done?a("div",{staticClass:"dokan-importer"},[a("section",{staticClass:"import-done"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"100",height:"100"}},[a("path",{attrs:{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z",fill:"#1BAC9E"}})]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("Import complete!","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"links"},[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},exact:""}},[e._v(e._s(e.__("View vendors","dokan-lite")))]),e._v("\n  \n "),a("a",{attrs:{href:e.getProductsPageUrl()}},[e._v(e._s(e.__("View products","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"dokan-importer-action"},[a("button",{staticClass:"cancel-btn dokan-import-continue-btn",class:e.loading?"is-busy":"",attrs:{disabled:e.loading},on:{click:e.clearAllDummyData}},[e._v(e._s(e.__("Clear dummy data","dokan-lite")))])])]):a("div",{staticClass:"dokan-importer"},[a("header",[a("h2",[e._v(e._s(e.__("Import dummy vendors and products","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("This tool allows you to import vendor and some products for vendors to your marketplace.","dokan-lite")))])]),e._v(" "),a("section",[a("div",[a("progress",{staticClass:"dokan-dummy-data-progress-bar",attrs:{max:"100"},domProps:{value:e.progress}})])]),e._v(" "),a("div",{staticClass:"dokan-importer-action"},[a("button",{staticClass:"dokan-import-continue-btn",class:e.loading?"is-loading":"",attrs:{disabled:e.loading},on:{click:e.importBtnHandler}},[e._v(e._s(e.__("Run the importer","dokan-lite")))])])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dokan-importer"},[t("header",[t("span",{staticClass:"loader-title skeleton-loader"}),this._v(" "),t("span",{staticClass:"loader-description skeleton-loader"})]),this._v(" "),t("section",[t("div",[t("span",{staticClass:"loader-loader skeleton-loader"})])]),this._v(" "),t("div",{staticClass:"dokan-importer-action"},[t("span",{staticClass:"loader-btn skeleton-loader"})])])}]};t.a=n},function(e,t,a){"use strict";var s=a(80),n=a(205),i=!1;var o=function(e){i||a(204)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorCapabilities.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-vendor-capabilities"}},[a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")])])]),e._v(" "),a("div",{staticClass:"grid"},e._l(e.capabilityCards,function(t){return a("div",{staticClass:"col-6"},[a("div",{staticClass:"capability-card"},[a("div",{staticClass:"capability-image"},[a("img",{staticClass:"image",attrs:{src:t.image,alt:e.__("Dokan Capability","dokan-lite")}}),e._v(" "),a("div",{staticClass:"middle"},[a("div",{staticClass:"zoom",on:{click:function(a){return e.openPopup(t.image)}}},[a("div",{staticClass:"dashicons dashicons-search"})])])]),e._v(" "),a("p",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"content"},[e._v(e._s(t.content))])])])}),0),e._v(" "),a("ProCta"),e._v(" "),e.showPopup?a("div",{attrs:{id:"dokan-capability-image-popup"},on:{click:e.closePopup}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("img",{attrs:{src:this.selectedCapabilityImage,alt:e.__("Dokan Capability","dokan-lite")}})])])]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(81),n=a(211),i=!1;var o=function(e){i||a(207)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ProModules.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(82),n=a(210),i=!1;var o=function(e){i||a(209)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ModuleUpgradePopup.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-upgrade-to-pro-wrapper"}},[e.showPopup?a("div",{attrs:{id:"dokan-upgrade-popup"},on:{click:function(t){return t.target!==t.currentTarget?null:e.closePopup.apply(null,arguments)}}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("svg",{attrs:{width:"128",height:"109",viewBox:"0 0 128 109",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M127.502 37.5077C127.406 37.2181 127.141 37.0125 126.827 36.9851L122.568 36.6104L120.884 32.7907C120.76 32.5108 120.477 32.3296 120.163 32.3296C119.848 32.3296 119.566 32.5108 119.441 32.7914L117.757 36.6104L113.497 36.9851C113.184 37.0132 112.92 37.2181 112.823 37.5077C112.726 37.7972 112.815 38.1148 113.052 38.315L116.272 41.0508L115.322 45.1028C115.253 45.4008 115.372 45.7087 115.627 45.8874C115.764 45.9834 115.925 46.0323 116.087 46.0323C116.226 46.0323 116.364 45.9959 116.489 45.9239L120.163 43.7962L123.835 45.9239C124.104 46.0805 124.443 46.0662 124.697 45.8874C124.953 45.7082 125.072 45.4001 125.002 45.1028L124.053 41.0508L127.272 38.3155C127.509 38.1148 127.6 37.7978 127.502 37.5077Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M16.8209 38.1758C16.7105 37.8194 16.4076 37.5663 16.0492 37.5326L11.1816 37.0714L9.25677 32.3703C9.11485 32.0258 8.79162 31.8027 8.4325 31.8027C8.07338 31.8027 7.75015 32.0258 7.60823 32.3711L5.68343 37.0714L0.815005 37.5326C0.457297 37.5671 0.155176 37.8194 0.0441323 38.1758C-0.0669114 38.5321 0.0356399 38.923 0.306237 39.1693L3.98561 42.5365L2.90064 47.5236C2.82125 47.8903 2.95765 48.2694 3.24922 48.4893C3.40594 48.6074 3.5893 48.6676 3.7742 48.6676C3.93362 48.6676 4.09176 48.6228 4.23368 48.5341L8.4325 45.9155L12.6298 48.5341C12.9369 48.7269 13.3241 48.7094 13.615 48.4893C13.9067 48.2687 14.043 47.8895 13.9636 47.5236L12.8786 42.5365L16.558 39.17C16.8286 38.923 16.9319 38.5328 16.8209 38.1758Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M110.124 10.7456C110.062 10.5674 109.891 10.4409 109.69 10.424L106.952 10.1934L105.869 7.84286C105.789 7.67059 105.607 7.55908 105.405 7.55908C105.203 7.55908 105.022 7.67059 104.942 7.84326L103.859 10.1934L101.121 10.424C100.919 10.4413 100.749 10.5674 100.687 10.7456C100.624 10.9238 100.682 11.1192 100.834 11.2424L102.904 12.926L102.294 15.4195C102.249 15.6029 102.326 15.7924 102.49 15.9024C102.578 15.9614 102.681 15.9915 102.785 15.9915C102.875 15.9915 102.964 15.9691 103.044 15.9248L105.405 14.6155L107.766 15.9248C107.939 16.0212 108.157 16.0124 108.321 15.9024C108.485 15.7921 108.561 15.6025 108.517 15.4195L107.906 12.926L109.976 11.2427C110.128 11.1192 110.186 10.9241 110.124 10.7456Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M34.2322 8.63769C34.1701 8.45951 33.9998 8.33297 33.7982 8.31612L31.0601 8.08551L29.9774 5.73495C29.8976 5.56268 29.7158 5.45117 29.5138 5.45117C29.3118 5.45117 29.13 5.56268 29.0501 5.73535L27.9674 8.08551L25.2289 8.31612C25.0277 8.33337 24.8578 8.45951 24.7953 8.63769C24.7329 8.81586 24.7906 9.01129 24.9428 9.13448L27.0124 10.8181L26.4021 13.3116C26.3575 13.495 26.4342 13.6845 26.5982 13.7945C26.6863 13.8535 26.7895 13.8836 26.8935 13.8836C26.9832 13.8836 27.0721 13.8612 27.152 13.8169L29.5138 12.5076L31.8748 13.8169C32.0475 13.9133 32.2653 13.9045 32.429 13.7945C32.593 13.6842 32.6697 13.4946 32.625 13.3116L32.0147 10.8181L34.0844 9.13481C34.2366 9.01129 34.2947 8.8162 34.2322 8.63769Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M36.3471 79.5168C36.3023 79.3832 36.1792 79.2883 36.0337 79.2757L34.0562 79.1027L33.2742 77.3398C33.2166 77.2106 33.0853 77.127 32.9394 77.127C32.7935 77.127 32.6622 77.2106 32.6045 77.3401L31.8226 79.1027L29.8448 79.2757C29.6994 79.2886 29.5767 79.3832 29.5316 79.5168C29.4865 79.6505 29.5282 79.797 29.6381 79.8894L31.1328 81.1521L30.6921 83.0223C30.6598 83.1598 30.7152 83.3019 30.8337 83.3844C30.8973 83.4287 30.9718 83.4513 31.0469 83.4513C31.1117 83.4513 31.1759 83.4345 31.2336 83.4012L32.9394 82.4192L34.6445 83.4012C34.7693 83.4735 34.9266 83.4669 35.0448 83.3844C35.1633 83.3017 35.2186 83.1595 35.1864 83.0223L34.7456 81.1521L36.2404 79.8897C36.3503 79.797 36.3923 79.6507 36.3471 79.5168Z",fill:"#FFC107"}}),e._v(" "),a("path",{attrs:{d:"M115.928 67.9221C115.883 67.7885 115.76 67.6936 115.615 67.6809L113.637 67.508L112.855 65.7451C112.798 65.6159 112.666 65.5322 112.52 65.5322C112.375 65.5322 112.243 65.6159 112.186 65.7454L111.404 67.508L109.426 67.6809C109.281 67.6939 109.158 67.7885 109.113 67.9221C109.068 68.0557 109.109 68.2023 109.219 68.2947L110.714 69.5574L110.273 71.4276C110.241 71.5651 110.296 71.7072 110.415 71.7897C110.478 71.834 110.553 71.8566 110.628 71.8566C110.693 71.8566 110.757 71.8397 110.815 71.8065L112.52 70.8245L114.226 71.8065C114.35 71.8788 114.508 71.8722 114.626 71.7897C114.744 71.707 114.8 71.5648 114.767 71.4276L114.327 69.5574L115.821 68.295C115.931 68.2023 115.973 68.056 115.928 67.9221Z",fill:"#FFC107"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter0_d_1098_419)"}},[a("circle",{attrs:{cx:"65.5727",cy:"47.0224",r:"35.0473",fill:"url(#paint0_linear_1098_419)"}})]),e._v(" "),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M73.2509 40.3179C73.2509 35.8737 69.6482 32.271 65.204 32.271C60.7598 32.271 57.1571 35.8737 57.1571 40.3179V44.2984H56.5271C54.9772 44.2984 53.7207 45.5549 53.7207 47.1048V58.5595C53.7207 60.1094 54.9772 61.3659 56.5271 61.3659H74.11C75.6599 61.3659 76.9164 60.1094 76.9164 58.5595V47.1048C76.9164 45.5549 75.6599 44.2984 74.11 44.2984H59.3335V40.4324L59.3345 40.3196C59.3947 37.1295 61.9995 34.5619 65.204 34.5619C68.4462 34.5619 71.0745 37.1902 71.0745 40.4324L71.0745 40.5756H73.2509V40.3179ZM65.3185 50.9994C66.4098 50.9994 67.2944 51.884 67.2944 52.9753C67.2944 53.9393 66.6042 54.742 65.6909 54.9162L65.6908 57.7863C65.6908 57.9919 65.5241 58.1585 65.3185 58.1585C65.1129 58.1585 64.9462 57.9919 64.9462 57.7863L64.9464 54.9163C64.033 54.7422 63.3426 53.9394 63.3426 52.9753C63.3426 51.884 64.2272 50.9994 65.3185 50.9994Z",fill:"white"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_1098_419",x:"11.5524",y:"0.90753",width:"108.041",height:"108.041",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"7.90541"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"9.48649"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.743854 0 0 0 0 0.925 0 0 0 0 0.850411 0 0 0 1 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1098_419"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1098_419",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_1098_419",x1:"65.5727",y1:"11.9751",x2:"65.5727",y2:"82.0697",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#01CB70"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#1CE385"}})],1)],1)]),e._v(" "),a("p",{staticClass:"unlock"},[e._v(e._s(e.__("Unlock","dokan-lite")))]),e._v(" "),a("h1",[e._v(e._s(e.__("20+ Modules","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-brand"},[e._v(e._s(e.__("with Dokan Premium Plans","dokan-lite")))]),e._v(" "),a("p",{staticClass:"upgrade-text",domProps:{innerHTML:e._s(e.sprintf(e.__("We’re sorry %s Dokan Modules are not available on %s. Please upgrade to a PRO plan to unlock the modules of your choice.","dokan-lite"),"<br>","<strong>Dokan Lite</strong>"))}}),e._v(" "),a("a",{staticClass:"upgrade-button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("div",{staticClass:"promo-card"},[a("svg",{attrs:{width:"318",height:"181",viewBox:"0 0 318 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("rect",{attrs:{width:"318",height:"181",rx:"10",fill:"url(#paint0_linear_1061_678)"}}),e._v(" "),a("path",{attrs:{d:"M69.7623 78.1796C19.6582 89.3268 8.33272 60.917 0 47.3061V10C0 4.47715 4.47714 0 9.99999 0H308C313.523 0 318 4.47716 318 10V122C287.77 58.7592 226.42 82.2094 166.516 91.1265C119.684 98.098 114.527 68.2204 69.7623 78.1796Z",fill:"#7867FF","fill-opacity":"0.1"}}),e._v(" "),a("path",{attrs:{d:"M50.6582 112H54.5068C56.6055 112 57.8496 110.968 57.8496 109.238V109.225C57.8496 107.926 56.9951 107.003 55.6484 106.832V106.723C56.5986 106.552 57.3506 105.622 57.3506 104.604V104.59C57.3506 103.086 56.2432 102.136 54.4316 102.136H50.6582V112ZM54.1719 103.223C55.3955 103.223 56.1064 103.804 56.1064 104.802V104.815C56.1064 105.854 55.3477 106.388 53.8574 106.388H51.8887V103.223H54.1719ZM54.2061 107.447C55.7783 107.447 56.585 108.028 56.585 109.163V109.177C56.585 110.312 55.8057 110.913 54.3223 110.913H51.8887V107.447H54.2061ZM62.7373 112.13C64.8359 112.13 66.1348 110.681 66.1348 108.322V108.309C66.1348 105.943 64.8359 104.501 62.7373 104.501C60.6387 104.501 59.3398 105.943 59.3398 108.309V108.322C59.3398 110.681 60.6387 112.13 62.7373 112.13ZM62.7373 111.077C61.3428 111.077 60.5566 110.059 60.5566 108.322V108.309C60.5566 106.565 61.3428 105.554 62.7373 105.554C64.1318 105.554 64.918 106.565 64.918 108.309V108.322C64.918 110.059 64.1318 111.077 62.7373 111.077ZM67.9805 112H69.1699V107.639C69.1699 106.347 69.915 105.554 71.0908 105.554C72.2666 105.554 72.8135 106.189 72.8135 107.516V112H74.0029V107.229C74.0029 105.479 73.0801 104.501 71.4258 104.501C70.3389 104.501 69.6484 104.959 69.2793 105.738H69.1699V104.631H67.9805V112ZM78.624 112.13C79.7041 112.13 80.4492 111.686 80.8115 110.899H80.9209V112H82.1104V104.631H80.9209V108.992C80.9209 110.284 80.2305 111.077 78.9316 111.077C77.7559 111.077 77.2773 110.441 77.2773 109.115V104.631H76.0879V109.402C76.0879 111.146 76.9492 112.13 78.624 112.13ZM86.8613 112.13C88.5361 112.13 89.8145 111.221 89.8145 109.908V109.895C89.8145 108.842 89.1445 108.24 87.7568 107.905L86.6221 107.632C85.7539 107.42 85.3848 107.105 85.3848 106.606V106.593C85.3848 105.943 86.0273 105.492 86.9023 105.492C87.791 105.492 88.3652 105.896 88.5225 106.477H89.6914C89.5273 105.273 88.4541 104.501 86.9092 104.501C85.3438 104.501 84.168 105.424 84.168 106.647V106.654C84.168 107.714 84.79 108.315 86.1709 108.644L87.3125 108.917C88.2217 109.136 88.5977 109.484 88.5977 109.983V109.997C88.5977 110.667 87.8936 111.139 86.9023 111.139C85.959 111.139 85.3711 110.735 85.1729 110.12H83.9561C84.0928 111.337 85.2207 112.13 86.8613 112.13ZM92.6309 106.777C93.123 106.777 93.5195 106.374 93.5195 105.889C93.5195 105.396 93.123 105 92.6309 105C92.1455 105 91.7422 105.396 91.7422 105.889C91.7422 106.374 92.1455 106.777 92.6309 106.777ZM92.6309 112.068C93.123 112.068 93.5195 111.665 93.5195 111.18C93.5195 110.688 93.123 110.291 92.6309 110.291C92.1455 110.291 91.7422 110.688 91.7422 111.18C91.7422 111.665 92.1455 112.068 92.6309 112.068ZM99.9043 112H103.288C106.221 112 107.943 110.175 107.943 107.071V107.058C107.943 103.961 106.214 102.136 103.288 102.136H99.9043V112ZM101.135 110.893V103.243H103.206C105.394 103.243 106.686 104.665 106.686 107.071V107.085C106.686 109.484 105.407 110.893 103.206 110.893H101.135ZM112.954 112.13C115.053 112.13 116.352 110.681 116.352 108.322V108.309C116.352 105.943 115.053 104.501 112.954 104.501C110.855 104.501 109.557 105.943 109.557 108.309V108.322C109.557 110.681 110.855 112.13 112.954 112.13ZM112.954 111.077C111.56 111.077 110.773 110.059 110.773 108.322V108.309C110.773 106.565 111.56 105.554 112.954 105.554C114.349 105.554 115.135 106.565 115.135 108.309V108.322C115.135 110.059 114.349 111.077 112.954 111.077ZM118.266 112H119.455V109.204L120.146 108.534L122.907 112H124.404L120.979 107.728L124.192 104.631H122.75L119.564 107.851H119.455V101.705H118.266V112ZM127.617 112.13C128.608 112.13 129.381 111.699 129.846 110.913H129.955V112H131.145V106.955C131.145 105.424 130.14 104.501 128.342 104.501C126.77 104.501 125.648 105.28 125.457 106.436L125.45 106.477H126.64L126.646 106.456C126.838 105.882 127.419 105.554 128.301 105.554C129.401 105.554 129.955 106.046 129.955 106.955V107.625L127.843 107.755C126.127 107.857 125.156 108.616 125.156 109.929V109.942C125.156 111.282 126.216 112.13 127.617 112.13ZM126.373 109.915V109.901C126.373 109.17 126.865 108.773 127.986 108.705L129.955 108.582V109.252C129.955 110.305 129.073 111.098 127.863 111.098C127.009 111.098 126.373 110.66 126.373 109.915ZM133.318 112H134.508V107.639C134.508 106.347 135.253 105.554 136.429 105.554C137.604 105.554 138.151 106.189 138.151 107.516V112H139.341V107.229C139.341 105.479 138.418 104.501 136.764 104.501C135.677 104.501 134.986 104.959 134.617 105.738H134.508V104.631H133.318V112ZM145.582 112H151.57V110.893H146.812V102.136H145.582V112ZM154.018 103.209C154.469 103.209 154.838 102.84 154.838 102.389C154.838 101.938 154.469 101.568 154.018 101.568C153.566 101.568 153.197 101.938 153.197 102.389C153.197 102.84 153.566 103.209 154.018 103.209ZM153.416 112H154.605V104.631H153.416V112ZM159.466 112.055C159.698 112.055 159.924 112.027 160.156 111.986V110.975C159.938 110.995 159.821 111.002 159.609 111.002C158.844 111.002 158.543 110.653 158.543 109.785V105.615H160.156V104.631H158.543V102.724H157.312V104.631H156.15V105.615H157.312V110.086C157.312 111.494 157.948 112.055 159.466 112.055ZM164.832 112.13C166.568 112.13 167.621 111.146 167.874 110.147L167.888 110.093H166.698L166.671 110.154C166.473 110.599 165.857 111.07 164.859 111.07C163.547 111.07 162.706 110.182 162.672 108.657H167.977V108.192C167.977 105.991 166.76 104.501 164.757 104.501C162.754 104.501 161.455 106.06 161.455 108.336V108.343C161.455 110.653 162.727 112.13 164.832 112.13ZM164.75 105.561C165.837 105.561 166.644 106.251 166.767 107.707H162.692C162.822 106.306 163.656 105.561 164.75 105.561ZM176.228 112.13C177.308 112.13 178.053 111.686 178.415 110.899H178.524V112H179.714V104.631H178.524V108.992C178.524 110.284 177.834 111.077 176.535 111.077C175.359 111.077 174.881 110.441 174.881 109.115V104.631H173.691V109.402C173.691 111.146 174.553 112.13 176.228 112.13ZM184.465 112.13C186.14 112.13 187.418 111.221 187.418 109.908V109.895C187.418 108.842 186.748 108.24 185.36 107.905L184.226 107.632C183.357 107.42 182.988 107.105 182.988 106.606V106.593C182.988 105.943 183.631 105.492 184.506 105.492C185.395 105.492 185.969 105.896 186.126 106.477H187.295C187.131 105.273 186.058 104.501 184.513 104.501C182.947 104.501 181.771 105.424 181.771 106.647V106.654C181.771 107.714 182.394 108.315 183.774 108.644L184.916 108.917C185.825 109.136 186.201 109.484 186.201 109.983V109.997C186.201 110.667 185.497 111.139 184.506 111.139C183.562 111.139 182.975 110.735 182.776 110.12H181.56C181.696 111.337 182.824 112.13 184.465 112.13ZM192.271 112.13C194.008 112.13 195.061 111.146 195.313 110.147L195.327 110.093H194.138L194.11 110.154C193.912 110.599 193.297 111.07 192.299 111.07C190.986 111.07 190.146 110.182 190.111 108.657H195.416V108.192C195.416 105.991 194.199 104.501 192.196 104.501C190.193 104.501 188.895 106.06 188.895 108.336V108.343C188.895 110.653 190.166 112.13 192.271 112.13ZM192.189 105.561C193.276 105.561 194.083 106.251 194.206 107.707H190.132C190.262 106.306 191.096 105.561 192.189 105.561ZM197.262 112H198.451V107.434C198.451 106.354 199.258 105.636 200.393 105.636C200.652 105.636 200.878 105.663 201.124 105.704V104.549C201.008 104.528 200.755 104.501 200.529 104.501C199.531 104.501 198.841 104.952 198.561 105.725H198.451V104.631H197.262V112ZM204.986 112.13C206.661 112.13 207.939 111.221 207.939 109.908V109.895C207.939 108.842 207.27 108.24 205.882 107.905L204.747 107.632C203.879 107.42 203.51 107.105 203.51 106.606V106.593C203.51 105.943 204.152 105.492 205.027 105.492C205.916 105.492 206.49 105.896 206.647 106.477H207.816C207.652 105.273 206.579 104.501 205.034 104.501C203.469 104.501 202.293 105.424 202.293 106.647V106.654C202.293 107.714 202.915 108.315 204.296 108.644L205.438 108.917C206.347 109.136 206.723 109.484 206.723 109.983V109.997C206.723 110.667 206.019 111.139 205.027 111.139C204.084 111.139 203.496 110.735 203.298 110.12H202.081C202.218 111.337 203.346 112.13 204.986 112.13ZM216.758 114.598C218.768 114.598 220.039 113.545 220.039 111.897V104.631H218.85V105.848H218.768C218.316 105.014 217.51 104.501 216.471 104.501C214.543 104.501 213.354 105.998 213.354 108.062V108.076C213.354 110.141 214.536 111.617 216.443 111.617C217.455 111.617 218.289 111.159 218.754 110.346H218.863V111.836C218.863 112.923 218.077 113.545 216.758 113.545C215.698 113.545 215.042 113.148 214.912 112.588L214.905 112.581H213.675L213.661 112.588C213.846 113.798 214.98 114.598 216.758 114.598ZM216.703 110.564C215.336 110.564 214.57 109.539 214.57 108.076V108.062C214.57 106.6 215.336 105.554 216.703 105.554C218.063 105.554 218.891 106.6 218.891 108.062V108.076C218.891 109.539 218.07 110.564 216.703 110.564ZM225.262 112.13C226.998 112.13 228.051 111.146 228.304 110.147L228.317 110.093H227.128L227.101 110.154C226.902 110.599 226.287 111.07 225.289 111.07C223.977 111.07 223.136 110.182 223.102 108.657H228.406V108.192C228.406 105.991 227.189 104.501 225.187 104.501C223.184 104.501 221.885 106.06 221.885 108.336V108.343C221.885 110.653 223.156 112.13 225.262 112.13ZM225.18 105.561C226.267 105.561 227.073 106.251 227.196 107.707H223.122C223.252 106.306 224.086 105.561 225.18 105.561ZM232.87 112.055C233.103 112.055 233.328 112.027 233.561 111.986V110.975C233.342 110.995 233.226 111.002 233.014 111.002C232.248 111.002 231.947 110.653 231.947 109.785V105.615H233.561V104.631H231.947V102.724H230.717V104.631H229.555V105.615H230.717V110.086C230.717 111.494 231.353 112.055 232.87 112.055ZM242.304 112.13C244.402 112.13 245.701 110.681 245.701 108.322V108.309C245.701 105.943 244.402 104.501 242.304 104.501C240.205 104.501 238.906 105.943 238.906 108.309V108.322C238.906 110.681 240.205 112.13 242.304 112.13ZM242.304 111.077C240.909 111.077 240.123 110.059 240.123 108.322V108.309C240.123 106.565 240.909 105.554 242.304 105.554C243.698 105.554 244.484 106.565 244.484 108.309V108.322C244.484 110.059 243.698 111.077 242.304 111.077ZM248.039 112H249.229V105.615H250.903V104.631H249.229V103.845C249.229 103.038 249.57 102.621 250.418 102.621C250.63 102.621 250.828 102.628 250.972 102.655V101.705C250.726 101.657 250.466 101.637 250.179 101.637C248.777 101.637 248.039 102.341 248.039 103.811V104.631H246.815V105.615H248.039V112ZM253.111 112H254.301V105.615H255.976V104.631H254.301V103.845C254.301 103.038 254.643 102.621 255.49 102.621C255.702 102.621 255.9 102.628 256.044 102.655V101.705C255.798 101.657 255.538 101.637 255.251 101.637C253.85 101.637 253.111 102.341 253.111 103.811V104.631H251.888V105.615H253.111V112ZM260.385 112.13C262.121 112.13 263.174 111.146 263.427 110.147L263.44 110.093H262.251L262.224 110.154C262.025 110.599 261.41 111.07 260.412 111.07C259.1 111.07 258.259 110.182 258.225 108.657H263.529V108.192C263.529 105.991 262.312 104.501 260.31 104.501C258.307 104.501 257.008 106.06 257.008 108.336V108.343C257.008 110.653 258.279 112.13 260.385 112.13ZM260.303 105.561C261.39 105.561 262.196 106.251 262.319 107.707H258.245C258.375 106.306 259.209 105.561 260.303 105.561ZM265.375 112H266.564V107.434C266.564 106.354 267.371 105.636 268.506 105.636C268.766 105.636 268.991 105.663 269.237 105.704V104.549C269.121 104.528 268.868 104.501 268.643 104.501C267.645 104.501 266.954 104.952 266.674 105.725H266.564V104.631H265.375V112ZM30.335 133H31.5244L33.165 127.299H33.2744L34.9219 133H36.1182L38.1826 125.631H37L35.5508 131.523H35.4414L33.7939 125.631H32.666L31.0186 131.523H30.9092L29.46 125.631H28.2705L30.335 133ZM40.3838 124.209C40.835 124.209 41.2041 123.84 41.2041 123.389C41.2041 122.938 40.835 122.568 40.3838 122.568C39.9326 122.568 39.5635 122.938 39.5635 123.389C39.5635 123.84 39.9326 124.209 40.3838 124.209ZM39.7822 133H40.9717V125.631H39.7822V133ZM45.832 133.055C46.0645 133.055 46.29 133.027 46.5225 132.986V131.975C46.3037 131.995 46.1875 132.002 45.9756 132.002C45.21 132.002 44.9092 131.653 44.9092 130.785V126.615H46.5225V125.631H44.9092V123.724H43.6787V125.631H42.5166V126.615H43.6787V131.086C43.6787 132.494 44.3145 133.055 45.832 133.055ZM48.3682 133H49.5576V128.639C49.5576 127.347 50.3027 126.554 51.4785 126.554C52.6543 126.554 53.2012 127.189 53.2012 128.516V133H54.3906V128.229C54.3906 126.479 53.4678 125.501 51.8135 125.501C50.7266 125.501 50.0361 125.959 49.667 126.738H49.5576V122.705H48.3682V133ZM60.4814 133H61.6709V128.434C61.6709 127.354 62.4775 126.636 63.6123 126.636C63.8721 126.636 64.0977 126.663 64.3438 126.704V125.549C64.2275 125.528 63.9746 125.501 63.749 125.501C62.751 125.501 62.0605 125.952 61.7803 126.725H61.6709V125.631H60.4814V133ZM68.6162 133.13C70.3525 133.13 71.4053 132.146 71.6582 131.147L71.6719 131.093H70.4824L70.4551 131.154C70.2568 131.599 69.6416 132.07 68.6436 132.07C67.3311 132.07 66.4902 131.182 66.4561 129.657H71.7607V129.192C71.7607 126.991 70.5439 125.501 68.541 125.501C66.5381 125.501 65.2393 127.06 65.2393 129.336V129.343C65.2393 131.653 66.5107 133.13 68.6162 133.13ZM68.5342 126.561C69.6211 126.561 70.4277 127.251 70.5508 128.707H66.4766C66.6064 127.306 67.4404 126.561 68.5342 126.561ZM76.6416 135.598C78.6514 135.598 79.9229 134.545 79.9229 132.897V125.631H78.7334V126.848H78.6514C78.2002 126.014 77.3936 125.501 76.3545 125.501C74.4268 125.501 73.2373 126.998 73.2373 129.062V129.076C73.2373 131.141 74.4199 132.617 76.3271 132.617C77.3389 132.617 78.1729 132.159 78.6377 131.346H78.7471V132.836C78.7471 133.923 77.9609 134.545 76.6416 134.545C75.582 134.545 74.9258 134.148 74.7959 133.588L74.7891 133.581H73.5586L73.5449 133.588C73.7295 134.798 74.8643 135.598 76.6416 135.598ZM76.5869 131.564C75.2197 131.564 74.4541 130.539 74.4541 129.076V129.062C74.4541 127.6 75.2197 126.554 76.5869 126.554C77.9473 126.554 78.7744 127.6 78.7744 129.062V129.076C78.7744 130.539 77.9541 131.564 76.5869 131.564ZM84.6055 133.13C85.6855 133.13 86.4307 132.686 86.793 131.899H86.9023V133H88.0918V125.631H86.9023V129.992C86.9023 131.284 86.2119 132.077 84.9131 132.077C83.7373 132.077 83.2588 131.441 83.2588 130.115V125.631H82.0693V130.402C82.0693 132.146 82.9307 133.13 84.6055 133.13ZM90.3818 133H91.5713V122.705H90.3818V133ZM95.8779 133.13C96.8691 133.13 97.6416 132.699 98.1064 131.913H98.2158V133H99.4053V127.955C99.4053 126.424 98.4004 125.501 96.6025 125.501C95.0303 125.501 93.9092 126.28 93.7178 127.436L93.7109 127.477H94.9004L94.9072 127.456C95.0986 126.882 95.6797 126.554 96.5615 126.554C97.6621 126.554 98.2158 127.046 98.2158 127.955V128.625L96.1035 128.755C94.3877 128.857 93.417 129.616 93.417 130.929V130.942C93.417 132.282 94.4766 133.13 95.8779 133.13ZM94.6338 130.915V130.901C94.6338 130.17 95.126 129.773 96.2471 129.705L98.2158 129.582V130.252C98.2158 131.305 97.334 132.098 96.124 132.098C95.2695 132.098 94.6338 131.66 94.6338 130.915ZM101.579 133H102.769V128.434C102.769 127.354 103.575 126.636 104.71 126.636C104.97 126.636 105.195 126.663 105.441 126.704V125.549C105.325 125.528 105.072 125.501 104.847 125.501C103.849 125.501 103.158 125.952 102.878 126.725H102.769V125.631H101.579V133ZM110.849 135.461H112.038V131.838H112.147C112.551 132.624 113.433 133.13 114.444 133.13C116.317 133.13 117.534 131.633 117.534 129.322V129.309C117.534 127.012 116.311 125.501 114.444 125.501C113.419 125.501 112.599 125.986 112.147 126.807H112.038V125.631H110.849V135.461ZM114.171 132.077C112.831 132.077 112.011 131.024 112.011 129.322V129.309C112.011 127.606 112.831 126.554 114.171 126.554C115.518 126.554 116.317 127.593 116.317 129.309V129.322C116.317 131.038 115.518 132.077 114.171 132.077ZM119.394 133H120.583V128.434C120.583 127.354 121.39 126.636 122.524 126.636C122.784 126.636 123.01 126.663 123.256 126.704V125.549C123.14 125.528 122.887 125.501 122.661 125.501C121.663 125.501 120.973 125.952 120.692 126.725H120.583V125.631H119.394V133ZM125.354 124.209C125.806 124.209 126.175 123.84 126.175 123.389C126.175 122.938 125.806 122.568 125.354 122.568C124.903 122.568 124.534 122.938 124.534 123.389C124.534 123.84 124.903 124.209 125.354 124.209ZM124.753 133H125.942V125.631H124.753V133ZM131.199 133.13C132.97 133.13 133.961 132.18 134.262 130.847L134.275 130.771L133.1 130.778L133.086 130.819C132.812 131.64 132.184 132.077 131.192 132.077C129.88 132.077 129.032 130.99 129.032 129.295V129.281C129.032 127.62 129.866 126.554 131.192 126.554C132.252 126.554 132.908 127.142 133.093 127.866L133.1 127.887H134.282L134.275 127.846C134.057 126.533 132.983 125.501 131.192 125.501C129.128 125.501 127.815 126.991 127.815 129.281V129.295C127.815 131.633 129.135 133.13 131.199 133.13ZM139.026 133.13C140.763 133.13 141.815 132.146 142.068 131.147L142.082 131.093H140.893L140.865 131.154C140.667 131.599 140.052 132.07 139.054 132.07C137.741 132.07 136.9 131.182 136.866 129.657H142.171V129.192C142.171 126.991 140.954 125.501 138.951 125.501C136.948 125.501 135.649 127.06 135.649 129.336V129.343C135.649 131.653 136.921 133.13 139.026 133.13ZM138.944 126.561C140.031 126.561 140.838 127.251 140.961 128.707H136.887C137.017 127.306 137.851 126.561 138.944 126.561ZM143.716 135.509H144.598L145.671 131.619H144.311L143.716 135.509ZM154.134 133.13C155.125 133.13 155.897 132.699 156.362 131.913H156.472V133H157.661V127.955C157.661 126.424 156.656 125.501 154.858 125.501C153.286 125.501 152.165 126.28 151.974 127.436L151.967 127.477H153.156L153.163 127.456C153.354 126.882 153.936 126.554 154.817 126.554C155.918 126.554 156.472 127.046 156.472 127.955V128.625L154.359 128.755C152.644 128.857 151.673 129.616 151.673 130.929V130.942C151.673 132.282 152.732 133.13 154.134 133.13ZM152.89 130.915V130.901C152.89 130.17 153.382 129.773 154.503 129.705L156.472 129.582V130.252C156.472 131.305 155.59 132.098 154.38 132.098C153.525 132.098 152.89 131.66 152.89 130.915ZM162.303 133.13C163.383 133.13 164.128 132.686 164.49 131.899H164.6V133H165.789V125.631H164.6V129.992C164.6 131.284 163.909 132.077 162.61 132.077C161.435 132.077 160.956 131.441 160.956 130.115V125.631H159.767V130.402C159.767 132.146 160.628 133.13 162.303 133.13ZM170.629 133.055C170.861 133.055 171.087 133.027 171.319 132.986V131.975C171.101 131.995 170.984 132.002 170.772 132.002C170.007 132.002 169.706 131.653 169.706 130.785V126.615H171.319V125.631H169.706V123.724H168.476V125.631H167.313V126.615H168.476V131.086C168.476 132.494 169.111 133.055 170.629 133.055ZM176.016 133.13C178.114 133.13 179.413 131.681 179.413 129.322V129.309C179.413 126.943 178.114 125.501 176.016 125.501C173.917 125.501 172.618 126.943 172.618 129.309V129.322C172.618 131.681 173.917 133.13 176.016 133.13ZM176.016 132.077C174.621 132.077 173.835 131.059 173.835 129.322V129.309C173.835 127.565 174.621 126.554 176.016 126.554C177.41 126.554 178.196 127.565 178.196 129.309V129.322C178.196 131.059 177.41 132.077 176.016 132.077ZM181.259 133H182.448V128.434C182.448 127.395 183.18 126.554 184.144 126.554C185.073 126.554 185.675 127.121 185.675 127.996V133H186.864V128.263C186.864 127.326 187.541 126.554 188.566 126.554C189.605 126.554 190.104 127.094 190.104 128.181V133H191.294V127.907C191.294 126.362 190.453 125.501 188.949 125.501C187.931 125.501 187.09 126.014 186.693 126.793H186.584C186.242 126.027 185.545 125.501 184.547 125.501C183.583 125.501 182.886 125.959 182.558 126.752H182.448V125.631H181.259V133ZM195.464 133.13C196.455 133.13 197.228 132.699 197.692 131.913H197.802V133H198.991V127.955C198.991 126.424 197.986 125.501 196.188 125.501C194.616 125.501 193.495 126.28 193.304 127.436L193.297 127.477H194.486L194.493 127.456C194.685 126.882 195.266 126.554 196.147 126.554C197.248 126.554 197.802 127.046 197.802 127.955V128.625L195.689 128.755C193.974 128.857 193.003 129.616 193.003 130.929V130.942C193.003 132.282 194.062 133.13 195.464 133.13ZM194.22 130.915V130.901C194.22 130.17 194.712 129.773 195.833 129.705L197.802 129.582V130.252C197.802 131.305 196.92 132.098 195.71 132.098C194.855 132.098 194.22 131.66 194.22 130.915ZM203.783 133.055C204.016 133.055 204.241 133.027 204.474 132.986V131.975C204.255 131.995 204.139 132.002 203.927 132.002C203.161 132.002 202.86 131.653 202.86 130.785V126.615H204.474V125.631H202.86V123.724H201.63V125.631H200.468V126.615H201.63V131.086C201.63 132.494 202.266 133.055 203.783 133.055ZM206.88 124.209C207.331 124.209 207.7 123.84 207.7 123.389C207.7 122.938 207.331 122.568 206.88 122.568C206.429 122.568 206.06 122.938 206.06 123.389C206.06 123.84 206.429 124.209 206.88 124.209ZM206.278 133H207.468V125.631H206.278V133ZM212.725 133.13C214.495 133.13 215.486 132.18 215.787 130.847L215.801 130.771L214.625 130.778L214.611 130.819C214.338 131.64 213.709 132.077 212.718 132.077C211.405 132.077 210.558 130.99 210.558 129.295V129.281C210.558 127.62 211.392 126.554 212.718 126.554C213.777 126.554 214.434 127.142 214.618 127.866L214.625 127.887H215.808L215.801 127.846C215.582 126.533 214.509 125.501 212.718 125.501C210.653 125.501 209.341 126.991 209.341 129.281V129.295C209.341 131.633 210.66 133.13 212.725 133.13ZM219.567 133.13C220.559 133.13 221.331 132.699 221.796 131.913H221.905V133H223.095V127.955C223.095 126.424 222.09 125.501 220.292 125.501C218.72 125.501 217.599 126.28 217.407 127.436L217.4 127.477H218.59L218.597 127.456C218.788 126.882 219.369 126.554 220.251 126.554C221.352 126.554 221.905 127.046 221.905 127.955V128.625L219.793 128.755C218.077 128.857 217.106 129.616 217.106 130.929V130.942C217.106 132.282 218.166 133.13 219.567 133.13ZM218.323 130.915V130.901C218.323 130.17 218.815 129.773 219.937 129.705L221.905 129.582V130.252C221.905 131.305 221.023 132.098 219.813 132.098C218.959 132.098 218.323 131.66 218.323 130.915ZM225.337 133H226.526V122.705H225.337V133ZM228.878 133H230.067V122.705H228.878V133ZM232.979 135.584C234.285 135.584 234.894 135.105 235.502 133.451L238.38 125.631H237.129L235.112 131.694H235.003L232.979 125.631H231.708L234.436 133.007L234.299 133.444C234.032 134.292 233.622 134.6 232.945 134.6C232.781 134.6 232.597 134.593 232.453 134.565V135.543C232.617 135.57 232.822 135.584 232.979 135.584ZM245.913 133.13C246.904 133.13 247.677 132.699 248.142 131.913H248.251V133H249.44V127.955C249.44 126.424 248.436 125.501 246.638 125.501C245.065 125.501 243.944 126.28 243.753 127.436L243.746 127.477H244.936L244.942 127.456C245.134 126.882 245.715 126.554 246.597 126.554C247.697 126.554 248.251 127.046 248.251 127.955V128.625L246.139 128.755C244.423 128.857 243.452 129.616 243.452 130.929V130.942C243.452 132.282 244.512 133.13 245.913 133.13ZM244.669 130.915V130.901C244.669 130.17 245.161 129.773 246.282 129.705L248.251 129.582V130.252C248.251 131.305 247.369 132.098 246.159 132.098C245.305 132.098 244.669 131.66 244.669 130.915ZM251.614 135.461H252.804V131.838H252.913C253.316 132.624 254.198 133.13 255.21 133.13C257.083 133.13 258.3 131.633 258.3 129.322V129.309C258.3 127.012 257.076 125.501 255.21 125.501C254.185 125.501 253.364 125.986 252.913 126.807H252.804V125.631H251.614V135.461ZM254.937 132.077C253.597 132.077 252.776 131.024 252.776 129.322V129.309C252.776 127.606 253.597 126.554 254.937 126.554C256.283 126.554 257.083 127.593 257.083 129.309V129.322C257.083 131.038 256.283 132.077 254.937 132.077ZM260.159 135.461H261.349V131.838H261.458C261.861 132.624 262.743 133.13 263.755 133.13C265.628 133.13 266.845 131.633 266.845 129.322V129.309C266.845 127.012 265.621 125.501 263.755 125.501C262.729 125.501 261.909 125.986 261.458 126.807H261.349V125.631H260.159V135.461ZM263.481 132.077C262.142 132.077 261.321 131.024 261.321 129.322V129.309C261.321 127.606 262.142 126.554 263.481 126.554C264.828 126.554 265.628 127.593 265.628 129.309V129.322C265.628 131.038 264.828 132.077 263.481 132.077ZM268.772 133H269.962V122.705H268.772V133ZM272.874 124.209C273.325 124.209 273.694 123.84 273.694 123.389C273.694 122.938 273.325 122.568 272.874 122.568C272.423 122.568 272.054 122.938 272.054 123.389C272.054 123.84 272.423 124.209 272.874 124.209ZM272.272 133H273.462V125.631H272.272V133ZM278.712 133.13C280.448 133.13 281.501 132.146 281.754 131.147L281.768 131.093H280.578L280.551 131.154C280.353 131.599 279.737 132.07 278.739 132.07C277.427 132.07 276.586 131.182 276.552 129.657H281.856V129.192C281.856 126.991 280.64 125.501 278.637 125.501C276.634 125.501 275.335 127.06 275.335 129.336V129.343C275.335 131.653 276.606 133.13 278.712 133.13ZM278.63 126.561C279.717 126.561 280.523 127.251 280.646 128.707H276.572C276.702 127.306 277.536 126.561 278.63 126.561ZM286.423 133.13C287.448 133.13 288.269 132.645 288.72 131.824H288.829V133H290.019V122.705H288.829V126.793H288.72C288.316 126.007 287.435 125.501 286.423 125.501C284.55 125.501 283.333 126.998 283.333 129.309V129.322C283.333 131.619 284.557 133.13 286.423 133.13ZM286.696 132.077C285.35 132.077 284.55 131.038 284.55 129.322V129.309C284.55 127.593 285.35 126.554 286.696 126.554C288.036 126.554 288.856 127.606 288.856 129.309V129.322C288.856 131.024 288.036 132.077 286.696 132.077ZM122.203 155.055C122.436 155.055 122.661 155.027 122.894 154.986V153.975C122.675 153.995 122.559 154.002 122.347 154.002C121.581 154.002 121.28 153.653 121.28 152.785V148.615H122.894V147.631H121.28V145.724H120.05V147.631H118.888V148.615H120.05V153.086C120.05 154.494 120.686 155.055 122.203 155.055ZM127.59 155.13C129.688 155.13 130.987 153.681 130.987 151.322V151.309C130.987 148.943 129.688 147.501 127.59 147.501C125.491 147.501 124.192 148.943 124.192 151.309V151.322C124.192 153.681 125.491 155.13 127.59 155.13ZM127.59 154.077C126.195 154.077 125.409 153.059 125.409 151.322V151.309C125.409 149.565 126.195 148.554 127.59 148.554C128.984 148.554 129.771 149.565 129.771 151.309V151.322C129.771 153.059 128.984 154.077 127.59 154.077ZM139.785 155.13C141.556 155.13 142.547 154.18 142.848 152.847L142.861 152.771L141.686 152.778L141.672 152.819C141.398 153.64 140.77 154.077 139.778 154.077C138.466 154.077 137.618 152.99 137.618 151.295V151.281C137.618 149.62 138.452 148.554 139.778 148.554C140.838 148.554 141.494 149.142 141.679 149.866L141.686 149.887H142.868L142.861 149.846C142.643 148.533 141.569 147.501 139.778 147.501C137.714 147.501 136.401 148.991 136.401 151.281V151.295C136.401 153.633 137.721 155.13 139.785 155.13ZM144.673 155H145.862V150.639C145.862 149.347 146.607 148.554 147.783 148.554C148.959 148.554 149.506 149.189 149.506 150.516V155H150.695V150.229C150.695 148.479 149.772 147.501 148.118 147.501C147.031 147.501 146.341 147.959 145.972 148.738H145.862V144.705H144.673V155ZM155.856 155.13C157.593 155.13 158.646 154.146 158.898 153.147L158.912 153.093H157.723L157.695 153.154C157.497 153.599 156.882 154.07 155.884 154.07C154.571 154.07 153.73 153.182 153.696 151.657H159.001V151.192C159.001 148.991 157.784 147.501 155.781 147.501C153.778 147.501 152.479 149.06 152.479 151.336V151.343C152.479 153.653 153.751 155.13 155.856 155.13ZM155.774 148.561C156.861 148.561 157.668 149.251 157.791 150.707H153.717C153.847 149.306 154.681 148.561 155.774 148.561ZM163.861 155.13C165.632 155.13 166.623 154.18 166.924 152.847L166.938 152.771L165.762 152.778L165.748 152.819C165.475 153.64 164.846 154.077 163.854 154.077C162.542 154.077 161.694 152.99 161.694 151.295V151.281C161.694 149.62 162.528 148.554 163.854 148.554C164.914 148.554 165.57 149.142 165.755 149.866L165.762 149.887H166.944L166.938 149.846C166.719 148.533 165.646 147.501 163.854 147.501C161.79 147.501 160.478 148.991 160.478 151.281V151.295C160.478 153.633 161.797 155.13 163.861 155.13ZM168.749 155H169.938V152.204L170.629 151.534L173.391 155H174.888L171.463 150.728L174.676 147.631H173.233L170.048 150.851H169.938V144.705H168.749V155ZM178.969 155.13C181.067 155.13 182.366 153.681 182.366 151.322V151.309C182.366 148.943 181.067 147.501 178.969 147.501C176.87 147.501 175.571 148.943 175.571 151.309V151.322C175.571 153.681 176.87 155.13 178.969 155.13ZM178.969 154.077C177.574 154.077 176.788 153.059 176.788 151.322V151.309C176.788 149.565 177.574 148.554 178.969 148.554C180.363 148.554 181.149 149.565 181.149 151.309V151.322C181.149 153.059 180.363 154.077 178.969 154.077ZM186.68 155.13C187.76 155.13 188.505 154.686 188.867 153.899H188.977V155H190.166V147.631H188.977V151.992C188.977 153.284 188.286 154.077 186.987 154.077C185.812 154.077 185.333 153.441 185.333 152.115V147.631H184.144V152.402C184.144 154.146 185.005 155.13 186.68 155.13ZM195.006 155.055C195.238 155.055 195.464 155.027 195.696 154.986V153.975C195.478 153.995 195.361 154.002 195.149 154.002C194.384 154.002 194.083 153.653 194.083 152.785V148.615H195.696V147.631H194.083V145.724H192.853V147.631H191.69V148.615H192.853V153.086C192.853 154.494 193.488 155.055 195.006 155.055ZM198.444 155.068C198.937 155.068 199.333 154.665 199.333 154.18C199.333 153.688 198.937 153.291 198.444 153.291C197.959 153.291 197.556 153.688 197.556 154.18C197.556 154.665 197.959 155.068 198.444 155.068Z",fill:"white"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter0_d_1061_678)"}},[a("path",{attrs:{d:"M133.607 56.5262C139.149 56.5262 142.849 53.6156 142.849 49.3072V49.2743C142.849 46.0512 140.547 44.0121 137.011 43.6832V43.5845C139.79 43.009 141.961 41.085 141.961 38.125V38.0921C141.961 34.3099 138.672 31.7446 133.574 31.7446C128.592 31.7446 125.254 34.5073 124.908 38.7499L124.892 38.9472H129.463L129.48 38.7992C129.677 36.8259 131.239 35.5597 133.574 35.5597C135.91 35.5597 137.274 36.7766 137.274 38.7499V38.7828C137.274 40.7068 135.663 42.0223 133.163 42.0223H130.516V45.5578H133.229C136.107 45.5578 137.801 46.8076 137.801 49.0769V49.1098C137.801 51.116 136.14 52.5302 133.607 52.5302C131.042 52.5302 129.348 51.2147 129.134 49.3729L129.118 49.192H124.366L124.382 49.4058C124.711 53.6485 128.246 56.5262 133.607 56.5262ZM156.235 56.6084C162.105 56.6084 165.657 51.8067 165.657 44.1436V44.1107C165.657 36.4312 162.105 31.6624 156.235 31.6624C150.381 31.6624 146.812 36.4312 146.812 44.1107V44.1436C146.812 51.8067 150.381 56.6084 156.235 56.6084ZM156.235 52.6782C153.439 52.6782 151.844 49.5045 151.844 44.1436V44.1107C151.844 38.7334 153.439 35.5926 156.235 35.5926C159.047 35.5926 160.642 38.7334 160.642 44.1107V44.1436C160.642 49.5045 159.047 52.6782 156.235 52.6782ZM175.475 45.2783C178.961 45.2783 181.082 42.713 181.082 38.6019V38.5854C181.082 34.4744 178.961 31.9255 175.475 31.9255C172.005 31.9255 169.867 34.4744 169.867 38.5854V38.6019C169.867 42.713 172.005 45.2783 175.475 45.2783ZM179.125 56L195.093 32.2708H191.294L175.327 56H179.125ZM175.475 42.6472C174.044 42.6472 173.238 41.1837 173.238 38.6019V38.5854C173.238 35.9872 174.044 34.5566 175.475 34.5566C176.922 34.5566 177.727 35.9872 177.727 38.5854V38.6019C177.727 41.1837 176.922 42.6472 175.475 42.6472ZM194.928 56.3453C198.414 56.3453 200.536 53.78 200.536 49.6689V49.6525C200.536 45.5414 198.414 42.9925 194.928 42.9925C191.458 42.9925 189.321 45.5414 189.321 49.6525V49.6689C189.321 53.78 191.458 56.3453 194.928 56.3453ZM194.928 53.7142C193.498 53.7142 192.692 52.2507 192.692 49.6689V49.6525C192.692 47.0543 193.498 45.6236 194.928 45.6236C196.375 45.6236 197.181 47.0543 197.181 49.6525V49.6689C197.181 52.2507 196.375 53.7142 194.928 53.7142Z",fill:"white"}})]),e._v(" "),a("path",{attrs:{d:"M55.2031 48H60.4414V47.0508H56.2578V44.1445H60.2246V43.207H56.2578V40.4941H60.4414V39.5449H55.2031V48ZM62.2227 48H63.2422V44.2617C63.2422 43.1543 63.8809 42.4746 64.8887 42.4746C65.8965 42.4746 66.3652 43.0195 66.3652 44.1562V48H67.3848V43.9102C67.3848 42.4102 66.5938 41.5723 65.1758 41.5723C64.2441 41.5723 63.6523 41.9648 63.3359 42.6328H63.2422V41.6836H62.2227V48ZM69.7578 40.4648C70.1445 40.4648 70.4609 40.1484 70.4609 39.7617C70.4609 39.375 70.1445 39.0586 69.7578 39.0586C69.3711 39.0586 69.0547 39.375 69.0547 39.7617C69.0547 40.1484 69.3711 40.4648 69.7578 40.4648ZM68.3281 50.168C69.6523 50.168 70.2676 49.6113 70.2676 48.3105V41.6836H69.248V48.3281C69.248 49.0254 68.9902 49.2656 68.3047 49.2656H68.1523V50.168H68.3281ZM74.791 48.1113C76.5898 48.1113 77.7031 46.8691 77.7031 44.8477V44.8359C77.7031 42.8086 76.5898 41.5723 74.791 41.5723C72.9922 41.5723 71.8789 42.8086 71.8789 44.8359V44.8477C71.8789 46.8691 72.9922 48.1113 74.791 48.1113ZM74.791 47.209C73.5957 47.209 72.9219 46.3359 72.9219 44.8477V44.8359C72.9219 43.3418 73.5957 42.4746 74.791 42.4746C75.9863 42.4746 76.6602 43.3418 76.6602 44.8359V44.8477C76.6602 46.3359 75.9863 47.209 74.791 47.209ZM79.5898 50.2148C80.709 50.2148 81.2305 49.8047 81.752 48.3867L84.2188 41.6836H83.1465L81.418 46.8809H81.3242L79.5898 41.6836H78.5L80.8379 48.0059L80.7207 48.3809C80.4922 49.1074 80.1406 49.3711 79.5605 49.3711C79.4199 49.3711 79.2617 49.3652 79.1387 49.3418V50.1797C79.2793 50.2031 79.4551 50.2148 79.5898 50.2148ZM89.0703 48H90.125V44.3379H93.8691V43.4004H90.125V40.4941H94.2031V39.5449H89.0703V48ZM95.8672 48H96.8867V39.1758H95.8672V48ZM100.578 48.1113C101.428 48.1113 102.09 47.7422 102.488 47.0684H102.582V48H103.602V43.6758C103.602 42.3633 102.74 41.5723 101.199 41.5723C99.8516 41.5723 98.8906 42.2402 98.7266 43.2305L98.7207 43.2656H99.7402L99.7461 43.248C99.9102 42.7559 100.408 42.4746 101.164 42.4746C102.107 42.4746 102.582 42.8965 102.582 43.6758V44.25L100.771 44.3613C99.3008 44.4492 98.4688 45.0996 98.4688 46.2246V46.2363C98.4688 47.3848 99.377 48.1113 100.578 48.1113ZM99.5117 46.2129V46.2012C99.5117 45.5742 99.9336 45.2344 100.895 45.1758L102.582 45.0703V45.6445C102.582 46.5469 101.826 47.2266 100.789 47.2266C100.057 47.2266 99.5117 46.8516 99.5117 46.2129ZM107.709 48.0469C107.908 48.0469 108.102 48.0234 108.301 47.9883V47.1211C108.113 47.1387 108.014 47.1445 107.832 47.1445C107.176 47.1445 106.918 46.8457 106.918 46.1016V42.5273H108.301V41.6836H106.918V40.0488H105.863V41.6836H104.867V42.5273H105.863V46.3594C105.863 47.5664 106.408 48.0469 107.709 48.0469Z",fill:"#0C0071"}}),e._v(" "),a("g",{attrs:{filter:"url(#filter1_d_1061_678)"}},[a("rect",{attrs:{x:"216",y:"34.1777",width:"48",height:"20",rx:"10",fill:"#573CFF"}})]),e._v(" "),a("path",{attrs:{d:"M232.513 48.1942C234.867 48.1942 236.295 46.5089 236.295 43.881V43.8696C236.295 41.2302 234.855 39.5621 232.513 39.5621C230.182 39.5621 228.731 41.2245 228.731 43.8696V43.881C228.731 46.5146 230.148 48.1942 232.513 48.1942ZM232.513 47.2459C230.799 47.2459 229.782 45.9205 229.782 43.881V43.8696C229.782 41.8129 230.834 40.5104 232.513 40.5104C234.198 40.5104 235.244 41.8129 235.244 43.8696V43.881C235.244 45.9205 234.204 47.2459 232.513 47.2459ZM238.078 48H239.106V44.4294H242.756V43.5154H239.106V40.6818H243.082V39.7563H238.078V48ZM244.773 48H245.801V44.4294H249.452V43.5154H245.801V40.6818H249.778V39.7563H244.773V48Z",fill:"white"}}),e._v(" "),a("path",{attrs:{opacity:"0.3",d:"M107.399 17.3745C103.071 13.4067 97.5458 18.8781 101.18 23.0547",stroke:"#FF00F5","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M229.162 77.0844C226.678 76.4391 225.753 79.6327 225.299 81.4364C225.039 82.4955 224.714 83.5876 224 84.3984",stroke:"#00FFC2","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M103.555 82.1191C105.333 79.408 101.942 77.0254 99.9777 75.752C98.8197 75.0126 97.6617 74.191 97 72.9997",stroke:"#FFE600","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("path",{attrs:{d:"M228.334 20.7854C228.097 19.5881 227.386 18.4985 226.411 17.8124C225.437 17.1263 224.172 16.8573 223 17.0725",stroke:"#64E3FF","stroke-width":"1.72065","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),e._v(" "),a("defs",[a("filter",{attrs:{id:"filter0_d_1061_678",x:"118.378",y:"31.6626",width:"88.1453",height:"39.9138",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"8.9808"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"2.9936"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.192851 0 0 0 0 0.0922663 0 0 0 0 0.512993 0 0 0 0.278409 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1061_678"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1061_678",result:"shape"}})],1),e._v(" "),a("filter",{attrs:{id:"filter1_d_1061_678",x:"209",y:"34.1777",width:"62",height:"35",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[a("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),a("feColorMatrix",{attrs:{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}}),e._v(" "),a("feOffset",{attrs:{dy:"8"}}),e._v(" "),a("feGaussianBlur",{attrs:{stdDeviation:"3.5"}}),e._v(" "),a("feComposite",{attrs:{in2:"hardAlpha",operator:"out"}}),e._v(" "),a("feColorMatrix",{attrs:{type:"matrix",values:"0 0 0 0 0.0507051 0 0 0 0 0 0 0 0 0 0.470833 0 0 0 0.11 0"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1061_678"}}),e._v(" "),a("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1061_678",result:"shape"}})],1),e._v(" "),a("linearGradient",{attrs:{id:"paint0_linear_1061_678",x1:"0",y1:"0",x2:"0",y2:"181",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#D0CAFD"}}),e._v(" "),a("stop",{attrs:{offset:"1","stop-color":"#7463FF"}})],1)],1)])]),e._v(" "),a("a",{staticClass:"already-updated",attrs:{target:"_blank",rel:"noopener noreferrer",href:"https://wedevs.com/docs/dokan/getting-started/installation-2/"}},[e._v(e._s(e.__("Already upgraded?","dokan-lite")))])]),e._v(" "),a("span",{staticClass:"close",on:{click:e.closePopup}},[a("svg",{attrs:{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M6.18849 5.00002L9.75385 1.43465C10.082 1.10645 10.082 0.574344 9.75385 0.246195C9.42566 -0.0820022 8.89359 -0.0820022 8.5654 0.246195L4.99998 3.81161L1.43457 0.246148C1.10637 -0.0820492 0.574308 -0.0820492 0.246112 0.246148C-0.0820373 0.574344 -0.0820373 1.10645 0.246112 1.4346L3.81153 4.99998L0.246112 8.5654C-0.0820373 8.89359 -0.0820373 9.4257 0.246112 9.75385C0.574308 10.082 1.10637 10.082 1.43457 9.75385L4.99998 6.18843L8.5654 9.75385C8.89355 10.082 9.42566 10.082 9.75385 9.75385C10.082 9.42566 10.082 8.89359 9.75385 8.5654L6.18849 5.00002Z",fill:"#95A5A6"}})])])])]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"lite-modules"}},[a("div",{staticClass:"dokan-modules-wrap"},[a("h1",[e._v(e._s(e.__("Modules","dokan-lite")))]),e._v(" "),a("div",{staticClass:"module-content"},[a("div",{staticClass:"wp-list-table widefat dokan-modules"},[e.modules.length>0?e._l(e.modules,function(t){return a("div",{staticClass:"plugin-card"},[a("div",{staticClass:"plugin-card-top"},[a("div",{staticClass:"name column-name"},[a("h3",[a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[e._v(e._s(t.name))]),e._v(" "),a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[a("img",{staticClass:"plugin-icon",attrs:{src:t.thumbnail,alt:t.name}})])])]),e._v(" "),a("div",{staticClass:"action-links"},[a("ul",{staticClass:"plugin-action-buttons"},[a("li",{on:{click:function(t){return e.togglePopup(!0)}}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"20"}},[a("rect",{attrs:{width:"42",height:"20",rx:"10",fill:"#c0c3c6"}}),a("circle",{attrs:{cx:"6",cy:"6",r:"6",transform:"translate(6 4)",fill:"#fff"}})])])])]),e._v(" "),a("div",{staticClass:"desc column-description"},[a("p",{domProps:{innerHTML:e._s(t.description)}})]),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{attrs:{href:t.docLink,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan-lite")))])])])])}):[a("div",{staticClass:"notice notice-info",attrs:{id:"message"}},[a("p",[a("strong",[e._v(e._s(e.__("No modules found.","dokan-lite")))])])])]],2)])]),e._v(" "),a("ModuleUpgradePopup",{attrs:{"show-popup":e.showPopup},on:{toggle:e.togglePopup}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(83),n=a(214),i=!1;var o=function(e){i||a(213)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ReverseWithdrawal.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-reverse-withdrawal"},[a("h1",{staticClass:"wp-heading-inline"},[e._v("\n "+e._s(e.__("Reverse Withdrawal","dokan-lite"))+"\n ")]),e._v(" "),a("AdminNotice"),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("div",{staticClass:"dokan-reverse-withdrawal-fact-card"},[a("CardFunFact",{attrs:{count:e.counts.credit,icon:"fas fa-comments-dollar",is_currency:"",title:e.__("Total Collected","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.balance,icon:"fas fa-coins",is_currency:"",title:e.__("Remaining Balance","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_transactions,icon:"fas fa-info",title:e.__("Total Transactions","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_vendors,icon:"fas fa-users",title:e.__("Total Vendors","dokan-lite")}})],1),e._v(" "),a("div",{attrs:{id:"dokan_reverse_withdrawal_list_table"}},[a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.transactionData,actions:e.actions,"show-cb":!1,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.getCurrentPage,"not-found":this.__("No transaction found.","dokan-lite"),"sort-by":e.getSortBy,"sort-order":e.getSortOrder},on:{sort:e.doSort,pagination:e.goToPage},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("strong",[a("a",{attrs:{href:"?page=dokan#/reverse-withdrawal/store/"+t.row.vendor_id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"balance",fn:function(t){return[""===t.row.balance?a("div",[e._v("--")]):t.row.balance>=0?a("currency",{attrs:{amount:t.row.balance}}):t.row.balance<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.balance}}),e._v(" )\n ")],1):e._e()]}},{key:"last_payment_date",fn:function(t){return[e._v("\n "+e._s(t.row.last_payment_date)+"\n ")]}}])},[e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("span",{staticClass:"form-group"},[a("multiselect",{attrs:{placeholder:this.__("Filter by store","dokan-lite"),options:e.filter.stores,"track-by":"id",label:"name","internal-search":!1,"clear-on-select":!1,"allow-empty":!1,multiselect:!1,searchable:!0,showLabels:!1},on:{"search-change":e.fetchStoreLists},model:{value:e.filter.selected_store,callback:function(t){e.$set(e.filter,"selected_store",t)},expression:"filter.selected_store"}}),e._v(" "),e.filter.selected_store.id?a("button",{staticClass:"button",staticStyle:{"line-height":"0",padding:"0 5px","margin-right":"5px"},attrs:{type:"button"},on:{click:function(t){e.filter.selected_store=e.getDefaultStore()[0]}}},[a("i",{staticClass:"dashicons dashicons-no"})]):e._e()],1),e._v(" "),a("span",{staticClass:"form-group"},[a("date-range-picker",{ref:"picker",staticClass:"mr-5",attrs:{"locale-data":this.dateTimePickerFormat,singleDatePicker:!1,showDropdowns:!0,autoApply:!1,ranges:this.dateRangePickerRanges},scopedSlots:e._u([{key:"input",fn:function(t){return[e.filter.transaction_date.startDate?a("span",[e._v(e._s(e._f("getFormattedDate")(e.filter.transaction_date.startDate))+" - "+e._s(e._f("getFormattedDate")(e.filter.transaction_date.endDate)))]):e._e(),e._v(" "),e.filter.transaction_date.startDate?e._e():a("span",{staticClass:"date-range-placeholder"},[e._v(e._s(e.__("Filter by expire date","dokan-lite")))])]}},{key:"footer",fn:function(t){return a("div",{staticClass:"drp-buttons"},[a("span",{staticClass:"drp-selected"},[e._v(e._s(t.rangeText))]),e._v(" "),a("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:function(t){return e.setDefaultTransactionDate()}}},[e._v(e._s(e.__("Cancel","dokan-lite")))]),e._v(" "),t.in_selection?e._e():a("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{type:"button"},on:{click:t.clickApply}},[e._v(e._s(e.__("Apply","dokan-lite")))])])}}]),model:{value:e.filter.transaction_date,callback:function(t){e.$set(e.filter,"transaction_date",t)},expression:"filter.transaction_date"}})],1),e._v(" "),a("span",{staticClass:"form-group"},[a("button",{staticClass:"button action",on:{click:this.clearFilters}},[e._v(e._s(this.__("Clear","dokan-lite")))])])])],2)],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(84),n=a(217),i=!1;var o=function(e){i||a(216)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ReverseWithdrawalTransactions.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-reverse-withdrawal-transactions"},[a("h1",{staticClass:"wp-heading-inline"},[e._v("\n "+e._s(e.__("Reverse Withdrawal","dokan-lite"))+"\n "),a("a",{staticClass:"button",attrs:{href:this.reverseWithdrawalUrl()}},[e._v("← "+e._s(e.__("Go Back","dokan-lite")))])]),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("div",{staticClass:"dokan-reverse-withdrawal-fact-card"},[a("CardFunFact",{attrs:{icon:"fas fa-user",title:e.storeDetails.store_name?e.storeDetails.store_name:""}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.credit,icon:"fas fa-comments-dollar",is_currency:"",title:e.__("Total Collected","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.balance,icon:"fas fa-coins",is_currency:"",title:e.__("Remaining Balance","dokan-lite")}}),e._v(" "),a("CardFunFact",{attrs:{count:e.counts.total_transactions,icon:"fas fa-info",title:e.__("Total Transactions","dokan-lite")}})],1),e._v(" "),a("div",{attrs:{id:"dokan_reverse_withdrawal_transactions_list_table"}},[a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.transactionData,actions:e.actions,"show-cb":!1,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.getCurrentPage,"not-found":this.__("No transaction found.","dokan-lite"),"sort-by":e.getSortBy,"sort-order":e.getSortOrder},on:{sort:e.doSort,pagination:e.goToPage},scopedSlots:e._u([{key:"trn_id",fn:function(t){return"--"!==t.row.trn_id?[a("a",{attrs:{href:t.row.trn_url,target:"_blank"}},[e._v(e._s(t.row.trn_id))])]:void 0}},{key:"trn_date",fn:function(t){return[e._v("\n "+e._s(t.row.trn_date)+"\n ")]}},{key:"trn_type",fn:function(t){return[e._v("\n "+e._s(t.row.trn_type)+"\n ")]}},{key:"note",fn:function(t){return[e._v("\n "+e._s(t.row.note)+"\n ")]}},{key:"debit",fn:function(t){return[""===t.row.debit?a("div",[e._v("--")]):t.row.debit>=0?a("currency",{attrs:{amount:t.row.debit}}):t.row.debit<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.debit}}),e._v(" )\n ")],1):e._e()]}},{key:"credit",fn:function(t){return[""===t.row.credit?a("div",[e._v("--")]):t.row.credit>=0?a("currency",{attrs:{amount:t.row.credit}}):t.row.credit<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.credit}}),e._v(" )\n ")],1):e._e()]}},{key:"balance",fn:function(t){return[""===t.row.balance?a("div",[e._v("--")]):t.row.balance>=0?a("currency",{attrs:{amount:t.row.balance}}):t.row.balance<0?a("div",{staticClass:"negative-balance"},[e._v("\n ( "),a("currency",{attrs:{amount:-1*t.row.balance}}),e._v(" )\n ")],1):e._e()]}}],null,!0)},[e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),e._v(" "),a("template",{slot:"filters"},[a("span",{staticClass:"form-group"},[a("date-range-picker",{ref:"picker",staticClass:"mr-5",attrs:{"locale-data":this.dateTimePickerFormat,singleDatePicker:!1,timePicker:!1,timePicker24Hour:!1,showWeekNumbers:!1,showDropdowns:!0,autoApply:!1,ranges:this.dateRangePickerRanges,linkedCalendars:!0,opens:"right"},scopedSlots:e._u([{key:"input",fn:function(t){return[e.filter.transaction_date.startDate?a("span",[e._v(e._s(e._f("getFormattedDate")(e.filter.transaction_date.startDate))+" - "+e._s(e._f("getFormattedDate")(e.filter.transaction_date.endDate)))]):e._e(),e._v(" "),e.filter.transaction_date.startDate?e._e():a("span",{staticClass:"date-range-placeholder"},[e._v(e._s(e.__("Filter by expire date","dokan-lite")))])]}},{key:"footer",fn:function(t){return a("div",{staticClass:"drp-buttons"},[a("span",{staticClass:"drp-selected"},[e._v(e._s(t.rangeText))]),e._v(" "),a("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:function(t){return e.setDefaultTransactionDate()}}},[e._v(e._s(e.__("Cancel","dokan-lite")))]),e._v(" "),t.in_selection?e._e():a("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{type:"button"},on:{click:t.clickApply}},[e._v(e._s(e.__("Apply","dokan-lite")))])])}}]),model:{value:e.filter.transaction_date,callback:function(t){e.$set(e.filter,"transaction_date",t)},expression:"filter.transaction_date"}})],1),e._v(" "),a("span",{staticClass:"form-group"},[a("button",{staticClass:"button action",on:{click:this.clearFilters}},[e._v(e._s(this.__("Clear","dokan-lite")))])])])],2)],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";t.a=function(e){var t=jQuery,a=t("#toplevel_page_"+e),s=window.location.href,n=s.substr(s.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==n||t(a).parent().addClass("current")})}}],[124]);
dokan.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Dokan
4
  * Plugin URI: https://wordpress.org/plugins/dokan-lite/
5
  * Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
6
- * Version: 3.7.6
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
@@ -56,7 +56,7 @@ final class WeDevs_Dokan {
56
  *
57
  * @var string
58
  */
59
- public $version = '3.7.6';
60
 
61
  /**
62
  * Instance of self
3
  * Plugin Name: Dokan
4
  * Plugin URI: https://wordpress.org/plugins/dokan-lite/
5
  * Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
6
+ * Version: 3.7.7
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
56
  *
57
  * @var string
58
  */
59
+ public $version = '3.7.7';
60
 
61
  /**
62
  * Instance of self
includes/REST/OrderController.php CHANGED
@@ -432,6 +432,10 @@ class OrderController extends DokanRESTController {
432
  'paged' => isset( $request['page'] ) ? absint( $request['page'] ) : 1,
433
  'customer_id' => $request['customer_id'],
434
  'seller_id' => dokan_get_current_user_id(),
 
 
 
 
435
  ];
436
 
437
  $orders = dokan()->order->all( $args );
@@ -1739,6 +1743,20 @@ class OrderController extends DokanRESTController {
1739
  'type' => $schema_properties['customer_id']['type'],
1740
  );
1741
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1742
  return $query_params;
1743
  }
1744
  }
432
  'paged' => isset( $request['page'] ) ? absint( $request['page'] ) : 1,
433
  'customer_id' => $request['customer_id'],
434
  'seller_id' => dokan_get_current_user_id(),
435
+ 'date' => [
436
+ 'from' => isset( $request['after'] ) ? sanitize_text_field( wp_unslash( $request['after'] ) ) : '',
437
+ 'to' => isset( $request['before'] ) ? sanitize_text_field( wp_unslash( $request['before'] ) ) : '',
438
+ ]
439
  ];
440
 
441
  $orders = dokan()->order->all( $args );
1743
  'type' => $schema_properties['customer_id']['type'],
1744
  );
1745
 
1746
+ $params['after'] = array(
1747
+ 'description' => __( 'Limit response to resources published after a given ISO8601 compliant date.', 'dokan-lite' ),
1748
+ 'type' => 'string',
1749
+ 'format' => 'date-time',
1750
+ 'validate_callback' => 'rest_validate_request_arg',
1751
+ );
1752
+
1753
+ $params['before'] = array(
1754
+ 'description' => __( 'Limit response to resources published before a given ISO8601 compliant date.', 'dokan-lite' ),
1755
+ 'type' => 'string',
1756
+ 'format' => 'date-time',
1757
+ 'validate_callback' => 'rest_validate_request_arg',
1758
+ );
1759
+
1760
  return $query_params;
1761
  }
1762
  }
includes/Withdraw/functions.php CHANGED
@@ -186,8 +186,9 @@ function dokan_withdraw_method_bank( $store_settings ) {
186
  'save_or_add_btn_text' => isset( $store_settings['is_edit_mode'] ) && $store_settings['is_edit_mode'] ? __( 'Save', 'dokan-lite' ) : __( 'Add Account', 'dokan-lite' ),
187
  ];
188
 
189
- $args['required_fields'] = dokan_bank_payment_required_fields();
190
- $args['connected'] = false;
 
191
 
192
  // If any required field is empty in args, connected is false and
193
  // by default it is false because if there are no require field then the account is not connected.
@@ -265,6 +266,62 @@ function dokan_bank_payment_available_fields() {
265
  ];
266
  }
267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  /**
269
  * Get withdraw counts, used in admin area
270
  *
186
  'save_or_add_btn_text' => isset( $store_settings['is_edit_mode'] ) && $store_settings['is_edit_mode'] ? __( 'Save', 'dokan-lite' ) : __( 'Add Account', 'dokan-lite' ),
187
  ];
188
 
189
+ $args['required_fields'] = dokan_bank_payment_required_fields();
190
+ $args['fields_placeholders'] = dokan_bank_payment_fields_placeholders();
191
+ $args['connected'] = false;
192
 
193
  // If any required field is empty in args, connected is false and
194
  // by default it is false because if there are no require field then the account is not connected.
266
  ];
267
  }
268
 
269
+ /**
270
+ * Dokan bank payment fields placeholders.
271
+ * Anyone can update any placeholder using 'dokan_bank_payment_fields_placeholders'
272
+ *
273
+ * @since 3.7.7
274
+ *
275
+ * @return array
276
+ */
277
+ function dokan_bank_payment_fields_placeholders() {
278
+ return apply_filters(
279
+ 'dokan_bank_payment_fields_placeholders',
280
+ [
281
+ 'ac_name' => [
282
+ 'label' => __( 'Account Holder', 'dokan-lite' ),
283
+ 'placeholder' => __( 'Your bank account name', 'dokan-lite' ),
284
+ ],
285
+ 'ac_type' => [
286
+ 'label' => __( 'Account Type', 'dokan-lite' ),
287
+ 'placeholder' => __( 'Account Type', 'dokan-lite' ),
288
+ ],
289
+ 'ac_number' => [
290
+ 'label' => __( 'Account Number', 'dokan-lite' ),
291
+ 'placeholder' => __( 'Account Number', 'dokan-lite' ),
292
+ ],
293
+ 'routing_number' => [
294
+ 'label' => __( 'Routing Number', 'dokan-lite' ),
295
+ 'placeholder' => __( 'Routing Number', 'dokan-lite' ),
296
+ ],
297
+ 'bank_name' => [
298
+ 'label' => __( 'Bank Name', 'dokan-lite' ),
299
+ 'placeholder' => __( 'Name of bank', 'dokan-lite' ),
300
+ ],
301
+ 'bank_addr' => [
302
+ 'label' => __( 'Bank Address', 'dokan-lite' ),
303
+ 'placeholder' => __( 'Address of your bank', 'dokan-lite' ),
304
+ ],
305
+ 'iban' => [
306
+ 'label' => __( 'Bank IBAN', 'dokan-lite' ),
307
+ 'placeholder' => __( 'IBAN', 'dokan-lite' ),
308
+ ],
309
+ 'swift' => [
310
+ 'label' => __( 'Bank Swift Code', 'dokan-lite' ),
311
+ 'placeholder' => __( 'Swift Code', 'dokan-lite' ),
312
+ ],
313
+ 'declaration' => [
314
+ 'label' => __( 'I attest that I am the owner and have full authorization to this bank account', 'dokan-lite' ),
315
+ 'placeholder' => __( '', 'dokan-lite' ),
316
+ ],
317
+ 'form_caution' => [
318
+ 'label' => __( 'Please double-check your account information!', 'dokan-lite' ),
319
+ 'placeholder' => __( 'Incorrect or mismatched account name and number can result in withdrawal delays and fees', 'dokan-lite' ),
320
+ ],
321
+ ]
322
+ );
323
+ }
324
+
325
  /**
326
  * Get withdraw counts, used in admin area
327
  *
includes/template-tags.php CHANGED
@@ -389,7 +389,7 @@ function dokan_nav_sort_by_pos( $a, $b ) {
389
  * @return array
390
  */
391
  function dokan_get_dashboard_nav() {
392
- $urls = array(
393
  'dashboard' => array(
394
  'title' => __( 'Dashboard', 'dokan-lite' ),
395
  'icon' => '<i class="fas fa-tachometer-alt"></i>',
@@ -411,7 +411,6 @@ function dokan_get_dashboard_nav() {
411
  'pos' => 50,
412
  'permission' => 'dokan_view_order_menu',
413
  ),
414
-
415
  'withdraw' => array(
416
  'title' => __( 'Withdraw', 'dokan-lite' ),
417
  'icon' => '<i class="fas fa-upload"></i>',
@@ -419,22 +418,15 @@ function dokan_get_dashboard_nav() {
419
  'pos' => 70,
420
  'permission' => 'dokan_view_withdraw_menu',
421
  ),
422
- );
423
-
424
- $settings = array(
425
- 'title' => sprintf( '%s <i class="fas fa-angle-right pull-right"></i>', __( 'Settings', 'dokan-lite' ) ),
426
- 'icon' => '<i class="fas fa-cog"></i>',
427
- 'url' => dokan_get_navigation_url( 'settings/store' ),
428
- 'pos' => 200,
429
  );
430
 
431
  $settings_sub = array(
432
- 'back' => array(
433
- 'title' => __( 'Back to Dashboard', 'dokan-lite' ),
434
- 'icon' => '<i class="fas fa-long-arrow-alt-left"></i>',
435
- 'url' => dokan_get_navigation_url(),
436
- 'pos' => 10,
437
- ),
438
  'store' => array(
439
  'title' => __( 'Store', 'dokan-lite' ),
440
  'icon' => '<i class="fas fa-university"></i>',
@@ -458,43 +450,65 @@ function dokan_get_dashboard_nav() {
458
  *
459
  * @param array.
460
  */
461
- $sub_settings = apply_filters( 'dokan_get_dashboard_settings_nav', $settings_sub );
462
 
463
- foreach ( $sub_settings as $key => $sub_setting ) {
464
- if ( ! isset( $sub_setting['pos'] ) && empty( $sub_setting['pos'] ) ) {
465
- $sub_setting['pos'] = '200';
 
 
 
 
 
 
 
466
  }
467
 
468
- $settings['sub'][ $key ] = $sub_setting;
469
- }
 
 
 
 
 
 
 
 
 
470
 
471
- uasort( $settings['sub'], 'dokan_nav_sort_by_pos' );
 
 
472
 
473
- // Filter Sub setting menu according to permission
474
- $settings['sub'] = array_filter( $settings['sub'], 'dokan_check_menu_permission' );
 
 
475
 
476
- // Manage main settings url after re-render permission cheching
477
- if ( count( $settings['sub'] ) > 1 ) {
478
- $urls['settings'] = $settings;
479
- $sub_settings_key = array_keys( $settings['sub'] );
480
- $urls['settings']['url'] = $settings['sub'][ $sub_settings_key[1] ]['url'];
481
- }
482
 
483
- $nav_urls = apply_filters( 'dokan_get_dashboard_nav', $urls );
 
484
 
485
- uasort( $nav_urls, 'dokan_nav_sort_by_pos' );
 
 
 
 
 
 
 
 
 
 
 
 
486
 
487
  // Filter main menu according to permission
488
- $nav_urls = array_filter( $nav_urls, 'dokan_check_menu_permission' );
489
 
490
- /**
491
- * Filter to get the final seller dashboard navigation.
492
- *
493
- * @since 2.2
494
- *
495
- * @param array $urls.
496
- */
497
- return $nav_urls;
498
  }
499
 
500
  /**
@@ -527,33 +541,11 @@ function dokan_check_menu_permission( $menu ) {
527
  function dokan_dashboard_nav( $active_menu = '' ) {
528
  $nav_menu = dokan_get_dashboard_nav();
529
  $active_menu_parts = explode( '/', $active_menu );
 
530
 
531
  if ( $active_menu && false !== strpos( $active_menu, '/' ) ) {
532
- $active_menu = $active_menu_parts[1];
533
- }
534
-
535
- /**
536
- * Filters the settings' key.
537
- *
538
- * @param string $settings_key "settings" (default)
539
- *
540
- * @return string
541
- */
542
- $settings_key = apply_filters( 'dokan_dashboard_nav_settings_key', 'settings' );
543
-
544
- if ( isset( $active_menu_parts[1] )
545
- && ( $active_menu_parts[1] === $settings_key || urldecode( $active_menu_parts[0] ) === $settings_key )
546
- && isset( $nav_menu[ $settings_key ]['sub'] )
547
- && (
548
- array_key_exists( $active_menu_parts[1], $nav_menu[ $settings_key ]['sub'] ) ||
549
- ( isset( $active_menu_parts[2] ) && array_key_exists( $active_menu_parts[2], $nav_menu[ $settings_key ]['sub'] ) ) ||
550
- ( 0 === stripos( $active_menu_parts[1], 'payment' ) && array_key_exists( 'payment', $nav_menu[ $settings_key ]['sub'] ) ) // special case when submenu is payment
551
- )
552
- ) {
553
- $urls = $nav_menu[ $settings_key ]['sub'];
554
- $active_menu = $active_menu_parts[1] === $settings_key ? $active_menu_parts[2] : $active_menu_parts[1];
555
- } else {
556
- $urls = $nav_menu;
557
  }
558
 
559
  $menu = '';
@@ -567,9 +559,67 @@ function dokan_dashboard_nav( $active_menu = '' ) {
567
 
568
  $menu .= '<ul class="dokan-dashboard-menu">';
569
 
570
- foreach ( $urls as $key => $item ) {
571
- $class = ( ( $active_menu === $key ) || 0 === stripos( $active_menu, $key ) ) ? 'active ' . $key : $key; // checking starts with the key
572
- $menu .= sprintf( '<li class="%s"><a href="%s">%s %s</a></li>', $class, $item['url'], $item['icon'], $item['title'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
573
  }
574
 
575
  $common_links = '<li class="dokan-common-links dokan-clearfix">
389
  * @return array
390
  */
391
  function dokan_get_dashboard_nav() {
392
+ $menus = array(
393
  'dashboard' => array(
394
  'title' => __( 'Dashboard', 'dokan-lite' ),
395
  'icon' => '<i class="fas fa-tachometer-alt"></i>',
411
  'pos' => 50,
412
  'permission' => 'dokan_view_order_menu',
413
  ),
 
414
  'withdraw' => array(
415
  'title' => __( 'Withdraw', 'dokan-lite' ),
416
  'icon' => '<i class="fas fa-upload"></i>',
418
  'pos' => 70,
419
  'permission' => 'dokan_view_withdraw_menu',
420
  ),
421
+ 'settings' => array(
422
+ 'title' => __( 'Settings', 'dokan-lite' ),
423
+ 'icon' => '<i class="fas fa-cog"></i>',
424
+ 'url' => dokan_get_navigation_url( 'settings/store' ),
425
+ 'pos' => 200,
426
+ ),
 
427
  );
428
 
429
  $settings_sub = array(
 
 
 
 
 
 
430
  'store' => array(
431
  'title' => __( 'Store', 'dokan-lite' ),
432
  'icon' => '<i class="fas fa-university"></i>',
450
  *
451
  * @param array.
452
  */
453
+ $menus['settings']['submenu'] = apply_filters( 'dokan_get_dashboard_settings_nav', $settings_sub );
454
 
455
+ /**
456
+ * Filters nav menu items.
457
+ *
458
+ * @param array<string,array> $menus
459
+ */
460
+ $nav_menus = apply_filters( 'dokan_get_dashboard_nav', $menus );
461
+
462
+ foreach ( $nav_menus as $nav_key => $menu ) {
463
+ if ( ! isset( $menu['pos'] ) ) {
464
+ $nav_menus[ $nav_key ]['pos'] = 190;
465
  }
466
 
467
+ $submenu_items = empty( $menu['submenu'] ) ? [] : $menu['submenu'];
468
+
469
+ /**
470
+ * Filters the vendor dashboard submenu item for each menu.
471
+ *
472
+ * @since 3.7.7
473
+ *
474
+ * @param array<string,array> $submenu_items Associative array of submenu items.
475
+ * @param string $menu_key Key of the corresponding menu.
476
+ */
477
+ $submenu_items = apply_filters( 'dokan_dashboard_nav_submenu', $submenu_items, $nav_key );
478
 
479
+ if ( empty( $submenu_items ) ) {
480
+ continue;
481
+ }
482
 
483
+ foreach ( $submenu_items as $key => $submenu ) {
484
+ if ( ! isset( $submenu['pos'] ) ) {
485
+ $submenu['pos'] = 200;
486
+ }
487
 
488
+ $submenu_items[ $key ] = $submenu;
489
+ }
 
 
 
 
490
 
491
+ // Sort items according to positional value
492
+ uasort( $submenu_items, 'dokan_nav_sort_by_pos' );
493
 
494
+ // Filter items according to permissions
495
+ $submenu_items = array_filter( $submenu_items, 'dokan_check_menu_permission' );
496
+
497
+ // Manage menu with submenus after permission check
498
+ if ( count( $submenu_items ) < 1 ) {
499
+ unset( $nav_menus[ $nav_key ] );
500
+ } else {
501
+ $nav_menus[ $nav_key ]['submenu'] = $submenu_items;
502
+ }
503
+ }
504
+
505
+ // Sort items according to positional value
506
+ uasort( $nav_menus, 'dokan_nav_sort_by_pos' );
507
 
508
  // Filter main menu according to permission
509
+ $nav_menus = array_filter( $nav_menus, 'dokan_check_menu_permission' );
510
 
511
+ return $nav_menus;
 
 
 
 
 
 
 
512
  }
513
 
514
  /**
541
  function dokan_dashboard_nav( $active_menu = '' ) {
542
  $nav_menu = dokan_get_dashboard_nav();
543
  $active_menu_parts = explode( '/', $active_menu );
544
+ $active_submenu = '';
545
 
546
  if ( $active_menu && false !== strpos( $active_menu, '/' ) ) {
547
+ $active_menu = $active_menu_parts[0];
548
+ $active_submenu = $active_menu_parts[1];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
549
  }
550
 
551
  $menu = '';
559
 
560
  $menu .= '<ul class="dokan-dashboard-menu">';
561
 
562
+ foreach ( $nav_menu as $key => $item ) {
563
+ /**
564
+ * Filters menu key according to slug if needed.
565
+ *
566
+ * @since DOKAN_PRO_SINCE
567
+ *
568
+ * @param string $menu_key
569
+ */
570
+ $filtered_key = apply_filters( 'dokan_dashboard_nav_menu_key', $key );
571
+
572
+ $class = $active_menu === $filtered_key || 0 === stripos( $active_menu, $filtered_key ) ? 'active ' . $key : $key; // checking starts with the key
573
+ $title = isset( $item['title'] ) ? $item['title'] : __( 'No title', 'dokan-lite' );
574
+ $menu_slug = $filtered_key;
575
+ $submenu = '';
576
+
577
+ if ( ! empty( $item['submenu'] ) ) {
578
+ $class .= ' has-submenu';
579
+ $title .= ' <i class="fas fa-caret-right menu-dropdown"></i>';
580
+ $submenu = sprintf( '<ul class="navigation-submenu %s">', $key );
581
+ $subkey_slugs = [];
582
+
583
+ foreach ( $item['submenu'] as $sub_key => $sub ) {
584
+ /**
585
+ * Filters menu key according to slug if needed.
586
+ *
587
+ * @since DOKAN_PRO_SINCE
588
+ *
589
+ * @param string $submenu_key
590
+ * @param string $menu_key
591
+ */
592
+ $filtered_subkey = apply_filters( 'dokan_dashboard_nav_submenu_key', $sub_key, $key );
593
+
594
+ $submenu_class = $active_submenu === $filtered_subkey || 0 === stripos( $active_submenu, $filtered_subkey ) ? "current $sub_key" : $sub_key;
595
+
596
+ $submenu .= sprintf(
597
+ '<li class="submenu-item %s"><a href="%s" class="submenu-link">%s %s</a></li>',
598
+ $submenu_class,
599
+ isset( $sub['url'] ) ? $sub['url'] : dokan_get_navigation_url( "{$filtered_key}/{$filtered_subkey}" ),
600
+ isset( $sub['icon'] ) ? $sub['icon'] : '<i class="fab fa-staylinked"></i>',
601
+ isset( $sub['title'] ) ? $sub['title'] : __( 'No title', 'dokan-lite' )
602
+ );
603
+
604
+ $subkey_slugs[] = $filtered_subkey;
605
+ }
606
+
607
+ $submenu .= '</ul>';
608
+
609
+ // Building parent menu slug pointing to the first submenu item
610
+ if ( isset( $subkey_slugs[0] ) ) {
611
+ $menu_slug = trailingslashit( $menu_slug ) . $subkey_slugs[0];
612
+ }
613
+ }
614
+
615
+ $menu .= sprintf(
616
+ '<li class="%s"><a href="%s">%s %s</a>%s</li>',
617
+ $class,
618
+ isset( $item['url'] ) ? $item['url'] : dokan_get_navigation_url( $menu_slug ),
619
+ isset( $item['icon'] ) ? $item['icon'] : '<i class="fab fa-staylinked"></i>',
620
+ $title,
621
+ $submenu
622
+ );
623
  }
624
 
625
  $common_links = '<li class="dokan-common-links dokan-clearfix">
languages/dokan-lite.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Dokan 3.7.6\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2022-11-14 08:42:08+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -52,7 +52,7 @@ msgstr ""
52
 
53
  #: dokan.php:481 includes/Admin/AdminBar.php:81 includes/Admin/Menu.php:67
54
  #: includes/Dashboard/Templates/Settings.php:60
55
- #: includes/Dashboard/Templates/Settings.php:67 includes/template-tags.php:425
56
  #: src/admin/pages/Settings.vue:4
57
  msgid "Settings"
58
  msgstr ""
@@ -132,7 +132,7 @@ msgstr ""
132
 
133
  #: includes/Admin/AdminBar.php:63 includes/Admin/Menu.php:34
134
  #: includes/Admin/Menu.php:46 includes/Admin/SetupWizard.php:161
135
- #: includes/functions.php:2979 includes/template-tags.php:416
136
  #: templates/withdraw/header.php:11
137
  msgid "Withdraw"
138
  msgstr ""
@@ -1076,7 +1076,7 @@ msgid "Introduction"
1076
  msgstr ""
1077
 
1078
  #: includes/Admin/SetupWizard.php:151 includes/Vendor/SetupWizard.php:75
1079
- #: includes/template-tags.php:439
1080
  msgid "Store"
1081
  msgstr ""
1082
 
@@ -1231,7 +1231,7 @@ msgstr ""
1231
 
1232
  #: includes/Admin/SetupWizardNoWC.php:176
1233
  #: includes/ReverseWithdrawal/Helper.php:69 includes/Vendor/SetupWizard.php:80
1234
- #: includes/template-tags.php:446
1235
  msgid "Payment"
1236
  msgstr ""
1237
 
@@ -1415,8 +1415,8 @@ msgid "Bank Address "
1415
  msgstr ""
1416
 
1417
  #: includes/Admin/UserProfile.php:282 includes/Privacy.php:278
 
1418
  #: src/admin/pages/VendorPaymentFields.vue:39
1419
- #: templates/settings/bank-payment-method-settings.php:53
1420
  msgid "Routing Number"
1421
  msgstr ""
1422
 
@@ -2060,7 +2060,7 @@ msgstr ""
2060
  #: templates/products/edit-product-single.php:246
2061
  #: templates/products/new-product.php:232
2062
  #: templates/products/tmpl-add-product-popup.php:68
2063
- #: templates/settings/bank-payment-method-settings.php:134
2064
  #: templates/store-lists-filter.php:86
2065
  #: templates/withdraw/pending-request-listing-dashboard.php:20
2066
  #: templates/withdraw/pending-request-listing-dashboard.php:40
@@ -3356,29 +3356,30 @@ msgstr ""
3356
  msgid "Account Name"
3357
  msgstr ""
3358
 
3359
- #: includes/Privacy.php:275 src/admin/pages/VendorPaymentFields.vue:15
3360
- #: templates/settings/bank-payment-method-settings.php:44
 
3361
  msgid "Account Number"
3362
  msgstr ""
3363
 
3364
- #: includes/Privacy.php:276 src/admin/pages/VendorPaymentFields.vue:29
 
3365
  #: src/admin/pages/VendorPaymentFields.vue:30
3366
- #: templates/settings/bank-payment-method-settings.php:63
3367
  msgid "Bank Name"
3368
  msgstr ""
3369
 
3370
- #: includes/Privacy.php:277 src/admin/pages/VendorPaymentFields.vue:34
 
3371
  #: src/admin/pages/VendorPaymentFields.vue:35
3372
- #: templates/settings/bank-payment-method-settings.php:73
3373
  msgid "Bank Address"
3374
  msgstr ""
3375
 
3376
- #: includes/Privacy.php:279 src/admin/pages/VendorPaymentFields.vue:44
3377
- #: templates/settings/bank-payment-method-settings.php:87
3378
  msgid "IBAN"
3379
  msgstr ""
3380
 
3381
- #: includes/Privacy.php:280
3382
  msgid "Swift Code"
3383
  msgstr ""
3384
 
@@ -3760,13 +3761,13 @@ msgid "Vendors products data."
3760
  msgstr ""
3761
 
3762
  #: includes/REST/DummyDataController.php:172
3763
- #: includes/REST/OrderController.php:875
3764
  #: includes/REST/ProductController.php:1777
3765
  msgid "Unique identifier for the resource."
3766
  msgstr ""
3767
 
3768
  #: includes/REST/DummyDataController.php:178
3769
- #: includes/REST/OrderController.php:1224
3770
  #: includes/REST/ProductController.php:1783
3771
  msgid "Product name."
3772
  msgstr ""
@@ -4234,45 +4235,45 @@ msgid "Menu order, used to custom sort products."
4234
  msgstr ""
4235
 
4236
  #: includes/REST/DummyDataController.php:751
4237
- #: includes/REST/OrderController.php:1185
4238
- #: includes/REST/OrderController.php:1297
4239
- #: includes/REST/OrderController.php:1388
4240
- #: includes/REST/OrderController.php:1474
4241
- #: includes/REST/OrderController.php:1572
4242
- #: includes/REST/OrderController.php:1630
4243
  #: includes/REST/ProductController.php:2354
4244
  msgid "Meta data."
4245
  msgstr ""
4246
 
4247
  #: includes/REST/DummyDataController.php:758
4248
- #: includes/REST/OrderController.php:1192
4249
- #: includes/REST/OrderController.php:1304
4250
- #: includes/REST/OrderController.php:1395
4251
- #: includes/REST/OrderController.php:1481
4252
- #: includes/REST/OrderController.php:1579
4253
- #: includes/REST/OrderController.php:1637
4254
  #: includes/REST/ProductController.php:2361
4255
  msgid "Meta ID."
4256
  msgstr ""
4257
 
4258
  #: includes/REST/DummyDataController.php:764
4259
- #: includes/REST/OrderController.php:1198
4260
- #: includes/REST/OrderController.php:1310
4261
- #: includes/REST/OrderController.php:1401
4262
- #: includes/REST/OrderController.php:1487
4263
- #: includes/REST/OrderController.php:1585
4264
- #: includes/REST/OrderController.php:1643
4265
  #: includes/REST/ProductController.php:2367
4266
  msgid "Meta key."
4267
  msgstr ""
4268
 
4269
  #: includes/REST/DummyDataController.php:769
4270
- #: includes/REST/OrderController.php:1203
4271
- #: includes/REST/OrderController.php:1315
4272
- #: includes/REST/OrderController.php:1406
4273
- #: includes/REST/OrderController.php:1492
4274
- #: includes/REST/OrderController.php:1590
4275
- #: includes/REST/OrderController.php:1648
4276
  #: includes/REST/ProductController.php:2372
4277
  msgid "Meta value."
4278
  msgstr ""
@@ -4414,400 +4415,408 @@ msgstr ""
4414
  msgid "Invalid order"
4415
  msgstr ""
4416
 
4417
- #: includes/REST/OrderController.php:539 includes/REST/OrderController.php:645
4418
- #: includes/REST/OrderController.php:677
4419
  msgid "You have no permission to view this notes"
4420
  msgstr ""
4421
 
4422
- #: includes/REST/OrderController.php:543 includes/REST/OrderController.php:607
4423
- #: includes/REST/OrderController.php:649 includes/REST/OrderController.php:681
4424
  msgid "Invalid order ID."
4425
  msgstr ""
4426
 
4427
- #: includes/REST/OrderController.php:596
4428
  #: includes/REST/ProductController.php:300
4429
  #. translators: 1) post type name
4430
  #. translators: %s: product
4431
  msgid "Cannot create existing %s."
4432
  msgstr ""
4433
 
4434
- #: includes/REST/OrderController.php:603
4435
  msgid "You have no permission to create this notes"
4436
  msgstr ""
4437
 
4438
- #: includes/REST/OrderController.php:614
4439
  msgid "Cannot create order note, please try again."
4440
  msgstr ""
4441
 
4442
- #: includes/REST/OrderController.php:655 includes/REST/OrderController.php:687
4443
  msgid "Invalid resource ID."
4444
  msgstr ""
4445
 
4446
- #: includes/REST/OrderController.php:696
4447
  msgid "Given order note cannot be deleted."
4448
  msgstr ""
4449
 
4450
- #: includes/REST/OrderController.php:881
4451
  msgid "Parent order ID."
4452
  msgstr ""
4453
 
4454
- #: includes/REST/OrderController.php:886
4455
  msgid "Orders belongs to specific seller"
4456
  msgstr ""
4457
 
4458
- #: includes/REST/OrderController.php:891
4459
  msgid "Order number."
4460
  msgstr ""
4461
 
4462
- #: includes/REST/OrderController.php:897
4463
  msgid "Order key."
4464
  msgstr ""
4465
 
4466
- #: includes/REST/OrderController.php:903
4467
  msgid "Shows where the order was created."
4468
  msgstr ""
4469
 
4470
- #: includes/REST/OrderController.php:909
4471
  msgid "Version of WooCommerce which last updated the order."
4472
  msgstr ""
4473
 
4474
- #: includes/REST/OrderController.php:915
4475
  msgid "Order status."
4476
  msgstr ""
4477
 
4478
- #: includes/REST/OrderController.php:922
4479
  msgid "Currency the order was created with, in ISO format."
4480
  msgstr ""
4481
 
4482
- #: includes/REST/OrderController.php:929
4483
  msgid "The date the order was created, in the site's timezone."
4484
  msgstr ""
4485
 
4486
- #: includes/REST/OrderController.php:936
4487
  msgid "The date the order was created, as GMT."
4488
  msgstr ""
4489
 
4490
- #: includes/REST/OrderController.php:942
4491
  msgid "The date the order was last modified, in the site's timezone."
4492
  msgstr ""
4493
 
4494
- #: includes/REST/OrderController.php:948
4495
  msgid "The date the order was last modified, as GMT."
4496
  msgstr ""
4497
 
4498
- #: includes/REST/OrderController.php:954
4499
  msgid "Total discount amount for the order."
4500
  msgstr ""
4501
 
4502
- #: includes/REST/OrderController.php:960
4503
  msgid "Total discount tax amount for the order."
4504
  msgstr ""
4505
 
4506
- #: includes/REST/OrderController.php:966
4507
  msgid "Total shipping amount for the order."
4508
  msgstr ""
4509
 
4510
- #: includes/REST/OrderController.php:972
4511
  msgid "Total shipping tax amount for the order."
4512
  msgstr ""
4513
 
4514
- #: includes/REST/OrderController.php:978
4515
  msgid "Sum of line item taxes only."
4516
  msgstr ""
4517
 
4518
- #: includes/REST/OrderController.php:984
4519
  msgid "Grand total."
4520
  msgstr ""
4521
 
4522
- #: includes/REST/OrderController.php:990
4523
  msgid "Sum of all taxes."
4524
  msgstr ""
4525
 
4526
- #: includes/REST/OrderController.php:996
4527
  msgid "True the prices included tax during checkout."
4528
  msgstr ""
4529
 
4530
- #: includes/REST/OrderController.php:1002
4531
  msgid "User ID who owns the order. 0 for guests."
4532
  msgstr ""
4533
 
4534
- #: includes/REST/OrderController.php:1008
4535
  msgid "Customer's IP address."
4536
  msgstr ""
4537
 
4538
- #: includes/REST/OrderController.php:1014
4539
  msgid "User agent of the customer."
4540
  msgstr ""
4541
 
4542
- #: includes/REST/OrderController.php:1020
4543
  msgid "Note left by customer during checkout."
4544
  msgstr ""
4545
 
4546
- #: includes/REST/OrderController.php:1025
4547
  msgid "Billing address."
4548
  msgstr ""
4549
 
4550
- #: includes/REST/OrderController.php:1030
4551
- #: includes/REST/OrderController.php:1093
4552
  msgid "First name."
4553
  msgstr ""
4554
 
4555
- #: includes/REST/OrderController.php:1035
4556
- #: includes/REST/OrderController.php:1098
4557
  msgid "Last name."
4558
  msgstr ""
4559
 
4560
- #: includes/REST/OrderController.php:1040
4561
- #: includes/REST/OrderController.php:1103
4562
  msgid "Company name."
4563
  msgstr ""
4564
 
4565
- #: includes/REST/OrderController.php:1045
4566
- #: includes/REST/OrderController.php:1108
4567
  #: templates/admin-setup-wizard/step-store-wc-fields.php:37
4568
  msgid "Address line 1"
4569
  msgstr ""
4570
 
4571
- #: includes/REST/OrderController.php:1050
4572
- #: includes/REST/OrderController.php:1113
4573
  #: templates/admin-setup-wizard/step-store-wc-fields.php:44
4574
  msgid "Address line 2"
4575
  msgstr ""
4576
 
4577
- #: includes/REST/OrderController.php:1055
4578
- #: includes/REST/OrderController.php:1118
4579
  msgid "City name."
4580
  msgstr ""
4581
 
4582
- #: includes/REST/OrderController.php:1060
4583
- #: includes/REST/OrderController.php:1123
4584
  msgid "ISO code or name of the state, province or district."
4585
  msgstr ""
4586
 
4587
- #: includes/REST/OrderController.php:1065
4588
- #: includes/REST/OrderController.php:1128
4589
  msgid "Postal code."
4590
  msgstr ""
4591
 
4592
- #: includes/REST/OrderController.php:1070
4593
- #: includes/REST/OrderController.php:1133
4594
  msgid "Country code in ISO 3166-1 alpha-2 format."
4595
  msgstr ""
4596
 
4597
- #: includes/REST/OrderController.php:1075
4598
  msgid "Email address."
4599
  msgstr ""
4600
 
4601
- #: includes/REST/OrderController.php:1081
4602
  msgid "Phone number."
4603
  msgstr ""
4604
 
4605
- #: includes/REST/OrderController.php:1088
4606
  msgid "Shipping address."
4607
  msgstr ""
4608
 
4609
- #: includes/REST/OrderController.php:1140
4610
  msgid "Payment method ID."
4611
  msgstr ""
4612
 
4613
- #: includes/REST/OrderController.php:1145
4614
  msgid "Payment method title."
4615
  msgstr ""
4616
 
4617
- #: includes/REST/OrderController.php:1150
4618
  msgid "Unique transaction ID."
4619
  msgstr ""
4620
 
4621
- #: includes/REST/OrderController.php:1155
4622
  msgid "The date the order was paid, in the site's timezone."
4623
  msgstr ""
4624
 
4625
- #: includes/REST/OrderController.php:1161
4626
  msgid "The date the order was paid, as GMT."
4627
  msgstr ""
4628
 
4629
- #: includes/REST/OrderController.php:1167
4630
  msgid "The date the order was completed, in the site's timezone."
4631
  msgstr ""
4632
 
4633
- #: includes/REST/OrderController.php:1173
4634
  msgid "The date the order was completed, as GMT."
4635
  msgstr ""
4636
 
4637
- #: includes/REST/OrderController.php:1179
4638
  msgid "MD5 hash of cart items to ensure orders are not modified."
4639
  msgstr ""
4640
 
4641
- #: includes/REST/OrderController.php:1211
4642
  msgid "Line items data."
4643
  msgstr ""
4644
 
4645
- #: includes/REST/OrderController.php:1218
4646
- #: includes/REST/OrderController.php:1346
4647
- #: includes/REST/OrderController.php:1424
4648
- #: includes/REST/OrderController.php:1510
4649
- #: includes/REST/OrderController.php:1608
4650
  msgid "Item ID."
4651
  msgstr ""
4652
 
4653
- #: includes/REST/OrderController.php:1229
4654
  msgid "Product ID."
4655
  msgstr ""
4656
 
4657
- #: includes/REST/OrderController.php:1234
4658
  msgid "Variation ID, if applicable."
4659
  msgstr ""
4660
 
4661
- #: includes/REST/OrderController.php:1239
4662
  msgid "Quantity ordered."
4663
  msgstr ""
4664
 
4665
- #: includes/REST/OrderController.php:1244
4666
  msgid "Tax class of product."
4667
  msgstr ""
4668
 
4669
- #: includes/REST/OrderController.php:1249
4670
  msgid "Line subtotal (before discounts)."
4671
  msgstr ""
4672
 
4673
- #: includes/REST/OrderController.php:1254
4674
  msgid "Line subtotal tax (before discounts)."
4675
  msgstr ""
4676
 
4677
- #: includes/REST/OrderController.php:1260
4678
- #: includes/REST/OrderController.php:1440
4679
- #: includes/REST/OrderController.php:1532
4680
  msgid "Line total (after discounts)."
4681
  msgstr ""
4682
 
4683
- #: includes/REST/OrderController.php:1265
4684
- #: includes/REST/OrderController.php:1445
4685
- #: includes/REST/OrderController.php:1537
4686
  msgid "Line total tax (after discounts)."
4687
  msgstr ""
4688
 
4689
- #: includes/REST/OrderController.php:1271
4690
- #: includes/REST/OrderController.php:1451
4691
- #: includes/REST/OrderController.php:1543
4692
  msgid "Line taxes."
4693
  msgstr ""
4694
 
4695
- #: includes/REST/OrderController.php:1279
4696
- #: includes/REST/OrderController.php:1358
4697
- #: includes/REST/OrderController.php:1459
4698
- #: includes/REST/OrderController.php:1551
4699
  msgid "Tax rate ID."
4700
  msgstr ""
4701
 
4702
- #: includes/REST/OrderController.php:1284
4703
- #: includes/REST/OrderController.php:1465
4704
- #: includes/REST/OrderController.php:1557
4705
  msgid "Tax total."
4706
  msgstr ""
4707
 
4708
- #: includes/REST/OrderController.php:1289
4709
- #: includes/REST/OrderController.php:1563
4710
  msgid "Tax subtotal."
4711
  msgstr ""
4712
 
4713
- #: includes/REST/OrderController.php:1323
4714
  msgid "Product SKU."
4715
  msgstr ""
4716
 
4717
- #: includes/REST/OrderController.php:1329
4718
  msgid "Product price."
4719
  msgstr ""
4720
 
4721
- #: includes/REST/OrderController.php:1338
4722
  msgid "Tax lines data."
4723
  msgstr ""
4724
 
4725
- #: includes/REST/OrderController.php:1352
4726
  msgid "Tax rate code."
4727
  msgstr ""
4728
 
4729
- #: includes/REST/OrderController.php:1364
4730
  msgid "Tax rate label."
4731
  msgstr ""
4732
 
4733
- #: includes/REST/OrderController.php:1370
4734
  msgid "Show if is a compound tax rate."
4735
  msgstr ""
4736
 
4737
- #: includes/REST/OrderController.php:1376
4738
  msgid "Tax total (not including shipping taxes)."
4739
  msgstr ""
4740
 
4741
- #: includes/REST/OrderController.php:1382
4742
  msgid "Shipping tax total."
4743
  msgstr ""
4744
 
4745
- #: includes/REST/OrderController.php:1417
4746
  msgid "Shipping lines data."
4747
  msgstr ""
4748
 
4749
- #: includes/REST/OrderController.php:1430
4750
  msgid "Shipping method name."
4751
  msgstr ""
4752
 
4753
- #: includes/REST/OrderController.php:1435
4754
  msgid "Shipping method ID."
4755
  msgstr ""
4756
 
4757
- #: includes/REST/OrderController.php:1503
4758
  msgid "Fee lines data."
4759
  msgstr ""
4760
 
4761
- #: includes/REST/OrderController.php:1516
4762
  msgid "Fee name."
4763
  msgstr ""
4764
 
4765
- #: includes/REST/OrderController.php:1521
4766
  msgid "Tax class of fee."
4767
  msgstr ""
4768
 
4769
- #: includes/REST/OrderController.php:1526
4770
  msgid "Tax status of fee."
4771
  msgstr ""
4772
 
4773
- #: includes/REST/OrderController.php:1601
4774
  msgid "Coupons line data."
4775
  msgstr ""
4776
 
4777
- #: includes/REST/OrderController.php:1614
4778
  msgid "Coupon code."
4779
  msgstr ""
4780
 
4781
- #: includes/REST/OrderController.php:1619
4782
  msgid "Discount total."
4783
  msgstr ""
4784
 
4785
- #: includes/REST/OrderController.php:1624
4786
  msgid "Discount total tax."
4787
  msgstr ""
4788
 
4789
- #: includes/REST/OrderController.php:1659
4790
  msgid "List of refunds."
4791
  msgstr ""
4792
 
4793
- #: includes/REST/OrderController.php:1667
4794
  msgid "Refund ID."
4795
  msgstr ""
4796
 
4797
- #: includes/REST/OrderController.php:1673
4798
  msgid "Refund reason."
4799
  msgstr ""
4800
 
4801
- #: includes/REST/OrderController.php:1679
4802
  msgid "Refund total."
4803
  msgstr ""
4804
 
4805
- #: includes/REST/OrderController.php:1688
4806
  msgid ""
4807
  "Define if the order is paid. It will set the status to processing and "
4808
  "reduce stock items."
4809
  msgstr ""
4810
 
 
 
 
 
 
 
 
 
4811
  #: includes/REST/ProductAttributeController.php:63
4812
  #: includes/REST/ProductAttributeController.php:78
4813
  #: includes/REST/ProductAttributeController.php:93
@@ -5660,7 +5669,7 @@ msgid "Dokan: Store Product Category Menu"
5660
  msgstr ""
5661
 
5662
  #: includes/Widgets/StoreCategoryMenu.php:37
5663
- #: includes/Widgets/StoreCategoryMenu.php:81 includes/template-tags.php:848
5664
  msgid "Store Product Category"
5665
  msgstr ""
5666
 
@@ -5673,7 +5682,7 @@ msgid "Dokan: Store Contact Form"
5673
  msgstr ""
5674
 
5675
  #: includes/Widgets/StoreContactForm.php:40
5676
- #: includes/Widgets/StoreContactForm.php:118 includes/template-tags.php:887
5677
  msgid "Contact Vendor"
5678
  msgstr ""
5679
 
@@ -5686,7 +5695,7 @@ msgid "Dokan: Store Location"
5686
  msgstr ""
5687
 
5688
  #: includes/Widgets/StoreLocation.php:40 includes/Widgets/StoreLocation.php:101
5689
- #: includes/template-tags.php:861
5690
  msgid "Store Location"
5691
  msgstr ""
5692
 
@@ -5699,7 +5708,7 @@ msgid "Dokan: Store Opening Closing Time Widget"
5699
  msgstr ""
5700
 
5701
  #: includes/Widgets/StoreOpenClose.php:39
5702
- #: includes/Widgets/StoreOpenClose.php:110 includes/template-tags.php:874
5703
  msgid "Store Time"
5704
  msgstr ""
5705
 
@@ -5817,7 +5826,7 @@ msgid "E-mail"
5817
  msgstr ""
5818
 
5819
  #: includes/Withdraw/functions.php:140
5820
- #: templates/settings/bank-payment-method-settings.php:138
5821
  msgid "Disconnect"
5822
  msgstr ""
5823
 
@@ -5829,36 +5838,81 @@ msgstr ""
5829
  msgid "Add Account"
5830
  msgstr ""
5831
 
5832
- #: includes/Withdraw/functions.php:217
5833
  msgid "Account holder name is required"
5834
  msgstr ""
5835
 
5836
- #: includes/Withdraw/functions.php:218
5837
  msgid "Please select account type"
5838
  msgstr ""
5839
 
5840
- #: includes/Withdraw/functions.php:219
5841
  msgid "Account number is required"
5842
  msgstr ""
5843
 
5844
- #: includes/Withdraw/functions.php:220
5845
  msgid "Routing number is required"
5846
  msgstr ""
5847
 
5848
- #: includes/Withdraw/functions.php:239
5849
  msgid "This field is required."
5850
  msgstr ""
5851
 
5852
- #: includes/Withdraw/functions.php:380
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5853
  msgid "No information found."
5854
  msgstr ""
5855
 
5856
- #: includes/Withdraw/functions.php:386
5857
  #. translators: 1: Email address for withdraw method.
5858
  msgid "( %1$s )"
5859
  msgstr ""
5860
 
5861
- #: includes/Withdraw/functions.php:390
5862
  #. translators: 1: Bank account holder name. 2: Bank name. 1: Bank account
5863
  #. number
5864
  msgid "- %1$s - %2$s - ****%3$s"
@@ -6335,20 +6389,20 @@ msgstr ""
6335
  msgid "Failed (%d)"
6336
  msgstr ""
6337
 
6338
- #: includes/template-tags.php:433
6339
- msgid "Back to Dashboard"
6340
  msgstr ""
6341
 
6342
- #: includes/template-tags.php:576 templates/settings/header.php:14
6343
  #: templates/store-lists-loop.php:105
6344
  msgid "Visit Store"
6345
  msgstr ""
6346
 
6347
- #: includes/template-tags.php:577 templates/global/header-menu.php:54
6348
  msgid "Edit Account"
6349
  msgstr ""
6350
 
6351
- #: includes/template-tags.php:578
6352
  msgid "Log out"
6353
  msgstr ""
6354
 
@@ -7482,23 +7536,18 @@ msgid ""
7482
  "Slug and Keyword to appear in search engine results."
7483
  msgstr ""
7484
 
7485
- #: src/admin/pages/VendorPaymentFields.vue:20
7486
- #: templates/settings/bank-payment-method-settings.php:30
7487
- msgid "Account Type"
7488
- msgstr ""
7489
-
7490
  #: src/admin/pages/VendorPaymentFields.vue:22
7491
- #: templates/settings/bank-payment-method-settings.php:35
7492
  msgid "Please Select..."
7493
  msgstr ""
7494
 
7495
  #: src/admin/pages/VendorPaymentFields.vue:23
7496
- #: templates/settings/bank-payment-method-settings.php:36
7497
  msgid "Personal"
7498
  msgstr ""
7499
 
7500
  #: src/admin/pages/VendorPaymentFields.vue:24
7501
- #: templates/settings/bank-payment-method-settings.php:37
7502
  msgid "Business"
7503
  msgstr ""
7504
 
@@ -9195,62 +9244,10 @@ msgstr ""
9195
  msgid "State "
9196
  msgstr ""
9197
 
9198
- #: templates/settings/bank-payment-method-settings.php:20
9199
- msgid "Account Holder"
9200
- msgstr ""
9201
-
9202
- #: templates/settings/bank-payment-method-settings.php:24
9203
- msgid "Your bank account name"
9204
- msgstr ""
9205
-
9206
- #: templates/settings/bank-payment-method-settings.php:47
9207
- msgid "Account number"
9208
- msgstr ""
9209
-
9210
- #: templates/settings/bank-payment-method-settings.php:57
9211
- msgid "Routing number"
9212
- msgstr ""
9213
-
9214
- #: templates/settings/bank-payment-method-settings.php:67
9215
- msgid "Name of bank"
9216
- msgstr ""
9217
-
9218
- #: templates/settings/bank-payment-method-settings.php:77
9219
- msgid "Address of your bank"
9220
- msgstr ""
9221
-
9222
- #: templates/settings/bank-payment-method-settings.php:83
9223
- msgid "Bank IBAN"
9224
- msgstr ""
9225
-
9226
- #: templates/settings/bank-payment-method-settings.php:93
9227
- msgid "Bank Swift Code"
9228
- msgstr ""
9229
-
9230
- #: templates/settings/bank-payment-method-settings.php:97
9231
- msgid "Swift code"
9232
- msgstr ""
9233
-
9234
- #: templates/settings/bank-payment-method-settings.php:102
9235
  msgid "bank check"
9236
  msgstr ""
9237
 
9238
- #: templates/settings/bank-payment-method-settings.php:108
9239
- msgid ""
9240
- "I attest that I am the owner and have full authorization to this bank "
9241
- "account"
9242
- msgstr ""
9243
-
9244
- #: templates/settings/bank-payment-method-settings.php:120
9245
- msgid "Please double-check your account information!"
9246
- msgstr ""
9247
-
9248
- #: templates/settings/bank-payment-method-settings.php:122
9249
- msgid ""
9250
- "Incorrect or mismatched account name and number can result in withdrawal "
9251
- "delays and fees"
9252
- msgstr ""
9253
-
9254
  #: templates/settings/payment-manage.php:16
9255
  msgid "Back"
9256
  msgstr ""
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Dokan 3.7.7\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2022-11-30 02:57:14+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
52
 
53
  #: dokan.php:481 includes/Admin/AdminBar.php:81 includes/Admin/Menu.php:67
54
  #: includes/Dashboard/Templates/Settings.php:60
55
+ #: includes/Dashboard/Templates/Settings.php:67 includes/template-tags.php:422
56
  #: src/admin/pages/Settings.vue:4
57
  msgid "Settings"
58
  msgstr ""
132
 
133
  #: includes/Admin/AdminBar.php:63 includes/Admin/Menu.php:34
134
  #: includes/Admin/Menu.php:46 includes/Admin/SetupWizard.php:161
135
+ #: includes/functions.php:2979 includes/template-tags.php:415
136
  #: templates/withdraw/header.php:11
137
  msgid "Withdraw"
138
  msgstr ""
1076
  msgstr ""
1077
 
1078
  #: includes/Admin/SetupWizard.php:151 includes/Vendor/SetupWizard.php:75
1079
+ #: includes/template-tags.php:431
1080
  msgid "Store"
1081
  msgstr ""
1082
 
1231
 
1232
  #: includes/Admin/SetupWizardNoWC.php:176
1233
  #: includes/ReverseWithdrawal/Helper.php:69 includes/Vendor/SetupWizard.php:80
1234
+ #: includes/template-tags.php:438
1235
  msgid "Payment"
1236
  msgstr ""
1237
 
1415
  msgstr ""
1416
 
1417
  #: includes/Admin/UserProfile.php:282 includes/Privacy.php:278
1418
+ #: includes/Withdraw/functions.php:294 includes/Withdraw/functions.php:295
1419
  #: src/admin/pages/VendorPaymentFields.vue:39
 
1420
  msgid "Routing Number"
1421
  msgstr ""
1422
 
2060
  #: templates/products/edit-product-single.php:246
2061
  #: templates/products/new-product.php:232
2062
  #: templates/products/tmpl-add-product-popup.php:68
2063
+ #: templates/settings/bank-payment-method-settings.php:139
2064
  #: templates/store-lists-filter.php:86
2065
  #: templates/withdraw/pending-request-listing-dashboard.php:20
2066
  #: templates/withdraw/pending-request-listing-dashboard.php:40
3356
  msgid "Account Name"
3357
  msgstr ""
3358
 
3359
+ #: includes/Privacy.php:275 includes/Withdraw/functions.php:290
3360
+ #: includes/Withdraw/functions.php:291
3361
+ #: src/admin/pages/VendorPaymentFields.vue:15
3362
  msgid "Account Number"
3363
  msgstr ""
3364
 
3365
+ #: includes/Privacy.php:276 includes/Withdraw/functions.php:298
3366
+ #: src/admin/pages/VendorPaymentFields.vue:29
3367
  #: src/admin/pages/VendorPaymentFields.vue:30
 
3368
  msgid "Bank Name"
3369
  msgstr ""
3370
 
3371
+ #: includes/Privacy.php:277 includes/Withdraw/functions.php:302
3372
+ #: src/admin/pages/VendorPaymentFields.vue:34
3373
  #: src/admin/pages/VendorPaymentFields.vue:35
 
3374
  msgid "Bank Address"
3375
  msgstr ""
3376
 
3377
+ #: includes/Privacy.php:279 includes/Withdraw/functions.php:307
3378
+ #: src/admin/pages/VendorPaymentFields.vue:44
3379
  msgid "IBAN"
3380
  msgstr ""
3381
 
3382
+ #: includes/Privacy.php:280 includes/Withdraw/functions.php:311
3383
  msgid "Swift Code"
3384
  msgstr ""
3385
 
3761
  msgstr ""
3762
 
3763
  #: includes/REST/DummyDataController.php:172
3764
+ #: includes/REST/OrderController.php:879
3765
  #: includes/REST/ProductController.php:1777
3766
  msgid "Unique identifier for the resource."
3767
  msgstr ""
3768
 
3769
  #: includes/REST/DummyDataController.php:178
3770
+ #: includes/REST/OrderController.php:1228
3771
  #: includes/REST/ProductController.php:1783
3772
  msgid "Product name."
3773
  msgstr ""
4235
  msgstr ""
4236
 
4237
  #: includes/REST/DummyDataController.php:751
4238
+ #: includes/REST/OrderController.php:1189
4239
+ #: includes/REST/OrderController.php:1301
4240
+ #: includes/REST/OrderController.php:1392
4241
+ #: includes/REST/OrderController.php:1478
4242
+ #: includes/REST/OrderController.php:1576
4243
+ #: includes/REST/OrderController.php:1634
4244
  #: includes/REST/ProductController.php:2354
4245
  msgid "Meta data."
4246
  msgstr ""
4247
 
4248
  #: includes/REST/DummyDataController.php:758
4249
+ #: includes/REST/OrderController.php:1196
4250
+ #: includes/REST/OrderController.php:1308
4251
+ #: includes/REST/OrderController.php:1399
4252
+ #: includes/REST/OrderController.php:1485
4253
+ #: includes/REST/OrderController.php:1583
4254
+ #: includes/REST/OrderController.php:1641
4255
  #: includes/REST/ProductController.php:2361
4256
  msgid "Meta ID."
4257
  msgstr ""
4258
 
4259
  #: includes/REST/DummyDataController.php:764
4260
+ #: includes/REST/OrderController.php:1202
4261
+ #: includes/REST/OrderController.php:1314
4262
+ #: includes/REST/OrderController.php:1405
4263
+ #: includes/REST/OrderController.php:1491
4264
+ #: includes/REST/OrderController.php:1589
4265
+ #: includes/REST/OrderController.php:1647
4266
  #: includes/REST/ProductController.php:2367
4267
  msgid "Meta key."
4268
  msgstr ""
4269
 
4270
  #: includes/REST/DummyDataController.php:769
4271
+ #: includes/REST/OrderController.php:1207
4272
+ #: includes/REST/OrderController.php:1319
4273
+ #: includes/REST/OrderController.php:1410
4274
+ #: includes/REST/OrderController.php:1496
4275
+ #: includes/REST/OrderController.php:1594
4276
+ #: includes/REST/OrderController.php:1652
4277
  #: includes/REST/ProductController.php:2372
4278
  msgid "Meta value."
4279
  msgstr ""
4415
  msgid "Invalid order"
4416
  msgstr ""
4417
 
4418
+ #: includes/REST/OrderController.php:543 includes/REST/OrderController.php:649
4419
+ #: includes/REST/OrderController.php:681
4420
  msgid "You have no permission to view this notes"
4421
  msgstr ""
4422
 
4423
+ #: includes/REST/OrderController.php:547 includes/REST/OrderController.php:611
4424
+ #: includes/REST/OrderController.php:653 includes/REST/OrderController.php:685
4425
  msgid "Invalid order ID."
4426
  msgstr ""
4427
 
4428
+ #: includes/REST/OrderController.php:600
4429
  #: includes/REST/ProductController.php:300
4430
  #. translators: 1) post type name
4431
  #. translators: %s: product
4432
  msgid "Cannot create existing %s."
4433
  msgstr ""
4434
 
4435
+ #: includes/REST/OrderController.php:607
4436
  msgid "You have no permission to create this notes"
4437
  msgstr ""
4438
 
4439
+ #: includes/REST/OrderController.php:618
4440
  msgid "Cannot create order note, please try again."
4441
  msgstr ""
4442
 
4443
+ #: includes/REST/OrderController.php:659 includes/REST/OrderController.php:691
4444
  msgid "Invalid resource ID."
4445
  msgstr ""
4446
 
4447
+ #: includes/REST/OrderController.php:700
4448
  msgid "Given order note cannot be deleted."
4449
  msgstr ""
4450
 
4451
+ #: includes/REST/OrderController.php:885
4452
  msgid "Parent order ID."
4453
  msgstr ""
4454
 
4455
+ #: includes/REST/OrderController.php:890
4456
  msgid "Orders belongs to specific seller"
4457
  msgstr ""
4458
 
4459
+ #: includes/REST/OrderController.php:895
4460
  msgid "Order number."
4461
  msgstr ""
4462
 
4463
+ #: includes/REST/OrderController.php:901
4464
  msgid "Order key."
4465
  msgstr ""
4466
 
4467
+ #: includes/REST/OrderController.php:907
4468
  msgid "Shows where the order was created."
4469
  msgstr ""
4470
 
4471
+ #: includes/REST/OrderController.php:913
4472
  msgid "Version of WooCommerce which last updated the order."
4473
  msgstr ""
4474
 
4475
+ #: includes/REST/OrderController.php:919
4476
  msgid "Order status."
4477
  msgstr ""
4478
 
4479
+ #: includes/REST/OrderController.php:926
4480
  msgid "Currency the order was created with, in ISO format."
4481
  msgstr ""
4482
 
4483
+ #: includes/REST/OrderController.php:933
4484
  msgid "The date the order was created, in the site's timezone."
4485
  msgstr ""
4486
 
4487
+ #: includes/REST/OrderController.php:940
4488
  msgid "The date the order was created, as GMT."
4489
  msgstr ""
4490
 
4491
+ #: includes/REST/OrderController.php:946
4492
  msgid "The date the order was last modified, in the site's timezone."
4493
  msgstr ""
4494
 
4495
+ #: includes/REST/OrderController.php:952
4496
  msgid "The date the order was last modified, as GMT."
4497
  msgstr ""
4498
 
4499
+ #: includes/REST/OrderController.php:958
4500
  msgid "Total discount amount for the order."
4501
  msgstr ""
4502
 
4503
+ #: includes/REST/OrderController.php:964
4504
  msgid "Total discount tax amount for the order."
4505
  msgstr ""
4506
 
4507
+ #: includes/REST/OrderController.php:970
4508
  msgid "Total shipping amount for the order."
4509
  msgstr ""
4510
 
4511
+ #: includes/REST/OrderController.php:976
4512
  msgid "Total shipping tax amount for the order."
4513
  msgstr ""
4514
 
4515
+ #: includes/REST/OrderController.php:982
4516
  msgid "Sum of line item taxes only."
4517
  msgstr ""
4518
 
4519
+ #: includes/REST/OrderController.php:988
4520
  msgid "Grand total."
4521
  msgstr ""
4522
 
4523
+ #: includes/REST/OrderController.php:994
4524
  msgid "Sum of all taxes."
4525
  msgstr ""
4526
 
4527
+ #: includes/REST/OrderController.php:1000
4528
  msgid "True the prices included tax during checkout."
4529
  msgstr ""
4530
 
4531
+ #: includes/REST/OrderController.php:1006
4532
  msgid "User ID who owns the order. 0 for guests."
4533
  msgstr ""
4534
 
4535
+ #: includes/REST/OrderController.php:1012
4536
  msgid "Customer's IP address."
4537
  msgstr ""
4538
 
4539
+ #: includes/REST/OrderController.php:1018
4540
  msgid "User agent of the customer."
4541
  msgstr ""
4542
 
4543
+ #: includes/REST/OrderController.php:1024
4544
  msgid "Note left by customer during checkout."
4545
  msgstr ""
4546
 
4547
+ #: includes/REST/OrderController.php:1029
4548
  msgid "Billing address."
4549
  msgstr ""
4550
 
4551
+ #: includes/REST/OrderController.php:1034
4552
+ #: includes/REST/OrderController.php:1097
4553
  msgid "First name."
4554
  msgstr ""
4555
 
4556
+ #: includes/REST/OrderController.php:1039
4557
+ #: includes/REST/OrderController.php:1102
4558
  msgid "Last name."
4559
  msgstr ""
4560
 
4561
+ #: includes/REST/OrderController.php:1044
4562
+ #: includes/REST/OrderController.php:1107
4563
  msgid "Company name."
4564
  msgstr ""
4565
 
4566
+ #: includes/REST/OrderController.php:1049
4567
+ #: includes/REST/OrderController.php:1112
4568
  #: templates/admin-setup-wizard/step-store-wc-fields.php:37
4569
  msgid "Address line 1"
4570
  msgstr ""
4571
 
4572
+ #: includes/REST/OrderController.php:1054
4573
+ #: includes/REST/OrderController.php:1117
4574
  #: templates/admin-setup-wizard/step-store-wc-fields.php:44
4575
  msgid "Address line 2"
4576
  msgstr ""
4577
 
4578
+ #: includes/REST/OrderController.php:1059
4579
+ #: includes/REST/OrderController.php:1122
4580
  msgid "City name."
4581
  msgstr ""
4582
 
4583
+ #: includes/REST/OrderController.php:1064
4584
+ #: includes/REST/OrderController.php:1127
4585
  msgid "ISO code or name of the state, province or district."
4586
  msgstr ""
4587
 
4588
+ #: includes/REST/OrderController.php:1069
4589
+ #: includes/REST/OrderController.php:1132
4590
  msgid "Postal code."
4591
  msgstr ""
4592
 
4593
+ #: includes/REST/OrderController.php:1074
4594
+ #: includes/REST/OrderController.php:1137
4595
  msgid "Country code in ISO 3166-1 alpha-2 format."
4596
  msgstr ""
4597
 
4598
+ #: includes/REST/OrderController.php:1079
4599
  msgid "Email address."
4600
  msgstr ""
4601
 
4602
+ #: includes/REST/OrderController.php:1085
4603
  msgid "Phone number."
4604
  msgstr ""
4605
 
4606
+ #: includes/REST/OrderController.php:1092
4607
  msgid "Shipping address."
4608
  msgstr ""
4609
 
4610
+ #: includes/REST/OrderController.php:1144
4611
  msgid "Payment method ID."
4612
  msgstr ""
4613
 
4614
+ #: includes/REST/OrderController.php:1149
4615
  msgid "Payment method title."
4616
  msgstr ""
4617
 
4618
+ #: includes/REST/OrderController.php:1154
4619
  msgid "Unique transaction ID."
4620
  msgstr ""
4621
 
4622
+ #: includes/REST/OrderController.php:1159
4623
  msgid "The date the order was paid, in the site's timezone."
4624
  msgstr ""
4625
 
4626
+ #: includes/REST/OrderController.php:1165
4627
  msgid "The date the order was paid, as GMT."
4628
  msgstr ""
4629
 
4630
+ #: includes/REST/OrderController.php:1171
4631
  msgid "The date the order was completed, in the site's timezone."
4632
  msgstr ""
4633
 
4634
+ #: includes/REST/OrderController.php:1177
4635
  msgid "The date the order was completed, as GMT."
4636
  msgstr ""
4637
 
4638
+ #: includes/REST/OrderController.php:1183
4639
  msgid "MD5 hash of cart items to ensure orders are not modified."
4640
  msgstr ""
4641
 
4642
+ #: includes/REST/OrderController.php:1215
4643
  msgid "Line items data."
4644
  msgstr ""
4645
 
4646
+ #: includes/REST/OrderController.php:1222
4647
+ #: includes/REST/OrderController.php:1350
4648
+ #: includes/REST/OrderController.php:1428
4649
+ #: includes/REST/OrderController.php:1514
4650
+ #: includes/REST/OrderController.php:1612
4651
  msgid "Item ID."
4652
  msgstr ""
4653
 
4654
+ #: includes/REST/OrderController.php:1233
4655
  msgid "Product ID."
4656
  msgstr ""
4657
 
4658
+ #: includes/REST/OrderController.php:1238
4659
  msgid "Variation ID, if applicable."
4660
  msgstr ""
4661
 
4662
+ #: includes/REST/OrderController.php:1243
4663
  msgid "Quantity ordered."
4664
  msgstr ""
4665
 
4666
+ #: includes/REST/OrderController.php:1248
4667
  msgid "Tax class of product."
4668
  msgstr ""
4669
 
4670
+ #: includes/REST/OrderController.php:1253
4671
  msgid "Line subtotal (before discounts)."
4672
  msgstr ""
4673
 
4674
+ #: includes/REST/OrderController.php:1258
4675
  msgid "Line subtotal tax (before discounts)."
4676
  msgstr ""
4677
 
4678
+ #: includes/REST/OrderController.php:1264
4679
+ #: includes/REST/OrderController.php:1444
4680
+ #: includes/REST/OrderController.php:1536
4681
  msgid "Line total (after discounts)."
4682
  msgstr ""
4683
 
4684
+ #: includes/REST/OrderController.php:1269
4685
+ #: includes/REST/OrderController.php:1449
4686
+ #: includes/REST/OrderController.php:1541
4687
  msgid "Line total tax (after discounts)."
4688
  msgstr ""
4689
 
4690
+ #: includes/REST/OrderController.php:1275
4691
+ #: includes/REST/OrderController.php:1455
4692
+ #: includes/REST/OrderController.php:1547
4693
  msgid "Line taxes."
4694
  msgstr ""
4695
 
4696
+ #: includes/REST/OrderController.php:1283
4697
+ #: includes/REST/OrderController.php:1362
4698
+ #: includes/REST/OrderController.php:1463
4699
+ #: includes/REST/OrderController.php:1555
4700
  msgid "Tax rate ID."
4701
  msgstr ""
4702
 
4703
+ #: includes/REST/OrderController.php:1288
4704
+ #: includes/REST/OrderController.php:1469
4705
+ #: includes/REST/OrderController.php:1561
4706
  msgid "Tax total."
4707
  msgstr ""
4708
 
4709
+ #: includes/REST/OrderController.php:1293
4710
+ #: includes/REST/OrderController.php:1567
4711
  msgid "Tax subtotal."
4712
  msgstr ""
4713
 
4714
+ #: includes/REST/OrderController.php:1327
4715
  msgid "Product SKU."
4716
  msgstr ""
4717
 
4718
+ #: includes/REST/OrderController.php:1333
4719
  msgid "Product price."
4720
  msgstr ""
4721
 
4722
+ #: includes/REST/OrderController.php:1342
4723
  msgid "Tax lines data."
4724
  msgstr ""
4725
 
4726
+ #: includes/REST/OrderController.php:1356
4727
  msgid "Tax rate code."
4728
  msgstr ""
4729
 
4730
+ #: includes/REST/OrderController.php:1368
4731
  msgid "Tax rate label."
4732
  msgstr ""
4733
 
4734
+ #: includes/REST/OrderController.php:1374
4735
  msgid "Show if is a compound tax rate."
4736
  msgstr ""
4737
 
4738
+ #: includes/REST/OrderController.php:1380
4739
  msgid "Tax total (not including shipping taxes)."
4740
  msgstr ""
4741
 
4742
+ #: includes/REST/OrderController.php:1386
4743
  msgid "Shipping tax total."
4744
  msgstr ""
4745
 
4746
+ #: includes/REST/OrderController.php:1421
4747
  msgid "Shipping lines data."
4748
  msgstr ""
4749
 
4750
+ #: includes/REST/OrderController.php:1434
4751
  msgid "Shipping method name."
4752
  msgstr ""
4753
 
4754
+ #: includes/REST/OrderController.php:1439
4755
  msgid "Shipping method ID."
4756
  msgstr ""
4757
 
4758
+ #: includes/REST/OrderController.php:1507
4759
  msgid "Fee lines data."
4760
  msgstr ""
4761
 
4762
+ #: includes/REST/OrderController.php:1520
4763
  msgid "Fee name."
4764
  msgstr ""
4765
 
4766
+ #: includes/REST/OrderController.php:1525
4767
  msgid "Tax class of fee."
4768
  msgstr ""
4769
 
4770
+ #: includes/REST/OrderController.php:1530
4771
  msgid "Tax status of fee."
4772
  msgstr ""
4773
 
4774
+ #: includes/REST/OrderController.php:1605
4775
  msgid "Coupons line data."
4776
  msgstr ""
4777
 
4778
+ #: includes/REST/OrderController.php:1618
4779
  msgid "Coupon code."
4780
  msgstr ""
4781
 
4782
+ #: includes/REST/OrderController.php:1623
4783
  msgid "Discount total."
4784
  msgstr ""
4785
 
4786
+ #: includes/REST/OrderController.php:1628
4787
  msgid "Discount total tax."
4788
  msgstr ""
4789
 
4790
+ #: includes/REST/OrderController.php:1663
4791
  msgid "List of refunds."
4792
  msgstr ""
4793
 
4794
+ #: includes/REST/OrderController.php:1671
4795
  msgid "Refund ID."
4796
  msgstr ""
4797
 
4798
+ #: includes/REST/OrderController.php:1677
4799
  msgid "Refund reason."
4800
  msgstr ""
4801
 
4802
+ #: includes/REST/OrderController.php:1683
4803
  msgid "Refund total."
4804
  msgstr ""
4805
 
4806
+ #: includes/REST/OrderController.php:1692
4807
  msgid ""
4808
  "Define if the order is paid. It will set the status to processing and "
4809
  "reduce stock items."
4810
  msgstr ""
4811
 
4812
+ #: includes/REST/OrderController.php:1747
4813
+ msgid "Limit response to resources published after a given ISO8601 compliant date."
4814
+ msgstr ""
4815
+
4816
+ #: includes/REST/OrderController.php:1754
4817
+ msgid "Limit response to resources published before a given ISO8601 compliant date."
4818
+ msgstr ""
4819
+
4820
  #: includes/REST/ProductAttributeController.php:63
4821
  #: includes/REST/ProductAttributeController.php:78
4822
  #: includes/REST/ProductAttributeController.php:93
5669
  msgstr ""
5670
 
5671
  #: includes/Widgets/StoreCategoryMenu.php:37
5672
+ #: includes/Widgets/StoreCategoryMenu.php:81 includes/template-tags.php:898
5673
  msgid "Store Product Category"
5674
  msgstr ""
5675
 
5682
  msgstr ""
5683
 
5684
  #: includes/Widgets/StoreContactForm.php:40
5685
+ #: includes/Widgets/StoreContactForm.php:118 includes/template-tags.php:937
5686
  msgid "Contact Vendor"
5687
  msgstr ""
5688
 
5695
  msgstr ""
5696
 
5697
  #: includes/Widgets/StoreLocation.php:40 includes/Widgets/StoreLocation.php:101
5698
+ #: includes/template-tags.php:911
5699
  msgid "Store Location"
5700
  msgstr ""
5701
 
5708
  msgstr ""
5709
 
5710
  #: includes/Widgets/StoreOpenClose.php:39
5711
+ #: includes/Widgets/StoreOpenClose.php:110 includes/template-tags.php:924
5712
  msgid "Store Time"
5713
  msgstr ""
5714
 
5826
  msgstr ""
5827
 
5828
  #: includes/Withdraw/functions.php:140
5829
+ #: templates/settings/bank-payment-method-settings.php:143
5830
  msgid "Disconnect"
5831
  msgstr ""
5832
 
5838
  msgid "Add Account"
5839
  msgstr ""
5840
 
5841
+ #: includes/Withdraw/functions.php:218
5842
  msgid "Account holder name is required"
5843
  msgstr ""
5844
 
5845
+ #: includes/Withdraw/functions.php:219
5846
  msgid "Please select account type"
5847
  msgstr ""
5848
 
5849
+ #: includes/Withdraw/functions.php:220
5850
  msgid "Account number is required"
5851
  msgstr ""
5852
 
5853
+ #: includes/Withdraw/functions.php:221
5854
  msgid "Routing number is required"
5855
  msgstr ""
5856
 
5857
+ #: includes/Withdraw/functions.php:240
5858
  msgid "This field is required."
5859
  msgstr ""
5860
 
5861
+ #: includes/Withdraw/functions.php:282
5862
+ msgid "Account Holder"
5863
+ msgstr ""
5864
+
5865
+ #: includes/Withdraw/functions.php:283
5866
+ msgid "Your bank account name"
5867
+ msgstr ""
5868
+
5869
+ #: includes/Withdraw/functions.php:286 includes/Withdraw/functions.php:287
5870
+ #: src/admin/pages/VendorPaymentFields.vue:20
5871
+ msgid "Account Type"
5872
+ msgstr ""
5873
+
5874
+ #: includes/Withdraw/functions.php:299
5875
+ msgid "Name of bank"
5876
+ msgstr ""
5877
+
5878
+ #: includes/Withdraw/functions.php:303
5879
+ msgid "Address of your bank"
5880
+ msgstr ""
5881
+
5882
+ #: includes/Withdraw/functions.php:306
5883
+ msgid "Bank IBAN"
5884
+ msgstr ""
5885
+
5886
+ #: includes/Withdraw/functions.php:310
5887
+ msgid "Bank Swift Code"
5888
+ msgstr ""
5889
+
5890
+ #: includes/Withdraw/functions.php:314
5891
+ msgid ""
5892
+ "I attest that I am the owner and have full authorization to this bank "
5893
+ "account"
5894
+ msgstr ""
5895
+
5896
+ #: includes/Withdraw/functions.php:318
5897
+ msgid "Please double-check your account information!"
5898
+ msgstr ""
5899
+
5900
+ #: includes/Withdraw/functions.php:319
5901
+ msgid ""
5902
+ "Incorrect or mismatched account name and number can result in withdrawal "
5903
+ "delays and fees"
5904
+ msgstr ""
5905
+
5906
+ #: includes/Withdraw/functions.php:437
5907
  msgid "No information found."
5908
  msgstr ""
5909
 
5910
+ #: includes/Withdraw/functions.php:443
5911
  #. translators: 1: Email address for withdraw method.
5912
  msgid "( %1$s )"
5913
  msgstr ""
5914
 
5915
+ #: includes/Withdraw/functions.php:447
5916
  #. translators: 1: Bank account holder name. 2: Bank name. 1: Bank account
5917
  #. number
5918
  msgid "- %1$s - %2$s - ****%3$s"
6389
  msgid "Failed (%d)"
6390
  msgstr ""
6391
 
6392
+ #: includes/template-tags.php:573 includes/template-tags.php:601
6393
+ msgid "No title"
6394
  msgstr ""
6395
 
6396
+ #: includes/template-tags.php:626 templates/settings/header.php:14
6397
  #: templates/store-lists-loop.php:105
6398
  msgid "Visit Store"
6399
  msgstr ""
6400
 
6401
+ #: includes/template-tags.php:627 templates/global/header-menu.php:54
6402
  msgid "Edit Account"
6403
  msgstr ""
6404
 
6405
+ #: includes/template-tags.php:628
6406
  msgid "Log out"
6407
  msgstr ""
6408
 
7536
  "Slug and Keyword to appear in search engine results."
7537
  msgstr ""
7538
 
 
 
 
 
 
7539
  #: src/admin/pages/VendorPaymentFields.vue:22
7540
+ #: templates/settings/bank-payment-method-settings.php:36
7541
  msgid "Please Select..."
7542
  msgstr ""
7543
 
7544
  #: src/admin/pages/VendorPaymentFields.vue:23
7545
+ #: templates/settings/bank-payment-method-settings.php:37
7546
  msgid "Personal"
7547
  msgstr ""
7548
 
7549
  #: src/admin/pages/VendorPaymentFields.vue:24
7550
+ #: templates/settings/bank-payment-method-settings.php:38
7551
  msgid "Business"
7552
  msgstr ""
7553
 
9244
  msgid "State "
9245
  msgstr ""
9246
 
9247
+ #: templates/settings/bank-payment-method-settings.php:103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9248
  msgid "bank check"
9249
  msgstr ""
9250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9251
  #: templates/settings/payment-manage.php:16
9252
  msgid "Back"
9253
  msgstr ""
readme.txt CHANGED
@@ -3,11 +3,11 @@ Contributors: tareq1988, wedevs, nizamuddinbabu
3
  Donate Link: http://tareq.co/donate/
4
  Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, multi-vendor, multi seller, commissions, multivendor, marketplace, product vendors, woocommerce vendor, commission rate, e-commerce, woocommerce, ebay, ecommerce, yith, yithemes
5
  Requires at least: 5.4
6
- Tested up to: 6.1
7
  WC requires at least: 5.0.0
8
  WC tested up to: 7.1.0
9
  Requires PHP: 7.2
10
- Stable tag: 3.7.6
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -313,6 +313,13 @@ A. Just install and activate the PRO version without deleting the free plugin. A
313
 
314
  == Changelog ==
315
 
 
 
 
 
 
 
 
316
  = v3.7.6 ( Nov 14, 2022 ) =
317
 
318
  - **fix:** Fixed a sql security issue while searching for products via ajax from vendor dashboard
3
  Donate Link: http://tareq.co/donate/
4
  Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, multi-vendor, multi seller, commissions, multivendor, marketplace, product vendors, woocommerce vendor, commission rate, e-commerce, woocommerce, ebay, ecommerce, yith, yithemes
5
  Requires at least: 5.4
6
+ Tested up to: 6.1.1
7
  WC requires at least: 5.0.0
8
  WC tested up to: 7.1.0
9
  Requires PHP: 7.2
10
+ Stable tag: 3.7.7
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
313
 
314
  == Changelog ==
315
 
316
+ = v3.7.7 ( Nov 30, 2022 ) =
317
+
318
+ - **update:** Added date filter - `after/before` for Order REST API
319
+ - **update:** Added `dokan_bank_payment_fields_placeholders` Filter to change the label and placeholder of bank payment fields
320
+ - **update:** Updated UI/UX of vendor dashboard submenu
321
+ - **update:** Added section, sub-section label, description search under Dokan admin settings
322
+
323
  = v3.7.6 ( Nov 14, 2022 ) =
324
 
325
  - **fix:** Fixed a sql security issue while searching for products via ajax from vendor dashboard
templates/settings/bank-payment-method-settings.php CHANGED
@@ -10,6 +10,7 @@
10
  * @var string $swift
11
  * @var string $save_or_add_btn_text
12
  * @var array $required_fields
 
13
  * @var array $connected
14
  */
15
  ?>
@@ -17,17 +18,17 @@
17
  <div class="dokan-bank-settings-template">
18
  <div class="dokan-form-group">
19
  <div>
20
- <label for="ac_name"><?php esc_html_e( 'Account Holder', 'dokan-lite' ); ?> </label>
21
  </div>
22
 
23
  <div class="dokan-w10">
24
- <input id='ac_name' name="settings[bank][ac_name]" value="<?php echo esc_attr( $ac_name ); ?>" class="dokan-form-control" placeholder="<?php esc_attr_e( 'Your bank account name', 'dokan-lite' ); ?>" type="text" <?php echo empty( $required_fields['ac_name'] ) ? '' : 'required'; ?> >
25
  </div>
26
  </div>
27
 
28
  <div class="dokan-form-group">
29
  <div>
30
- <label for="ac_type"><?php esc_html_e( 'Account Type', 'dokan-lite' ); ?> </label>
31
  </div>
32
 
33
  <div class="dokan-w10">
@@ -41,60 +42,60 @@
41
 
42
  <div class="dokan-form-group">
43
  <div>
44
- <label><?php esc_html_e( 'Account Number', 'dokan-lite' ); ?> </label>
45
  </div>
46
  <div class="dokan-w10">
47
- <input name="settings[bank][ac_number]" value="<?php echo esc_attr( $ac_number ); ?>" class="dokan-form-control" placeholder="<?php esc_attr_e( 'Account number', 'dokan-lite' ); ?>" type="text" <?php echo empty( $required_fields['ac_number'] ) ? '' : 'required'; ?>>
48
  </div>
49
  </div>
50
 
51
  <div class="dokan-form-group">
52
  <div>
53
- <label><?php esc_html_e( 'Routing Number', 'dokan-lite' ); ?> </label>
54
  </div>
55
 
56
  <div class="dokan-w10">
57
- <input name="settings[bank][routing_number]" value="<?php echo esc_attr( $routing_number ); ?>" class="dokan-form-control" placeholder="<?php esc_attr_e( 'Routing number', 'dokan-lite' ); ?>" type="text" <?php echo empty( $required_fields['routing_number'] ) ? '' : 'required'; ?>>
58
  </div>
59
  </div>
60
 
61
  <div class="dokan-form-group">
62
  <div>
63
- <label><?php esc_html_e( 'Bank Name', 'dokan-lite' ); ?> </label>
64
  </div>
65
 
66
  <div class="dokan-w10">
67
- <input name="settings[bank][bank_name]" value="<?php echo esc_attr( $bank_name ); ?>" class="dokan-form-control" placeholder="<?php esc_attr_e( 'Name of bank', 'dokan-lite' ); ?>" type="text" <?php echo empty( $required_fields['bank_name'] ) ? '' : 'required'; ?>>
68
  </div>
69
  </div>
70
 
71
  <div class="dokan-form-group">
72
  <div>
73
- <label><?php esc_html_e( 'Bank Address', 'dokan-lite' ); ?> </label>
74
  </div>
75
 
76
  <div class="dokan-w10">
77
- <textarea name="settings[bank][bank_addr]" rows="5" class="dokan-form-control" placeholder="<?php esc_attr_e( 'Address of your bank', 'dokan-lite' ); ?>" <?php echo empty( $required_fields['bank_addr'] ) ? '' : 'required'; ?>><?php echo esc_html( $bank_addr ); ?></textarea>
78
  </div>
79
  </div>
80
 
81
  <div class="dokan-form-group">
82
  <div>
83
- <label><?php esc_html_e( 'Bank IBAN', 'dokan-lite' ); ?> </label>
84
  </div>
85
 
86
  <div class="dokan-w10">
87
- <input name="settings[bank][iban]" value="<?php echo esc_attr( $iban ); ?>" class="dokan-form-control" placeholder="<?php esc_attr_e( 'IBAN', 'dokan-lite' ); ?>" type="text" <?php echo empty( $required_fields['iban'] ) ? '' : 'required'; ?>>
88
  </div>
89
  </div>
90
 
91
  <div class="dokan-form-group">
92
  <div>
93
- <label><?php esc_html_e( 'Bank Swift Code', 'dokan-lite' ); ?> </label>
94
  </div>
95
 
96
  <div class="dokan-w10">
97
- <input value="<?php echo esc_attr( $swift ); ?>" name="settings[bank][swift]" class="dokan-form-control" placeholder="<?php esc_attr_e( 'Swift code', 'dokan-lite' ); ?>" type="text" <?php echo empty( $required_fields['swift'] ) ? '' : 'required'; ?>>
98
  </div>
99
  </div>
100
 
@@ -105,23 +106,27 @@
105
  <div class="dokan-form-group dokan-text-left">
106
  <input id="declaration" name="settings[bank][declaration]" checked type="checkbox"/>
107
  <label for="declaration">
108
- <?php esc_html_e( 'I attest that I am the owner and have full authorization to this bank account', 'dokan-lite' ); ?>
109
  </label>
110
  </div>
111
 
112
- <div class="data-warning">
113
- <div class="left-icon-container">
114
- <i class="fa fa-info-circle fa-2x" aria-hidden="true"></i>
115
- </div>
 
116
 
117
- <div class="vr-separator"></div>
118
 
119
- <div class="dokan-text-left">
120
- <span class="display-block"><b><?php esc_html_e( 'Please double-check your account information!', 'dokan-lite' ); ?></b></span>
121
- <br/>
122
- <span class="display-block"><?php esc_html_e( 'Incorrect or mismatched account name and number can result in withdrawal delays and fees', 'dokan-lite' ); ?></span>
 
 
 
123
  </div>
124
- </div>
125
 
126
  <p class="bottom-note"></p>
127
 
10
  * @var string $swift
11
  * @var string $save_or_add_btn_text
12
  * @var array $required_fields
13
+ * @var array $fields_placeholders
14
  * @var array $connected
15
  */
16
  ?>
18
  <div class="dokan-bank-settings-template">
19
  <div class="dokan-form-group">
20
  <div>
21
+ <label for="ac_name"><?php echo esc_attr( ! empty( $fields_placeholders['ac_name']['label'] ) ? $fields_placeholders['ac_name']['label'] : '' ); ?> </label>
22
  </div>
23
 
24
  <div class="dokan-w10">
25
+ <input id='ac_name' name="settings[bank][ac_name]" value="<?php echo esc_attr( $ac_name ); ?>" class="dokan-form-control" placeholder="<?php echo esc_attr( ! empty( $fields_placeholders['ac_name']['placeholder'] ) ? $fields_placeholders['ac_name']['placeholder'] : '' ); ?>" type="text" <?php echo empty( $required_fields['ac_name'] ) ? '' : 'required'; ?> >
26
  </div>
27
  </div>
28
 
29
  <div class="dokan-form-group">
30
  <div>
31
+ <label for="ac_type"><?php echo esc_attr( ! empty( $fields_placeholders['ac_type']['label'] ) ? $fields_placeholders['ac_type']['label'] : '' ); ?> </label>
32
  </div>
33
 
34
  <div class="dokan-w10">
42
 
43
  <div class="dokan-form-group">
44
  <div>
45
+ <label id='ac_number'><?php echo esc_attr( ! empty( $fields_placeholders['ac_number']['label'] ) ? $fields_placeholders['ac_number']['label'] : '' ); ?> </label>
46
  </div>
47
  <div class="dokan-w10">
48
+ <input name="settings[bank][ac_number]" value="<?php echo esc_attr( $ac_number ); ?>" class="dokan-form-control" placeholder="<?php echo esc_attr( ! empty( $fields_placeholders['ac_number']['placeholder'] ) ? $fields_placeholders['ac_number']['placeholder'] : '' ); ?>" type="text" <?php echo empty( $required_fields['ac_number'] ) ? '' : 'required'; ?>>
49
  </div>
50
  </div>
51
 
52
  <div class="dokan-form-group">
53
  <div>
54
+ <label><?php echo esc_attr( ! empty( $fields_placeholders['routing_number']['label'] ) ? $fields_placeholders['routing_number']['label'] : '' ); ?> </label>
55
  </div>
56
 
57
  <div class="dokan-w10">
58
+ <input name="settings[bank][routing_number]" value="<?php echo esc_attr( $routing_number ); ?>" class="dokan-form-control" placeholder="<?php echo esc_attr( ! empty( $fields_placeholders['routing_number']['placeholder'] ) ? $fields_placeholders['routing_number']['placeholder'] : '' ); ?>" type="text" <?php echo empty( $required_fields['routing_number'] ) ? '' : 'required'; ?>>
59
  </div>
60
  </div>
61
 
62
  <div class="dokan-form-group">
63
  <div>
64
+ <label><?php echo esc_attr( ! empty( $fields_placeholders['bank_name']['label'] ) ? $fields_placeholders['bank_name']['label'] : '' ); ?> </label>
65
  </div>
66
 
67
  <div class="dokan-w10">
68
+ <input name="settings[bank][bank_name]" value="<?php echo esc_attr( $bank_name ); ?>" class="dokan-form-control" placeholder="<?php echo esc_attr( ! empty( $fields_placeholders['bank_name']['placeholder'] ) ? $fields_placeholders['bank_name']['placeholder'] : '' ); ?>" type="text" <?php echo empty( $required_fields['bank_name'] ) ? '' : 'required'; ?>>
69
  </div>
70
  </div>
71
 
72
  <div class="dokan-form-group">
73
  <div>
74
+ <label><?php echo esc_attr( ! empty( $fields_placeholders['bank_addr']['label'] ) ? $fields_placeholders['bank_addr']['label'] : '' ); ?> </label>
75
  </div>
76
 
77
  <div class="dokan-w10">
78
+ <textarea name="settings[bank][bank_addr]" rows="5" class="dokan-form-control" placeholder="<?php echo esc_attr( ! empty( $fields_placeholders['bank_addr']['placeholder'] ) ? $fields_placeholders['bank_addr']['placeholder'] : '' ); ?>" <?php echo empty( $required_fields['bank_addr'] ) ? '' : 'required'; ?>><?php echo esc_html( $bank_addr ); ?></textarea>
79
  </div>
80
  </div>
81
 
82
  <div class="dokan-form-group">
83
  <div>
84
+ <label><?php echo esc_attr( ! empty( $fields_placeholders['iban']['label'] ) ? $fields_placeholders['iban']['label'] : '' ); ?> </label>
85
  </div>
86
 
87
  <div class="dokan-w10">
88
+ <input name="settings[bank][iban]" value="<?php echo esc_attr( $iban ); ?>" class="dokan-form-control" placeholder="<?php echo esc_attr( ! empty( $fields_placeholders['iban']['placeholder'] ) ? $fields_placeholders['iban']['placeholder'] : '' ); ?>" type="text" <?php echo empty( $required_fields['iban'] ) ? '' : 'required'; ?>>
89
  </div>
90
  </div>
91
 
92
  <div class="dokan-form-group">
93
  <div>
94
+ <label><?php echo esc_attr( ! empty( $fields_placeholders['swift']['label'] ) ? $fields_placeholders['swift']['label'] : '' ); ?> </label>
95
  </div>
96
 
97
  <div class="dokan-w10">
98
+ <input value="<?php echo esc_attr( $swift ); ?>" name="settings[bank][swift]" class="dokan-form-control" placeholder="<?php echo esc_attr( ! empty( $fields_placeholders['swift']['placeholder'] ) ? $fields_placeholders['swift']['placeholder'] : '' ); ?>" type="text" <?php echo empty( $required_fields['swift'] ) ? '' : 'required'; ?>>
99
  </div>
100
  </div>
101
 
106
  <div class="dokan-form-group dokan-text-left">
107
  <input id="declaration" name="settings[bank][declaration]" checked type="checkbox"/>
108
  <label for="declaration">
109
+ <?php echo esc_attr( ! empty( $fields_placeholders['declaration']['label'] ) ? $fields_placeholders['declaration']['label'] : '' ); ?>
110
  </label>
111
  </div>
112
 
113
+ <?php if( ! empty( $fields_placeholders['form_caution']['label'] ) || ! empty( $fields_placeholders['form_caution']['placeholder'] ) ):?>
114
+ <div class="data-warning">
115
+ <div class="left-icon-container">
116
+ <i class="fa fa-info-circle fa-2x" aria-hidden="true"></i>
117
+ </div>
118
 
119
+ <div class="vr-separator"></div>
120
 
121
+ <div class="dokan-text-left">
122
+ <?php if ( ! empty( $fields_placeholders['form_caution']['label'] ) ): ?>
123
+ <span class="display-block"><b><?php echo esc_attr( ! empty( $fields_placeholders['form_caution']['label'] ) ? $fields_placeholders['form_caution']['label'] : '' ); ?></b></span>
124
+ <br/>
125
+ <?php endif; ?>
126
+ <span class="display-block"><?php echo esc_attr( ! empty( $fields_placeholders['form_caution']['placeholder'] ) ? $fields_placeholders['form_caution']['placeholder'] : '' ); ?></span>
127
+ </div>
128
  </div>
129
+ <?php endif;?>
130
 
131
  <p class="bottom-note"></p>
132
 
templates/whats-new.php CHANGED
@@ -3,6 +3,30 @@
3
  * When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix...
4
  */
5
  $changelog = [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  [
7
  'version' => 'Version 3.7.6',
8
  'released' => '2022-11-14',
3
  * When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix...
4
  */
5
  $changelog = [
6
+ [
7
+ 'version' => 'Version 3.7.7',
8
+ 'released' => '2022-11-30',
9
+ 'changes' => [
10
+ 'Improvement' => [
11
+ [
12
+ 'title' => 'Added date filter - `after/before` for Order REST API',
13
+ 'description' => '',
14
+ ],
15
+ [
16
+ 'title' => 'Added `dokan_bank_payment_fields_placeholders` Filter to change the label and placeholder of bank payment fields',
17
+ 'description' => '',
18
+ ],
19
+ [
20
+ 'title' => 'Updated UI/UX of vendor dashboard submenu',
21
+ 'description' => '',
22
+ ],
23
+ [
24
+ 'title' => 'Added section, sub-section label, description search under Dokan admin settings',
25
+ 'description' => '',
26
+ ],
27
+ ],
28
+ ],
29
+ ],
30
  [
31
  'version' => 'Version 3.7.6',
32
  'released' => '2022-11-14',
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitab2d8fd779b042e8682a7be7e630b197::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit1a37a1a5f23a57e42981cda510e3bdec::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitab2d8fd779b042e8682a7be7e630b197
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInitab2d8fd779b042e8682a7be7e630b197
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInitab2d8fd779b042e8682a7be7e630b197', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInitab2d8fd779b042e8682a7be7e630b197', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInitab2d8fd779b042e8682a7be7e630b197::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,12 +53,12 @@ class ComposerAutoloaderInitab2d8fd779b042e8682a7be7e630b197
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInitab2d8fd779b042e8682a7be7e630b197::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequireab2d8fd779b042e8682a7be7e630b197($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
@@ -70,7 +70,7 @@ class ComposerAutoloaderInitab2d8fd779b042e8682a7be7e630b197
70
  * @param string $file
71
  * @return void
72
  */
73
- function composerRequireab2d8fd779b042e8682a7be7e630b197($fileIdentifier, $file)
74
  {
75
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
76
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit1a37a1a5f23a57e42981cda510e3bdec
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit1a37a1a5f23a57e42981cda510e3bdec', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit1a37a1a5f23a57e42981cda510e3bdec', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit1a37a1a5f23a57e42981cda510e3bdec::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInit1a37a1a5f23a57e42981cda510e3bdec::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire1a37a1a5f23a57e42981cda510e3bdec($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
70
  * @param string $file
71
  * @return void
72
  */
73
+ function composerRequire1a37a1a5f23a57e42981cda510e3bdec($fileIdentifier, $file)
74
  {
75
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
76
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitab2d8fd779b042e8682a7be7e630b197
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
@@ -250,9 +250,9 @@ class ComposerStaticInitab2d8fd779b042e8682a7be7e630b197
250
  public static function getInitializer(ClassLoader $loader)
251
  {
252
  return \Closure::bind(function () use ($loader) {
253
- $loader->prefixLengthsPsr4 = ComposerStaticInitab2d8fd779b042e8682a7be7e630b197::$prefixLengthsPsr4;
254
- $loader->prefixDirsPsr4 = ComposerStaticInitab2d8fd779b042e8682a7be7e630b197::$prefixDirsPsr4;
255
- $loader->classMap = ComposerStaticInitab2d8fd779b042e8682a7be7e630b197::$classMap;
256
 
257
  }, null, ClassLoader::class);
258
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit1a37a1a5f23a57e42981cda510e3bdec
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
250
  public static function getInitializer(ClassLoader $loader)
251
  {
252
  return \Closure::bind(function () use ($loader) {
253
+ $loader->prefixLengthsPsr4 = ComposerStaticInit1a37a1a5f23a57e42981cda510e3bdec::$prefixLengthsPsr4;
254
+ $loader->prefixDirsPsr4 = ComposerStaticInit1a37a1a5f23a57e42981cda510e3bdec::$prefixDirsPsr4;
255
+ $loader->classMap = ComposerStaticInit1a37a1a5f23a57e42981cda510e3bdec::$classMap;
256
 
257
  }, null, ClassLoader::class);
258
  }
vendor/composer/platform_check.php CHANGED
@@ -4,8 +4,8 @@
4
 
5
  $issues = array();
6
 
7
- if (!(PHP_VERSION_ID >= 70000)) {
8
- $issues[] = 'Your Composer dependencies require a PHP version ">= 7.0.0". You are running ' . PHP_VERSION . '.';
9
  }
10
 
11
  if ($issues) {
4
 
5
  $issues = array();
6
 
7
+ if (!(PHP_VERSION_ID >= 70200)) {
8
+ $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.';
9
  }
10
 
11
  if ($issues) {