Admin Columns - Version 4.1.6

Version Description

Release Date: April 22nd, 2020

  • [Improved] You can now display the column ID and Type by opening the screen options in top right
  • [Improved] The meta column will now display a zero (when available) instead of a dash
  • [Improved] Improved right-to-left (RTL) support
  • [Improved] First time loading columns is faster
Download this release

Release Info

Developer tschutter
Plugin Icon 128x128 Admin Columns
Version 4.1.6
Comparing to
See all releases

Code changes from version 4.0.3 to 4.1.6

Files changed (53) hide show
  1. api.php +41 -19
  2. assets/css/admin-general.css +1 -1
  3. assets/css/admin-page-columns.css +1 -1
  4. assets/css/admin-welcome.css +1 -1
  5. assets/css/select2.css +1 -1
  6. assets/css/table.css +1 -1
  7. assets/fonts/cpac_icons.eot +0 -0
  8. assets/fonts/cpac_icons.woff +0 -0
  9. assets/fonts/cpac_icons.woff2 +0 -0
  10. assets/images/addons/metabox.svg +4 -0
  11. assets/images/question-light.svg +31 -0
  12. assets/images/question.svg +4 -2
  13. assets/images/tooltip/bulk-edit-author.png +0 -0
  14. assets/images/tooltip/bulk-edit.png +0 -0
  15. assets/images/tooltip/export-csv.png +0 -0
  16. assets/images/tooltip/export.png +0 -0
  17. assets/images/tooltip/filter.png +0 -0
  18. assets/images/tooltip/inline-edit-toggle.png +0 -0
  19. assets/images/tooltip/inline-edit.png +0 -0
  20. assets/images/tooltip/reset-sorting.png +0 -0
  21. assets/images/tooltip/save-filters.png +0 -0
  22. assets/images/tooltip/smart-filters.png +0 -0
  23. assets/images/tooltip/sort-preference.png +0 -0
  24. assets/images/tooltip/sort-table.png +0 -0
  25. assets/js/admin-general.js +2 -2
  26. assets/js/admin-general.js.map +1 -1
  27. assets/js/admin-page-addons.js +1 -1
  28. assets/js/admin-page-columns.js +1 -1
  29. assets/js/admin-page-columns.js.map +1 -1
  30. assets/js/initialize-columns.js.map +0 -1
  31. assets/js/message-review.js +1 -1
  32. assets/js/notice-dismissible.js +1 -1
  33. assets/js/table.js +1 -1
  34. assets/js/table.js.map +1 -1
  35. classes/Admin.php +130 -134
  36. classes/Admin/Asset/Addons.php +22 -0
  37. classes/Admin/Asset/Columns.php +85 -0
  38. classes/Admin/{Parts/Banner.php → Banner.php} +18 -8
  39. classes/Admin/GeneralSectionFactory.php +0 -23
  40. classes/Admin/HelpTab.php +22 -4
  41. classes/Admin/HelpTab/Basics.php +4 -23
  42. classes/Admin/HelpTab/CustomField.php +4 -70
  43. classes/Admin/HelpTab/Introduction.php +4 -11
  44. classes/Admin/Helpable.php +1 -0
  45. classes/Admin/Menu.php +33 -0
  46. classes/Admin/Menu/Item.php +49 -0
  47. classes/Admin/MenuItem.php +0 -42
  48. classes/Admin/Page.php +16 -21
  49. classes/Admin/Page/Addons.php +122 -278
  50. classes/Admin/Page/Columns.php +145 -160
  51. classes/Admin/Page/Help.php +29 -45
  52. classes/Admin/Page/Settings.php +31 -37
  53. classes/Admin/PageCollection.php +10 -0
api.php CHANGED
@@ -1,8 +1,11 @@
1
  <?php
2
 
 
 
3
  use AC\Helper;
4
  use AC\ListScreen;
5
  use AC\ListScreenCollection;
 
6
 
7
  /**
8
  * @return AC\AdminColumns
@@ -13,10 +16,11 @@ function AC() {
13
  }
14
 
15
  /**
16
- * @return bool True when Admin Columns Pro plugin is activated.
 
17
  */
18
  function ac_is_pro_active() {
19
- return function_exists( 'ACP' );
20
  }
21
 
22
  /**
@@ -53,7 +57,7 @@ function ac_get_site_utm_url( $path, $utm_medium, $utm_content = null, $utm_camp
53
  $utm_campaign = 'plugin-installation';
54
  }
55
 
56
- $args = array(
57
  // Referrer: plugin
58
  'utm_source' => 'plugin-installation',
59
 
@@ -65,7 +69,7 @@ function ac_get_site_utm_url( $path, $utm_medium, $utm_content = null, $utm_camp
65
 
66
  // Used for differentiation of medium
67
  'utm_content' => $utm_content,
68
- );
69
 
70
  $args = array_map( 'sanitize_key', array_filter( $args ) );
71
 
@@ -73,7 +77,6 @@ function ac_get_site_utm_url( $path, $utm_medium, $utm_content = null, $utm_camp
73
  }
74
 
75
  /**
76
- * Admin Columns Twitter username
77
  * @return string
78
  */
79
  function ac_get_twitter_handle() {
@@ -81,7 +84,7 @@ function ac_get_twitter_handle() {
81
  }
82
 
83
  /**
84
- * Simple helper methods for AC_Column objects
85
  * @since 3.0
86
  */
87
  function ac_helper() {
@@ -97,7 +100,7 @@ function ac_helper() {
97
  */
98
  function ac_register_columns( $list_screen_keys, $column_data ) {
99
  foreach ( (array) $list_screen_keys as $key ) {
100
- AC\ListScreenApiData::push( [ $key => $column_data ] );
101
  }
102
  }
103
 
@@ -111,23 +114,42 @@ function ac_register_columns( $list_screen_keys, $column_data ) {
111
  *
112
  * @param array $data
113
  *
114
- * @since 4.0.0
 
115
  */
116
  function ac_load_columns( array $data ) {
117
- AC\ListScreenApiData::push( $data );
 
118
  }
119
 
120
  /**
121
- * @param string $slug Page slug
122
  *
123
  * @return string
124
  */
125
- function ac_get_admin_url( $slug = null ) {
126
- if ( null === $slug ) {
127
- $slug = 'columns';
128
- }
 
 
 
 
 
129
 
130
- return AC()->admin()->get_url( $slug );
 
 
 
 
 
 
 
 
 
 
 
 
131
  }
132
 
133
  /**
@@ -139,9 +161,9 @@ function ac_get_admin_url( $slug = null ) {
139
  * @return string
140
  */
141
  function ac_convert_site_url( $label, $action = 'encode' ) {
142
- $input = array( site_url(), '[cpac_site_url]' );
143
 
144
- if ( 'decode' == $action ) {
145
  $input = array_reverse( $input );
146
  }
147
 
@@ -155,7 +177,7 @@ function ac_convert_site_url( $label, $action = 'encode' ) {
155
  * @since 4.0.0
156
  */
157
  function ac_get_list_screen( $id ) {
158
- return AC()->get_listscreen_repository()->find( $id );
159
  }
160
 
161
  /**
@@ -165,7 +187,7 @@ function ac_get_list_screen( $id ) {
165
  * @since 4.0.0
166
  */
167
  function ac_get_list_screens( $key ) {
168
- return AC()->get_listscreen_repository()->find_all( [ 'key' => $key ] );
169
  }
170
 
171
  /**
1
  <?php
2
 
3
+ use AC\Admin;
4
+ use AC\EncodedListScreenDataFactory;
5
  use AC\Helper;
6
  use AC\ListScreen;
7
  use AC\ListScreenCollection;
8
+ use AC\Type\ListScreenId;
9
 
10
  /**
11
  * @return AC\AdminColumns
16
  }
17
 
18
  /**
19
+ * We check the defined const because it is available before AC::__construct() runs.
20
+ * @return bool
21
  */
22
  function ac_is_pro_active() {
23
+ return defined( 'ACP_FILE' );
24
  }
25
 
26
  /**
57
  $utm_campaign = 'plugin-installation';
58
  }
59
 
60
+ $args = [
61
  // Referrer: plugin
62
  'utm_source' => 'plugin-installation',
63
 
69
 
70
  // Used for differentiation of medium
71
  'utm_content' => $utm_content,
72
+ ];
73
 
74
  $args = array_map( 'sanitize_key', array_filter( $args ) );
75
 
77
  }
78
 
79
  /**
 
80
  * @return string
81
  */
82
  function ac_get_twitter_handle() {
84
  }
85
 
86
  /**
87
+ * Simple helper methods for AC/Column objects
88
  * @since 3.0
89
  */
90
  function ac_helper() {
100
  */
101
  function ac_register_columns( $list_screen_keys, $column_data ) {
102
  foreach ( (array) $list_screen_keys as $key ) {
103
+ ac_load_columns( [ $key => $column_data ] );
104
  }
105
  }
106
 
114
  *
115
  * @param array $data
116
  *
117
+ * @deprecated 4.1
118
+ * @since 4.0.0
119
  */
120
  function ac_load_columns( array $data ) {
121
+ $factory = new EncodedListScreenDataFactory();
122
+ $factory->create()->add( $data );
123
  }
124
 
125
  /**
126
+ * @param string|null $slug
127
  *
128
  * @return string
129
  */
130
+ function ac_get_admin_url( $slug ) {
131
+ return add_query_arg(
132
+ [
133
+ Admin::QUERY_ARG_PAGE => Admin::NAME,
134
+ Admin::QUERY_ARG_TAB => $slug,
135
+ ],
136
+ admin_url( 'options-general.php' )
137
+ );
138
+ }
139
 
140
+ /**
141
+ * @param string|null $slug
142
+ *
143
+ * @return string
144
+ */
145
+ function ac_get_admin_network_url( $slug = null ) {
146
+ return add_query_arg(
147
+ [
148
+ Admin::QUERY_ARG_PAGE => Admin::NAME,
149
+ Admin::QUERY_ARG_TAB => $slug,
150
+ ],
151
+ network_admin_url( 'settings.php' )
152
+ );
153
  }
154
 
155
  /**
161
  * @return string
162
  */
163
  function ac_convert_site_url( $label, $action = 'encode' ) {
164
+ $input = [ site_url(), '[cpac_site_url]' ];
165
 
166
+ if ( 'decode' === $action ) {
167
  $input = array_reverse( $input );
168
  }
169
 
177
  * @since 4.0.0
178
  */
179
  function ac_get_list_screen( $id ) {
180
+ return AC()->get_storage()->find( new ListScreenId( $id ) );
181
  }
182
 
183
  /**
187
  * @since 4.0.0
188
  */
189
  function ac_get_list_screens( $key ) {
190
+ return AC()->get_storage()->find_all( [ 'key' => $key ] );
191
  }
192
 
193
  /**
assets/css/admin-general.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2") format("woff2"),url("../fonts/cpac_icons.woff") format("woff");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.cpacicon-segment::before{content:""}.ac-modal{position:fixed;overflow:auto;z-index:100000;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.5);display:none}.ac-modal.-active{display:flex;align-items:center;justify-content:center}.ac-modal__dialog{border:1px solid #C8C8C8;background:#fff;position:fixed;width:650px;max-width:90%}.ac-modal__dialog__header{background:#f5f5f5;font-size:18px;line-height:18px;color:#807F7F;padding:17px 25px}.ac-modal__dialog__close{display:inline-block;padding:0;margin:0;border:none;background:none;position:absolute;right:0;top:0;width:52px;height:52px;text-align:center;color:#989797;cursor:pointer}.ac-modal__dialog__close:hover{background:#e1e1e1}.ac-modal__dialog__content{padding:25px;max-height:calc(100vh - 200px);overflow:scroll}.ac-modal__dialog__content__lead{font-weight:bold;font-size:15px;margin-top:5px;margin-bottom:25px;color:#6D6D6D}.ac-modal__dialog__list li{position:relative;padding-left:25px;font-weight:400;font-size:16px;letter-spacing:0.5px;margin-bottom:10px}.ac-modal__dialog__list li:before{content:'\f147';font-family:Dashicons;position:absolute;left:0;top:0;color:#3D4350}.ac-modal__dialog__list li:nth-child(2n){color:#e9426e}.ac-modal__dialog__footer{padding:20px 24px;border-top:1px solid #DBDBDB;color:#979696;font-size:16px}.ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}.ac-modal.-blocking{background:#E3E7EB}@media only screen and (max-width: 720px){.ac-modal__dialog__footer__content{display:block}.ac-modal__dialog__footer .button{margin-left:0;margin-top:10px}}#cpac a:focus,#cpac a:active{outline:none}.wrap .nav-tab-wrapper{margin-bottom:24px}.wrap .notice{margin-top:16px;margin-bottom:16px}.ac-badge{display:inline-block;background:#d54e21;border-radius:10px;font-size:9px;line-height:17px;padding:0 6px;margin:-1px 0 0 4px;vertical-align:middle;color:#fff;font-weight:600}a.external:after{content:"\f504";display:inline-block;margin-left:4px;font-size:17px;color:#797979;line-height:1;font-family:dashicons, serif;text-decoration:none;font-weight:normal;font-style:normal;vertical-align:top;text-align:center}.button.loading{padding-right:25px;position:relative}.cpac_message.error.warning{border-left:4px solid #ffba00}.menu{position:relative;padding:0;margin-top:16px;margin-bottom:16px}.menu select{display:inline-block;margin:0}.menu .spinner{display:none;float:none;visibility:visible;margin:0 0 0 14px}.menu .view-link,.menu .view-link:active{display:inline-block;margin:0 0 0 12px;top:2px}table.ac-form-table{max-width:1100px;margin-top:20px}table.ac-form-table>tbody>tr>td,table.ac-form-table>tbody>tr>th{vertical-align:top}table.ac-form-table.settings tr th{font-weight:normal}table.ac-form-table.settings tr th h2{margin:0}table.ac-form-table.settings tr td{padding-top:58px}table.ac-form-table .general form div.checkbox-labels{margin-bottom:6px}table.ac-form-table .general form p.save-button{margin-top:10px}.wp-pointer-content{overflow:hidden}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}.wp-pointer.noclick .wp-pointer-buttons{display:none}body.rtl .wp-pointer-right{margin-left:15px;margin-right:0}body.rtl .wp-pointer-right ol{margin-right:1.5em;margin-left:0}body.rtl .button.loading{padding-left:25px;padding-right:0}body.rtl .button.loading span{left:6px;right:auto}body.rtl .ac-left{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner .meta{float:left}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label span.vers{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .ac-left .ac-columns .ac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label a.more-info{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form div.description{float:right}body.rtl .ac-left .ac-columns .ac-column .column-form div.input-width-range{float:right}body.rtl .ac-left .ac-columns .ac-column .column-form a.help{float:left}body.rtl .ac-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;margin-right:8px}body.rtl .ac-left .column-footer .order-message .order-message__icon{left:inherit;right:0;transform:scaleX(-1)}body.rtl .ac-left .column-footer .button-container{float:left}body.rtl .ac-left .column-footer .submit{display:none}body.rtl .ac-right{float:left;margin-left:-300px;margin-right:0}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}body.rtl .cpac_export .ms-container .ms-selection{float:left}.ac-wp-pointer img{max-width:calc(100% - 20px);height:auto;margin:10px;margin-top:0}.ac-section{background:#F5F5F5;margin-bottom:28px;box-shadow:0 1px 3px rgba(0,0,0,0.1)}.ac-section__header{background:#fff;padding:13px 14px;border-bottom:1px solid #E1E1E1;position:relative}.ac-section__header__title{font-size:15px;margin:0;font-weight:bold}.ac-section__body{padding:16px 16px}.ac-section p{margin:0 0 1em 0;max-width:800px}.ac-section.-closable .ac-section__header{padding-right:30px;cursor:pointer}.ac-section.-closable .ac-section__header:after{content:"";position:absolute;right:20px;top:50%;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:6px solid #000;transition:all .2s;margin-top:-4px}.ac-section.-closable.-closed .ac-section__header:after{transform:rotate(180deg)}.ac-section.-closable.-closed .ac-section__body{display:none}
1
+ @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2?v=492557") format("woff2"),url("../fonts/cpac_icons.woff?v=820378") format("woff");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-bulk-edit::before{content:""}.cpacicon-download::before{content:""}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.cpacicon-segment::before{content:""}.ac-modal{position:fixed;overflow:auto;z-index:100000;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.5);display:none}.ac-modal.-active{display:flex;align-items:center;justify-content:center}.ac-modal__dialog{border:1px solid #C8C8C8;background:#fff;position:fixed;width:650px;max-width:90%}.ac-modal__dialog__header{background:#f5f5f5;font-size:18px;line-height:18px;color:#807F7F;padding:17px 25px}.ac-modal__dialog__close{display:inline-block;padding:0;margin:0;border:none;background:none;position:absolute;right:0;top:0;width:52px;height:52px;text-align:center;color:#989797;cursor:pointer}.ac-modal__dialog__close:hover{background:#e1e1e1}.ac-modal__dialog__content{padding:25px;max-height:calc(100vh - 200px);overflow:scroll}.ac-modal__dialog__content__lead{font-weight:bold;font-size:15px;margin-top:5px;margin-bottom:25px;color:#6D6D6D}.ac-modal__dialog__list li{position:relative;padding-left:25px;font-weight:400;font-size:16px;letter-spacing:0.5px;margin-bottom:10px}.ac-modal__dialog__list li:before{content:'\f147';font-family:Dashicons;position:absolute;left:0;top:0;color:#3D4350}.ac-modal__dialog__list li:nth-child(2n){color:#e9426e}.ac-modal__dialog__footer{padding:20px 24px;border-top:1px solid #DBDBDB;color:#979696;font-size:16px}.ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}.ac-modal.-blocking{background:#E3E7EB}@media only screen and (max-width: 720px){.ac-modal__dialog__footer__content{display:block}.ac-modal__dialog__footer .button{margin-left:0;margin-top:10px}}body.rtl .wp-pointer-right{margin-left:15px;margin-right:0}body.rtl .wp-pointer-right ol{margin-right:1.5em;margin-left:0}body.rtl .button.loading{padding-left:25px;padding-right:0}body.rtl .button.loading span{left:6px;right:auto}body.rtl .ac-admin__main .ac-columns .ac-column .ac-setting-input .checkbox-labels>label,body.rtl .ac-admin__main .ac-columns .ac-column .ac-setting-input .radio-labels>label{padding-right:0;padding-left:10px;display:inline-block}body.rtl .ac-admin__main .ac-columns .ac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .ac-admin__main .ac-columns .ac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .ac-admin__main .ac-columns .ac-column .column-meta .column_label .inner .meta{float:left}body.rtl .ac-admin__main .ac-columns .ac-column .column-meta .column_label span.vers{float:right}body.rtl .ac-admin__main .ac-columns .ac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .ac-admin__main .ac-columns .ac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .ac-admin__main .ac-columns .ac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .ac-admin__main .ac-columns .ac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .ac-admin__main .ac-columns .ac-column .column-form table tr td.label a.more-info{float:left}body.rtl .ac-admin__main .ac-columns .ac-column .column-form div.description{float:right}body.rtl .ac-admin__main .ac-columns .ac-column .column-form div.input-width-range{float:right}body.rtl .ac-admin__main .ac-columns .ac-column .column-form a.help{float:left}body.rtl .ac-admin__main .column-footer .order-message{float:right;padding-right:22px;padding-left:0;margin-right:8px}body.rtl .ac-admin__main .column-footer .order-message .order-message__icon{left:inherit;right:0;transform:scaleX(-1)}body.rtl .ac-admin__main .column-footer .button-container{float:left}body.rtl .ac-admin__main .column-footer .submit{display:none}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}body.rtl .cpac_export .ms-container .ms-selection{float:left}body.rtl .ac-column-setting td.col-label .ac-pointer{right:inherit;left:4px}body.rtl .ac-setting-input-width div.description{direction:ltr}body.rtl .ac-setting-input-width div.unit-select{left:0;right:inherit}body.rtl .ac-setting-input-width div.unit-select .radio-labels label{margin-right:0;padding-left:0 !important}body.rtl .ac-section-group.-tools .ac-section.-export{margin-right:0;margin-left:27px}body.rtl .ac-setbox__row a.ac-pointer.instructions{right:inherit;left:10px}body.rtl .ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon{right:2px;padding-left:4px}body.rtl .ac-setbox .radio-labels label{display:inline-block}#cpac a:focus,#cpac a:active{outline:none}.ac-message{background:#fff;padding:1px 12px;border:1px solid #ccd0d4;margin-bottom:15px}.ac-message p{margin:0.5em 0}.wrap .nav-tab-wrapper{margin-bottom:24px}.wrap .notice{margin-top:16px;margin-bottom:16px}.ac-badge{display:inline-block;background:#d54e21;border-radius:10px;font-size:9px;line-height:17px;padding:0 6px;margin:-1px 0 0 4px;vertical-align:middle;color:#fff;font-weight:600}a.external:after{content:"\f504";display:inline-block;margin-left:4px;font-size:17px;color:#797979;line-height:1;font-family:dashicons, serif;text-decoration:none;font-weight:normal;font-style:normal;vertical-align:top;text-align:center}.button.loading{padding-right:25px;position:relative}.cpac_message.error.warning{border-left:4px solid #ffba00}div.menu{position:relative;padding:0;margin-top:16px;margin-bottom:16px}div.menu select{display:inline-block;margin:0}div.menu .spinner{display:none;float:none;visibility:visible;margin:0 0 0 14px}div.menu .view-link,div.menu .view-link:active{display:inline-block;margin:0 0 0 12px;top:2px}table.ac-form-table{max-width:1100px;margin-top:20px}table.ac-form-table>tbody>tr>td,table.ac-form-table>tbody>tr>th{vertical-align:top}table.ac-form-table.settings tr th{font-weight:normal}table.ac-form-table.settings tr th h2{margin:0}table.ac-form-table.settings tr td{padding-top:58px}table.ac-form-table .general form div.checkbox-labels{margin-bottom:6px}table.ac-form-table .general form p.save-button{margin-top:10px}.wp-pointer-content{overflow:hidden}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}.wp-pointer.noclick .wp-pointer-buttons{display:none}.ac-wp-pointer img{max-width:calc(100% - 40px);height:auto;margin:20px;margin-bottom:5px;margin-top:0}.ac-wp-pointer p.notice{padding-top:10px;padding-bottom:10px}.ac-wp-pointer .wp-pointer-arrow{pointer-events:none}.ac-section{background:#F5F5F5;margin-bottom:28px;box-shadow:0 1px 3px rgba(0,0,0,0.1)}.ac-section__header{background:#fff;padding:13px 14px;border-bottom:1px solid #E1E1E1;position:relative}.ac-section__header__title{font-size:15px;margin:0;font-weight:bold}.ac-section__body{padding:16px 16px}.ac-section p{margin:0 0 1em 0;max-width:800px}.ac-section.-closable .ac-section__header{padding-right:30px;cursor:pointer}.ac-section.-closable .ac-section__header:after{content:"";position:absolute;right:20px;top:50%;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:6px solid #000;transition:all .2s;margin-top:-4px}.ac-section.-closable.-closed .ac-section__header:after{transform:rotate(180deg)}.ac-section.-closable.-closed .ac-section__body{display:none}
assets/css/admin-page-columns.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2") format("woff2"),url("../fonts/cpac_icons.woff") format("woff");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.cpacicon-segment::before{content:""}.ac-setbox{-webkit-font-smoothing:antialiased;margin-top:30px}.ac-setbox__header{padding:10px;position:relative;cursor:pointer}.ac-setbox__header__title{font-size:15px;font-weight:bold}.ac-setbox__header__title small{font-size:14px;font-weight:300;color:#72777C}.ac-setbox__header:after{content:"";position:absolute;right:20px;top:50%;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:6px solid #000;transition:all .2s;margin-top:-4px}.ac-setbox__row{background:#fff}.ac-setbox__row__th,.ac-setbox__row__fields{border-bottom:1px solid #dfdfdf}.ac-setbox__row__th{background:#f5f5f5;position:relative;padding:12px 13px;border-right:1px solid #dedede}.ac-setbox__row__th label{display:block;font-weight:bold;margin-bottom:5px}.ac-setbox__row__th small{color:#636669;font-size:13px;line-height:17px}.ac-setbox__row__fields{flex:auto}.ac-setbox__row__fields__inner{padding:15px}.ac-setbox__row__fields select{width:100%;margin-bottom:10px}.ac-setbox__row a.ac-pointer.instructions{position:absolute;top:14px;right:10px;display:inline-block;cursor:pointer}@media screen and (min-width: 900px){.ac-setbox__row{display:flex}.ac-setbox__row__th{flex:0 0 230px}.ac-setbox__row__fields{flex:auto}.ac-setbox__row.-sub{display:block}.ac-setbox__row.-sub .ac-setbox__row__th,.ac-setbox__row.-sub .ac-setbox__row__fields{flex:100%}}@media screen and (min-width: 1150px){.ac-setbox__row.-sub{display:flex}.ac-setbox__row.-sub .ac-setbox__row__th,.ac-setbox__row.-sub .ac-setbox__row__fields{flex:100%}}.ac-setbox .checkbox-labels>label,.ac-setbox .radio-labels>label{padding-right:10px;vertical-align:top}.ac-setbox .checkbox-labels.vertical input[type=radio],.ac-setbox .radio-labels.vertical input[type=radio]{margin-right:6px}.ac-setbox .checkbox-labels.vertical>label,.ac-setbox .radio-labels.vertical>label{display:block;margin-bottom:5px}.ac-setbox.-closed .ac-setbox__header:after{transform:rotate(180deg)}.ac-setbox.-closed .ac-setbox__row{display:none}.ac-ls-settings .select2{margin-bottom:10px}.ac-ls-settings .select2 input{min-height:0}.ac-ls-settings .select2 li{margin-bottom:0}.ac-ls-settings .row.users .select2{margin-bottom:0}.ac-ls-settings select.sorting_order{margin-bottom:0}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4)}.ui-sortable-helper .column-meta{border-width:1px}.ac-column .comment-grey-bubble{height:16px;width:16px}.ac-column .comment-grey-bubble:before{content:'\f101';font:normal 20px/.5 'dashicons';speak:none;display:inline-block;padding:0;top:5px;left:0;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important}.rtl .ac-column .comment-grey-bubble:before{right:0;left:auto}.ac-admin{margin-right:300px;max-width:740px}.ac-admin #add-new-column-template{display:none}.ac-admin .ac-left{float:left;width:100%}.ac-admin .ac-left .column-footer a.add_column{padding-left:16px;padding-right:16px;text-align:center}.ac-admin .ac-left .column-footer a.submit.save,.ac-admin .ac-left .column-footer a.submit.update{padding-left:20px;padding-right:20px;text-align:center}.ac-admin .ac-left .column-footer .submit.save{display:inline-block}.ac-admin .ac-left .column-footer .submit.update{display:none}.ac-admin .ac-right{float:right;margin-right:-300px;width:280px}.ac-admin .ac-right .ac-right-inside.fixed{width:280px}.ac-admin .column-footer .spinner{display:none}.ac-admin.saving .ac-right-inside .spinner{visibility:visible}.ac-admin.saving .column-footer .spinner{margin:4px 0 0;background-position:center center;float:none;display:inline-block;visibility:visible}.ac-admin.stored .ac-right .sidebox.form-actions .submit.save{display:none}.ac-admin.stored .ac-right .sidebox.form-actions .submit.update{display:block}.ac-admin.stored .ac-right .sidebox.form-actions .form-reset{display:block}.ac-admin.stored .column-footer .submit.save{display:none}.ac-admin.stored .column-footer .submit.update{display:inline-block}.ac-left .ac-notice{background:#fff;border-left:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin-bottom:15px;padding:1px 12px}.ac-left .ajax-message{display:none}.ac-left .ac-message{margin-top:0 !important}.ac-left .ac-message p{min-height:1px;overflow:hidden}.ac-left .ac-message>.dashicons{float:left;margin-top:6px;color:#b7b7b7;margin-right:5px}.ac-left .ac-message.notice-info{border-left:4px solid #00a0d2}.ac-left .ac-boxes .ac-columns form{box-shadow:0 1px 3px rgba(0,0,0,0.1);margin:0}.ac-column a{cursor:pointer}.ac-column a:focus,.ac-column a:active{box-shadow:none}.ac-column.loading .ac-column-body>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.ac-column.loading .ac-column-body:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:0.5}.ac-column.opened{margin-bottom:-1px}.ac-column.opened .ac-column-header{background-color:#eaeaea;border-color:#ccc}.ac-column.opened .ac-column-header:hover .column_label .inner>a.close-button{display:inline-block}.ac-column.opened .ac-column-header .column_edit:after{content:"\f142"}.ac-column.opened .ac-column-header table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td a{color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td.column_sort span{color:#9b9b9b}.ac-column.opened .ac-column-header table td.column_label .meta span{color:#8d8d8d;text-shadow:none}.ac-column.opened .ac-column-header table td.column_label a.edit-button{display:none}.ac-column.opened .ac-column-header table td.column_type{color:#5C5C5C}.ac-column.opened .ac-column-header table td.column_edit:after{color:#9b9b9b}.ac-column.opened .ac-column-body{border:1px solid #ccc;border-top:1px solid #d4d4d4}.ac-column.disabled,.boxes.disabled .ac-column{opacity:0.7}.ac-column.disabled a.remove-button,.ac-column.disabled a.clone-button,.ac-column.disabled .column_action,.boxes.disabled .ac-column a.remove-button,.boxes.disabled .ac-column a.clone-button,.boxes.disabled .ac-column .column_action{display:none !important}.ac-column.disabled .column-meta td.column_sort,.boxes.disabled .ac-column .column-meta td.column_sort{display:none}.ac-column.disabled .column-meta td.column_label,.boxes.disabled .ac-column .column-meta td.column_label{padding-left:10px}.ac-column.disabled .meta span,.boxes.disabled .ac-column .meta span{cursor:default !important;opacity:0.45}.ac-column.disabled .meta span:before,.boxes.disabled .ac-column .meta span:before{color:#808080 !important}.ac-column.disabled .meta span.on,.boxes.disabled .ac-column .meta span.on{opacity:1}.ac-column.disabled .column-footer,.boxes.disabled .ac-column .column-footer{display:none}.ac-column.disabled .ac-column-body:before,.boxes.disabled .ac-column .ac-column-body:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:0.3;cursor:not-allowed}.ac-column-setting{width:100%;clear:both;border-spacing:0;margin:0;border-top:1px solid #e8e8e8}.ac-column-setting:first-child{border-top:0}.ac-column-setting tr.hide{display:none}.ac-column-setting tr td{vertical-align:top;border:none;padding:0;background:#fff}.ac-column-setting td.col-label{position:relative;line-height:24px;overflow:visible;background:#f5f5f5;border-right:1px solid #dedede;width:34%;padding:10px;padding-left:12px}.ac-column-setting td.col-label a.more-link{text-decoration:none;color:#d2d2d2;position:absolute;right:8px;top:17px}.ac-column-setting td.col-label a.more-link span.dashicons{font-size:17px}.ac-column-setting td.col-label a.more-link:hover{color:#acacac}.ac-column-setting td.col-label span.label{font-weight:bold;display:block;color:#333333;font-style:normal}.ac-column-setting td.col-label div.tooltip{font-size:12px;font-style:normal;line-height:16px;margin:0 !important;display:none;position:absolute;max-width:200px;z-index:99;top:40px;left:0;font-weight:normal;color:#fff;background-color:#333;box-shadow:0 1px 3px rgba(0,0,0,0.2);padding:.618em 1em;border-radius:3px}.ac-column-setting td.col-label div.tooltip em{margin-top:3px;display:block;color:#999}.ac-column-setting td.col-input div.msg{margin-top:5px;display:none;color:#333;padding:6px 10px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.ac-column-setting td.col-input div.msg p{margin:0.5em 0 1em 0}.ac-column-setting td.col-input div.msg a.button{margin-bottom:1em}.ac-column-setting td.col-input .help-msg{margin:10px 0 0;color:#666;font-size:13px}.ac-column-setting .ac-column-setting td.col_label{background-color:#fcfcfc}.ac-column-setting .ac-column-setting td.col_label .label{font-size:12px;color:#595959}.ac-column-setting span.ac-setting-error{display:block;margin:0;background-color:#ffebe8;padding:7px 10px}.ac-column-setting-actions .col-settings p{padding-left:10px}.ac-column-setting-actions .col-settings a{text-decoration:none}.ac-column-setting-actions .col-settings a.close-button,.ac-column-setting-actions .col-settings a.clone-button{margin-right:10px}.ac-column-setting-actions .col-settings a.remove-button{color:#a00;text-decoration:none;text-shadow:none;margin-right:5px}.ac-column-setting-actions .col-settings a.remove-button:hover{color:#f00}.ac-setting-input{padding:10px;line-height:24px}.ac-setting-input input,.ac-setting-input select{width:99.95%;max-width:none}.ac-setting-input input[type=checkbox],.ac-setting-input input[type=radio]{width:auto;margin-right:4px}.ac-setting-input__info{margin-left:5px;transform:translateY(2px)}.ac-setting-input .checkbox-labels>label,.ac-setting-input .radio-labels>label{padding-right:10px;vertical-align:top}.ac-setting-input .checkbox-labels.vertical input[type=radio],.ac-setting-input .radio-labels.vertical input[type=radio]{margin-right:6px}.ac-setting-input .checkbox-labels.vertical>label,.ac-setting-input .radio-labels.vertical>label{display:block;margin-bottom:5px}.ac-setting-input .ac-pointer{color:#8d8d8d;display:inline-block;transform:translateY(2px)}.ac-setting-input-date .ac-setting-input-date__custom{display:inline-block;width:71px;margin-right:5px}.ac-setting-input-date .ac-setting-input-date__value{display:inline-block;width:165px}.ac-setting-input-date .ac-setting-input-date__example{margin-left:8px}.ac-setting-input-date .ac-setting-input-date__example .spinner{float:none;vertical-align:top}.ac-setting-input-date code{display:inline-block;min-width:60px;padding-top:0;padding-bottom:0;text-align:center}.ac-setting-input-width{position:relative}.ac-setting-input-width div.description{font-size:12px;width:72px;position:absolute;display:table}.ac-setting-input-width div.description input{margin:0;text-align:right;vertical-align:middle;display:table-cell;padding-left:4px;padding-right:4px;border-color:#7e8993;border-top-right-radius:0;border-bottom-right-radius:0}.ac-setting-input-width div.description input::-webkit-input-placeholder{font-size:13px}.ac-setting-input-width div.description input:-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input::-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input:-ms-input-placeholder{font-size:13px}.ac-setting-input-width div.description span{background:#efefef;display:table-cell;width:26px;line-height:23px;text-align:center;vertical-align:middle;border:1px solid #7e8993;border-left:none;color:#505050;border-top-right-radius:4px;border-bottom-right-radius:4px}.ac-setting-input-width div.width-slider{margin-left:82px;margin-right:88px;position:relative;top:8px}.ac-setting-input-width div.width-slider .ui-slider-handle{cursor:ew-resize;z-index:1}.ac-setting-input-width div.unit-select{position:absolute;top:11px;right:6px;width:82px;text-align:right}.ac-setting-input-width div.unit-select .radio-labels{padding:0}.ac-setting-input-width div.unit-select .radio-labels label{padding:0;margin-right:6px}.ac-setting-input-width div.unit-select .radio-labels label input{margin-right:2px}.ac-column-setting--pro .col-label .dashicons{color:#A99D9F;transform:scale(0.9, 0.9);margin-top:2px;display:inline-block;margin-right:3px;cursor:pointer}.ac-column-setting--pro .radio-labels{display:inline-block}.ac-column-setting--pro .radio-labels input{background-color:#F0F0F0}.ac-column-setting--pro .radio-labels input:checked:before{background-color:#808080}.ac-column-setting--pro .ac-setting-input{background:#f5f5f5}.ac-column-setting--pro .acp-button{background:#e9426e;color:#fff;border:none;border-radius:3px;padding:3px 10px;letter-spacing:2px;cursor:pointer;font-size:13px;vertical-align:middle;margin-top:-1px;margin-left:5px}.ac-column-header{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.ac-column-header:nth-child(2n) .column-meta{background:#f9f9f9}.ac-column-header img{margin-right:3px}.ac-column-header table{border:none;background:transparent;border-radius:0}.ac-column-header table tr td{vertical-align:top;height:18px;padding:12px 8px;border-width:1px 0 0;border-style:solid;border-color:transparent}.ac-column-header table tr td.column_sort{position:relative;cursor:move;padding:9px 16px}.ac-column-header table tr td.column_sort span.cpacicon-move{position:absolute;top:12px;left:12px;font-size:22px;display:inline-block;color:#bdbdbd}.ac-column-header table tr td.column_label{width:70%;font-weight:bold;vertical-align:middle;position:relative;padding:15px 0}.ac-column-header table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.ac-column-header table tr td.column_label .inner .toggle img{max-height:20px}.ac-column-header table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.ac-column-header table tr td.column_label .inner>a:hover{color:#333333}.ac-column-header table tr td.column_label .inner>a.edit-button,.ac-column-header table tr td.column_label .inner>a.close-button,.ac-column-header table tr td.column_label .inner>a.remove-button,.ac-column-header table tr td.column_label .inner>a.clone-button{display:none;color:#0074a2;text-decoration:none;text-shadow:none;font-weight:normal;margin-left:5px;font-size:12px}.ac-column-header table tr td.column_label .inner>a.edit-button:hover,.ac-column-header table tr td.column_label .inner>a.close-button:hover,.ac-column-header table tr td.column_label .inner>a.remove-button:hover,.ac-column-header table tr td.column_label .inner>a.clone-button:hover{color:#2ea2cc}.ac-column-header table tr td.column_label .inner>a.remove-button{color:#a00}.ac-column-header table tr td.column_label .inner>a.remove-button:hover{color:#f00}.ac-column-header table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:normal;color:#b2b2b2;font-size:12px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting{cursor:pointer;margin-left:4px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-heading-setting--width{margin-right:3px;cursor:auto;color:#737373}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator{margin-left:3px;font-size:24px;line-height:17px;width:22px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.ac-column-indicator--filter{font-size:20px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on,.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on span{color:#21759B}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.disabled{cursor:default}.ac-column-header table tr td.column_type{width:auto;min-width:120px;text-align:right;color:#999999;padding-right:0}.ac-column-header table tr td.column_type .inner{display:inline-block;height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:120px;vertical-align:middle}.ac-column-header table tr td.column_type .inner a{margin-top:2px;color:#999999}.ac-column-header table tr td.column_edit{width:38px;min-width:38px;text-align:center;cursor:pointer}.ac-column-header table tr td.column_edit:after{right:0;content:"\f140";font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 5px 0 0;bottom:0;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important;color:#b4b9be}.ac-column-header table tr:hover td.column_sort span{color:#9b9b9b}.ac-column-header:hover .column_label .inner>a.remove-button,.ac-column-header:hover .column_label .inner>a.edit-button,.ac-column-header:hover .column_label .inner>a.clone-button{display:inline-block}.ac-column-header span.vers{padding-top:2px}.ac-column-body{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.column-footer{background:#EAF2FA;border:1px solid #c7d7e2;min-height:26px;padding:8px;overflow:hidden}.column-footer .order-message{color:#7A9BBE;float:left;font-family:Comic Sans MS, sans-serif;font-size:11px;height:13px;position:relative;line-height:1em;margin-left:4px;padding:7px 0 0 22px;text-shadow:0 1px 0 #FFFFFF;display:inline-block}.column-footer .order-message__icon{display:inline-block;position:absolute;left:0;top:0}.column-footer .button-container{float:right;display:inline-block;min-height:29px}.column-footer .button-container a{display:inline-block;margin-left:5px;vertical-align:top}.column-footer .button-container a.clear-columns{color:#BC0B0B;text-decoration:none;margin-right:8px;margin-top:5px}.column-footer .button-container a.clear-columns:hover{color:red}.ac-right .sidebox{background:none repeat scroll 0 0 #FFFFFF;border:1px solid #dedede;border-radius:0 0 0 0;box-shadow:0 1px 3px rgba(0,0,0,0.1);position:relative;margin-bottom:14px}.ac-right .sidebox h3{padding:10px;margin:0;position:relative}.ac-right .sidebox h3.title{font-family:Georgia, "Times New Roman", "Bitstream Charter", Times, serif;font-size:15px;font-weight:normal;line-height:1;margin:0;padding:7px 10px;background:#f1f1f1;background-image:-webkit-gradient(linear, left bottom, left top, from(#ececec), to(#f9f9f9));background-image:-webkit-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-moz-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-o-linear-gradient(bottom, #ececec, #f9f9f9);background-image:linear-gradient(to top, #ececec, #f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.ac-right .sidebox h3 span.left{position:relative;background:#fff;z-index:2;padding-right:8px;float:none}.ac-right .sidebox h3 span.contenttype{display:block;line-height:20px;font-size:12px;text-transform:uppercase;color:#808080;margin-top:4px}.ac-right .sidebox h3 span.contenttype.right{position:absolute;display:inline-block;z-index:1;right:10px;text-align:right;margin-top:0}.ac-right .sidebox .inside{padding:10px}.ac-right .sidebox .inside p{margin-top:0}.ac-right .sidebox.form-actions .form-reset{display:none;border-bottom:1px solid #F5F5F5;padding:8px}.ac-right .sidebox.form-actions .reset-column-type{text-decoration:none;color:#BC0B0B;line-height:25px;display:inline-block;background:none;border:none;padding:0;font-size:13px;cursor:pointer;margin:0}.ac-right .sidebox.form-actions .reset-column-type:hover{color:red}.ac-right .sidebox.form-actions .form-update{padding:8px;overflow:hidden}.ac-right .sidebox.form-actions .submit{display:none;width:100%;height:28px;line-height:28px;text-align:center}.ac-right .sidebox.form-actions .submit.save{display:block}.ac-right .sidebox#direct-feedback #feedback-support,.ac-right .sidebox#direct-feedback #feedback-rate{display:none}.ac-right .sidebox#direct-feedback .inside>a{border-radius:4px;border:1px solid #CCC;width:48%;height:64px;text-align:center;line-height:64px;font-weight:bold;color:#222;display:inline-block;text-decoration:none}.ac-right .sidebox#direct-feedback .inside>a:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.ac-right .sidebox#direct-feedback .inside form input[type="submit"]{display:inline-block;float:right;border-radius:4px;border:1px solid #CCC;height:32px;text-align:center;line-height:32px;font-weight:bold;font-size:12px;padding:0 32px;color:#CCC;background:none;text-decoration:none;cursor:pointer}.ac-right .sidebox#direct-feedback .inside form input[type="submit"]:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.ac-right .sidebox#direct-feedback .inside ul{margin:0}.ac-right .sidebox#direct-feedback .inside ul.share li{margin:0;display:block;float:left;margin-left:9px;width:30%}.ac-right .sidebox#direct-feedback .inside ul.share li a{text-decoration:none;vertical-align:middle;line-height:20px;padding:16px 0;width:100%;text-align:center;border:1px solid #CCC;border-radius:4px;display:block}.ac-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.ac-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}#ac-pro-version{background:none}#ac-pro-version .padding-box{padding:20px 10px 10px;background:#3d4350;color:#fff}#ac-pro-version .nopadding{margin:0;padding:0}#ac-pro-version h2{color:#fff}#ac-pro-version h3{font-size:34px;line-height:40px}#ac-pro-version h3 a{text-decoration:none;color:#fff}#ac-pro-version h3 a span{color:#e9426e}#ac-pro-version sup{text-decoration:line-through;font-size:13px;color:#ccc}#ac-pro-version .ac-pro-prices{margin:8px 0 0;font-style:italic}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px;cursor:pointer}#ac-pro-version .more{color:#FFEE85;text-decoration:none}#ac-pro-version .more:hover{text-decoration:underline}#ac-pro-version p.center{text-align:center}#ac-pro-version p.nomargin{margin-bottom:0}#ac-pro-version ul.features a:hover{text-decoration:underline}#ac-pro-version ul li{padding-bottom:3px}#ac-pro-version ul li a{color:#fff;text-decoration:none;padding-left:25px;position:relative;display:block}#ac-pro-version ul li a:before{content:'\2713';font-weight:bold;font-size:16px;position:absolute;left:0;top:0}#ac-pro-version ul li.acp-integration{padding:0;min-height:23px;line-height:23px}#ac-pro-version ul li.acp-integration img{height:23px;display:inline-block;vertical-align:middle;margin-right:3px}#ac-pro-version ul li.acp-integration img.ac-addon-pods{margin-top:-4px}#ac-pro-version ul li.acp-integration img.ac-addon-types{height:18px}#ac-pro-version ul li.acp-integration img.cac-addon-acf{margin-top:-4px;height:15px}#ac-pro-version ul li.acp-integration a{color:#FFEE85}#ac-pro-version ul li.acp-integration a:before{content:'+'}#ac-pro-version .padding-box.ac-pro-deal{color:#3d4350;padding-bottom:20px;text-align:center;background:#ffef8f}#ac-pro-version .padding-box.ac-pro-deal h3{font-size:20px;line-height:26px;padding-top:0;padding-bottom:0;margin-bottom:18px}#ac-pro-version .padding-box.ac-pro-deal a.acp-button{font-size:16px}#ac-pro-version .padding-box.ac-pro-newsletter{background:#fff;color:#3d4350}#ac-pro-version .padding-box.ac-pro-newsletter h3{font-size:20px;padding-bottom:0}#ac-pro-version .padding-box.ac-pro-newsletter input{width:100%;margin-bottom:8px}#ac-pro-version .padding-box.ac-pro-newsletter .acp-button{margin-top:12px;margin-bottom:0;padding:7px 20px}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px}@media only screen and (max-width: 900px){.ac-admin{margin-right:0}.ac-admin .menu{float:none}.ac-admin .ac-left{float:none}.ac-admin .ac-right{float:none;margin-top:0;margin-right:0;width:100%}}.ac-column-setting--label .ac-setting-input__container{position:relative}.ac-column-setting--label .ac-setting-input__container input{height:28px;line-height:28px;padding-right:34px}.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon{background:#fff;position:absolute;top:4px;height:22px;color:#ccc;right:0;border:none;cursor:pointer;outline:none !important;transition:color .5s}.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon:hover,.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon:focus{color:#999}.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon:active{color:#21759B}.ac-ipicker__modal{background:#fff;max-width:90%;width:770px;height:450px;display:flex;padding:20px}.ac-ipicker.fixed{position:fixed;z-index:99999;background:rgba(0,0,0,0.8);display:flex;top:0;right:0;bottom:0;left:0;height:auto;align-items:center;justify-content:center}.ac-ipicker__icons{flex:1 1 auto}.ac-ipicker__icons__group{display:block;clear:both;padding-top:15px;margin-top:20px;margin-bottom:10px;font-size:16px;font-weight:normal}.ac-ipicker__icons__group:first-child{border-top:none;padding-top:0;margin-top:0}.ac-ipicker__icon{display:inline-block;width:49px;height:49px;text-align:center;white-space:nowrap;cursor:pointer}.ac-ipicker__icon .dashicons{width:49px;height:49px;line-height:49px;font-size:28px}.ac-ipicker__icon:hover,.ac-ipicker__icon:focus{color:#21759B}.ac-ipicker__icon.active{background:#21759B;color:#fff}.ac-ipicker__handles{flex:0 0 100px;text-align:center;padding-top:20px}.ac-modal.-pro .ac-modal__dialog__list li{position:relative;padding-left:25px;font-weight:400;font-size:16px;letter-spacing:0.5px;margin-bottom:10px}.ac-modal.-pro .ac-modal__dialog__list li:before{content:'\f147';font-family:Dashicons;position:absolute;left:0;top:0;color:#3D4350}.ac-modal.-pro .ac-modal__dialog__list li:nth-child(2n){color:#e9426e}.ac-modal.-pro .ac-modal__dialog__mascot{position:absolute;right:20px;bottom:20px;width:150px;height:225px;z-index:4}.ac-modal.-pro .ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}.ac-modal.-pro .ac-modal__dialog__footer span{display:inline-block;margin-top:4px;margin-left:10px;font-size:14px}.ac-modal.-setting .ac-modal__dialog{width:970px}.ac-modal.-setting .ac-modal__dialog__content{max-height:400px}.ac-modal.-setting .ac-modal__dialog__footer{text-align:right;padding:0 15px}.ac-modal.-setting .ac-modal__dialog__footer .button{display:inline-block;vertical-align:middle;padding-left:30px;padding-right:30px}.ac-modal.-setting .ac-modal__dialog__footer .ac-ipicker__selection{display:inline-block;vertical-align:middle;text-align:center;width:68px;height:68px;line-height:58px;background:#E5E5E5;margin-right:15px;color:#404040}.ac-modal.-setting .ac-modal__dialog__footer .ac-ipicker__selection .dashicons{width:68px;height:68px;line-height:68px;font-size:30px}.ac-modal.-iconpicker .ac-modal__dialog__content{overflow:hidden;overflow-y:scroll}.select2-container--acs2{z-index:2}.select2-container--acs2 .select2-dropdown.-customfields .select2-results>.select2-results__options{max-height:600px}@keyframes loading_text{0%{background-position:-100%}100%{background-position:100%}}.ac-loading-msg-wrapper{position:fixed;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center}.ac-loading-msg{display:inline-block;text-align:center;max-width:300px}.ac-loading-msg__logo{width:228px;text-align:center;margin-bottom:15px}.ac-loading-msg__content{position:relative;font-family:sans-serif;text-transform:uppercase;font-size:1.3em;letter-spacing:4px;overflow:hidden;color:#999;font-weight:300;background-repeat:no-repeat;background-size:60%}.ac-notice.visit-ls{display:none}
1
+ @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2?v=492557") format("woff2"),url("../fonts/cpac_icons.woff?v=820378") format("woff");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-bulk-edit::before{content:""}.cpacicon-download::before{content:""}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.cpacicon-segment::before{content:""}.ac-setbox{-webkit-font-smoothing:antialiased;margin-top:30px}.ac-setbox__header{padding:10px;position:relative;cursor:pointer}.ac-setbox__header__title{font-size:15px;font-weight:bold}.ac-setbox__header__title small{font-size:14px;font-weight:300;color:#72777C}.ac-setbox__header:after{content:"";position:absolute;right:20px;top:50%;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:6px solid #000;transition:all .2s;margin-top:-4px}.ac-setbox__row{background:#fff}.ac-setbox__row__th,.ac-setbox__row__fields{border-bottom:1px solid #dfdfdf}.ac-setbox__row__th{background:#f5f5f5;position:relative;padding:12px 13px;border-right:1px solid #dedede}.ac-setbox__row__th label{display:block;font-weight:bold;margin-bottom:5px}.ac-setbox__row__th small{color:#636669;font-size:13px;line-height:17px}.ac-setbox__row__fields{flex:auto}.ac-setbox__row__fields__inner{padding:15px}.ac-setbox__row__fields select{width:100%;margin-bottom:10px}.ac-setbox__row a.ac-pointer.instructions{position:absolute;top:14px;right:10px;display:inline-block;cursor:pointer}@media screen and (min-width: 900px){.ac-setbox__row{display:flex}.ac-setbox__row__th{flex:0 0 230px}.ac-setbox__row__fields{flex:auto}.ac-setbox__row.-sub{display:block}.ac-setbox__row.-sub .ac-setbox__row__th,.ac-setbox__row.-sub .ac-setbox__row__fields{flex:100%}}@media screen and (min-width: 1150px){.ac-setbox__row.-sub{display:flex}.ac-setbox__row.-sub .ac-setbox__row__th,.ac-setbox__row.-sub .ac-setbox__row__fields{flex:100%}}.ac-setbox .checkbox-labels>label,.ac-setbox .radio-labels>label{padding-right:10px;vertical-align:top}.ac-setbox .checkbox-labels.vertical input[type=radio],.ac-setbox .radio-labels.vertical input[type=radio]{margin-right:6px}.ac-setbox .checkbox-labels.vertical>label,.ac-setbox .radio-labels.vertical>label{display:block;margin-bottom:5px}.ac-setbox.-closed .ac-setbox__header:after{transform:rotate(180deg)}.ac-setbox.-closed .ac-setbox__row{display:none}.ac-ls-settings .select2{margin-bottom:10px}.ac-ls-settings .select2 input{min-height:0}.ac-ls-settings .select2 li{margin-bottom:0}.ac-ls-settings .row.users .select2{margin-bottom:0}.ac-ls-settings select.sorting_order{margin-bottom:0}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4)}.ui-sortable-helper .column-meta{border-width:1px}.ac-column span.select2-container{z-index:1}.ac-column .comment-grey-bubble{height:16px;width:16px}.ac-column .comment-grey-bubble:before{content:'\f101';font:normal 20px/.5 'dashicons';speak:none;display:inline-block;padding:0;top:5px;left:0;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important}.rtl .ac-column .comment-grey-bubble:before{right:0;left:auto}#add-new-column-template{display:none}.ac-admin{max-width:1200px}@media only screen and (min-width: 900px){.ac-admin__wrap{display:flex;flex-direction:row-reverse}.ac-admin__wrap .ac-admin__main{flex:1 1 auto}.ac-admin__wrap .ac-admin__sidebar{flex:0 0 280px;margin-left:20px}.rtl .ac-admin__wrap .ac-admin__sidebar{flex:0 0 280px;margin-left:0;margin-right:20px}}.ac-admin__main .column-footer a.add_column{padding-left:16px;padding-right:16px;text-align:center}.ac-admin__main .column-footer a.submit.save,.ac-admin__main .column-footer a.submit.update{padding-left:20px;padding-right:20px;text-align:center}.ac-admin__main .column-footer .submit.save{display:inline-block}.ac-admin__main .column-footer .submit.update{display:none}.ac-admin__main .column-footer .spinner{display:none}.ac-admin.saving .spinner{visibility:visible}.ac-admin.saving .column-footer .spinner{margin:4px 0 0;background-position:center center;float:none;display:inline-block;visibility:visible}.ac-admin.stored .ac-admin__sidebar .form-actions .submit.save{display:none}.ac-admin.stored .ac-admin__sidebar .form-actions .submit.update{display:block}.ac-admin.stored .ac-admin__sidebar .form-actions .form-reset{display:block}.ac-admin.stored .column-footer .submit.save{display:none}.ac-admin.stored .column-footer .submit.update{display:inline-block}.ac-admin__main .ac-notice{background:#fff;border-left:4px solid #ffba00;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin-bottom:15px;padding:1px 12px}.ac-admin__main .ajax-message{display:none}.ac-admin__main .ac-message{margin-top:0 !important}.ac-admin__main .ac-message p{min-height:1px;overflow:hidden}.ac-admin__main .ac-message>.dashicons{float:left;margin-top:6px;color:#b7b7b7;margin-right:5px}.ac-admin__main .ac-message.notice-info{border-left:4px solid #00a0d2}.ac-admin__main .ac-boxes .ac-columns form{box-shadow:0 1px 3px rgba(0,0,0,0.1);margin:0}.ac-admin__main .ac-boxes.show-column-id div.ac-column-header table tr td.column_label .inner small.column-id{display:inline}.ac-admin__main .ac-boxes.show-column-type div.ac-column-header table tr td.column_label .inner small.column-type{display:inline}.ac-column a{cursor:pointer}.ac-column a:focus,.ac-column a:active{box-shadow:none}.ac-column.loading .ac-column-body>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.ac-column.loading .ac-column-body:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:0.5}.ac-column.opened{margin-bottom:-1px}.ac-column.opened .ac-column-header{background-color:#eaeaea;border-color:#ccc}.ac-column.opened .ac-column-header:hover .column_label .inner>a.close-button{display:inline-block}.ac-column.opened .ac-column-header .column_edit:after{content:"\f142"}.ac-column.opened .ac-column-header table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td a{color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td.column_sort span{color:#9b9b9b}.ac-column.opened .ac-column-header table td.column_label .meta span{color:#8d8d8d;text-shadow:none}.ac-column.opened .ac-column-header table td.column_label a.edit-button{display:none}.ac-column.opened .ac-column-header table td.column_type{color:#5C5C5C}.ac-column.opened .ac-column-header table td.column_edit:after{color:#9b9b9b}.ac-column.opened .ac-column-body{border:1px solid #ccc;border-top:1px solid #d4d4d4}.ac-column.disabled,.boxes.disabled .ac-column{opacity:0.7}.ac-column.disabled a.remove-button,.ac-column.disabled a.clone-button,.ac-column.disabled .column_action,.boxes.disabled .ac-column a.remove-button,.boxes.disabled .ac-column a.clone-button,.boxes.disabled .ac-column .column_action{display:none !important}.ac-column.disabled .column-meta td.column_sort,.boxes.disabled .ac-column .column-meta td.column_sort{display:none}.ac-column.disabled .column-meta td.column_label,.boxes.disabled .ac-column .column-meta td.column_label{padding-left:10px}.ac-column.disabled .meta span,.boxes.disabled .ac-column .meta span{cursor:default !important;opacity:0.45}.ac-column.disabled .meta span:before,.boxes.disabled .ac-column .meta span:before{color:#808080 !important}.ac-column.disabled .meta span.on,.boxes.disabled .ac-column .meta span.on{opacity:1}.ac-column.disabled .column-footer,.boxes.disabled .ac-column .column-footer{display:none}.ac-column.disabled .ac-column-body:before,.boxes.disabled .ac-column .ac-column-body:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:0.3;cursor:not-allowed}.ac-column-setting{width:100%;clear:both;border-spacing:0;margin:0;border-top:1px solid #e8e8e8}.ac-column-setting:first-child{border-top:0}.ac-column-setting tr.hide{display:none}.ac-column-setting tr td{vertical-align:top;border:none;padding:0;background:#fff}.ac-column-setting td.col-label{position:relative;line-height:24px;overflow:visible;background:#f5f5f5;border-right:1px solid #dedede;width:30%;padding:10px;padding-left:12px}.ac-column-setting td.col-label .ac-pointer{position:absolute;right:4px;top:10px;padding:4px;height:17px}.ac-column-setting td.col-label a.more-link{text-decoration:none;color:#d2d2d2;position:absolute;right:8px;top:17px}.ac-column-setting td.col-label a.more-link span.dashicons{font-size:17px}.ac-column-setting td.col-label a.more-link:hover{color:#acacac}.ac-column-setting td.col-label span.label{font-weight:bold;display:inline-block;color:#333333;font-style:normal}.ac-column-setting td.col-label div.tooltip{font-size:12px;font-style:normal;line-height:16px;margin:0 !important;display:none;position:absolute;max-width:200px;z-index:99;top:40px;left:0;font-weight:normal;color:#fff;background-color:#333;box-shadow:0 1px 3px rgba(0,0,0,0.2);padding:.618em 1em;border-radius:3px}.ac-column-setting td.col-label div.tooltip em{margin-top:3px;display:block;color:#999}.ac-column-setting td.col-input div.msg{margin-top:5px;display:none;color:#333;padding:6px 10px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.ac-column-setting td.col-input div.msg p{margin:0.5em 0 1em 0}.ac-column-setting td.col-input div.msg a.button{margin-bottom:1em}.ac-column-setting td.col-input .help-msg{margin:10px 0 0;color:#666;font-size:13px}.ac-column-setting .ac-column-setting td.col_label{background-color:#fcfcfc}.ac-column-setting .ac-column-setting td.col_label .label{font-size:12px;color:#595959}.ac-column-setting span.ac-setting-error{display:block;margin:0;background-color:#ffebe8;padding:7px 10px}.ac-column-setting-actions .col-settings p{padding-left:10px}.ac-column-setting-actions .col-settings a{text-decoration:none}.ac-column-setting-actions .col-settings a.close-button,.ac-column-setting-actions .col-settings a.clone-button{margin-right:10px}.ac-column-setting-actions .col-settings a.remove-button{color:#a00;text-decoration:none;text-shadow:none;margin-right:5px}.ac-column-setting-actions .col-settings a.remove-button:hover{color:#f00}.ac-column .ac-setting-input{padding:10px;line-height:24px}.ac-column .ac-setting-input input,.ac-column .ac-setting-input select{width:99.95%;max-width:none}.ac-column .ac-setting-input input[type=checkbox],.ac-column .ac-setting-input input[type=radio]{width:auto;margin-right:4px}.ac-column .ac-setting-input__info{margin-left:5px;transform:translateY(2px)}.ac-column .ac-setting-input .checkbox-labels>label,.ac-column .ac-setting-input .radio-labels>label{padding-right:10px;vertical-align:top}.ac-column .ac-setting-input .checkbox-labels.vertical input[type=radio],.ac-column .ac-setting-input .radio-labels.vertical input[type=radio]{margin-right:6px}.ac-column .ac-setting-input .checkbox-labels.vertical>label,.ac-column .ac-setting-input .radio-labels.vertical>label{display:block;margin-bottom:5px}.ac-column .ac-setting-input .ac-pointer{color:#8d8d8d;display:inline-block;transform:translateY(2px)}.ac-setting-input-date .ac-setting-input-date__custom{display:inline-block;width:71px !important;margin-right:5px}.ac-setting-input-date .ac-setting-input-date__value{display:inline-block;width:165px}.ac-setting-input-date .ac-setting-input-date__example{margin-left:8px}.ac-setting-input-date .ac-setting-input-date__example .spinner{float:none;vertical-align:top}.ac-setting-input-date code{display:inline-block;min-width:60px;padding-top:0;padding-bottom:0;text-align:center}.ac-setting-input-width{position:relative}.ac-setting-input-width div.description{font-size:12px;width:72px;position:absolute;display:table}.ac-setting-input-width div.description input{margin:0;text-align:right;vertical-align:middle;display:table-cell;padding-left:4px;padding-right:4px;border-color:#7e8993;border-top-right-radius:0;border-bottom-right-radius:0}.ac-setting-input-width div.description input::-webkit-input-placeholder{font-size:13px}.ac-setting-input-width div.description input:-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input::-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input:-ms-input-placeholder{font-size:13px}.ac-setting-input-width div.description span{background:#efefef;display:table-cell;width:26px;line-height:23px;text-align:center;vertical-align:middle;border:1px solid #7e8993;border-left:none;color:#505050;border-top-right-radius:4px;border-bottom-right-radius:4px}.ac-setting-input-width div.width-slider{margin-left:82px;margin-right:88px;position:relative;top:8px}.ac-setting-input-width div.width-slider .ui-slider-handle{cursor:ew-resize;z-index:1}.ac-setting-input-width div.unit-select{position:absolute;top:11px;right:6px;width:82px;text-align:right}.ac-setting-input-width div.unit-select .radio-labels{padding:0}.ac-setting-input-width div.unit-select .radio-labels label{padding:0;margin-right:6px}.ac-setting-input-width div.unit-select .radio-labels label input{margin-right:2px}.ac-column-setting--pro .col-label .dashicons{color:#A99D9F;transform:scale(0.9, 0.9);margin-top:2px;display:inline-block;margin-right:3px;cursor:pointer}.ac-column-setting--pro td.col-input{background:#f5f5f5}.ac-column-setting--pro .radio-labels{display:inline-block}.ac-column-setting--pro .radio-labels input{background-color:#F0F0F0}.ac-column-setting--pro .radio-labels input:checked:before{background-color:#808080}.ac-column-setting--pro .ac-setting-input{background:#f5f5f5}.ac-column-setting--pro .acp-button{background:#e9426e;color:#fff;border:none;border-radius:3px;padding:3px 10px;letter-spacing:2px;cursor:pointer;font-size:13px;vertical-align:middle;margin-top:-1px;margin-left:5px}div.ac-column-header{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}div.ac-column-header:nth-child(2n) .column-meta{background:#f9f9f9}div.ac-column-header img{margin-right:3px}div.ac-column-header table.widefat{border:none}div.ac-column-header table{border:none;background:transparent;border-radius:0}div.ac-column-header table tr td{vertical-align:top;height:18px;padding:12px 8px;border-width:1px 0 0;border-style:solid;border-color:transparent}div.ac-column-header table tr td.column_sort{position:relative;cursor:move;padding:9px 12px}div.ac-column-header table tr td.column_sort span.cpacicon-move{position:absolute;top:12px;left:12px;font-size:22px;display:inline-block;color:#bdbdbd}div.ac-column-header table tr td.column_label{width:70%;font-weight:bold;vertical-align:middle;position:relative;padding:15px 0}div.ac-column-header table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}div.ac-column-header table tr td.column_label .inner .toggle img{max-height:20px}div.ac-column-header table tr td.column_label .inner small.column-type,div.ac-column-header table tr td.column_label .inner small.column-id{font-weight:normal;display:none}div.ac-column-header table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}div.ac-column-header table tr td.column_label .inner>a:hover{color:#333333}div.ac-column-header table tr td.column_label .inner>a.edit-button,div.ac-column-header table tr td.column_label .inner>a.close-button,div.ac-column-header table tr td.column_label .inner>a.remove-button,div.ac-column-header table tr td.column_label .inner>a.clone-button{display:none;color:#0074a2;text-decoration:none;text-shadow:none;font-weight:normal;margin-left:5px;font-size:12px}div.ac-column-header table tr td.column_label .inner>a.edit-button:hover,div.ac-column-header table tr td.column_label .inner>a.close-button:hover,div.ac-column-header table tr td.column_label .inner>a.remove-button:hover,div.ac-column-header table tr td.column_label .inner>a.clone-button:hover{color:#2ea2cc}div.ac-column-header table tr td.column_label .inner>a.remove-button{color:#a00}div.ac-column-header table tr td.column_label .inner>a.remove-button:hover{color:#f00}div.ac-column-header table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:normal;color:#b2b2b2;font-size:12px}div.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting{cursor:pointer;margin-left:4px}div.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-heading-setting--width{margin-right:3px;cursor:auto;color:#737373}div.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator{margin-left:3px;font-size:24px;line-height:17px;width:22px}div.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.ac-column-indicator--filter{font-size:20px}div.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on,div.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on span{color:#21759B}div.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.cpacicon{font-size:14px;line-height:18px}div.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.disabled{cursor:default}div.ac-column-header table tr td.column_type{width:auto;min-width:120px;text-align:right;color:#999999;padding-right:0}div.ac-column-header table tr td.column_type .inner{display:inline-block;height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:120px;vertical-align:middle}div.ac-column-header table tr td.column_type .inner a{margin-top:2px;color:#999999}div.ac-column-header table tr td.column_edit{width:38px;min-width:38px;text-align:center;cursor:pointer}div.ac-column-header table tr td.column_edit:after{right:0;content:"\f140";font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 5px 0 0;bottom:0;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important;color:#b4b9be}div.ac-column-header table tr:hover td.column_sort span{color:#9b9b9b}div.ac-column-header:hover .column_label .inner>a.remove-button,div.ac-column-header:hover .column_label .inner>a.edit-button,div.ac-column-header:hover .column_label .inner>a.clone-button{display:inline-block}div.ac-column-header span.vers{padding-top:2px}.ac-column-body{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.column-footer{background:#EAF2FA;border:1px solid #c7d7e2;min-height:26px;padding:8px;overflow:hidden}.column-footer .order-message{color:#7A9BBE;float:left;font-family:Comic Sans MS, sans-serif;font-size:11px;height:13px;position:relative;line-height:1em;margin-left:4px;padding:7px 0 0 22px;text-shadow:0 1px 0 #FFFFFF;display:inline-block}.column-footer .order-message__icon{display:inline-block;position:absolute;left:0;top:0}.column-footer .button-container{float:right;display:inline-block;min-height:29px}.column-footer .button-container a{display:inline-block;margin-left:5px;vertical-align:top}.column-footer .button-container a.clear-columns{color:#BC0B0B;text-decoration:none;margin-right:8px;margin-top:5px}.column-footer .button-container a.clear-columns:hover{color:red}.ac-admin__sidebar .sidebox{background:none repeat scroll 0 0 #FFFFFF;border:1px solid #dedede;border-radius:0 0 0 0;box-shadow:0 1px 3px rgba(0,0,0,0.1);position:relative;margin-bottom:14px}.ac-admin__sidebar .sidebox h3{padding:10px;margin:0;position:relative}.ac-admin__sidebar .sidebox h3.title{font-family:Georgia, "Times New Roman", "Bitstream Charter", Times, serif;font-size:15px;font-weight:normal;line-height:1;margin:0;padding:7px 10px;background:#f1f1f1;background-image:linear-gradient(to top, #ececec, #f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.ac-admin__sidebar .sidebox h3 span.left{position:relative;background:#fff;z-index:2;padding-right:8px;float:none}.ac-admin__sidebar .sidebox h3 span.contenttype{display:block;line-height:20px;font-size:12px;text-transform:uppercase;color:#808080;margin-top:4px}.ac-admin__sidebar .sidebox h3 span.contenttype.right{position:absolute;display:inline-block;z-index:1;right:10px;text-align:right;margin-top:0}.ac-admin__sidebar .sidebox .inside{padding:10px}.ac-admin__sidebar .sidebox .inside p{margin-top:0}.ac-admin__sidebar .sidebox.form-actions .form-reset{display:none;border-bottom:1px solid #F5F5F5;padding:8px}.ac-admin__sidebar .sidebox.form-actions .reset-column-type{text-decoration:none;color:#BC0B0B;line-height:25px;display:inline-block;background:none;border:none;padding:0;font-size:13px;cursor:pointer;margin:0}.ac-admin__sidebar .sidebox.form-actions .reset-column-type:hover{color:red}.ac-admin__sidebar .sidebox.form-actions .form-update{padding:8px;overflow:hidden}.ac-admin__sidebar .sidebox.form-actions .submit{display:none;width:100%;height:28px;line-height:28px;text-align:center}.ac-admin__sidebar .sidebox.form-actions .submit.save{display:block}.ac-admin__sidebar .sidebox#direct-feedback #feedback-support,.ac-admin__sidebar .sidebox#direct-feedback #feedback-rate{display:none}.ac-admin__sidebar .sidebox#direct-feedback .inside>a{border-radius:4px;border:1px solid #CCC;width:48%;height:64px;text-align:center;line-height:64px;font-weight:bold;color:#222;display:inline-block;text-decoration:none}.ac-admin__sidebar .sidebox#direct-feedback .inside>a:hover{background:#FAFAFA}.ac-admin__sidebar .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.ac-admin__sidebar .sidebox#direct-feedback .inside form input[type="submit"]{display:inline-block;float:right;border-radius:4px;border:1px solid #CCC;height:32px;text-align:center;line-height:32px;font-weight:bold;font-size:12px;padding:0 32px;color:#CCC;background:none;text-decoration:none;cursor:pointer}.ac-admin__sidebar .sidebox#direct-feedback .inside form input[type="submit"]:hover{background:#FAFAFA}.ac-admin__sidebar .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.ac-admin__sidebar .sidebox#direct-feedback .inside ul{margin:0}.ac-admin__sidebar .sidebox#direct-feedback .inside ul.share li{margin:0;display:block;float:left;margin-left:9px;width:30%}.ac-admin__sidebar .sidebox#direct-feedback .inside ul.share li a{text-decoration:none;vertical-align:middle;line-height:20px;padding:16px 0;width:100%;text-align:center;border:1px solid #CCC;border-radius:4px;display:block}.ac-admin__sidebar .sidebox#direct-feedback .inside ul.share li a:hover{background:#FAFAFA}.ac-admin__sidebar .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.ac-admin__sidebar .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}#ac-pro-version{background:none}#ac-pro-version .padding-box{padding:20px 10px 10px;background:#3d4350;color:#fff}#ac-pro-version .nopadding{margin:0;padding:0}#ac-pro-version h2{color:#fff}#ac-pro-version h3{font-size:34px;line-height:40px}#ac-pro-version h3 a{text-decoration:none;color:#fff}#ac-pro-version h3 a span{color:#e9426e}#ac-pro-version sup{text-decoration:line-through;font-size:13px;color:#ccc}#ac-pro-version .ac-pro-prices{margin:8px 0 0;font-style:italic}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px;cursor:pointer}#ac-pro-version .more{color:#FFEE85;text-decoration:none}#ac-pro-version .more:hover{text-decoration:underline}#ac-pro-version p.center{text-align:center}#ac-pro-version p.nomargin{margin-bottom:0}#ac-pro-version ul.features a:hover{text-decoration:underline}#ac-pro-version ul li{padding-bottom:3px}#ac-pro-version ul li a{color:#fff;text-decoration:none;padding-left:25px;position:relative;display:block}#ac-pro-version ul li a:before{content:'\2713';font-weight:bold;font-size:16px;position:absolute;left:0;top:0}#ac-pro-version ul li.acp-integration{padding:0;min-height:23px;line-height:23px}#ac-pro-version ul li.acp-integration img{height:23px;display:inline-block;vertical-align:middle;margin-right:3px}#ac-pro-version ul li.acp-integration img.ac-addon-pods{margin-top:-4px}#ac-pro-version ul li.acp-integration img.ac-addon-types{height:18px}#ac-pro-version ul li.acp-integration img.cac-addon-acf{margin-top:-4px;height:15px}#ac-pro-version ul li.acp-integration a{color:#FFEE85}#ac-pro-version ul li.acp-integration a:before{content:'+'}#ac-pro-version .padding-box.ac-pro-deal{color:#3d4350;padding-bottom:20px;text-align:center;background:#ffef8f}#ac-pro-version .padding-box.ac-pro-deal h3{font-size:20px;line-height:26px;padding-top:0;padding-bottom:0;margin-bottom:18px}#ac-pro-version .padding-box.ac-pro-deal a.acp-button{font-size:16px}#ac-pro-version .padding-box.ac-pro-newsletter{background:#fff;color:#3d4350}#ac-pro-version .padding-box.ac-pro-newsletter h3{font-size:20px;padding-bottom:0}#ac-pro-version .padding-box.ac-pro-newsletter input{width:100%;margin-bottom:8px}#ac-pro-version .padding-box.ac-pro-newsletter .acp-button{margin-top:12px;margin-bottom:0;padding:7px 20px}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px}.ac-column-setting--label .ac-setting-input__container{position:relative}.ac-column-setting--label .ac-setting-input__container input{height:28px;line-height:28px;padding-right:34px}.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon{background:#fff;position:absolute;top:4px;height:22px;color:#ccc;right:0;border:none;cursor:pointer;outline:none !important;transition:color .5s}.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon:hover,.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon:focus{color:#999}.ac-column-setting--label .ac-setting-input__container .ac-setting-label-icon:active{color:#21759B}.ac-ipicker__modal{background:#fff;max-width:90%;width:770px;height:450px;display:flex;padding:20px}.ac-ipicker.fixed{position:fixed;z-index:99999;background:rgba(0,0,0,0.8);display:flex;top:0;right:0;bottom:0;left:0;height:auto;align-items:center;justify-content:center}.ac-ipicker__icons{flex:1 1 auto}.ac-ipicker__icons__group{display:block;clear:both;padding-top:15px;margin-top:20px;margin-bottom:10px;font-size:16px;font-weight:normal}.ac-ipicker__icons__group:first-child{border-top:none;padding-top:0;margin-top:0}.ac-ipicker__icon{display:inline-block;width:49px;height:49px;text-align:center;white-space:nowrap;cursor:pointer}.ac-ipicker__icon .dashicons{width:49px;height:49px;line-height:49px;font-size:28px}.ac-ipicker__icon:hover,.ac-ipicker__icon:focus{color:#21759B}.ac-ipicker__icon.active{background:#21759B;color:#fff}.ac-ipicker__handles{flex:0 0 100px;text-align:center;padding-top:20px}.ac-modal.-pro .ac-modal__dialog__list li{position:relative;padding-left:25px;font-weight:400;font-size:16px;letter-spacing:0.5px;margin-bottom:10px}.ac-modal.-pro .ac-modal__dialog__list li:before{content:'\f147';font-family:Dashicons;position:absolute;left:0;top:0;color:#3D4350}.ac-modal.-pro .ac-modal__dialog__list li:nth-child(2n){color:#e9426e}.ac-modal.-pro .ac-modal__dialog__mascot{position:absolute;right:20px;bottom:20px;width:150px;height:225px;z-index:4}.ac-modal.-pro .ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}.ac-modal.-pro .ac-modal__dialog__footer span{display:inline-block;margin-top:4px;margin-left:10px;font-size:14px}.ac-modal.-setting .ac-modal__dialog{width:970px}.ac-modal.-setting .ac-modal__dialog__content{max-height:400px}.ac-modal.-setting .ac-modal__dialog__footer{text-align:right;padding:0 15px}.ac-modal.-setting .ac-modal__dialog__footer .button{display:inline-block;vertical-align:middle;padding-left:30px;padding-right:30px}.ac-modal.-setting .ac-modal__dialog__footer .ac-ipicker__selection{display:inline-block;vertical-align:middle;text-align:center;width:68px;height:68px;line-height:58px;background:#E5E5E5;margin-right:15px;color:#404040}.ac-modal.-setting .ac-modal__dialog__footer .ac-ipicker__selection .dashicons{width:68px;height:68px;line-height:68px;font-size:30px}.ac-modal.-iconpicker .ac-modal__dialog__content{overflow:hidden;overflow-y:scroll}.select2-container--acs2{z-index:2}.select2-container--acs2 .select2-dropdown.-customfields .select2-results>.select2-results__options{max-height:600px}@keyframes loading_text{0%{background-position:-100%}100%{background-position:100%}}.ac-loading-msg-wrapper{position:fixed;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center}.ac-loading-msg{display:inline-block;text-align:center;max-width:300px}.ac-loading-msg__logo{width:228px;text-align:center;margin-bottom:15px}.ac-loading-msg__content{position:relative;font-family:sans-serif;text-transform:uppercase;font-size:1.3em;letter-spacing:4px;overflow:hidden;color:#999;font-weight:300;background-repeat:no-repeat;background-size:60%}.ac-notice.visit-ls{display:none}.ac-setbox .select2-container .select2-search--inline .select2-search__field{margin-top:0 !important}
assets/css/admin-welcome.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2") format("woff2"),url("../fonts/cpac_icons.woff") format("woff");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.cpacicon-segment::before{content:""}.cpac-content-body hr{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:none repeat scroll 0 0 transparent;border-color:#DFDFDF;border-image:none;border-style:solid;border-width:1px 0 0;clear:both;margin:30px 0;opacity:0.2}#cpac-welcome.about-wrap div.error{display:block !important}.cpac-alert{display:inline-block;background:none repeat scroll 0 0 #FCF8E3;border:1px solid #FBEED5;border-radius:4px 4px 4px 4px;color:#C09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.cpac-alert p{margin:0}.cpac-alert.cpac-alert-success{background-color:#DFF0D8;border-color:#D6E9C6;color:#468847}.cpac-alert.cpac-alert-error{background-color:#F2DEDE;border-color:#EED3D7;color:#B94A48}.cpac-alert a.button-primary{height:28px;line-height:28px;display:inline-block}#cpac-download-add-ons-table{max-width:600px}.wp-core-ui .button-large{height:40px;line-height:40px;font-size:16px;padding:0 15px;text-shadow:0 1px 0 rgba(0,0,0,0.5)}
1
+ @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2?v=492557") format("woff2"),url("../fonts/cpac_icons.woff?v=820378") format("woff");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-bulk-edit::before{content:""}.cpacicon-download::before{content:""}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.cpacicon-segment::before{content:""}.cpac-content-body hr{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:none repeat scroll 0 0 transparent;border-color:#DFDFDF;border-image:none;border-style:solid;border-width:1px 0 0;clear:both;margin:30px 0;opacity:0.2}#cpac-welcome.about-wrap div.error{display:block !important}.cpac-alert{display:inline-block;background:none repeat scroll 0 0 #FCF8E3;border:1px solid #FBEED5;border-radius:4px 4px 4px 4px;color:#C09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.cpac-alert p{margin:0}.cpac-alert.cpac-alert-success{background-color:#DFF0D8;border-color:#D6E9C6;color:#468847}.cpac-alert.cpac-alert-error{background-color:#F2DEDE;border-color:#EED3D7;color:#B94A48}.cpac-alert a.button-primary{height:28px;line-height:28px;display:inline-block}#cpac-download-add-ons-table{max-width:600px}.wp-core-ui .button-large{height:40px;line-height:40px;font-size:16px;padding:0 15px;text-shadow:0 1px 0 rgba(0,0,0,0.5)}
assets/css/select2.css CHANGED
@@ -1 +1 @@
1
- .select2-container--acs2{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;z-index:99998;outline:none}.select2-container--acs2.select2-container--focus{outline:none}.select2-container--acs2 .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;outline:none;-webkit-user-select:none}.select2-container--acs2 .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container--acs2 .select2-selection--single .select2-selection__clear{position:relative}.select2-container--acs2 .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container--acs2 .select2-selection--multiple .select2-selection__rendered{display:block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container--acs2 .select2-search--inline{float:left;margin-bottom:0}.select2-container--acs2 .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:0 !important;line-height:1;padding:0}.select2-container--acs2 .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{min-height:0;padding:4px;width:100%;box-sizing:border-box;line-height:100%}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important}.select2-container--acs2 .select2-dropdown{border-color:#7e8893}.select2-container--acs2 .select2-selection--single{background-color:#fff;border:1px solid #7e8893;border-radius:4px}.select2-container--acs2 .select2-selection--single .select2-selection__rendered{color:#444;line-height:26px}.select2-container--acs2 .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--acs2 .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--acs2 .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px;background:transparent}.select2-container--acs2 .select2-selection--single .select2-selection__arrow b{background:transparent url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E") no-repeat right 5px top 55%;background-size:16px 16px;background-position:right;height:20px;width:18px;display:inline-block;margin-top:4px;margin-left:-2px}.select2-container--acs2.select2-container--focus .select2-selection--multiple{outline:0}.select2-container--acs2.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--acs2.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--acs2.select2-container--disabled .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--acs2.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--acs2.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--acs2.select2-container--open .select2-selection--single .select2-selection__rendered{background:#eee}.select2-container--acs2 .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--acs2 .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:5px 5px 0 5px;width:100%}.select2-container--acs2 .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--acs2 .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--acs2 .select2-selection--multiple .select2-selection__choice{background-color:#efefef;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin:0 5px 5px 0;padding:0 5px}.select2-container--acs2 .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--acs2 .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--acs2 .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--acs2 .select2-results>.select2-results__options li{margin-bottom:0}.select2-container--acs2 .select2-results .select2-results__option{margin-bottom:0}.select2-container--acs2 .select2-results .select2-results__option[role=group],.select2-container--acs2 .select2-results .select2-results__option[role=list]{padding:0}.select2-container--acs2 .select2-results .select2-results__option[aria-disabled=true]{color:#999}.select2-container--acs2 .select2-results .select2-results__option[aria-selected=true],.select2-container--acs2 .select2-results .select2-results__option[data-selected=true]{background-color:#ddd;color:#000}.select2-container--acs2 .select2-results .select2-results__option[aria-selected=true][data-selected=false]{display:block}.select2-container--acs2 .select2-results .select2-results__option .select2-results__option{padding-left:1em}.select2-container--acs2 .select2-results .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--acs2[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--acs2[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--acs2.select2-container--open.select2-container--above .select2-selection--single,.select2-container--acs2.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--acs2.select2-container--open.select2-container--below .select2-selection--single,.select2-container--acs2.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--acs2 .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--acs2 .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--acs2 .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--acs2 .select2-results__group{cursor:default;display:block;padding:6px}
1
+ .select2-container--acs2{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;z-index:99998;outline:none}.select2-container--acs2.select2-container--focus{outline:none}.select2-container--acs2 .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;outline:none;-webkit-user-select:none}.select2-container--acs2 .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container--acs2 .select2-selection--single .select2-selection__clear{position:relative}.select2-container--acs2 .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container--acs2 .select2-selection--multiple .select2-selection__rendered{display:block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container--acs2 .select2-search--inline{float:left;margin-bottom:0}.select2-container--acs2 .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:0 !important;line-height:1;padding:0}.select2-container--acs2 .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:4px 6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{min-height:0;padding:4px;width:100%;box-sizing:border-box;line-height:100%}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important}.select2-container--acs2 .select2-dropdown{border-color:#7e8893}.select2-container--acs2 .select2-selection--single{background-color:#fff;border:1px solid #7e8893;border-radius:4px}.select2-container--acs2 .select2-selection--single .select2-selection__rendered{color:#444;line-height:26px}.select2-container--acs2 .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--acs2 .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--acs2 .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px;background:transparent}.select2-container--acs2 .select2-selection--single .select2-selection__arrow b{background:transparent url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E") no-repeat right 5px top 55%;background-size:16px 16px;background-position:right;height:20px;width:18px;display:inline-block;margin-top:4px;margin-left:-2px}.select2-container--acs2.select2-container--focus .select2-selection--multiple{outline:0}.select2-container--acs2.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--acs2.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--acs2.select2-container--disabled .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--acs2.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--acs2.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--acs2.select2-container--open .select2-selection--single .select2-selection__rendered{background:#eee}.select2-container--acs2 .select2-selection--multiple{background-color:white;border:1px solid #7e8893;border-radius:4px;cursor:text}.select2-container--acs2 .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:5px 5px 0 5px;width:100%}.select2-container--acs2 .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--acs2 .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--acs2 .select2-selection--multiple .select2-selection__choice{background-color:#efefef;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin:0 5px 5px 0;padding:0 5px}.select2-container--acs2 .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--acs2 .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--acs2 .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--acs2 .select2-results>.select2-results__options li{margin-bottom:0}.select2-container--acs2 .select2-results .select2-results__option{margin-bottom:0}.select2-container--acs2 .select2-results .select2-results__option[role=group],.select2-container--acs2 .select2-results .select2-results__option[role=list]{padding:0}.select2-container--acs2 .select2-results .select2-results__option[aria-disabled=true]{color:#999}.select2-container--acs2 .select2-results .select2-results__option[aria-selected=true],.select2-container--acs2 .select2-results .select2-results__option[data-selected=true]{background-color:#ddd;color:#000}.select2-container--acs2 .select2-results .select2-results__option[aria-selected=true][data-selected=false]{display:block}.select2-container--acs2 .select2-results .select2-results__option .select2-results__option{padding-left:1em}.select2-container--acs2 .select2-results .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--acs2 .select2-dropdown.-type-selector>.select2-results>.select2-results__options,.select2-container--acs2 .select2-dropdown.-list-screen-selector>.select2-results>.select2-results__options{max-height:400px}.select2-container--acs2[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--acs2[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--acs2[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--acs2.select2-container--open.select2-container--above .select2-selection--single,.select2-container--acs2.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--acs2.select2-container--open.select2-container--below .select2-selection--single,.select2-container--acs2.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--acs2 .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--acs2 .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--acs2 .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--acs2 .select2-results__group{cursor:default;display:block;padding:6px}
assets/css/table.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2") format("woff2"),url("../fonts/cpac_icons.woff") format("woff");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.cpacicon-segment::before{content:""}.ac-modal{position:fixed;overflow:auto;z-index:100000;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.5);display:none}.ac-modal.-active{display:flex;align-items:center;justify-content:center}.ac-modal__dialog{border:1px solid #C8C8C8;background:#fff;position:fixed;width:650px;max-width:90%}.ac-modal__dialog__header{background:#f5f5f5;font-size:18px;line-height:18px;color:#807F7F;padding:17px 25px}.ac-modal__dialog__close{display:inline-block;padding:0;margin:0;border:none;background:none;position:absolute;right:0;top:0;width:52px;height:52px;text-align:center;color:#989797;cursor:pointer}.ac-modal__dialog__close:hover{background:#e1e1e1}.ac-modal__dialog__content{padding:25px;max-height:calc(100vh - 200px);overflow:scroll}.ac-modal__dialog__content__lead{font-weight:bold;font-size:15px;margin-top:5px;margin-bottom:25px;color:#6D6D6D}.ac-modal__dialog__list li{position:relative;padding-left:25px;font-weight:400;font-size:16px;letter-spacing:0.5px;margin-bottom:10px}.ac-modal__dialog__list li:before{content:'\f147';font-family:Dashicons;position:absolute;left:0;top:0;color:#3D4350}.ac-modal__dialog__list li:nth-child(2n){color:#e9426e}.ac-modal__dialog__footer{padding:20px 24px;border-top:1px solid #DBDBDB;color:#979696;font-size:16px}.ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}.ac-modal.-blocking{background:#E3E7EB}@media only screen and (max-width: 720px){.ac-modal__dialog__footer__content{display:block}.ac-modal__dialog__footer .button{margin-left:0;margin-top:10px}}.column-status .dashicons{font-size:22px}.column-status .dashicons.large{width:25px;height:28px;font-size:28px}.column-status .dashicons.dashicons-lock{font-size:15px;margin-left:-2px}.ac-image-sizes .ac-missing-size{color:#929292}.ac-comment-bubble .post-com-count{display:inline-block;vertical-align:top}.ac-comment-bubble .post-com-count-no-comments,.ac-comment-bubble .post-com-count-approved{margin-top:5px}.ac-comment-bubble .comment-count-no-comments,.ac-comment-bubble .comment-count-approved{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.ac-comment-bubble .post-com-count-no-comments:after,.ac-comment-bubble .post-com-count-approved:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #72777c;border-right:5px solid transparent}.ac-comment-bubble .post-com-count-approved:hover .comment-count-approved,.ac-comment-bubble .post-com-count-approved:focus .comment-count-approved{background:#0073aa}.ac-comment-bubble .post-com-count-approved:hover:after,.ac-comment-bubble .post-com-count-approved:focus:after{border-top-color:#0073aa}.ac-comment-bubble .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.ac-comment-bubble .post-com-count-no-pending{display:none}.ac-divider{display:inline-block;width:14px;height:12px;position:relative}.ac-divider:before{content:'';display:block;width:2px;height:2px;background:#000;position:absolute;left:50%;margin-left:-1px;top:60%}span.status-closed{color:red}.ac-value-stars{white-space:nowrap;word-wrap:normal;display:block}.ac-value-stars .ac-value-star{font-size:16px;width:auto;margin-right:-3px}.actions #post-query-submit{float:left;vertical-align:middle;margin-bottom:4px}.tablenav.top .ac-button{top:2px;display:inline-block;vertical-align:middle;float:left;margin-bottom:4px}body.edit-tags-php .tablenav.top .ac-button{float:none}span.dashicons.flip:before{transform:scale(-1, 1);display:inline-block}span.dashicons.yellow{color:#ffb900}span.dashicons.orange{color:#d54e21}span.dashicons.red{color:#dc3232}span.dashicons.green{color:#46b450}span.dashicons.light-gray{color:#bbb}span.dashicons.gray{color:#8a8a8a}span.dashicons.blue{color:#0073aa}span.dashicons.light-blue{color:#00a0d2}body.edit-php #delete_all{float:left;margin-right:3px}body.users-php .tablenav .actions a.add-new-h2{float:none;vertical-align:middle !important;top:2px !important}@media screen and (max-width: 782px){.tablenav.top .actions{display:block !important;margin-bottom:4px}.tablenav.top .actions *{display:none}.tablenav.top .actions .ac-button{display:inline-block}}body.upload-php .tablenav.top .ac-button{float:none}.ac-toggle-box-link:focus{outline:none;box-shadow:none}.ac-toggle-box-link .spinner{float:none;margin-top:-2px}.ac-toggle-box-link.loading .spinner{visibility:visible}.ac-toggle-box-contents-ajax{padding:5px 0 0}.ac-toggle-box-contents{display:none;padding:5px 0 0}table.ac-table-items{border-spacing:0}table.ac-table-items tr td{border:0;margin:0;padding:0 0 3px}table.ac-table-items tr td.ac-table-item-qty{color:#999;padding-right:6px;text-align:left}.ac-post-state-format:before{color:#a7a7a7}.ac-image-details .ac-image-info{display:inline-block;border-radius:7px;padding:0 9px;min-height:20px;background-color:#e9e9e9;text-align:left;font-size:11px;font-weight:bold;margin:0 6px 5px 0;white-space:nowrap}.ac-image-details .ac-image-info>span{margin-right:6px}.ac-image-details .ac-image-info>span:last-child{margin-right:0}.ac-image-details .ac-image-info span{vertical-align:middle;line-height:20px}.ac-image-details .ac-image-info span.image-id{font-size:11px;color:#757575}.ac-image-details .ac-image-info span.image-file-size{font-size:12px}.ac-image-details .ac-image-info span.image-extension{text-transform:uppercase;font-size:11px;color:#757575}.ac-image-details .ac-image-info span.suffix{display:inline-block;text-transform:uppercase;font-size:10px;color:#757575;padding-left:3px;margin-top:-2px}.ac-image-details .ac-image-info span.dashicons{margin-top:-2px;color:#757575;font-size:14px;width:16px}.ac-image-details a.ac-image-info:hover{color:#0073aa}.ac-image-details a.ac-image-info:hover span.dashicons{color:#3d4350}.ac-upload-space .ac-upload-space-labels{display:table;width:100%}.ac-upload-space .ac-upload-space-labels .inner{display:table-row}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon{display:table-cell}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon:before{color:#82878c;content:"\f104";display:inline-block;font-family:'dashicons', serif;width:20px;height:20px;font-size:18px;line-height:1;text-decoration:inherit;font-weight:normal;font-style:normal;vertical-align:top;text-align:center;margin-right:4px}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-left{display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-right{width:100%;text-align:right;padding-left:6px;display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-progress{margin-top:6px;height:3px;background:white;border:1px solid #dfdfdf;position:relative}.ac-upload-space .ac-upload-space-progress .ac-upload-space-progress-bar{background-color:#46b450;height:100%;display:block}.ac-upload-space.warning .ac-upload-space-icon:before{color:#ffb900;content:"\f534";margin-top:1px}.ac-upload-space.warning .ac-upload-space-progress-bar{background-color:#ffb900}.ac-upload-space.full .ac-upload-space-icon:before{color:#d54e21;content:"\f153";margin-top:1px}.ac-upload-space.full .ac-upload-space-progress-bar{background-color:#dc3232}#form-site-list .tablenav .actions .ac-button{float:none}.ac-inline-info{display:inline-block;border-radius:3px;min-width:8px;padding:0 6px;min-height:20px;background-color:#e9e9e9;text-align:center;margin-right:7px;font-size:11px;font-weight:bold}.ac-rounded{display:inline-block;border-radius:10px;min-width:8px;padding:0 6px;height:20px;background-color:#e0e0e0;text-align:center;margin-left:7px;margin-right:7px;font-size:12px}.ac-rounded.ac-rounded-first{margin-left:0}.ac-spacing{display:inline-block;margin-right:10px;margin-bottom:4px}.cpac-suffix{margin-left:8px;color:#808080}.ac-small-block{display:inline-block;border-radius:3px;background-color:rgba(224,224,224,0.6);padding:2px 7px;margin:0 5px 5px 0}.ac-more-link-show{cursor:pointer}.ac-show-more__content{margin-right:4px}.ac-show-more__toggle{cursor:pointer;white-space:nowrap}.ac-show-more__part.-more{display:none}.ac-show-more.-on .ac-show-more__part.-more{display:inline}.ac-show-more__divider{color:#ddd;padding-right:4px}.ac-image-container{margin-bottom:-6px}.ac-image{display:inline-block;margin-right:2px;margin-bottom:6px;overflow:hidden;max-width:100%;background-color:#ccc;vertical-align:middle}.ac-image img{display:block;margin:0 auto}.ac-image .ac-extension{font-size:12px;line-height:22px;display:block;text-align:center;text-transform:uppercase;font-weight:bold}.ac-image.ac-icon{background-color:transparent}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}.ac-progress-bar{width:100%;display:flex}.ac-progress-bar .ac-label-main{width:65px}.ac-progress-bar .ac-bar-container{flex:auto;background-color:#fff;min-height:22px;line-height:22px;position:relative;border:1px solid #ccc;border-radius:2px}.ac-progress-bar .ac-bar-container .ac-bar{height:100%;background-color:#69c471;border-right:1px solid #fff}.ac-progress-bar .ac-bar-container .ac-label-left,.ac-progress-bar .ac-bar-container .ac-label-right{text-shadow:rgba(255,255,255,0.65) 0 0 5px;color:#555;position:absolute}.ac-progress-bar .ac-bar-container .ac-label-left{left:5px}.ac-progress-bar .ac-bar-container .ac-label-right{right:5px}.ac-progress-bar.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.45);border:none}.ac-progress-bar.dark .ac-bar-container{flex:auto;background-color:#a6a6a6;min-height:22px;line-height:22px;position:relative}.ac-progress-bar.dark .ac-bar-container .ac-bar{height:100%;background-color:#46b450;border-right:1px solid #fff}.ac-progress-bar.dark .ac-bar-container .ac-label-left{color:#fff;position:absolute;left:5px}.ac-progress-bar.dark .ac-bar-container .ac-label-right{color:#fff;position:absolute;right:5px}.ac-progress-bar.dark.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.68);border:none}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#ffffff;float:left;height:16px;line-height:16px;margin-right:12px;overflow:hidden;padding:4px 5px;font-size:10px;font-family:Monaco, Menlo, Consolas, "Courier New", monospace;min-width:47px;text-align:center}.rtl div.cpac-color span{float:right;margin-left:12px;margin-right:0}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px;overflow:hidden}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.cpac_wp_button,.column-actions .cpac_use_icons+.hidden+.row-actions>span a,.column-actions .cpac_use_icons+.hidden+.row-actions>span button,.column-actions .cpac_use_icons+.row-actions>span a,.column-actions .cpac_use_icons+.row-actions>span button{color:#555;background:#f7f7f7;box-shadow:0 1px 0 #ccc;vertical-align:top;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border:1px solid #ccc;border-radius:3px;white-space:nowrap;box-sizing:border-box}.cpac_wp_button:hover,.column-actions .cpac_use_icons+.hidden+.row-actions>span a:hover,.column-actions .cpac_use_icons+.hidden+.row-actions>span button:hover,.column-actions .cpac_use_icons+.row-actions>span a:hover,.column-actions .cpac_use_icons+.row-actions>span button:hover{background:#fafafa;color:#23282d;border-color:#999}.column-actions .row-actions{left:0;position:relative}.column-actions .cpac_use_icons+.hidden+.row-actions>span,.column-actions .cpac_use_icons+.row-actions>span{color:transparent;font-size:0;margin-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span a,.column-actions .cpac_use_icons+.hidden+.row-actions>span button,.column-actions .cpac_use_icons+.row-actions>span a,.column-actions .cpac_use_icons+.row-actions>span button{display:inline-block;position:relative;min-width:26px;margin-bottom:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span button:before,.column-actions .cpac_use_icons+.row-actions>span a:before,.column-actions .cpac_use_icons+.row-actions>span button:before{text-indent:0;font-family:Dashicons, sans-serif;font-size:16px;position:absolute;padding-left:4px;top:0;left:0;width:100%;height:100%}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download button.button-link,.column-actions .cpac_use_icons+.row-actions>span.edit a,.column-actions .cpac_use_icons+.row-actions>span.edit button.button-link,.column-actions .cpac_use_icons+.row-actions>span.inline a,.column-actions .cpac_use_icons+.row-actions>span.inline button.button-link,.column-actions .cpac_use_icons+.row-actions>span.trash a,.column-actions .cpac_use_icons+.row-actions>span.trash button.button-link,.column-actions .cpac_use_icons+.row-actions>span.view a,.column-actions .cpac_use_icons+.row-actions>span.view button.button-link,.column-actions .cpac_use_icons+.row-actions>span.quickedit a,.column-actions .cpac_use_icons+.row-actions>span.quickedit button.button-link,.column-actions .cpac_use_icons+.row-actions>span.approve a,.column-actions .cpac_use_icons+.row-actions>span.approve button.button-link,.column-actions .cpac_use_icons+.row-actions>span.unapprove a,.column-actions .cpac_use_icons+.row-actions>span.unapprove button.button-link,.column-actions .cpac_use_icons+.row-actions>span.spam a,.column-actions .cpac_use_icons+.row-actions>span.spam button.button-link,.column-actions .cpac_use_icons+.row-actions>span.untrash a,.column-actions .cpac_use_icons+.row-actions>span.untrash button.button-link,.column-actions .cpac_use_icons+.row-actions>span.unspam a,.column-actions .cpac_use_icons+.row-actions>span.unspam button.button-link,.column-actions .cpac_use_icons+.row-actions>span.reply a,.column-actions .cpac_use_icons+.row-actions>span.reply button.button-link,.column-actions .cpac_use_icons+.row-actions>span.delete a,.column-actions .cpac_use_icons+.row-actions>span.delete button.button-link,.column-actions .cpac_use_icons+.row-actions>span.backend a,.column-actions .cpac_use_icons+.row-actions>span.backend button.button-link,.column-actions .cpac_use_icons+.row-actions>span.visit a,.column-actions .cpac_use_icons+.row-actions>span.visit button.button-link,.column-actions .cpac_use_icons+.row-actions>span.deactivate a,.column-actions .cpac_use_icons+.row-actions>span.deactivate button.button-link,.column-actions .cpac_use_icons+.row-actions>span.archive a,.column-actions .cpac_use_icons+.row-actions>span.archive button.button-link,.column-actions .cpac_use_icons+.row-actions>span.unarchive a,.column-actions .cpac_use_icons+.row-actions>span.unarchive button.button-link,.column-actions .cpac_use_icons+.row-actions>span.activate a,.column-actions .cpac_use_icons+.row-actions>span.activate button.button-link,.column-actions .cpac_use_icons+.row-actions>span.download a,.column-actions .cpac_use_icons+.row-actions>span.download button.button-link{text-indent:-3000px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.row-actions>span.edit button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.row-actions>span.inline button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.row-actions>span.trash button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.row-actions>span.view button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.quickedit a:before,.column-actions .cpac_use_icons+.row-actions>span.quickedit button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.row-actions>span.approve button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.row-actions>span.spam button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.row-actions>span.untrash button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.row-actions>span.unspam button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.row-actions>span.reply button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.row-actions>span.delete button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.row-actions>span.backend button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.row-actions>span.visit button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.row-actions>span.archive button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.row-actions>span.activate button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.row-actions>span.download button.button-link:before{text-indent:0;font-family:Dashicons, sans-serif}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.row-actions>span.edit a:before{content:"\f464"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline.quickedit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.row-actions>span.inline.quickedit a:before,.column-actions .cpac_use_icons+.row-actions>span.inline button.button-link:before{content:"\f119"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a,.column-actions .cpac_use_icons+.row-actions>span.trash a{border-radius:3px;border:1px solid #ccc}.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.row-actions>span.trash a:before{content:"\f182"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:hover,.column-actions .cpac_use_icons+.row-actions>span.trash a:hover{border-color:#999}.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.row-actions>span.view a:before{content:"\f177"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove a:before{content:"\f158"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.row-actions>span.approve a:before{content:"\f147"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.row-actions>span.spam a:before{content:"\f117"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.row-actions>span.reply a:before{content:"\f473"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.row-actions>span.unspam a:before{content:"\f171"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.row-actions>span.delete a:before{content:"\f182"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.row-actions>span.backend a:before{content:"\f226"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.row-actions>span.visit a:before{content:"\f115"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate a:before{content:"\f530"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.row-actions>span.archive a:before{content:"\f480"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive a:before{content:"\f322"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.row-actions>span.activate a:before{content:"\f177"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.row-actions>span.download a:before{content:"\f316"}@media screen and (max-width: 782px){.wp-list-table.widefat thead th{display:none}.wp-list-table.widefat thead th.column-primary{display:table-cell}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td{display:none}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary{display:block}}.ac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,0.75);font-weight:normal;min-width:25px}.ac-table-actions{display:none;position:relative;z-index:20;float:left;white-space:nowrap;margin-right:5px;margin-left:1px;margin-bottom:5px}.ac-table-actions.-init{display:block}.ac-table-actions .ac-table-actions-buttons{white-space:nowrap;display:inline-block;vertical-align:top}.ac-table-actions .ac-table-actions-buttons .ac-table-button{float:left;border-radius:0;border-right:none}.ac-table-actions .ac-table-actions-buttons .ac-table-button:first-child{border-radius:3px 0 0 3px}.ac-table-actions .ac-table-actions-buttons .ac-table-button:last-child,.ac-table-actions .ac-table-actions-buttons .ac-table-button.last{border-radius:0 3px 3px 0;border-right:1px solid #7e8993}.ac-table-actions .ac-table-actions-buttons .ac-table-button:last-child.active,.ac-table-actions .ac-table-actions-buttons .ac-table-button.last.active{border-right:1px solid #008EC2}.ac-table-actions .ac-table-actions-buttons .ac-table-button:last-child:first-child,.ac-table-actions .ac-table-actions-buttons .ac-table-button.last:first-child{border-radius:3px}.ac-table-actions .ac-table-button{display:inline-block;padding:2px 12px;cursor:pointer;color:#555;background:#f7f7f7;text-decoration:none;font-size:13px;height:24px;line-height:24px;text-align:center;border:1px solid #7e8993;transform:translateX(-1px);border-radius:3px}.ac-table-actions .ac-table-button:focus,.ac-table-actions .ac-table-button:active{outline:none;box-shadow:none}.ac-table-actions .ac-table-button:hover{background:#ddd;color:#4d4d4d}.ac-table-actions .ac-table-button .dashicons{font-size:14px;width:14px;height:14px;line-height:24px}.ac-table-actions .ac-table-button.disabled{background:#ddd;color:#aaa;cursor:not-allowed}.ac-table-actions .ac-table-button.active{background:#00A0D2;border:1px solid #008EC2;color:#fff}.ac-table-actions .ac-table-button.active+.ac-table-button{border-left:none}.ac-table-actions .ac-table-button.-inline-edit .dashicons{font-size:18px;margin-left:-2px}.ac-table-actions .ac-table-button.-toggle{background:none;border:1px solid transparent;padding-left:4px;padding-right:4px;transform:translateY(-1px)}.ac-table-actions .ac-table-button.-toggle .ac-toggle__switch{vertical-align:middle;margin-top:-3px;margin-right:1px;color:#888}.ac-table-actions .ac-table-button__caret{display:inline-block;vertical-align:middle;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #6F6F6F;transition:transform .2s}.ac-table-actions .ac-table-button.-open{color:#0072AA}.ac-table-actions .ac-table-button.-open .ac-table-button__caret{transform:rotate(180deg)}.ac-toggle{display:inline-block;white-space:nowrap}.ac-toggle input{position:absolute;left:-3000em}.ac-toggle__switch{display:inline-block;background:#ccc;border-radius:8px;width:30px;height:16px;position:relative;transition:background-color .3s}.ac-toggle__switch__on,.ac-toggle__switch__off{font-size:11px;font-weight:bold;color:#fff;position:absolute;top:5px;line-height:11px}.ac-toggle__switch__off{right:6px;color:#555}.ac-toggle__switch__on{left:8px}.ac-toggle__switch__track{border-radius:50%;display:inline-block;background:#fff;position:absolute;left:3px;top:3px;height:10px;width:10px;transition:all .1s}.ac-toggle input:checked+.ac-toggle__switch{background:#1e8cbe}.ac-toggle input:checked+.ac-toggle__switch .ac-toggle__switch__track{left:calc(100% - 13px)}.hide-column-tog+span .dashicons{transform:translateY(5px);margin-left:3px}
1
+ @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2?v=492557") format("woff2"),url("../fonts/cpac_icons.woff?v=820378") format("woff");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-bulk-edit::before{content:""}.cpacicon-download::before{content:""}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.cpacicon-segment::before{content:""}.ac-modal{position:fixed;overflow:auto;z-index:100000;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.5);display:none}.ac-modal.-active{display:flex;align-items:center;justify-content:center}.ac-modal__dialog{border:1px solid #C8C8C8;background:#fff;position:fixed;width:650px;max-width:90%}.ac-modal__dialog__header{background:#f5f5f5;font-size:18px;line-height:18px;color:#807F7F;padding:17px 25px}.ac-modal__dialog__close{display:inline-block;padding:0;margin:0;border:none;background:none;position:absolute;right:0;top:0;width:52px;height:52px;text-align:center;color:#989797;cursor:pointer}.ac-modal__dialog__close:hover{background:#e1e1e1}.ac-modal__dialog__content{padding:25px;max-height:calc(100vh - 200px);overflow:scroll}.ac-modal__dialog__content__lead{font-weight:bold;font-size:15px;margin-top:5px;margin-bottom:25px;color:#6D6D6D}.ac-modal__dialog__list li{position:relative;padding-left:25px;font-weight:400;font-size:16px;letter-spacing:0.5px;margin-bottom:10px}.ac-modal__dialog__list li:before{content:'\f147';font-family:Dashicons;position:absolute;left:0;top:0;color:#3D4350}.ac-modal__dialog__list li:nth-child(2n){color:#e9426e}.ac-modal__dialog__footer{padding:20px 24px;border-top:1px solid #DBDBDB;color:#979696;font-size:16px}.ac-modal__dialog__footer .button{margin-left:0;padding-left:15px;padding-right:15px}.ac-modal.-blocking{background:#E3E7EB}@media only screen and (max-width: 720px){.ac-modal__dialog__footer__content{display:block}.ac-modal__dialog__footer .button{margin-left:0;margin-top:10px}}.column-status .dashicons{font-size:22px}.column-status .dashicons.large{width:25px;height:28px;font-size:28px}.column-status .dashicons.dashicons-lock{font-size:15px;margin-left:-2px}.ac-image-sizes .ac-missing-size{color:#929292}.ac-comment-bubble .post-com-count{display:inline-block;vertical-align:top}.ac-comment-bubble .post-com-count-no-comments,.ac-comment-bubble .post-com-count-approved{margin-top:5px}.ac-comment-bubble .comment-count-no-comments,.ac-comment-bubble .comment-count-approved{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.ac-comment-bubble .post-com-count-no-comments:after,.ac-comment-bubble .post-com-count-approved:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #72777c;border-right:5px solid transparent}.ac-comment-bubble .post-com-count-approved:hover .comment-count-approved,.ac-comment-bubble .post-com-count-approved:focus .comment-count-approved{background:#0073aa}.ac-comment-bubble .post-com-count-approved:hover:after,.ac-comment-bubble .post-com-count-approved:focus:after{border-top-color:#0073aa}.ac-comment-bubble .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.ac-comment-bubble .post-com-count-no-pending{display:none}.ac-divider{display:inline-block;width:14px;height:12px;position:relative}.ac-divider:before{content:'';display:block;width:2px;height:2px;background:#000;position:absolute;left:50%;margin-left:-1px;top:60%}span.status-closed{color:red}.ac-value-stars{white-space:nowrap;word-wrap:normal;display:block}.ac-value-stars .ac-value-star{font-size:16px;width:auto;margin-right:-3px}.actions #post-query-submit{float:left;vertical-align:middle;margin-bottom:4px}.tablenav.top .ac-button{top:2px;display:inline-block;vertical-align:middle;float:left;margin-bottom:4px}body.edit-tags-php .tablenav.top .ac-button{float:none}span.dashicons.flip:before{transform:scale(-1, 1);display:inline-block}span.dashicons.yellow{color:#ffb900}span.dashicons.orange{color:#d54e21}span.dashicons.red{color:#dc3232}span.dashicons.green{color:#46b450}span.dashicons.light-gray{color:#bbb}span.dashicons.gray{color:#8a8a8a}span.dashicons.blue{color:#0073aa}span.dashicons.light-blue{color:#00a0d2}body.edit-php #delete_all{float:left;margin-right:3px}body.users-php .tablenav .actions a.add-new-h2{float:none;vertical-align:middle !important;top:2px !important}@media screen and (max-width: 782px){.tablenav.top .actions{display:block !important;margin-bottom:4px}.tablenav.top .actions *{display:none}.tablenav.top .actions .ac-button{display:inline-block}}body.upload-php .tablenav.top .ac-button{float:none}.ac-toggle-box-link:focus{outline:none;box-shadow:none}.ac-toggle-box-link .spinner{float:none;margin-top:-2px}.ac-toggle-box-link.loading .spinner{visibility:visible}.ac-toggle-box-contents-ajax{padding:5px 0 0}.ac-toggle-box-contents{display:none;padding:5px 0 0}.ac-toggle-box-contents.-open{display:block}table.ac-table-items{border-spacing:0}table.ac-table-items tr td{border:0;margin:0;padding:0 0 3px}table.ac-table-items tr td.ac-table-item-qty{color:#999;padding-right:6px;text-align:left}.ac-post-state-format:before{color:#a7a7a7}.ac-image-details .ac-image-info{display:inline-block;border-radius:7px;padding:0 9px;min-height:20px;background-color:#e9e9e9;text-align:left;font-size:11px;font-weight:bold;margin:0 6px 5px 0;white-space:nowrap}.ac-image-details .ac-image-info>span{margin-right:6px}.ac-image-details .ac-image-info>span:last-child{margin-right:0}.ac-image-details .ac-image-info span{vertical-align:middle;line-height:20px}.ac-image-details .ac-image-info span.image-id{font-size:11px;color:#757575}.ac-image-details .ac-image-info span.image-file-size{font-size:12px}.ac-image-details .ac-image-info span.image-extension{text-transform:uppercase;font-size:11px;color:#757575}.ac-image-details .ac-image-info span.suffix{display:inline-block;text-transform:uppercase;font-size:10px;color:#757575;padding-left:3px;margin-top:-2px}.ac-image-details .ac-image-info span.dashicons{margin-top:-2px;color:#757575;font-size:14px;width:16px}.ac-image-details a.ac-image-info:hover{color:#0073aa}.ac-image-details a.ac-image-info:hover span.dashicons{color:#3d4350}.ac-upload-space .ac-upload-space-labels{display:table;width:100%}.ac-upload-space .ac-upload-space-labels .inner{display:table-row}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon{display:table-cell}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon:before{color:#82878c;content:"\f104";display:inline-block;font-family:'dashicons', serif;width:20px;height:20px;font-size:18px;line-height:1;text-decoration:inherit;font-weight:normal;font-style:normal;vertical-align:top;text-align:center;margin-right:4px}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-left{display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-right{width:100%;text-align:right;padding-left:6px;display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-progress{margin-top:6px;height:3px;background:white;border:1px solid #dfdfdf;position:relative}.ac-upload-space .ac-upload-space-progress .ac-upload-space-progress-bar{background-color:#46b450;height:100%;display:block}.ac-upload-space.warning .ac-upload-space-icon:before{color:#ffb900;content:"\f534";margin-top:1px}.ac-upload-space.warning .ac-upload-space-progress-bar{background-color:#ffb900}.ac-upload-space.full .ac-upload-space-icon:before{color:#d54e21;content:"\f153";margin-top:1px}.ac-upload-space.full .ac-upload-space-progress-bar{background-color:#dc3232}#form-site-list .tablenav .actions .ac-button{float:none}.ac-inline-info{display:inline-block;border-radius:3px;min-width:8px;padding:0 6px;min-height:20px;background-color:#e9e9e9;text-align:center;margin-right:7px;font-size:11px;font-weight:bold}.ac-rounded{display:inline-block;border-radius:10px;min-width:8px;padding:0 6px;height:20px;background-color:#e0e0e0;text-align:center;margin-left:7px;margin-right:7px;font-size:12px}.ac-rounded.ac-rounded-first{margin-left:0}.ac-spacing{display:inline-block;margin-right:10px;margin-bottom:4px}.cpac-suffix{margin-left:8px;color:#808080}.ac-small-block{display:inline-block;border-radius:3px;background-color:rgba(224,224,224,0.6);padding:2px 7px;margin:0 5px 5px 0}.ac-more-link-show{cursor:pointer}.ac-show-more__content{margin-right:4px}.ac-show-more__toggle{cursor:pointer;white-space:nowrap}.ac-show-more__part.-more{display:none}.ac-show-more.-on .ac-show-more__part.-more{display:inline}.ac-show-more__divider{color:#ddd;padding-right:4px}.ac-image-container{margin-bottom:-6px}.ac-image{display:inline-block;margin-right:2px;margin-bottom:6px;overflow:hidden;max-width:100%;background-color:#ccc;vertical-align:middle}.ac-image img{display:block;margin:0 auto}.ac-image .ac-extension{font-size:12px;line-height:22px;display:block;text-align:center;text-transform:uppercase;font-weight:bold}.ac-image.ac-icon{background-color:transparent}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}.ac-progress-bar{width:100%;display:flex}.ac-progress-bar .ac-label-main{width:65px}.ac-progress-bar .ac-bar-container{flex:auto;background-color:#fff;min-height:22px;line-height:22px;position:relative;border:1px solid #ccc;border-radius:2px}.ac-progress-bar .ac-bar-container .ac-bar{height:100%;background-color:#69c471;border-right:1px solid #fff}.ac-progress-bar .ac-bar-container .ac-label-left,.ac-progress-bar .ac-bar-container .ac-label-right{text-shadow:rgba(255,255,255,0.65) 0 0 5px;color:#555;position:absolute}.ac-progress-bar .ac-bar-container .ac-label-left{left:5px}.ac-progress-bar .ac-bar-container .ac-label-right{right:5px}.ac-progress-bar.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.45);border:none}.ac-progress-bar.dark .ac-bar-container{flex:auto;background-color:#a6a6a6;min-height:22px;line-height:22px;position:relative}.ac-progress-bar.dark .ac-bar-container .ac-bar{height:100%;background-color:#46b450;border-right:1px solid #fff}.ac-progress-bar.dark .ac-bar-container .ac-label-left{color:#fff;position:absolute;left:5px}.ac-progress-bar.dark .ac-bar-container .ac-label-right{color:#fff;position:absolute;right:5px}.ac-progress-bar.dark.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.68);border:none}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#ffffff;float:left;height:16px;line-height:16px;margin-right:12px;overflow:hidden;padding:4px 5px;font-size:10px;font-family:Monaco, Menlo, Consolas, "Courier New", monospace;min-width:47px;text-align:center}.rtl div.cpac-color span{float:right;margin-left:12px;margin-right:0}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px;overflow:hidden}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.cpac_wp_button,.column-actions .cpac_use_icons+.hidden+.row-actions>span a,.column-actions .cpac_use_icons+.hidden+.row-actions>span button,.column-actions .cpac_use_icons+.row-actions>span a,.column-actions .cpac_use_icons+.row-actions>span button{color:#555;background:#f7f7f7;box-shadow:0 1px 0 #ccc;vertical-align:top;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border:1px solid #ccc;border-radius:3px;white-space:nowrap;box-sizing:border-box}.cpac_wp_button:hover,.column-actions .cpac_use_icons+.hidden+.row-actions>span a:hover,.column-actions .cpac_use_icons+.hidden+.row-actions>span button:hover,.column-actions .cpac_use_icons+.row-actions>span a:hover,.column-actions .cpac_use_icons+.row-actions>span button:hover{background:#fafafa;color:#23282d;border-color:#999}.column-actions .row-actions{left:0;position:relative}.column-actions .cpac_use_icons+.hidden+.row-actions>span,.column-actions .cpac_use_icons+.row-actions>span{color:transparent;font-size:0;margin-right:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span a,.column-actions .cpac_use_icons+.hidden+.row-actions>span button,.column-actions .cpac_use_icons+.row-actions>span a,.column-actions .cpac_use_icons+.row-actions>span button{display:inline-block;position:relative;min-width:26px;margin-bottom:5px}.column-actions .cpac_use_icons+.hidden+.row-actions>span a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span button:before,.column-actions .cpac_use_icons+.row-actions>span a:before,.column-actions .cpac_use_icons+.row-actions>span button:before{text-indent:0;font-family:Dashicons, sans-serif;font-size:16px;position:absolute;padding-left:4px;top:0;left:0;width:100%;height:100%}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate button.button-link,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download button.button-link,.column-actions .cpac_use_icons+.row-actions>span.edit a,.column-actions .cpac_use_icons+.row-actions>span.edit button.button-link,.column-actions .cpac_use_icons+.row-actions>span.inline a,.column-actions .cpac_use_icons+.row-actions>span.inline button.button-link,.column-actions .cpac_use_icons+.row-actions>span.trash a,.column-actions .cpac_use_icons+.row-actions>span.trash button.button-link,.column-actions .cpac_use_icons+.row-actions>span.view a,.column-actions .cpac_use_icons+.row-actions>span.view button.button-link,.column-actions .cpac_use_icons+.row-actions>span.quickedit a,.column-actions .cpac_use_icons+.row-actions>span.quickedit button.button-link,.column-actions .cpac_use_icons+.row-actions>span.approve a,.column-actions .cpac_use_icons+.row-actions>span.approve button.button-link,.column-actions .cpac_use_icons+.row-actions>span.unapprove a,.column-actions .cpac_use_icons+.row-actions>span.unapprove button.button-link,.column-actions .cpac_use_icons+.row-actions>span.spam a,.column-actions .cpac_use_icons+.row-actions>span.spam button.button-link,.column-actions .cpac_use_icons+.row-actions>span.untrash a,.column-actions .cpac_use_icons+.row-actions>span.untrash button.button-link,.column-actions .cpac_use_icons+.row-actions>span.unspam a,.column-actions .cpac_use_icons+.row-actions>span.unspam button.button-link,.column-actions .cpac_use_icons+.row-actions>span.reply a,.column-actions .cpac_use_icons+.row-actions>span.reply button.button-link,.column-actions .cpac_use_icons+.row-actions>span.delete a,.column-actions .cpac_use_icons+.row-actions>span.delete button.button-link,.column-actions .cpac_use_icons+.row-actions>span.backend a,.column-actions .cpac_use_icons+.row-actions>span.backend button.button-link,.column-actions .cpac_use_icons+.row-actions>span.visit a,.column-actions .cpac_use_icons+.row-actions>span.visit button.button-link,.column-actions .cpac_use_icons+.row-actions>span.deactivate a,.column-actions .cpac_use_icons+.row-actions>span.deactivate button.button-link,.column-actions .cpac_use_icons+.row-actions>span.archive a,.column-actions .cpac_use_icons+.row-actions>span.archive button.button-link,.column-actions .cpac_use_icons+.row-actions>span.unarchive a,.column-actions .cpac_use_icons+.row-actions>span.unarchive button.button-link,.column-actions .cpac_use_icons+.row-actions>span.activate a,.column-actions .cpac_use_icons+.row-actions>span.activate button.button-link,.column-actions .cpac_use_icons+.row-actions>span.download a,.column-actions .cpac_use_icons+.row-actions>span.download button.button-link{text-indent:-3000px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate button.button-link:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.row-actions>span.edit button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.row-actions>span.inline button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.row-actions>span.trash button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.row-actions>span.view button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.quickedit a:before,.column-actions .cpac_use_icons+.row-actions>span.quickedit button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.row-actions>span.approve button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.row-actions>span.spam button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.row-actions>span.untrash button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.row-actions>span.unspam button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.row-actions>span.reply button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.row-actions>span.delete button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.row-actions>span.backend button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.row-actions>span.visit button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.row-actions>span.archive button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.row-actions>span.activate button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.row-actions>span.download button.button-link:before{text-indent:0;font-family:Dashicons, sans-serif}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.row-actions>span.edit a:before{content:"\f464"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline.quickedit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline button.button-link:before,.column-actions .cpac_use_icons+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.row-actions>span.inline.quickedit a:before,.column-actions .cpac_use_icons+.row-actions>span.inline button.button-link:before{content:"\f119"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a,.column-actions .cpac_use_icons+.row-actions>span.trash a{border-radius:3px;border:1px solid #ccc}.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.row-actions>span.trash a:before{content:"\f182"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:hover,.column-actions .cpac_use_icons+.row-actions>span.trash a:hover{border-color:#999}.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.row-actions>span.view a:before{content:"\f177"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove a:before{content:"\f158"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.row-actions>span.approve a:before{content:"\f147"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.row-actions>span.spam a:before{content:"\f117"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.row-actions>span.reply a:before{content:"\f473"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.row-actions>span.unspam a:before{content:"\f171"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.row-actions>span.delete a:before{content:"\f182"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.row-actions>span.backend a:before{content:"\f226"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.row-actions>span.visit a:before{content:"\f115"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate a:before{content:"\f530"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.row-actions>span.archive a:before{content:"\f480"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive a:before{content:"\f322"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.row-actions>span.activate a:before{content:"\f177"}.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.row-actions>span.download a:before{content:"\f316"}@media screen and (max-width: 782px){.wp-list-table.widefat thead th{display:none}.wp-list-table.widefat thead th.column-primary{display:table-cell}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td{display:none}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary{display:block}}.ac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,0.75);font-weight:normal;min-width:25px}.ac-table-actions{display:none;position:relative;z-index:20;float:left;white-space:nowrap;margin-right:5px;margin-left:1px;margin-bottom:5px}.ac-table-actions.-init{display:block}.ac-table-actions .ac-table-actions-buttons{white-space:nowrap;display:inline-block;vertical-align:top}.ac-table-actions .ac-table-actions-buttons .ac-table-button{float:left;border-radius:0;border-right:none}.ac-table-actions .ac-table-actions-buttons .ac-table-button:first-child{border-radius:3px 0 0 3px}.ac-table-actions .ac-table-button{display:inline-block;padding:2px 12px;cursor:pointer;color:#0071a1;border:1px solid #0071a1;background:#f3f5f6;text-decoration:none;font-size:13px;height:24px;line-height:24px;text-align:center;transform:translateX(-1px);border-radius:3px}.ac-table-actions .ac-table-button:last-child,.ac-table-actions .ac-table-button.last{border-radius:0 3px 3px 0;border-right:1px solid #0071a1}.ac-table-actions .ac-table-button:last-child.active,.ac-table-actions .ac-table-button.last.active{border-right:1px solid #0071a1}.ac-table-actions .ac-table-button:last-child:first-child,.ac-table-actions .ac-table-button.last:first-child{border-radius:3px}.ac-table-actions .ac-table-button:hover,.ac-table-actions .ac-table-button:focus,.ac-table-actions .ac-table-button:active{outline:none;box-shadow:none;background:#f1f1f1;color:#016088;border-color:#016088}.ac-table-actions .ac-table-button .dashicons{font-size:14px;width:14px;height:14px;line-height:24px}.ac-table-actions .ac-table-button.disabled{background:#ddd;color:#aaa;cursor:not-allowed}.ac-table-actions .ac-table-button.active{background:#00A0D2;border:1px solid #008EC2;color:#fff}.ac-table-actions .ac-table-button.active+.ac-table-button{border-left:none}.ac-table-actions .ac-table-button.-inline-edit .dashicons{font-size:18px;margin-left:-2px}.ac-table-actions .ac-table-button.-toggle{background:none;border:1px solid transparent;padding-left:4px;padding-right:4px;transform:translateY(-1px)}.ac-table-actions .ac-table-button.-toggle .ac-toggle__switch{vertical-align:middle;margin-top:-3px;margin-right:1px;color:#888}.ac-table-actions .ac-table-button__caret{display:inline-block;vertical-align:middle;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #6F6F6F;transition:transform .2s}.ac-table-actions .ac-table-button.-open{color:#0072AA}.ac-table-actions .ac-table-button.-open .ac-table-button__caret{transform:rotate(180deg)}.ac-toggle{display:inline-block;white-space:nowrap}.ac-toggle input{position:absolute;left:-3000em}.rtl .ac-toggle input{left:inherit;right:-3000em}.ac-toggle__switch{display:inline-block;background:#ccc;border-radius:8px;width:30px;height:16px;position:relative;transition:background-color .3s}.ac-toggle__switch__on,.ac-toggle__switch__off{font-size:11px;font-weight:bold;color:#fff;position:absolute;top:5px;line-height:11px}.ac-toggle__switch__off{right:6px;color:#555}.ac-toggle__switch__on{left:8px}.ac-toggle__switch__track{border-radius:50%;display:inline-block;background:#fff;position:absolute;left:3px;top:3px;height:10px;width:10px;transition:all .1s}.ac-toggle input:checked+.ac-toggle__switch{background:#1e8cbe}.ac-toggle input:checked+.ac-toggle__switch .ac-toggle__switch__track{left:calc(100% - 13px)}.hide-column-tog+span .dashicons{transform:translateY(5px);margin-left:3px}
assets/fonts/cpac_icons.eot CHANGED
Binary file
assets/fonts/cpac_icons.woff CHANGED
Binary file
assets/fonts/cpac_icons.woff2 CHANGED
Binary file
assets/images/addons/metabox.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg viewBox="227 227 46 46" width="46" height="46" xmlns="http://www.w3.org/2000/svg">
2
+ <rect style="" x="227" y="227" width="46" height="46" rx="4" ry="4"></rect>
3
+ <path d="M 256.873 255.508 L 257.283 246.088 L 257.193 246.078 L 251.483 261.868 L 248.613 261.868 L 242.933 246.138 L 242.843 246.148 L 243.253 255.508 L 243.253 258.868 L 245.533 259.308 L 245.533 261.868 L 236.703 261.868 L 236.703 259.308 L 238.973 258.868 L 238.973 243.558 L 236.703 243.118 L 236.703 240.538 L 238.973 240.538 L 244.553 240.538 L 249.993 256.258 L 250.073 256.258 L 255.553 240.538 L 263.433 240.538 L 263.433 243.118 L 261.153 243.558 L 261.153 258.868 L 263.433 259.308 L 263.433 261.868 L 254.603 261.868 L 254.603 259.308 L 256.873 258.868 L 256.873 255.508 Z" style="fill:#fff"></path>
4
+ </svg>
assets/images/question-light.svg ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="17px" height="17px" viewBox="0 0 17 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>Q</title>
4
+ <defs>
5
+ <circle id="path-1" cx="8.5" cy="8.5" r="8.5"></circle>
6
+ <filter x="-5.9%" y="-5.9%" width="111.8%" height="111.8%" filterUnits="objectBoundingBox" id="filter-2">
7
+ <feGaussianBlur stdDeviation="1" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
8
+ <feOffset dx="0" dy="0" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
9
+ <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
10
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.241536458 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
11
+ </filter>
12
+ </defs>
13
+ <g id="Column-Settings---Extra-options" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
14
+ <g id="Admin-Columns" transform="translate(-522.000000, -958.000000)">
15
+ <g id="Settings" transform="translate(94.000000, 652.000000)">
16
+ <g id="Preferences" transform="translate(17.000000, 305.000000)">
17
+ <g id="Q" transform="translate(411.000000, 1.000000)">
18
+ <g id="Oval">
19
+ <use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-1"></use>
20
+ <use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
21
+ <circle stroke="#C9CCD0" stroke-width="1" stroke-linejoin="square" cx="8.5" cy="8.5" r="8"></circle>
22
+ </g>
23
+ <text id="?" font-family="HelveticaNeue-Bold, Helvetica Neue" font-size="12" font-weight="bold" letter-spacing="0.553846165" fill="#C9CCD0">
24
+ <tspan x="5" y="13">?</tspan>
25
+ </text>
26
+ </g>
27
+ </g>
28
+ </g>
29
+ </g>
30
+ </g>
31
+ </svg>
assets/images/question.svg CHANGED
@@ -1,6 +1,8 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <svg width="17px" height="17px" viewBox="0 0 17 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
 
3
  <title>Q</title>
 
4
  <defs>
5
  <circle id="path-1" cx="8.5" cy="8.5" r="8.5"></circle>
6
  <filter x="-5.9%" y="-5.9%" width="111.8%" height="111.8%" filterUnits="objectBoundingBox" id="filter-2">
@@ -18,9 +20,9 @@
18
  <g id="Oval">
19
  <use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-1"></use>
20
  <use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
21
- <circle stroke="#C9CCD0" stroke-width="1" stroke-linejoin="square" cx="8.5" cy="8.5" r="8"></circle>
22
  </g>
23
- <text id="?" font-family="HelveticaNeue-Bold, Helvetica Neue" font-size="12" font-weight="bold" letter-spacing="0.553846165" fill="#C9CCD0">
24
  <tspan x="5" y="13">?</tspan>
25
  </text>
26
  </g>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <svg width="17px" height="17px" viewBox="0 0 17 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
4
  <title>Q</title>
5
+ <desc>Created with Sketch.</desc>
6
  <defs>
7
  <circle id="path-1" cx="8.5" cy="8.5" r="8.5"></circle>
8
  <filter x="-5.9%" y="-5.9%" width="111.8%" height="111.8%" filterUnits="objectBoundingBox" id="filter-2">
20
  <g id="Oval">
21
  <use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-1"></use>
22
  <use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
23
+ <circle stroke="#B0B5BA" stroke-width="1" stroke-linejoin="square" cx="8.5" cy="8.5" r="8"></circle>
24
  </g>
25
+ <text id="?" font-family="HelveticaNeue-Bold, Helvetica Neue" font-size="12" font-weight="bold" letter-spacing="0.553846165" fill="#B0B5BA">
26
  <tspan x="5" y="13">?</tspan>
27
  </text>
28
  </g>
assets/images/tooltip/bulk-edit-author.png ADDED
Binary file
assets/images/tooltip/bulk-edit.png ADDED
Binary file
assets/images/tooltip/export-csv.png ADDED
Binary file
assets/images/tooltip/export.png ADDED
Binary file
assets/images/tooltip/filter.png ADDED
Binary file
assets/images/tooltip/inline-edit-toggle.png ADDED
Binary file
assets/images/tooltip/inline-edit.png ADDED
Binary file
assets/images/tooltip/reset-sorting.png ADDED
Binary file
assets/images/tooltip/save-filters.png ADDED
Binary file
assets/images/tooltip/smart-filters.png ADDED
Binary file
assets/images/tooltip/sort-preference.png ADDED
Binary file
assets/images/tooltip/sort-table.png ADDED
Binary file
assets/js/admin-general.js CHANGED
@@ -1,8 +1,8 @@
1
- !function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=76)}({20:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},54:function(e,t,n){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isEnabled=void 0!==jQuery.fn.qtip,this.init()}return function(e,t,n){t&&o(e.prototype,t),n&&o(e,n)}(e,[{key:"init",value:function(){this.isEnabled?jQuery("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}):console.log("Tooltips not loaded!")}}]),e}();e.exports=i},76:function(e,t,n){"use strict";(function(e){var t=i(n(54)),o=i(n(77));function i(e){return e&&e.__esModule?e:{default:e}}e.AdminColumns="undefined"!=typeof AdminColumns?AdminColumns:{},jQuery(document).ready(function(e){if(0===e("#cpac").length)return!1;ac_pointers(e),function(e){e("a.help").click(function(t){t.preventDefault();var n=e("#contextual-help-wrap");n.parent().show(),e('a[href="#tab-panel-cpac-'+e(this).attr("data-help")+'"]',n).trigger("click"),n.slideDown("fast",function(){n.focus()})})}(e),document.querySelectorAll(".ac-section").forEach(function(e){new o.default(e)})}),e.ac_pointers=function(e){e(".ac-pointer").each(function(){ac_pointer(e(this))}),e(".ac-wp-pointer").hover(function(){e(this).addClass("hover")},function(){e(this).removeClass("hover"),e(".ac-pointer").trigger("close")}),new t.default},e.ac_pointer=function(e){var t=e,n=jQuery,o=t.attr("rel"),i=t.attr("data-pos"),r=t.attr("data-pos_edge"),c=t.attr("data-width"),a=t.attr("data-noclick"),s={at:"left top",my:"right top",edge:"right"},u=c||250;"right"===i&&(s={at:"right middle",my:"left middle",edge:"left"}),"right_bottom"===i&&(s={at:"right middle",my:"left bottom",edge:"none"}),"left"===i&&(s={at:"left middle",my:"right middle",edge:"right"}),r&&(s.edge=r),t.pointer({content:n("#"+o).html(),position:s,pointerWidth:u,pointerClass:"ac-wp-pointer wp-pointer wp-pointer-"+s.edge+(a?" noclick":"")}),a||t.click(function(){t.hasClass("open")?t.removeClass("open"):t.addClass("open")}),t.hover(function(){n(this).pointer("open")},function(){var e=n(this);setTimeout(function(){e.hasClass("open")||0!==n(".ac-wp-pointer.hover").length||e.pointer("close")},100)}).on("close",function(){t.hasClass("open")||0!==n(".ac-wp-pointer.hover").length||t.pointer("close")})}}).call(this,n(20))},77:function(e,t,n){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(78),r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t,this.init()}return function(e,t,n){t&&o(e.prototype,t),n&&o(e,n)}(e,[{key:"init",value:function(){var e=this;if(this.element.classList.contains("-closable")){var t=this.element.querySelector(".ac-section__header");if(t&&t.addEventListener("click",function(){e.toggle()}),this.isStorable()){var n=i.get(this.getCookieKey());void 0!==n&&(1===parseInt(n)?this.open:this.close())}}}},{key:"getCookieKey",value:function(){return"ac-section_".concat(this.getSectionId())}},{key:"getSectionId",value:function(){return this.element.dataset.section}},{key:"isStorable",value:function(){return void 0!==this.element.dataset.section}},{key:"toggle",value:function(){this.isOpen()?this.close():this.open()}},{key:"isOpen",value:function(){return!this.element.classList.contains("-closed")}},{key:"open",value:function(){this.element.classList.remove("-closed"),this.isStorable()&&i.set(this.getCookieKey(),1)}},{key:"close",value:function(){this.element.classList.add("-closed"),this.isStorable()&&i.set(this.getCookieKey(),0)}}]),e}();t.default=r},78:function(e,t,n){var o,i;
2
  /*!
3
  * JavaScript Cookie v2.2.1
4
  * https://github.com/js-cookie/js-cookie
5
  *
6
  * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
7
  * Released under the MIT license
8
- */!function(r){if(void 0===(i="function"==typeof(o=r)?o.call(t,n,t,e):o)||(e.exports=i),!0,e.exports=r(),!!0){var c=window.Cookies,a=window.Cookies=r();a.noConflict=function(){return window.Cookies=c,a}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var o in n)t[o]=n[o]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(o){function i(){}function r(t,n,r){if("undefined"!=typeof document){"number"==typeof(r=e({path:"/"},i.defaults,r)).expires&&(r.expires=new Date(1*new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var c=JSON.stringify(n);/^[\{\[]/.test(c)&&(n=c)}catch(e){}n=o.write?o.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var s in r)r[s]&&(a+="; "+s,!0!==r[s]&&(a+="="+r[s].split(";")[0]));return document.cookie=t+"="+n+a}}function c(e,n){if("undefined"!=typeof document){for(var i={},r=document.cookie?document.cookie.split("; "):[],c=0;c<r.length;c++){var a=r[c].split("="),s=a.slice(1).join("=");n||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var u=t(a[0]);if(s=(o.read||o)(s,u)||t(s),n)try{s=JSON.parse(s)}catch(e){}if(i[u]=s,e===u)break}catch(e){}}return e?i[e]:i}}return i.set=r,i.get=function(e){return c(e,!1)},i.getJSON=function(e){return c(e,!0)},i.remove=function(t,n){r(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}(function(){})})}});
1
+ !function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=76)}({20:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},56:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isEnabled=void 0!==jQuery.fn.qtip,this.init()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){this.isEnabled?jQuery("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}):console.log("Tooltips not loaded!")}}]),e}();e.exports=o},76:function(e,t,n){"use strict";(function(e){var t=r(n(56)),i=r(n(77)),o=r(n(79));function r(e){return e&&e.__esModule?e:{default:e}}e.AdminColumns="undefined"!=typeof AdminColumns?AdminColumns:{},jQuery(document).ready(function(e){if(0===e("#cpac").length)return!1;ac_pointers(),function(e){e("a.help").click(function(t){t.preventDefault();var n=e("#contextual-help-wrap");n.parent().show(),e('a[href="#tab-panel-cpac-'+e(this).attr("data-help")+'"]',n).trigger("click"),n.slideDown("fast",function(){n.focus()})})}(e),document.querySelectorAll(".ac-section").forEach(function(e){new i.default(e)})}),e.ac_pointers=function(){var e=jQuery;document.querySelectorAll(".ac-pointer").forEach(function(e){new o.default(e)}),e(".ac-wp-pointer").hover(function(){e(this).addClass("hover")},function(){e(this).removeClass("hover"),e(".ac-pointer").trigger("close")}).on("click",".close",function(){e(".ac-pointer").removeClass("open")}),new t.default},e.ac_pointer=function(e){new o.default(e)}}).call(this,n(20))},77:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(78),r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t,this.init()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){var e=this;if(this.element.classList.contains("-closable")){var t=this.element.querySelector(".ac-section__header");if(t&&t.addEventListener("click",function(){e.toggle()}),this.isStorable()){var n=o.get(this.getCookieKey());void 0!==n&&(1===parseInt(n)?this.open:this.close())}}}},{key:"getCookieKey",value:function(){return"ac-section_".concat(this.getSectionId())}},{key:"getSectionId",value:function(){return this.element.dataset.section}},{key:"isStorable",value:function(){return void 0!==this.element.dataset.section}},{key:"toggle",value:function(){this.isOpen()?this.close():this.open()}},{key:"isOpen",value:function(){return!this.element.classList.contains("-closed")}},{key:"open",value:function(){this.element.classList.remove("-closed"),this.isStorable()&&o.set(this.getCookieKey(),1)}},{key:"close",value:function(){this.element.classList.add("-closed"),this.isStorable()&&o.set(this.getCookieKey(),0)}}]),e}();t.default=r},78:function(e,t,n){var i,o;
2
  /*!
3
  * JavaScript Cookie v2.2.1
4
  * https://github.com/js-cookie/js-cookie
5
  *
6
  * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
7
  * Released under the MIT license
8
+ */!function(r){if(void 0===(o="function"==typeof(i=r)?i.call(t,n,t,e):i)||(e.exports=o),!0,e.exports=r(),!!0){var a=window.Cookies,s=window.Cookies=r();s.noConflict=function(){return window.Cookies=a,s}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(i){function o(){}function r(t,n,r){if("undefined"!=typeof document){"number"==typeof(r=e({path:"/"},o.defaults,r)).expires&&(r.expires=new Date(1*new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=i.write?i.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in r)r[c]&&(s+="; "+c,!0!==r[c]&&(s+="="+r[c].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var o={},r=document.cookie?document.cookie.split("; "):[],a=0;a<r.length;a++){var s=r[a].split("="),c=s.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var u=t(s[0]);if(c=(i.read||i)(c,u)||t(c),n)try{c=JSON.parse(c)}catch(e){}if(o[u]=c,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=r,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){r(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}(function(){})})},79:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.el=t,this.settings=this.getDefaults(),this.init(),this.setInitialized()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"setInitialized",value:function(){this.el.dataset.ac_pointer_initialized=1}},{key:"getDefaults",value:function(){return{width:this.el.getAttribute("data-width")?this.el.getAttribute("data-width"):250,noclick:!!this.el.getAttribute("data-noclick")&&this.el.getAttribute("data-noclick"),position:this.getPosition()}}},{key:"isInitialized",value:function(){return this.el.dataset.hasOwnProperty("ac_pointer_initialized")}},{key:"init",value:function(){this.isInitialized()||(jQuery(this.el).pointer({content:this.getRelatedHTML(),position:this.settings.position,pointerWidth:this.settings.width,pointerClass:this.getPointerClass()}),this.initEvents())}},{key:"getPosition",value:function(){var e={at:"left top",my:"right top",edge:"right"},t=this.el.getAttribute("data-pos"),n=this.el.getAttribute("data-pos_edge");return"right"===t&&(e={at:"right middle",my:"left middle",edge:"left"}),"right_bottom"===t&&(e={at:"right middle",my:"left bottom",edge:"none"}),"left"===t&&(e={at:"left middle",my:"right middle",edge:"right"}),n&&(e.edge=n),e}},{key:"getPointerClass",value:function(){var e=["ac-wp-pointer","wp-pointer","wp-pointer-"+this.settings.position.edge];return this.settings.noclick&&e.push("noclick"),e.join(" ")}},{key:"getRelatedHTML",value:function(){var e=document.getElementById(this.el.getAttribute("rel"));return e?e.innerHTML:""}},{key:"initEvents",value:function(){var e=jQuery(this.el);this.settings.noclick||e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")}),e.click(function(){e.pointer("open")}),e.mouseenter(function(){e.pointer("open"),setTimeout(function(){e.pointer("open")},2)}),e.mouseleave(function(){setTimeout(function(){e.hasClass("open")||0!==jQuery(".ac-wp-pointer.hover").length||e.pointer("close")},1)}),e.on("close",function(){setTimeout(function(){e.hasClass("open")||e.pointer("close")})})}}]),e}();t.default=o}});
assets/js/admin-general.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/admin-general.js","webpack:///./js/modules/ac-section.js","webpack:///./js/modules/tooltips.js","webpack:///./node_modules/js-cookie/src/js.cookie.js","webpack:///(webpack)/buildin/global.js"],"names":["global","AdminColumns","jQuery","document","ready","$","length","ac_pointers","ac_help","querySelectorAll","forEach","el","AcSection","each","ac_pointer","hover","addClass","removeClass","trigger","Tooltip","$el","html","attr","pos","pos_edge","w","noclick","position","at","my","edge","width","pointer","content","pointerWidth","pointerClass","click","hasClass","setTimeout","on","e","preventDefault","panel","parent","show","slideDown","focus","Cookies","element","init","classList","contains","header","querySelector","addEventListener","toggle","isStorable","setting","get","getCookieKey","undefined","parseInt","open","close","getSectionId","dataset","section","isOpen","remove","set","add","Tooltips","isEnabled","fn","qtip","console","log","style","tip","classes","module","exports"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;AClFA;;AACA;;;;AAEAA,MAAM,CAACC,YAAP,GAAsB,OAAOA,YAAP,KAAwB,WAAxB,GAAsCA,YAAtC,GAAqD,EAA3E;AAEAC,MAAM,CAAEC,QAAF,CAAN,CAAmBC,KAAnB,CAA0B,UAAUC,CAAV,EAAc;AACvC,MAAKA,CAAC,CAAE,OAAF,CAAD,CAAaC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ACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;;AAEA;AACA;AACA,mEAAmE;AACnE;AACA;AACA,wCAAwC;AACxC;AACA,qEAAqE;AACrE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,2DAA2D;AAC3D;;AAEA,SAAS,oBAAoB;AAC7B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;;AAEA;;AAEA;AACA;;AAEA,2BAA2B;AAC3B,CAAC;;;;;;;;;;;;AClKD;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C","file":"admin-general.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/admin-general.js\");\n","import Tooltip from \"./modules/tooltips\";\nimport AcSection from \"./modules/ac-section\";\n\nglobal.AdminColumns = typeof AdminColumns !== \"undefined\" ? AdminColumns : {};\n\njQuery( document ).ready( function( $ ) {\n\tif ( $( '#cpac' ).length === 0 ) {\n\t\treturn false;\n\t}\n\n\tac_pointers( $ );\n\tac_help( $ );\n\n\tdocument.querySelectorAll( '.ac-section' ).forEach( el => {\n\t\tnew AcSection( el );\n\t} );\n} );\n\n/*\n * WP Pointer\n *\n */\nglobal.ac_pointers = function( $ ) {\n\n\t$( '.ac-pointer' ).each( function() { ac_pointer( $( this ) ) } );\n\n\t$( '.ac-wp-pointer' ).hover( function() {\n\t\t$( this ).addClass( 'hover' );\n\t}, function() {\n\t\t$( this ).removeClass( 'hover' );\n\t\t$( '.ac-pointer' ).trigger( 'close' );\n\t} );\n\n\tnew Tooltip();\n};\n\nglobal.ac_pointer = function( $el ) {\n\tlet el = $el,\n\t\t$ = jQuery,\n\t\thtml = el.attr( 'rel' ),\n\t\tpos = el.attr( 'data-pos' ),\n\t\tpos_edge = el.attr( 'data-pos_edge' ),\n\t\tw = el.attr( 'data-width' ),\n\t\tnoclick = el.attr( 'data-noclick' );\n\n\n\tlet position = {\n\t\tat : 'left top',\t\t// position of wp-pointer relative to the element which triggers the pointer event\n\t\tmy : 'right top',\t// position of wp-pointer relative to the at-coordinates\n\t\tedge : 'right',\t\t// position of arrow\n\t};\n\n\tlet width = w ? w : 250;\n\n\tif ( 'right' === pos ) {\n\t\tposition = {\n\t\t\tat : 'right middle',\n\t\t\tmy : 'left middle',\n\t\t\tedge : 'left'\n\t\t};\n\t}\n\n\tif ( 'right_bottom' === pos ) {\n\t\tposition = {\n\t\t\tat : 'right middle',\n\t\t\tmy : 'left bottom',\n\t\t\tedge : 'none'\n\t\t};\n\t}\n\n\tif ( 'left' === pos ) {\n\t\tposition = {\n\t\t\tat : 'left middle',\n\t\t\tmy : 'right middle',\n\t\t\tedge : 'right'\n\t\t};\n\t}\n\n\tif( pos_edge ){\n\t\tposition.edge = pos_edge;\n\t}\n\n\t// create pointer\n\tel.pointer( {\n\t\tcontent : $( '#' + html ).html(),\n\t\tposition : position,\n\t\tpointerWidth : width,\n\t\t// bug fix. with an arrow on the right side the position of wp-pointer is incorrect. it does not take\n\t\t// into account the padding of the arrow. adding \"wp-pointer-' + position.edge\" will fix that.\n\t\tpointerClass : 'ac-wp-pointer wp-pointer wp-pointer-' + position.edge + (noclick ? ' noclick' : '')\n\t} );\n\n\t// click\n\tif ( !noclick ) {\n\t\tel.click( function() {\n\t\t\tif ( el.hasClass( 'open' ) ) {\n\t\t\t\tel.removeClass( 'open' );\n\t\t\t} else {\n\t\t\t\tel.addClass( 'open' );\n\t\t\t}\n\t\t} );\n\t}\n\n\t// show on hover\n\tel.hover( function() {\n\t\t$( this ).pointer( 'open' );\n\t}, function() {\n\t\tlet el = $( this );\n\t\tsetTimeout( function() {\n\t\t\tif ( !el.hasClass( 'open' ) && $( '.ac-wp-pointer.hover' ).length === 0 ) {\n\t\t\t\tel.pointer( 'close' );\n\t\t\t}\n\t\t}, 100 );\n\n\t} ).on( 'close', function() {\n\t\tif ( !el.hasClass( 'open' ) && $( '.ac-wp-pointer.hover' ).length === 0 ) {\n\t\t\tel.pointer( 'close' );\n\t\t}\n\t} );\n};\n\n/*\n * Help\n *\n * usage: <a href=\"javascript:;\" class=\"help\" data-help=\"tab-2\"></a>\n */\nfunction ac_help( $ ) {\n\t$( 'a.help' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tlet panel = $( '#contextual-help-wrap' );\n\n\t\tpanel.parent().show();\n\t\t$( 'a[href=\"#tab-panel-cpac-' + $( this ).attr( 'data-help' ) + '\"]', panel ).trigger( 'click' );\n\t\tpanel.slideDown( 'fast', function() {\n\t\t\tpanel.focus();\n\t\t} );\n\t} );\n}","let Cookies = require( 'js-cookie' );\n\nexport default class AcSection {\n\n\tconstructor( el ) {\n\t\tthis.element = el;\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tif ( this.element.classList.contains( '-closable' ) ) {\n\t\t\tconst header = this.element.querySelector( '.ac-section__header' );\n\n\t\t\tif ( header ) {\n\t\t\t\theader.addEventListener( 'click', () => {\n\t\t\t\t\tthis.toggle();\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\tif ( this.isStorable() ) {\n\t\t\t\tlet setting = Cookies.get( this.getCookieKey() );\n\n\t\t\t\tif ( setting !== undefined ) {\n\t\t\t\t\t(parseInt( setting ) === 1) ? this.open : this.close();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\n\tgetCookieKey() {\n\t\treturn `ac-section_${this.getSectionId()}`\n\t}\n\n\tgetSectionId() {\n\t\treturn this.element.dataset.section;\n\t}\n\n\tisStorable() {\n\t\treturn typeof this.element.dataset.section !== 'undefined';\n\t}\n\n\ttoggle() {\n\t\tthis.isOpen() ? this.close() : this.open();\n\t}\n\n\tisOpen() {\n\t\treturn !this.element.classList.contains( '-closed' );\n\t}\n\n\topen() {\n\t\tthis.element.classList.remove( '-closed' );\n\t\tif ( this.isStorable() ) {\n\t\t\tCookies.set( this.getCookieKey(), 1 );\n\t\t}\n\t}\n\n\tclose() {\n\t\tthis.element.classList.add( '-closed' );\n\t\tif ( this.isStorable() ) {\n\t\t\tCookies.set( this.getCookieKey(), 0 );\n\t\t}\n\t}\n\n}","class Tooltips {\n\n\tconstructor() {\n\t\tthis.isEnabled = typeof jQuery.fn.qtip !== 'undefined';\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tif ( !this.isEnabled ) {\n\t\t\tconsole.log( 'Tooltips not loaded!' );\n\t\t\treturn;\n\t\t}\n\n\t\tjQuery( '[data-ac-tip]' ).qtip( {\n\t\t\tcontent : {\n\t\t\t\tattr : 'data-ac-tip'\n\t\t\t},\n\t\t\tposition : {\n\t\t\t\tmy : 'top center',\n\t\t\t\tat : 'bottom center'\n\t\t\t},\n\t\t\tstyle : {\n\t\t\t\ttip : true,\n\t\t\t\tclasses : 'qtip-tipsy'\n\t\t\t}\n\t\t} );\n\t}\n\n}\n\nmodule.exports = Tooltips;","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/admin-general.js","webpack:///./js/modules/ac-pointer.js","webpack:///./js/modules/ac-section.js","webpack:///./js/modules/tooltips.js","webpack:///./node_modules/js-cookie/src/js.cookie.js","webpack:///(webpack)/buildin/global.js"],"names":["global","AdminColumns","jQuery","document","ready","$","length","ac_pointers","ac_help","querySelectorAll","forEach","el","AcSection","element","Pointer","hover","addClass","removeClass","trigger","on","Tooltip","ac_pointer","click","e","preventDefault","panel","parent","show","attr","slideDown","focus","settings","getDefaults","init","setInitialized","dataset","ac_pointer_initialized","width","getAttribute","noclick","position","getPosition","hasOwnProperty","isInitialized","pointer","content","getRelatedHTML","pointerWidth","pointerClass","getPointerClass","initEvents","at","my","edge","pos","classes","push","join","related_element","getElementById","innerHTML","hasClass","mouseenter","setTimeout","mouseleave","Cookies","classList","contains","header","querySelector","addEventListener","toggle","isStorable","setting","get","getCookieKey","undefined","parseInt","open","close","getSectionId","section","isOpen","remove","set","add","Tooltips","isEnabled","fn","qtip","console","log","style","tip","module","exports"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;AClFA;;AACA;;AACA;;;;AAEAA,MAAM,CAACC,YAAP,GAAsB,OAAOA,YAAP,KAAwB,WAAxB,GAAsCA,YAAtC,GAAqD,EAA3E;AAEAC,MAAM,CAAEC,QAAF,CAAN,CAAmBC,KAAnB,CAA0B,UAAUC,CAAV,EAAc;AACvC,MAAKA,CAAC,CAAE,OAAF,CAAD,CAAaC,MAAb,KAAwB,CAA7B,EAAiC;AAChC,WAAO,KAAP;AACA;;AAEDC,aAAW;AACXC,SAAO,CAAEH,CAAF,CAAP;AAEAF,UAAQ,CAACM,gBAAT,CAA2B,aAA3B,EAA2CC,OAA3C,CAAoD,UAAAC,EAAE,EAAI;AACzD,QAAIC,kBAAJ,CAAeD,EAAf;AACA,GAFD;AAGA,CAXD;AAaA;;;;;AAIAX,MAAM,CAACO,WA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xC;AACA,qEAAqE;AACrE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,2DAA2D;AAC3D;;AAEA,SAAS,oBAAoB;AAC7B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;;AAEA;;AAEA;AACA;;AAEA,2BAA2B;AAC3B,CAAC;;;;;;;;;;;;AClKD;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C","file":"admin-general.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/admin-general.js\");\n","import Tooltip from \"./modules/tooltips\";\nimport AcSection from \"./modules/ac-section\";\nimport Pointer from \"./modules/ac-pointer\";\n\nglobal.AdminColumns = typeof AdminColumns !== \"undefined\" ? AdminColumns : {};\n\njQuery( document ).ready( function( $ ) {\n\tif ( $( '#cpac' ).length === 0 ) {\n\t\treturn false;\n\t}\n\n\tac_pointers();\n\tac_help( $ );\n\n\tdocument.querySelectorAll( '.ac-section' ).forEach( el => {\n\t\tnew AcSection( el );\n\t} );\n} );\n\n/*\n * WP Pointer\n *\n */\nglobal.ac_pointers = function() {\n\tlet $ = jQuery;\n\tdocument.querySelectorAll( '.ac-pointer' ).forEach( element => {\n\t\tnew Pointer( element );\n\t} );\n\n\t$( '.ac-wp-pointer' ).hover( function() {\n\t\t$( this ).addClass( 'hover' );\n\t}, function() {\n\t\t$( this ).removeClass( 'hover' );\n\t\t$( '.ac-pointer' ).trigger( 'close' );\n\t} ).on( 'click', '.close', function() {\n\t\t$( '.ac-pointer' ).removeClass( 'open' );\n\t} );\n\n\tnew Tooltip();\n};\n\nglobal.ac_pointer = function( el ) {\n\tnew Pointer( el );\n};\n\n/*\n * Help\n *\n * usage: <a href=\"javascript:;\" class=\"help\" data-help=\"tab-2\"></a>\n */\nfunction ac_help( $ ) {\n\t$( 'a.help' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tlet panel = $( '#contextual-help-wrap' );\n\n\t\tpanel.parent().show();\n\t\t$( 'a[href=\"#tab-panel-cpac-' + $( this ).attr( 'data-help' ) + '\"]', panel ).trigger( 'click' );\n\t\tpanel.slideDown( 'fast', function() {\n\t\t\tpanel.focus();\n\t\t} );\n\t} );\n}","export default class Pointer {\n\n\tconstructor( el ) {\n\t\tthis.el = el;\n\t\tthis.settings = this.getDefaults();\n\t\tthis.init();\n\n\t\tthis.setInitialized();\n\t}\n\n\tsetInitialized() {\n\t\tthis.el.dataset.ac_pointer_initialized = 1;\n\t}\n\n\tgetDefaults() {\n\t\treturn {\n\t\t\twidth : this.el.getAttribute( 'data-width' ) ? this.el.getAttribute( 'data-width' ) : 250,\n\t\t\tnoclick : this.el.getAttribute( 'data-noclick' ) ? this.el.getAttribute( 'data-noclick' ) : false,\n\t\t\tposition : this.getPosition()\n\t\t}\n\t}\n\n\tisInitialized() {\n\t\treturn this.el.dataset.hasOwnProperty( 'ac_pointer_initialized' );\n\t}\n\n\tinit() {\n\t\tif ( this.isInitialized() ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// create pointer\n\t\tjQuery( this.el ).pointer( {\n\t\t\tcontent : this.getRelatedHTML(),\n\t\t\tposition : this.settings.position,\n\t\t\tpointerWidth : this.settings.width,\n\t\t\tpointerClass : this.getPointerClass()\n\t\t} );\n\n\t\tthis.initEvents();\n\t}\n\n\tgetPosition() {\n\t\tlet position = {\n\t\t\tat : 'left top',\t\t// position of wp-pointer relative to the element which triggers the pointer event\n\t\t\tmy : 'right top',\t// position of wp-pointer relative to the at-coordinates\n\t\t\tedge : 'right',\t\t// position of arrow\n\t\t};\n\n\t\tlet pos = this.el.getAttribute( 'data-pos' );\n\t\tlet edge = this.el.getAttribute( 'data-pos_edge' );\n\n\t\tif ( 'right' === pos ) {\n\t\t\tposition = {\n\t\t\t\tat : 'right middle',\n\t\t\t\tmy : 'left middle',\n\t\t\t\tedge : 'left'\n\t\t\t};\n\t\t}\n\n\t\tif ( 'right_bottom' === pos ) {\n\t\t\tposition = {\n\t\t\t\tat : 'right middle',\n\t\t\t\tmy : 'left bottom',\n\t\t\t\tedge : 'none'\n\t\t\t};\n\t\t}\n\n\t\tif ( 'left' === pos ) {\n\t\t\tposition = {\n\t\t\t\tat : 'left middle',\n\t\t\t\tmy : 'right middle',\n\t\t\t\tedge : 'right'\n\t\t\t};\n\t\t}\n\n\t\tif ( edge ) {\n\t\t\tposition.edge = edge;\n\t\t}\n\n\t\treturn position;\n\n\t}\n\n\tgetPointerClass() {\n\t\tlet classes = [\n\t\t\t'ac-wp-pointer',\n\t\t\t'wp-pointer',\n\t\t\t'wp-pointer-' + this.settings.position.edge\n\t\t];\n\n\t\tif ( this.settings.noclick ) {\n\t\t\tclasses.push( 'noclick' );\n\t\t}\n\n\t\treturn classes.join( ' ' );\n\t}\n\n\tgetRelatedHTML() {\n\t\tlet related_element = document.getElementById( this.el.getAttribute( 'rel' ) );\n\n\t\treturn related_element ? related_element.innerHTML : ''\n\t}\n\n\tinitEvents() {\n\t\tlet el = jQuery( this.el );\n\n\t\t// click\n\t\tif ( !this.settings.noclick ) {\n\t\t\tel.click( function() {\n\t\t\t\tif ( el.hasClass( 'open' ) ) {\n\t\t\t\t\tel.removeClass( 'open' );\n\t\t\t\t} else {\n\t\t\t\t\tel.addClass( 'open' );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\tel.click( function() {\n\t\t\tel.pointer( 'open' );\n\t\t} );\n\n\t\tel.mouseenter( function() {\n\t\t\tel.pointer( 'open' );\n\t\t\tsetTimeout( () => {\n\t\t\t\tel.pointer( 'open' );\n\t\t\t}, 2 );\n\t\t} );\n\n\t\tel.mouseleave( function() {\n\t\t\tsetTimeout( () => {\n\t\t\t\tif ( !el.hasClass( 'open' ) && jQuery( '.ac-wp-pointer.hover' ).length === 0 ) {\n\t\t\t\t\tel.pointer( 'close' );\n\t\t\t\t}\n\t\t\t}, 1 );\n\t\t} );\n\n\t\tel.on( 'close', () => {\n\t\t\tsetTimeout( () => {\n\t\t\t\tif ( !el.hasClass( 'open' ) ) {\n\t\t\t\t\tel.pointer( 'close' );\n\t\t\t\t}\n\t\t\t} )\n\t\t} );\n\t}\n}","let Cookies = require( 'js-cookie' );\n\nexport default class AcSection {\n\n\tconstructor( el ) {\n\t\tthis.element = el;\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tif ( this.element.classList.contains( '-closable' ) ) {\n\t\t\tconst header = this.element.querySelector( '.ac-section__header' );\n\n\t\t\tif ( header ) {\n\t\t\t\theader.addEventListener( 'click', () => {\n\t\t\t\t\tthis.toggle();\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\tif ( this.isStorable() ) {\n\t\t\t\tlet setting = Cookies.get( this.getCookieKey() );\n\n\t\t\t\tif ( setting !== undefined ) {\n\t\t\t\t\t(parseInt( setting ) === 1) ? this.open : this.close();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\n\tgetCookieKey() {\n\t\treturn `ac-section_${this.getSectionId()}`\n\t}\n\n\tgetSectionId() {\n\t\treturn this.element.dataset.section;\n\t}\n\n\tisStorable() {\n\t\treturn typeof this.element.dataset.section !== 'undefined';\n\t}\n\n\ttoggle() {\n\t\tthis.isOpen() ? this.close() : this.open();\n\t}\n\n\tisOpen() {\n\t\treturn !this.element.classList.contains( '-closed' );\n\t}\n\n\topen() {\n\t\tthis.element.classList.remove( '-closed' );\n\t\tif ( this.isStorable() ) {\n\t\t\tCookies.set( this.getCookieKey(), 1 );\n\t\t}\n\t}\n\n\tclose() {\n\t\tthis.element.classList.add( '-closed' );\n\t\tif ( this.isStorable() ) {\n\t\t\tCookies.set( this.getCookieKey(), 0 );\n\t\t}\n\t}\n\n}","class Tooltips {\n\n\tconstructor() {\n\t\tthis.isEnabled = typeof jQuery.fn.qtip !== 'undefined';\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tif ( !this.isEnabled ) {\n\t\t\tconsole.log( 'Tooltips not loaded!' );\n\t\t\treturn;\n\t\t}\n\n\t\tjQuery( '[data-ac-tip]' ).qtip( {\n\t\t\tcontent : {\n\t\t\t\tattr : 'data-ac-tip'\n\t\t\t},\n\t\t\tposition : {\n\t\t\t\tmy : 'top center',\n\t\t\t\tat : 'bottom center'\n\t\t\t},\n\t\t\tstyle : {\n\t\t\t\ttip : true,\n\t\t\t\tclasses : 'qtip-tipsy'\n\t\t\t}\n\t\t} );\n\t}\n\n}\n\nmodule.exports = Tooltips;","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n"],"sourceRoot":""}
assets/js/admin-page-addons.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=108)}({108:function(e,t,n){"use strict";(function(e){var t=function(e){return e&&e.__esModule?e:{default:e}}(n(109));function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n(63);var o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t,this.slug=n,this.loadingState=!1,this.initEvents()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"getDownloadButton",value:function(){return this.element.querySelector("[data-install]")}},{key:"setLoadingState",value:function(){var e=this.getDownloadButton();e&&(e.insertAdjacentHTML("afterend",'<span class="spinner" style="visibility: visible;"></span>'),e.classList.add("button-disabled")),this.loadingState=!0}},{key:"removeLoadingState",value:function(){var e=this.getDownloadButton(),t=this.element.querySelector(".spinner");t&&t.remove(),e&&e.classList.remove("button-disabled"),this.loadingState=!1}},{key:"initEvents",value:function(){var e=this,t=this.getDownloadButton();t&&t.addEventListener("click",function(t){t.preventDefault(),e.loadingState||(e.setLoadingState(),e.download())})}},{key:"success",value:function(e){var n=this.getDownloadButton(),i=this.element.querySelector("h3"),o=new t.default;o.setMessage("<p>The Add-on <strong>".concat(i.innerHTML,"</strong> is installed.</p>")).makeDismissable().addClass("updated"),document.querySelector(".ac-addons").insertAdjacentElement("beforebegin",o.render()),n&&(n.insertAdjacentHTML("beforebegin",'<span class="active">'.concat(e,"</span>")),n.remove())}},{key:"failure",value:function(n){var i=this.element.querySelector("h3"),o=new t.default;o.setMessage("<p><strong>".concat(i.innerHTML,"</strong>: ").concat(n,"</p>")).makeDismissable().addClass("notice-error"),document.querySelector(".ac-addons").insertAdjacentElement("beforebegin",o.render()),e.scrollToTop(200)}},{key:"download",value:function(){var e=this;this.request().done(function(t){e.removeLoadingState(),t.success?e.success(t.data.status):e.failure(t.data)})}},{key:"request",value:function(){var e={action:"acp-install-addon",plugin_name:this.slug,_ajax_nonce:AC.ajax_nonce};return jQuery.ajax({url:ajaxurl,method:"post",data:e})}}],[{key:"scrollToTop",value:function(e){jQuery("html, body").animate({scrollTop:0},e)}}]),e}();document.addEventListener("DOMContentLoaded",function(){e.AC_Addons=[],document.querySelectorAll(".ac-addon").forEach(function(e){AC_Addons[e.dataset.slug]=new o(e,e.dataset.slug)})})}).call(this,n(20))},109:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=document.createElement("div"),this.element.classList.add("notice")}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"setMessage",value:function(e){return this.message=e,this}},{key:"renderDimiss",value:function(){var e=this,t=document.createElement("button");t.classList.add("notice-dismiss"),t.setAttribute("type","button"),t.insertAdjacentHTML("beforeend",'<span class="screen-reader-text">Dismiss this notice.</span>'),t.addEventListener("click",function(t){t.preventDefault(),e.element.remove()}),this.element.classList.add("is-dismissible"),this.element.insertAdjacentElement("beforeend",t)}},{key:"renderContent",value:function(){this.element.insertAdjacentHTML("afterbegin",this.message)}},{key:"makeDismissable",value:function(){return this.dismissible=!0,this}},{key:"addClass",value:function(e){return this.element.classList.add(e),this}},{key:"render",value:function(){return this.element.innerHTML="",this.renderContent(),this.dismissible&&this.renderDimiss(),this.element}}]),e}();t.default=o},20:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},63:function(e,t){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach)}});
1
+ !function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=116)}({116:function(e,t,n){"use strict";(function(e){var t=function(e){return e&&e.__esModule?e:{default:e}}(n(117));function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n(64);var o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t,this.slug=n,this.loadingState=!1,this.initEvents()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"getDownloadButton",value:function(){return this.element.querySelector("[data-install]")}},{key:"setLoadingState",value:function(){var e=this.getDownloadButton();e&&(e.insertAdjacentHTML("afterend",'<span class="spinner" style="visibility: visible;"></span>'),e.classList.add("button-disabled")),this.loadingState=!0}},{key:"removeLoadingState",value:function(){var e=this.getDownloadButton(),t=this.element.querySelector(".spinner");t&&t.remove(),e&&e.classList.remove("button-disabled"),this.loadingState=!1}},{key:"initEvents",value:function(){var e=this,t=this.getDownloadButton();t&&t.addEventListener("click",function(t){t.preventDefault(),e.loadingState||(e.setLoadingState(),e.download())})}},{key:"success",value:function(e){var n=this.getDownloadButton(),i=this.element.querySelector("h3"),o=new t.default;o.setMessage("<p>The Add-on <strong>".concat(i.innerHTML,"</strong> is installed.</p>")).makeDismissable().addClass("updated"),document.querySelector(".ac-addons").insertAdjacentElement("beforebegin",o.render()),n&&(n.insertAdjacentHTML("beforebegin",'<span class="active">'.concat(e,"</span>")),n.remove())}},{key:"failure",value:function(n){var i=this.element.querySelector("h3"),o=new t.default;o.setMessage("<p><strong>".concat(i.innerHTML,"</strong>: ").concat(n,"</p>")).makeDismissable().addClass("notice-error"),document.querySelector(".ac-addons").insertAdjacentElement("beforebegin",o.render()),e.scrollToTop(200)}},{key:"download",value:function(){var e=this;this.request().done(function(t){e.removeLoadingState(),t.success?e.success(t.data.status):e.failure(t.data)})}},{key:"request",value:function(){var e={action:"acp-install-addon",plugin_name:this.slug,_ajax_nonce:AC.ajax_nonce};return jQuery.ajax({url:ajaxurl,method:"post",data:e})}}],[{key:"scrollToTop",value:function(e){jQuery("html, body").animate({scrollTop:0},e)}}]),e}();document.addEventListener("DOMContentLoaded",function(){e.AC_Addons=[],document.querySelectorAll(".ac-addon").forEach(function(e){AC_Addons[e.dataset.slug]=new o(e,e.dataset.slug)})})}).call(this,n(20))},117:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=document.createElement("div"),this.element.classList.add("notice")}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"setMessage",value:function(e){return this.message=e,this}},{key:"renderDimiss",value:function(){var e=this,t=document.createElement("button");t.classList.add("notice-dismiss"),t.setAttribute("type","button"),t.insertAdjacentHTML("beforeend",'<span class="screen-reader-text">Dismiss this notice.</span>'),t.addEventListener("click",function(t){t.preventDefault(),e.element.remove()}),this.element.classList.add("is-dismissible"),this.element.insertAdjacentElement("beforeend",t)}},{key:"renderContent",value:function(){this.element.insertAdjacentHTML("afterbegin",this.message)}},{key:"makeDismissable",value:function(){return this.dismissible=!0,this}},{key:"addClass",value:function(e){return this.element.classList.add(e),this}},{key:"render",value:function(){return this.element.innerHTML="",this.renderContent(),this.dismissible&&this.renderDimiss(),this.element}}]),e}();t.default=o},20:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},64:function(e,t){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach)}});
assets/js/admin-page-columns.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=79)}([function(e,t,n){var i=n(27)("wks"),r=n(12),o=n(1).Symbol,s="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))}).store=i},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){e.exports=!n(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var i=n(16),r=n(42)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(26)("find")},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var i=n(7),r=n(21);e.exports=n(2)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(1),r=n(5),o=n(11),s=n(12)("src"),a=Function.toString,u=(""+a).split("toString");n(9).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,s)||r(n,s,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(e,t,n){var i=n(10),r=n(34),o=n(35),s=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(4);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(41);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(1),r=n(9),o=n(5),s=n(6),a=n(14),u=function(e,t,n){var c,l,f,d,h=e&u.F,p=e&u.G,v=e&u.S,m=e&u.P,y=e&u.B,g=p?i:v?i[t]||(i[t]={}):(i[t]||{}).prototype,b=p?r:r[t]||(r[t]={}),_=b.prototype||(b.prototype={});for(c in p&&(n=t),n)f=((l=!h&&g&&void 0!==g[c])?g:n)[c],d=y&&l?a(f,i):m&&"function"==typeof f?a(Function.call,f):f,g&&s(g,c,f,e&u.U),b[c]!=f&&o(b,c,d),m&&_[c]!=f&&(_[c]=f)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,n){"use strict";var i=n(26),r=n(49),o=n(18),s=n(22);e.exports=n(40)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t){e.exports={}},function(e,t,n){var i=n(15);e.exports=function(e){return Object(i(e))}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(30),r=n(15);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(24),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){for(var i=n(17),r=n(31),o=n(6),s=n(1),a=n(5),u=n(18),c=n(0),l=c("iterator"),f=c("toStringTag"),d=u.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(h),v=0;v<p.length;v++){var m,y=p[v],g=h[y],b=s[y],_=b&&b.prototype;if(_&&(_[l]||a(_,l,d),_[f]||a(_,f,y),u[y]=d,g))for(m in i)_[m]||o(_,m,i[m],!0)}},function(e,t,n){var i=n(0)("unscopables"),r=Array.prototype;void 0==r[i]&&n(5)(r,i,{}),e.exports=function(e){r[i][e]=!0}},function(e,t,n){var i=n(9),r=n(1),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(28)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,n){var i=n(4),r=n(1).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(13);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(51),r=n(36);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(27)("keys"),r=n(12);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){"use strict";var i=n(52),r={};r[n(0)("toStringTag")]="z",r+""!="[object z]"&&n(6)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(e,t,n){e.exports=!n(2)&&!n(8)(function(){return 7!=Object.defineProperty(n(29)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(4);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(7).f,r=n(11),o=n(0)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(19),r=n(31);n(61)("keys",function(){return function(e){return r(i(e))}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){return e&&e.__esModule?e:{default:e}}(n(48));function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.number=1}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(e,[{key:"register",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t||(t="m"+this.number),this.modals[t]=e,this.number++,e}},{key:"get",value:function(e){return!!this.modals[e]&&this.modals[e]}}],[{key:"init",value:function(){return void 0===AdminColumns.Modals&&(AdminColumns.Modals=new this,AdminColumns.Modals._abstract={modal:i.default}),AdminColumns.Modals}}]),e}();t.default=o},function(e,t,n){"use strict";var i=n(28),r=n(16),o=n(6),s=n(5),a=n(18),u=n(55),c=n(37),l=n(60),f=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,v,m,y){u(n,t,p);var g,b,_,k=function(e){if(!d&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",C="values"==v,j=!1,x=e.prototype,S=x[f]||x["@@iterator"]||v&&x[v],E=S||k(v),A=v?C?k("entries"):E:void 0,O="Array"==t&&x.entries||S;if(O&&(_=l(O.call(new e)))!==Object.prototype&&_.next&&(c(_,w,!0),i||"function"==typeof _[f]||s(_,f,h)),C&&S&&"values"!==S.name&&(j=!0,E=function(){return S.call(this)}),i&&!y||!d&&!j&&x[f]||s(x,f,E),a[t]=E,a[w]=h,v)if(g={values:C?E:k("values"),keys:m?E:k("keys"),entries:A},y)for(b in g)b in x||o(x,b,g[b]);else r(r.P+r.F*(d||j),t,g);return g}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(14),r=n(30),o=n(19),s=n(23),a=n(43);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,d=5==e||f,h=t||a;return function(t,a,p){for(var v,m,y=o(t),g=r(y),b=i(a,p,3),_=s(g.length),k=0,w=n?h(t,_):u?h(t,0):void 0;_>k;k++)if((d||k in g)&&(m=b(v=g[k],k,y),e))if(n)w[k]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:w.push(v)}else if(l)return!1;return f?-1:c||l?l:w}}},function(e,t,n){var i=n(44);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(4),r=n(45),o=n(0)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(13);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(7).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(2)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){n(53)("replace",2,function(e,t,n){return[function(i,r){"use strict";var o=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},n]})},function(e,t,n){"use strict";var i=function(e){return e&&e.__esModule?e:{default:e}}(n(39));function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t&&(this.el=t,this.dialog=t.querySelector(".ac-modal__dialog"),this.initEvents())}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(e,[{key:"initEvents",value:function(){var t=this,n=this;document.addEventListener("keydown",function(e){var n=event.key;t.isOpen()&&"Escape"===n&&t.close()});var i=this.el.querySelectorAll('[data-dismiss="modal"], .ac-modal__dialog__close');i.length>0&&i.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),n.close()})}),this.el.addEventListener("click",function(){n.close()}),this.el.querySelector(".ac-modal__dialog").addEventListener("click",function(e){e.stopPropagation()}),void 0===document.querySelector("body").dataset.ac_modal_init&&(e.initGlobalEvents(),document.querySelector("body").dataset.ac_modal_init=1),this.el.AC_MODAL=n}},{key:"isOpen",value:function(){return this.el.classList.contains("-active")}},{key:"close",value:function(){this.onClose(),this.el.classList.remove("-active")}},{key:"open",value:function(){this.onOpen(),this.el.removeAttribute("style"),this.el.classList.add("-active")}},{key:"destroy",value:function(){this.el.remove()}},{key:"onClose",value:function(){}},{key:"onOpen",value:function(){}}],[{key:"initGlobalEvents",value:function(){jQuery(document).on("click","[data-ac-open-modal]",function(e){e.preventDefault();var t=e.target.dataset.acOpenModal,n=document.querySelector(t);n&&n.AC_MODAL&&n.AC_MODAL.open()}),jQuery(document).on("click","[data-ac-modal]",function(e){e.preventDefault();var t=jQuery(this).data("ac-modal");i.default.init().get(t)&&i.default.init().get(t).open()})}}]),e}();e.exports=o},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var i=n(10),r=n(56),o=n(36),s=n(32)("IE_PROTO"),a=function(){},u=function(){var e,t=n(29)("iframe"),i=o.length;for(t.style.display="none",n(59).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;i--;)delete u.prototype[o[i]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=i(e),n=new a,a.prototype=null,n[s]=e):n=u(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(11),r=n(22),o=n(57)(!1),s=n(32)("IE_PROTO");e.exports=function(e,t){var n,a=r(e),u=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;t.length>u;)i(a,n=t[u++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var i=n(13),r=n(0)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:o?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";var i=n(5),r=n(6),o=n(8),s=n(15),a=n(0);e.exports=function(e,t,n){var u=a(e),c=n(s,u,""[e]),l=c[0],f=c[1];o(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,l),i(RegExp.prototype,u,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isEnabled=void 0!==jQuery.fn.qtip,this.init()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){this.isEnabled?jQuery("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}):console.log("Tooltips not loaded!")}}]),e}();e.exports=r},function(e,t,n){"use strict";var i=n(50),r=n(21),o=n(37),s={};n(5)(s,n(0)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(7),r=n(10),o=n(31);e.exports=n(2)?Object.defineProperties:function(e,t){r(e);for(var n,s=o(t),a=s.length,u=0;a>u;)i.f(e,n=s[u++],t[n]);return e}},function(e,t,n){var i=n(22),r=n(23),o=n(58);e.exports=function(e){return function(t,n,s){var a,u=i(t),c=r(u.length),l=o(s,c);if(e&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var i=n(24),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(1).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(11),r=n(19),o=n(32)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var i=n(16),r=n(9),o=n(8);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(e,t){function n(e,t){if(!e)throw new Error(t||"AssertionError")}n.notEqual=function(e,t,i){n(e!=t,i)},n.notOk=function(e,t){n(!e,t)},n.equal=function(e,t,i){n(e==t,i)},n.ok=n,e.exports=n},function(e,t){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach)},,function(e,t,n){var i=n(82),r=n(83),o=n(62);function s(e){if(!(this instanceof s))return new s(e);this._name=e||"nanobus",this._starListeners=[],this._listeners={}}e.exports=s,s.prototype.emit=function(e){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.emit: eventName should be type string or symbol");for(var t=[],n=1,i=arguments.length;n<i;n++)t.push(arguments[n]);var s=r(this._name+"('"+e.toString()+"')"),a=this._listeners[e];return a&&a.length>0&&this._emit(this._listeners[e],t),this._starListeners.length>0&&this._emit(this._starListeners,e,t,s.uuid),s(),this},s.prototype.on=s.prototype.addListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.on: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.on: listener should be type function"),"*"===e?this._starListeners.push(t):(this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)),this},s.prototype.prependListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.prependListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.prependListener: listener should be type function"),"*"===e?this._starListeners.unshift(t):(this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].unshift(t)),this},s.prototype.once=function(e,t){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.once: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.once: listener should be type function");var n=this;return this.on(e,function i(){t.apply(n,arguments);n.removeListener(e,i)}),this},s.prototype.prependOnceListener=function(e,t){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.prependOnceListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.prependOnceListener: listener should be type function");var n=this;return this.prependListener(e,function i(){t.apply(n,arguments);n.removeListener(e,i)}),this},s.prototype.removeListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.removeListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.removeListener: listener should be type function"),"*"===e?(this._starListeners=this._starListeners.slice(),n(this._starListeners,t)):(void 0!==this._listeners[e]&&(this._listeners[e]=this._listeners[e].slice()),n(this._listeners[e],t));function n(e,t){if(e){var n=e.indexOf(t);return-1!==n?(i(e,n,1),!0):void 0}}},s.prototype.removeAllListeners=function(e){return e?"*"===e?this._starListeners=[]:this._listeners[e]=[]:(this._starListeners=[],this._listeners={}),this},s.prototype.listeners=function(e){var t="*"!==e?this._listeners[e]:this._starListeners,n=[];if(t)for(var i=t.length,r=0;r<i;r++)n.push(t[r]);return n},s.prototype._emit=function(e,t,n,i){if(void 0!==e&&0!==e.length){void 0===n&&(n=t,t=null),t&&(n=void 0!==i?[t].concat(n,i):[t].concat(n));for(var r=e.length,o=0;o<r;o++){var s=e[o];s.apply(s,n)}}}},,,,,,,,,,,,,,function(e,t,n){e.exports=n(80)},function(e,t,n){"use strict";(function(e){n(25),n(17),n(33),n(38),n(3);var t=S(n(81)),i=S(n(85)),r=S(n(39)),o=S(n(87)),s=S(n(48)),a=S(n(88)),u=S(n(89)),c=S(n(54)),l=S(n(90)),f=S(n(91)),d=S(n(92)),h=S(n(93)),p=S(n(94)),v=S(n(95)),m=S(n(96)),y=S(n(97)),g=S(n(98)),b=S(n(99)),_=S(n(100)),k=S(n(101)),w=S(n(102)),C=S(n(103)),j=S(n(104)),x=S(n(105));function S(e){return e&&e.__esModule?e:{default:e}}n(106),n(63),e.AdminColumns="undefined"!=typeof AdminColumns?AdminColumns:{};var E=$=n(107);AC.Column=new o.default,AdminColumns.Column=AC.Column,E(document).on("AC_Form_Loaded",function(){AdminColumns.Tooltips=new c.default,AdminColumns.Column.registerEvent("toggle",l.default).registerEvent("remove",f.default).registerEvent("clone",d.default).registerEvent("refresh",h.default).registerEvent("type_selector",p.default).registerEvent("indicator",v.default).registerEvent("label",m.default.label).registerEvent("label_setting",m.default.setting).registerEvent("addons",y.default).registerSetting("date",_.default).registerSetting("image_size",g.default).registerSetting("pro",k.default).registerSetting("sub_setting_toggle",b.default).registerSetting("width",w.default).registerSetting("customfield",j.default).registerSetting("number_format",x.default).registerSetting("label",C.default)}),E(document).ready(function(){AC.Form=new i.default("#listscreen_settings"),AdminColumns.Form=AC.Form,r.default.init().register(new s.default(document.querySelector("#ac-modal-pro")),"pro"),(new a.default).init(),new u.default(".sidebox#direct-feedback"),E(document).on("AC_Column_Change",function(e,t){t.$el.find(".ac-pointer").each(function(){ac_pointer(E(this))})}),E(document).on("AC_Column_Created",function(e,t){setTimeout(function(){t.$el.find(".ac-pointer").each(function(){ac_pointer(E(this))})},100)}),AC.hasOwnProperty("uninitialized_list_screens")&&Object.keys(AC.uninitialized_list_screens).length>0&&new t.default(AC.uninitialized_list_screens)})}).call(this,n(20))},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(25),n(17),n(33),n(38);var s=n(65),a=function(){function e(t){i(this,e),this.list_screens=t,this.processing=[],this.errors=[],this.events=s()}return o(e,[{key:"initListScreen",value:function(e){return jQuery.ajax({url:e.screen_link,method:"get"})}},{key:"run",value:function(){var e=this;Object.keys(this.list_screens).forEach(function(t){e.processListScreen(e.list_screens[t])})}},{key:"getNextItem",value:function(){return this.list_screens.shift()}},{key:"checkFinish",value:function(){Object.keys(this.processing).length>0||(Object.keys(this.errors).length>0?this.events.emit("error"):this.events.emit("success"))}},{key:"processListScreen",value:function(e){var t=this;this.processing.push(e.label),this.initListScreen(e).done(function(n){t.processing.shift(),"1"!==n&&t.errors.push(e),t.checkFinish()}).error(function(){t.processing.shift(),t.errors.push(e)})}}]),e}(),u=function(){function e(t){i(this,e),this.list_screens=t,this.run()}return o(e,[{key:"run",value:function(){if(Object.keys(this.list_screens).length>0){if(this.list_screens.hasOwnProperty(AC.list_screen)){var e=new a([this.list_screens[AC.list_screen]]);e.run(),e.events.on("error",function(){var e=document.querySelector(".ac-notice.visit-ls"),t=document.querySelector(".ac-loading-msg-wrapper"),n=document.querySelector(".menu");e&&(e.style.display="block"),t&&t.remove(),n&&n.classList.remove("hidden")}),e.events.on("success",function(){location.reload(!0)})}new a(this.list_screens).run()}}}]),e}();t.default=u},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r=e.length;if(!(t>=r||0===n)){var o=r-(n=t+n>r?r-t:n);for(i=t;i<o;++i)e[i]=e[i+n];e.length=o}}},function(e,t,n){var i,r=n(84)(),o=n(62);s.disabled=!0;try{i=window.performance,s.disabled="true"===window.localStorage.DISABLE_NANOTIMING||!i.mark}catch(e){}function s(e){if(o.equal(typeof e,"string","nanotiming: name should be type string"),s.disabled)return a;var t=(1e4*i.now()).toFixed()%Number.MAX_SAFE_INTEGER,n="start-"+t+"-"+e;function u(o){var s="end-"+t+"-"+e;i.mark(s),r.push(function(){var r=null;try{var a=e+" ["+t+"]";i.measure(a,n,s),i.clearMarks(n),i.clearMarks(s)}catch(e){r=e}o&&o(r,e)})}return i.mark(n),u.uuid=t,u}function a(e){e&&r.push(function(){e(new Error("nanotiming: performance API unavailable"))})}e.exports=s},function(e,t,n){var i=n(62),r="undefined"!=typeof window;function o(e){this.hasWindow=e,this.hasIdle=this.hasWindow&&window.requestIdleCallback,this.method=this.hasIdle?window.requestIdleCallback.bind(window):this.setTimeout,this.scheduled=!1,this.queue=[]}o.prototype.push=function(e){i.equal(typeof e,"function","nanoscheduler.push: cb should be type function"),this.queue.push(e),this.schedule()},o.prototype.schedule=function(){if(!this.scheduled){this.scheduled=!0;var e=this;this.method(function(t){for(;e.queue.length&&t.timeRemaining()>0;)e.queue.shift()(t);e.scheduled=!1,e.queue.length&&e.schedule()})}},o.prototype.setTimeout=function(e){setTimeout(e,0,{timeRemaining:function(){return 1}})},e.exports=function(){var e;return r?(window._nanoScheduler||(window._nanoScheduler=new o(!0)),e=window._nanoScheduler):e=new o,e}},function(e,t,n){"use strict";n(46),n(25),n(17),n(33),n(38),n(3);var i=function(e){return e&&e.__esModule?e:{default:e}}(n(86));function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.form=t,this.$form=jQuery(t),this.$column_container=this.$form.find(".ac-columns"),this.$container=jQuery("#cpac .ac-admin"),this.columns={},this._validators=[],jQuery(document).trigger("AC_Form_Loaded"),this.init()}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(e,[{key:"init",value:function(){this.initColumns(),this.bindFormEvents(),this.bindOrdering(),this.$form.hasClass("-disabled")&&this.disableFields(),jQuery(document).trigger("AC_Form_Ready",this)}},{key:"bindOrdering",value:function(){this.$form.hasClass("ui-sortable")?this.$form.sortable("refresh"):this.$form.sortable({items:".ac-column",handle:".column_sort"})}},{key:"originalColumns",value:function(){var e=this,t=[];return Object.keys(e.columns).forEach(function(n){var i=e.columns[n];i.isOriginal()&&t.push(i.type)}),t}},{key:"validateForm",value:function(){var e=this,t=!0;return this._validators.forEach(function(n){t=n.call(e,e)}),t}},{key:"addValidator",value:function(e){this._validators.push(e)}},{key:"bindFormEvents",value:function(){var e=this,t=jQuery(".sidebox a.submit, .column-footer a.submit");t.on("click",function(){e.validateForm()&&(t.attr("disabled","disabled"),e.submitForm().always(function(){t.removeAttr("disabled","disabled")}))}),e.$container.find(".add_column").on("click",function(){e.addColumn()});var n=jQuery("#cpac .ac-boxes");n.hasClass("disabled")&&n.find(".ac-column").each(function(e,t){jQuery(t).data("column").disable(),jQuery(t).find("input, select").prop("disabled",!0)}),jQuery("a[data-clear-columns]").on("click",function(){e.resetColumns()})}},{key:"initColumns",value:function(){var e=this;e.columns={},this.$form.find(".ac-column").each(function(){var t=jQuery(this),n=new i.default(t);n.bindEvents(),t.data("column",n),e.columns[n.name]=n})}},{key:"reindexColumns",value:function(){var e=this;e.columns={},this.$form.find(".ac-column").each(function(){var t=jQuery(this).data("column");e.columns[t.name]=t})}},{key:"resetColumns",value:function(){var e=this;Object.keys(this.columns).forEach(function(t){e.columns[t].destroy()})}},{key:"serialize",value:function(){return this.$form.serialize()}},{key:"disableFields",value:function(){var e=document.querySelector(this.form);if(e)for(var t=e.elements,n=0;n<t.length;n++)t[n].readOnly=!0,t[n].setAttribute("disabled",!0)}},{key:"enableFields",value:function(){}},{key:"submitForm",value:function(){var e=this,t=jQuery.post(ajaxurl,{action:"ac-columns",id:"save",_ajax_nonce:AC._ajax_nonce,data:this.serialize()},function(t){t&&(t.success?(e.showMessage(t.data,"updated"),e.$container.addClass("stored")):t.data&&e.showMessage(t.data.message,"notice notice-warning"))},"json");return t.fail(function(t){e.showMessage(AC.i18n.errors.save_settings,"notice notice-warning")}),jQuery(document).trigger("AC_Form_AfterUpdate",[e.$container]),t}},{key:"showMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"updated",n=jQuery('<div class="ac-message hidden '+t+'"><p>'+e+"</p></div>");this.$container.find(".ac-message").stop().remove(),this.$container.find(".ac-left").prepend(n),n.slideDown()}},{key:"cloneColumn",value:function(e){return this._addColumnToForm(new i.default(e).clone(),e.hasClass("opened"))}},{key:"addColumn",value:function(){var e=jQuery("#add-new-column-template").find(".ac-column").clone(),t=new i.default(e).create();return this._addColumnToForm(t)}},{key:"removeColumn",value:function(e){this.columns[e]&&(this.columns[e].remove(),delete this.columns[e])}},{key:"getListScreen",value:function(){return this.$form.find('input[name="list_screen"]').val()}},{key:"getListScreenID",value:function(){return this.$form.find('input[name="list_screen_id"]').val()}},{key:"getTitle",value:function(){return this.$form.find('input[name="title"]').val()}},{key:"getColumnSettings",value:function(){return this.$form.find('[name^="columns["]').serialize()}},{key:"_addColumnToForm",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.columns[e.name]=e,this.$column_container.append(e.$el),t&&e.open(),e.$el.hide().slideDown(),jQuery("html, body").animate({scrollTop:e.$el.offset().top-58},300),jQuery(document).trigger("AC_Column_Added",[e]),e}}]),e}();e.exports=o},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n(25),n(17),n(33),n(38),n(47),n(3),n(46);var r={CLOSED:"closed",OPEN:"open"},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$el=t,this.el=t[0],this.settings=[],this.state=r.CLOSED,this._type=this.$el.data("type")}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"isOriginal",value:function(){return 1===this.$el.data("original")}},{key:"isDisabled",value:function(){return this.$el.hasClass("disabled")}},{key:"disable",value:function(){return this.$el.addClass("disabled"),this}},{key:"enable",value:function(){return this.$el.removeClass("disabled"),this}},{key:"initNewInstance",value:function(){var e="_new_column_"+AC.Column.getNewIncementalName(),t=this.name;return this.$el.find("input, select, label").each(function(n,i){var r=jQuery(i);r.attr("name")&&r.attr("name",r.attr("name").replace("columns[".concat(t,"]"),"columns[".concat(e,"]"))),r.attr("id")&&r.attr("id",r.attr("id").replace("-".concat(t,"-"),"-".concat(e,"-")))}),this.name=e,AC.incremental_column_name++,this}},{key:"bindEvents",value:function(){var e=this;return e.$el.data("column",e),Object.keys(AC.Column.events).forEach(function(t){e.isBound(t)||(AC.Column.events[t](e),e.bind(t))}),this.bindSettings(),jQuery(document).trigger("AC_Column_InitSettings",[e]),this}},{key:"bindSettings",value:function(){var e=this;Object.keys(AC.Column.settings).forEach(function(t){e.isBound(t)||(AC.Column.settings[t](e),e.bind(t))})}},{key:"isBound",value:function(e){return this.$el.data(e)}},{key:"bind",value:function(e){this.$el.data(e,!0)}},{key:"destroy",value:function(){this.$el.remove()}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350,t=this;this.$el.addClass("deleting").animate({opacity:0,height:0},e,function(){t.destroy()})}},{key:"getState",value:function(){return this.state}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:150;this.getState()===r.OPEN?this.close(e):this.open(e)}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$el.removeClass("opened").find(".ac-column-body").slideUp(e),this.state=r.CLOSED}},{key:"open",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$el.addClass("opened").find(".ac-column-body").slideDown(e),this.state=r.OPEN}},{key:"showMessage",value:function(e){this.$el.find(".ac-column-setting--type .msg").html(e).show()}},{key:"switchToType",value:function(e){var t=this;return jQuery.ajax({url:ajaxurl,method:"post",dataType:"json",data:{action:"ac-columns",id:"select",type:e,data:AC.Form.serialize(),current_original_columns:AC.Form.originalColumns(),original_columns:AC.original_columns,_ajax_nonce:AC._ajax_nonce},success:function(n){if(!0===n.success){var i=jQuery(n.data);t.$el.replaceWith(i),t.$el=i,t.el=i[0],t._type=e,t.initNewInstance(),t.bindEvents(),t.open(),jQuery(document).trigger("AC_Column_Change",[t])}else t.showMessage(n.data.error)}})}},{key:"refresh",value:function(){var e=this,t=this.$el.find(":input").serializeArray(),n={action:"ac-columns",id:"refresh",_ajax_nonce:AC._ajax_nonce,data:AC.Form.serialize(),column_name:this.name,original_columns:AC.original_columns};return jQuery.each(n,function(e,n){t.push({name:e,value:n})}),jQuery.ajax({type:"post",url:ajaxurl,data:t,success:function(t){if(!0===t.success){var n=jQuery(t.data);e.$el.replaceWith(n),e.$el=n,e.el=n[0],e.bindEvents(),e.getState()===r.OPEN&&e.open(),jQuery(document).trigger("AC_Column_Refresh",[e])}}})}},{key:"create",value:function(){return this.initNewInstance(),this.bindEvents(),jQuery(document).trigger("AC_Column_Created",[this]),this}},{key:"clone",value:function(){var t=this.$el.clone();t.data("column-name",this.$el.data("column-name"));var n=new e(t);return n.initNewInstance(),n.bindEvents(),n}},{key:"name",get:function(){return this.$el.data("column-name")},set:function(e){this.$el.data("column-name",e)}},{key:"type",get:function(){return this._type},set:function(e){this.$el.data("type",e)}}]),e}();e.exports=o},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.settings={},this.incremental_name=0}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"registerSetting",value:function(e,t){var n="s_"+e;return this.settings[n]&&console.error("Setting key already exists: "+e),this.settings[n]=t,this}},{key:"registerEvent",value:function(e,t){var n="e_"+e;return this.settings[n]&&console.error("Event key already exists: "+n),this.events[n]=t,this}},{key:"getNewIncementalName",value:function(){var e=this.incremental_name;return this.incremental_name++,e}}]),e}();e.exports=r},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){var e=jQuery;e("#ac_list_screen").on("change",function(){e(".view-link").hide(),e(this).parents("form").submit(),e(this).prop("disabled",!0).next(".spinner").css("display","inline-block")})}}]),e}();e.exports=r},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n(3);var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$el=jQuery(t),this.init()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){var e=this.$el;e.find("#feedback-choice a.no").click(function(t){t.preventDefault(),e.find("#feedback-choice").slideUp(),e.find("#feedback-support").slideDown()}),e.find("#feedback-choice a.yes").click(function(t){t.preventDefault(),e.find("#feedback-choice").slideUp(),e.find("#feedback-rate").slideDown()})}}]),e}();e.exports=r},function(e,t,n){"use strict";n(3);e.exports=function(e){e.$el.find('[data-toggle="column"]').click(function(t){t.preventDefault(),e.toggle()}).css("cursor","pointer")}},function(e,t,n){"use strict";n(46),n(3);e.exports=function(e){e.$el.find(".remove-button").click(function(t){t.preventDefault(),AC.Form.removeColumn(e.name)})}},function(e,t,n){"use strict";n(3);e.exports=function(e){e.$el.find(".clone-button").click(function(t){t.preventDefault(),e.isOriginal()||AC.Form.cloneColumn(e.$el)})}},function(e,t,n){"use strict";n(3);e.exports=function(e){var t=jQuery;e.$el.find('[data-refresh="column"]').on("change",function(){t(document).trigger("AC.column.prerefresh",e.$el),e.$el.addClass("loading"),setTimeout(function(){e.refresh().always(function(){e.$el.removeClass("loading")}).fail(function(){e.showMessage(AC.i18n.errors.loading_column)})},200)})}},function(e,t,n){"use strict";n(3);e.exports=function(e){var t=jQuery;e.$el.find("select.ac-setting-input_type").change(function(){e.$el.addClass("loading"),e.switchToType(t(this).val()).always(function(){e.$el.removeClass("loading"),AC.Form.reindexColumns()}).fail(function(){e.showMessage(AC.i18n.errors.loading_column)})})}},function(e,t,n){"use strict";n(3);e.exports=function(e){var t=e.$el;t.find(".ac-column-header [data-indicator-toggle]").each(function(){var e=jQuery,n=e(this),i=e(this).data("setting"),r=t.find(".ac-column-setting[data-setting="+i+"]").find(".col-input:first .ac-setting-input:first input[type=radio]");n.unbind("click").on("click",function(i){i.preventDefault(),t.hasClass("disabled")||(n.toggleClass("on"),e(this).hasClass("on")?r.filter("[value=on]").prop("checked",!0).trigger("click").trigger("change"):r.filter("[value=off]").prop("checked",!0).trigger("click").trigger("change"))}),r.on("change",function(){t.hasClass("disabled")||("on"===r.filter(":checked").val()?n.addClass("on"):n.removeClass("on"))})})}},function(e,t,n){"use strict";n(3);e.exports={label:function(e){var t=e.$el;t.find('select[data-label="update"]').change(function(){var e=t.find("input.ac-setting-input_label"),n=jQuery(this).find("option:selected").text();e.val(n),e.trigger("change")}),setTimeout(function(){var e=t.find(".column_label .toggle");jQuery.trim(e.html())&&e.width()<1&&e.html(t.find(".column_type .inner").html())},50)},setting:function(e){var t=e.$el;t.find(".ac-column-setting--label input").bind("keyup change",function(){var e=jQuery(this).val();jQuery(this).closest(".ac-column").find("td.column_label .inner > a.toggle").html(e)}).trigger("change"),t.find(".ac-column-body .col-label .label").hover(function(){jQuery(this).parents(".col-label").find("div.tooltip").show()},function(){jQuery(this).parents(".col-label").find("div.tooltip").hide()})}}},function(e,t,n){"use strict";n(3);e.exports=function(e){var t=jQuery,n=e.$el;n.find("[data-trigger] label").on("click",function(){var e=t(this).closest("td.input").data("trigger"),i=t("input",this).val(),r=n.find('[data-indicator-id="'+e+'"]').removeClass("on");"on"===i&&r.addClass("on");var o=n.find('[data-handle="'+e+'"]').addClass("hide");"on"===i&&o.removeClass("hide")}),n.find("[data-trigger]").each(function(){var e=t(this).data("trigger"),i=n.find('[data-handle="'+e+'"]').addClass("hide");"on"===t("input:checked",this).val()&&i.removeClass("hide")})}},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.column=t,this.setting=t.$el[0].querySelector(".ac-column-setting--image"),this.setting&&(this.field=this.setting.querySelector(".ac-setting-input select"),this.initState(),this.bindEvents())}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"getValue",value:function(){return this.field.value}},{key:"bindEvents",value:function(){var e=this;this.field.addEventListener("change",function(t){e.initState()})}},{key:"initState",value:function(){"cpac-custom"===this.getValue()?this.showSubsettings():this.hideSubsettings()}},{key:"hideSubsettings",value:function(){for(var e=this.setting.querySelectorAll(".ac-column-setting"),t=0;t<e.length;++t)e[t].style.display="none"}},{key:"showSubsettings",value:function(){for(var e=this.setting.querySelectorAll(".ac-column-setting"),t=0;t<e.length;++t)e[t].style.display="table"}},{key:"setValue",value:function(e){return this.field.value=e,this.trigger(this.field,"change"),this}},{key:"setWidth",value:function(e){var t=this.setting.querySelector('.ac-column-setting [name*="image_size_w"]');return t.value=e,this.trigger(t,"change"),this}},{key:"setHeight",value:function(e){var t=this.setting.querySelector('.ac-column-setting [name*="image_size_h"]');return t.value=e,this.trigger(t,"change"),this}},{key:"setSize",value:function(e,t){return this.setWidth(e),this.setHeight(t),this}},{key:"trigger",value:function(e,t){return e.dispatchEvent(new Event(t)),this}}]),e}();e.exports=function(e){e.settings.image=new r(e)}},function(e,t,n){"use strict";n(3);e.exports=function(e){var t=jQuery,n={value_show:"on",subfield:".ac-column-setting"};function i(e,t){var i=t.filter(":checked").val(),r=e.find(n.subfield);n.value_show===i?r.show():r.hide()}e.$el.find(".ac-column-setting--filter,.ac-column-setting--sort,.ac-column-setting--edit").each(function(){var e=t(this),n=t(this).find('.ac-setting-input input[type="radio"]');i(e,n),n.on("change",function(){i(e,n)})})}},function(e,t,n){"use strict";n(3);e.exports=function(e){var t=jQuery;e.$el.find(".ac-column-setting--date").each(function(){var e=t(this),n=e.find("input.custom"),i=e.find(".ac-setting-input-date__custom"),r=e.find(".ac-setting-input-date__value"),o=e.find(".ac-setting-input-date__example"),s=e.find("input[type=radio]:checked"),a=e.find(".help-msg");e.find("input[type=radio]").on("change",function(){var e=t(this),n=e.closest("label"),s=n.find("code").text(),u=n.find(".ac-setting-input-date__more").html();s&&i.val(s).trigger("change"),e.hasClass("diff")&&(i.val(""),o.text("")),i.prop("disabled",!0),e.hasClass("custom")&&(e.val(i.val()),i.prop("disabled",!1),a.show()),a.hide(),u&&a.html(u).show(),r.val(e.val())}),i.on("change",function(){o.html('<span class="spinner is-active"></span>'),n.val(i.val());var e=t(this).val();e?(t.ajax({url:ajaxurl,method:"post",data:{action:"date_format",date:e}}).done(function(e){o.text(e)}),r.val(e)):o.text("")}),s.trigger("change"),0===s.length&&n.trigger("click")})}},function(e,t,n){"use strict";n(3);e.exports=function(e){e.$el.find(".ac-column-setting--pro").each(function(){var e=jQuery(this);e.find("input").on("click",function(t){t.preventDefault(),e.find("[data-ac-open-modal]").trigger("click")})})}},function(e,t,n){"use strict";n(47),n(3),jQuery.fn.column_width_slider=function(){var e=jQuery,t=e(this).find(".ac-setting-input-width"),n=t.find(".description input"),i=t.find(".unit-select input").filter(":checked").val(),r=n.val(),o=t.find(".width-slider"),s=e(this).find(".ac-column-header .ac-column-heading-setting--width");"%"===i&&r>100&&(r=100),n.val(r),o.slider({range:"min",min:0,max:"%"===i?100:500,value:r,slide:function(e,t){n.val(t.value),s.trigger("update"),n.trigger("validate")}})};e.exports=function(e){var t=jQuery,n=e.$el;n.find(".ac-column-setting--width").each(function(){n.column_width_slider();var e=n.find(".ac-column-header .ac-column-heading-setting--width");e.on("update",function(){var e=n.find(".ac-setting-input-width .description input").val(),t=n.find(".ac-setting-input-width .description .unit").text();e>0?jQuery(this).text(e+t):jQuery(this).text("")}),n.find(".ac-setting-input-width .unit-select label").on("click",function(){n.find("span.unit").text(t(this).find("input").val()),n.column_width_slider(),e.trigger("update")});var i=n.find(".ac-setting-input-width .description input").on("keyup",function(){n.column_width_slider(),jQuery(this).trigger("validate"),e.trigger("update")}).on("validate",function(){var e=i.val(),n=t.trim(e);jQuery.isNumeric(n)||(n=n.replace(/\D/g,"")),n.length>3&&(n=n.substring(0,3)),n<=0&&(n=""),n!==e&&i.val(n)})})}},function(e,t,n){"use strict";var i=o(n(39)),r=o(n(48));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.column=t,this.setting=t.el.querySelector(".ac-column-setting--label"),this.iconpicker=this.setting.querySelector(".-iconpicker"),this.iconpicker&&(this._dashicon=!1,this.modal=i.default.init().register(new r.default(this.setting.querySelector(".-iconpicker"))),this.field=this.setting.querySelector(".ac-setting-input_label"),this.initValue(),this.bindEvents())}return function(e,t,n){t&&s(e.prototype,t),n&&s(e,n)}(e,[{key:"initValue",value:function(){var e=this,t=document.createRange().createContextualFragment(this.getValue()).querySelector(".dashicons");t?t.classList.forEach(function(t){if(-1!==t.indexOf("dashicons-")){var n="."+t,i=e.iconpicker.querySelector(n);i&&(i.parentElement.classList.add("active"),e.setIconSelection(i.parentElement.dataset.dashicon))}}):e.setIconSelection(!1)}},{key:"bindEvents",value:function(){var e=this;this.setting.querySelector(".ac-setting-label-icon").addEventListener("click",function(t){t.preventDefault(),e.modal.open()}),this.setting.querySelector('[data-action="submit"]').addEventListener("click",function(t){t.preventDefault(),e.getIconSelection()&&e.setDashicon(e.getIconSelection()),e.modal.close()}),this.iconpicker.querySelectorAll(".ac-ipicker__icon").forEach(function(t){t.addEventListener("click",function(n){n.preventDefault();var i=this.dataset.dashicon;i&&e.setIconSelection(i),e.setting.querySelectorAll(".ac-ipicker__icon").forEach(function(e){e.classList.remove("active")}),t.classList.add("active")})})}},{key:"getValue",value:function(){return this.field.value}},{key:"setValue",value:function(e){this.field.value=e;var t=new Event("change");this.field.dispatchEvent(t)}},{key:"setIconSelection",value:function(e){var t=this.setting.querySelector(".ac-ipicker__selection");this._dashicon=e,t.innerHTML='<span class="dashicons dashicons-'.concat(e,'"></span>'),t.style.visibility=e?"visible":"hidden"}},{key:"getIconSelection",value:function(){return this._dashicon}},{key:"setDashicon",value:function(e){this.setValue('<span class="dashicons dashicons-'.concat(e,'"></span>'))}}]),e}();e.exports=function(e){e.settings.label=new a(e)}},function(e,t,n){"use strict";(function(e){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(65),a=function(){function e(t,n){i(this,e),this.meta_type=t,this.post_type=n,this.loading=!1,this.data=!1,this.events=s()}return o(e,[{key:"retrieveOptions",value:function(){return this.loading=!0,jQuery.ajax({url:ajaxurl,dataType:"json",method:"post",data:{action:"ac_custom_field_options",post_type:this.post_type,meta_type:this.meta_type,_ajax_nonce:AC._ajax_nonce}})}},{key:"getOptions",value:function(){var e=this,t=jQuery.Deferred();return this.data?t.resolve(this.data):this.loading?this.events.on("loaded",function(){t.resolve(e.data)}):this.retrieveOptions().done(function(n){n.success||t.reject(),e.data=n.data.results,e.events.emit("loaded"),t.resolve(e.data)}),t.promise()}}]),e}(),u=function(){function t(e){i(this,t),this.column=e,this.setting=e.$el[0].querySelector(".ac-column-setting--custom_field"),this.setting&&this.setting.querySelector(".custom_field")&&this.bindEvents()}return o(t,[{key:"bindEvents",value:function(){var t=this.setting.querySelector(".custom_field"),n=function(t,n){var i="custom_field_".concat(t,"_").concat(n);return"undefined"==typeof AC_Requests&&(e.AC_Requests={}),AC_Requests.hasOwnProperty(i)||(AC_Requests[i]=new a(t,n)),AC_Requests[i]}(t.dataset.type,t.dataset.post_type),i=this.column.el.querySelectorAll('[data-setting="edit"][data-indicator-toggle]').length>0;t.querySelectorAll("optgroup").forEach(function(e){e.remove()}),t.removeAttribute("data-select2-id"),this.setting.querySelectorAll(".select2").forEach(function(e){e.remove()}),n.getOptions().done(function(e){jQuery(t).ac_select2({theme:"acs2",width:"100%",tags:i,dropdownCssClass:"-customfields",data:e})})}}]),t}(),c=function(e){e.settings.customfield=new u(e)};t.default=c}).call(this,n(20))},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.column=t,this.setting=t.$el[0].querySelector(".ac-column-setting--number_format"),this.setting&&this.bindEvents()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"bindEvents",value:function(){var e=this;this.refreshPreview(),this.setting.querySelectorAll("input").forEach(function(t){t.addEventListener("change",function(t){e.refreshPreview()})})}},{key:"refreshPreview",value:function(){var e=this;this.getExampleRequest().done(function(t){var n=e.setting.querySelector("[data-preview]");n&&(n.innerText=t)})}},{key:"getExampleRequest",value:function(){var e=this.setting.querySelector(".ac-setting-input_number_decimals"),t=this.setting.querySelector(".ac-setting-input_number_decimal_point"),n=this.setting.querySelector(".ac-setting-input_number_thousands_separator");return jQuery.ajax({url:ajaxurl,method:"post",data:{action:"ac_number_format",number:7500,decimals:e?e.value:"",decimal_point:t?t.value:"",thousands_point:n?n.value:""}})}}]),e}(),o=function(e){e.settings.number_format=new r(e)};t.default=o},function(e,t){!function(){if("function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};let n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}e.prototype=window.Event.prototype,window.CustomEvent=e}()},function(e,t){e.exports=jQuery}]);
1
+ !function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=80)}([function(e,t,n){var i=n(29)("wks"),r=n(14),o=n(1).Symbol,s="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))}).store=i},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var i=n(13),r=n(43)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)("find")},function(e,t,n){var i=n(7),r=n(22);e.exports=n(3)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(1),r=n(5),o=n(11),s=n(14)("src"),a=Function.toString,u=(""+a).split("toString");n(10).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,s)||r(n,s,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(e,t,n){var i=n(9),r=n(35),o=n(36),s=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(2);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(1),r=n(10),o=n(5),s=n(6),a=n(16),u=function(e,t,n){var c,l,f,d,h=e&u.F,p=e&u.G,v=e&u.S,m=e&u.P,y=e&u.B,g=p?i:v?i[t]||(i[t]={}):(i[t]||{}).prototype,b=p?r:r[t]||(r[t]={}),_=b.prototype||(b.prototype={});for(c in p&&(n=t),n)f=((l=!h&&g&&void 0!==g[c])?g:n)[c],d=y&&l?a(f,i):m&&"function"==typeof f?a(Function.call,f):f,g&&s(g,c,f,e&u.U),b[c]!=f&&o(b,c,d),m&&_[c]!=f&&(_[c]=f)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(42);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var i=n(21),r=n(49),o=n(18),s=n(23);e.exports=n(41)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t){e.exports={}},function(e,t,n){var i=n(15);e.exports=function(e){return Object(i(e))}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var i=n(0)("unscopables"),r=Array.prototype;void 0==r[i]&&n(5)(r,i,{}),e.exports=function(e){r[i][e]=!0}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(31),r=n(15);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(25),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(7).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(3)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){var i=n(2),r=n(1).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){for(var i=n(17),r=n(32),o=n(6),s=n(1),a=n(5),u=n(18),c=n(0),l=c("iterator"),f=c("toStringTag"),d=u.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(h),v=0;v<p.length;v++){var m,y=p[v],g=h[y],b=s[y],_=b&&b.prototype;if(_&&(_[l]||a(_,l,d),_[f]||a(_,f,y),u[y]=d,g))for(m in i)_[m]||o(_,m,i[m],!0)}},function(e,t,n){var i=n(10),r=n(1),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(30)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,n){var i=n(12);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){var i=n(51),r=n(37);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(29)("keys"),r=n(14);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){"use strict";var i=n(53),r={};r[n(0)("toStringTag")]="z",r+""!="[object z]"&&n(6)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(e,t,n){e.exports=!n(3)&&!n(8)(function(){return 7!=Object.defineProperty(n(27)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(2);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(7).f,r=n(11),o=n(0)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(19),r=n(32);n(62)("keys",function(){return function(e){return r(i(e))}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){return e&&e.__esModule?e:{default:e}}(n(48));function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.number=1}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(e,[{key:"register",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t||(t="m"+this.number),this.modals[t]=e,this.number++,e}},{key:"get",value:function(e){return!!this.modals[e]&&this.modals[e]}}],[{key:"init",value:function(){return void 0===AdminColumns.Modals&&(AdminColumns.Modals=new this,AdminColumns.Modals._abstract={modal:i.default}),AdminColumns.Modals}}]),e}();t.default=o},function(e,t,n){"use strict";var i=n(30),r=n(13),o=n(6),s=n(5),a=n(18),u=n(57),c=n(38),l=n(61),f=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,v,m,y){u(n,t,p);var g,b,_,k=function(e){if(!d&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",C="values"==v,j=!1,x=e.prototype,S=x[f]||x["@@iterator"]||v&&x[v],E=S||k(v),A=v?C?k("entries"):E:void 0,O="Array"==t&&x.entries||S;if(O&&(_=l(O.call(new e)))!==Object.prototype&&_.next&&(c(_,w,!0),i||"function"==typeof _[f]||s(_,f,h)),C&&S&&"values"!==S.name&&(j=!0,E=function(){return S.call(this)}),i&&!y||!d&&!j&&x[f]||s(x,f,E),a[t]=E,a[w]=h,v)if(g={values:C?E:k("values"),keys:m?E:k("keys"),entries:A},y)for(b in g)b in x||o(x,b,g[b]);else r(r.P+r.F*(d||j),t,g);return g}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(16),r=n(31),o=n(19),s=n(24),a=n(44);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,d=5==e||f,h=t||a;return function(t,a,p){for(var v,m,y=o(t),g=r(y),b=i(a,p,3),_=s(g.length),k=0,w=n?h(t,_):u?h(t,0):void 0;_>k;k++)if((d||k in g)&&(m=b(v=g[k],k,y),e))if(n)w[k]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:w.push(v)}else if(l)return!1;return f?-1:c||l?l:w}}},function(e,t,n){var i=n(45);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(2),r=n(46),o=n(0)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(12);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){n(54)("replace",2,function(e,t,n){return[function(i,r){"use strict";var o=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},n]})},function(e,t,n){"use strict";var i=function(e){return e&&e.__esModule?e:{default:e}}(n(40));function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t&&(this.el=t,this.dialog=t.querySelector(".ac-modal__dialog"),this.initEvents())}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(e,[{key:"initEvents",value:function(){var t=this,n=this;document.addEventListener("keydown",function(e){var n=event.key;t.isOpen()&&"Escape"===n&&t.close()});var i=this.el.querySelectorAll('[data-dismiss="modal"], .ac-modal__dialog__close');i.length>0&&i.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),n.close()})}),this.el.addEventListener("click",function(e){e.target.classList.contains("ac-modal")&&n.close()}),void 0===document.querySelector("body").dataset.ac_modal_init&&(e.initGlobalEvents(),document.querySelector("body").dataset.ac_modal_init=1),this.el.AC_MODAL=n}},{key:"isOpen",value:function(){return this.el.classList.contains("-active")}},{key:"close",value:function(){this.onClose(),this.el.classList.remove("-active")}},{key:"open",value:function(){var e=this;setTimeout(function(){e.onOpen(),e.el.removeAttribute("style"),e.el.classList.add("-active")})}},{key:"destroy",value:function(){this.el.remove()}},{key:"onClose",value:function(){}},{key:"onOpen",value:function(){}}],[{key:"initGlobalEvents",value:function(){jQuery(document).on("click","[data-ac-open-modal]",function(e){e.preventDefault();var t=e.target.dataset.acOpenModal,n=document.querySelector(t);n&&n.AC_MODAL&&n.AC_MODAL.open()}),jQuery(document).on("click","[data-ac-modal]",function(e){e.preventDefault();var t=jQuery(this).data("ac-modal");i.default.init().get(t)&&i.default.init().get(t).open()})}}]),e}();e.exports=o},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var i=n(9),r=n(58),o=n(37),s=n(33)("IE_PROTO"),a=function(){},u=function(){var e,t=n(27)("iframe"),i=o.length;for(t.style.display="none",n(60).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;i--;)delete u.prototype[o[i]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=i(e),n=new a,a.prototype=null,n[s]=e):n=u(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(11),r=n(23),o=n(52)(!1),s=n(33)("IE_PROTO");e.exports=function(e,t){var n,a=r(e),u=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;t.length>u;)i(a,n=t[u++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var i=n(23),r=n(24),o=n(59);e.exports=function(e){return function(t,n,s){var a,u=i(t),c=r(u.length),l=o(s,c);if(e&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var i=n(12),r=n(0)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:o?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";var i=n(5),r=n(6),o=n(8),s=n(15),a=n(0);e.exports=function(e,t,n){var u=a(e),c=n(s,u,""[e]),l=c[0],f=c[1];o(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,l),i(RegExp.prototype,u,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,n){var i=n(2),r=n(12),o=n(0)("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isEnabled=void 0!==jQuery.fn.qtip,this.init()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){this.isEnabled?jQuery("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}):console.log("Tooltips not loaded!")}}]),e}();e.exports=r},function(e,t,n){"use strict";var i=n(50),r=n(22),o=n(38),s={};n(5)(s,n(0)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(7),r=n(9),o=n(32);e.exports=n(3)?Object.defineProperties:function(e,t){r(e);for(var n,s=o(t),a=s.length,u=0;a>u;)i.f(e,n=s[u++],t[n]);return e}},function(e,t,n){var i=n(25),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(1).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(11),r=n(19),o=n(33)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var i=n(13),r=n(10),o=n(8);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(e,t){function n(e,t){if(!e)throw new Error(t||"AssertionError")}n.notEqual=function(e,t,i){n(e!=t,i)},n.notOk=function(e,t){n(!e,t)},n.equal=function(e,t,i){n(e==t,i)},n.ok=n,e.exports=n},function(e,t){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach)},,function(e,t,n){var i=n(83),r=n(84),o=n(63);function s(e){if(!(this instanceof s))return new s(e);this._name=e||"nanobus",this._starListeners=[],this._listeners={}}e.exports=s,s.prototype.emit=function(e){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.emit: eventName should be type string or symbol");for(var t=[],n=1,i=arguments.length;n<i;n++)t.push(arguments[n]);var s=r(this._name+"('"+e.toString()+"')"),a=this._listeners[e];return a&&a.length>0&&this._emit(this._listeners[e],t),this._starListeners.length>0&&this._emit(this._starListeners,e,t,s.uuid),s(),this},s.prototype.on=s.prototype.addListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.on: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.on: listener should be type function"),"*"===e?this._starListeners.push(t):(this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)),this},s.prototype.prependListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.prependListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.prependListener: listener should be type function"),"*"===e?this._starListeners.unshift(t):(this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].unshift(t)),this},s.prototype.once=function(e,t){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.once: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.once: listener should be type function");var n=this;return this.on(e,function i(){t.apply(n,arguments);n.removeListener(e,i)}),this},s.prototype.prependOnceListener=function(e,t){o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.prependOnceListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.prependOnceListener: listener should be type function");var n=this;return this.prependListener(e,function i(){t.apply(n,arguments);n.removeListener(e,i)}),this},s.prototype.removeListener=function(e,t){return o.ok("string"==typeof e||"symbol"==typeof e,"nanobus.removeListener: eventName should be type string or symbol"),o.equal(typeof t,"function","nanobus.removeListener: listener should be type function"),"*"===e?(this._starListeners=this._starListeners.slice(),n(this._starListeners,t)):(void 0!==this._listeners[e]&&(this._listeners[e]=this._listeners[e].slice()),n(this._listeners[e],t));function n(e,t){if(e){var n=e.indexOf(t);return-1!==n?(i(e,n,1),!0):void 0}}},s.prototype.removeAllListeners=function(e){return e?"*"===e?this._starListeners=[]:this._listeners[e]=[]:(this._starListeners=[],this._listeners={}),this},s.prototype.listeners=function(e){var t="*"!==e?this._listeners[e]:this._starListeners,n=[];if(t)for(var i=t.length,r=0;r<i;r++)n.push(t[r]);return n},s.prototype._emit=function(e,t,n,i){if(void 0!==e&&0!==e.length){void 0===n&&(n=t,t=null),t&&(n=void 0!==i?[t].concat(n,i):[t].concat(n));for(var r=e.length,o=0;o<r;o++){var s=e[o];s.apply(s,n)}}}},,,,,,,,,,,,,,function(e,t,n){e.exports=n(81)},function(e,t,n){"use strict";(function(e){n(26),n(28),n(17),n(34),n(39);var t=A(n(82)),i=A(n(86)),r=A(n(40)),o=A(n(88)),s=A(n(48)),a=A(n(89)),u=A(n(90)),c=A(n(56)),l=A(n(91)),f=A(n(92)),d=A(n(93)),h=A(n(94)),p=A(n(95)),v=A(n(96)),m=A(n(97)),y=A(n(98)),g=A(n(99)),b=A(n(100)),_=A(n(101)),k=A(n(102)),w=A(n(103)),C=A(n(104)),j=A(n(105)),x=A(n(106)),S=A(n(107)),E=A(n(113));function A(e){return e&&e.__esModule?e:{default:e}}n(114),n(64),e.AdminColumns="undefined"!=typeof AdminColumns?AdminColumns:{};var O=$=n(115);AC.Column=new o.default,AdminColumns.Column=AC.Column,O(document).on("AC_Form_Loaded",function(){AdminColumns.Tooltips=new c.default,AdminColumns.Column.registerEvent("toggle",l.default).registerEvent("remove",f.default).registerEvent("clone",d.default).registerEvent("refresh",h.default).registerEvent("type_selector",p.default).registerEvent("indicator",v.default).registerEvent("label",m.default.label).registerEvent("label_setting",m.default.setting).registerEvent("addons",y.default).registerSetting("date",_.default).registerSetting("image_size",g.default).registerSetting("pro",k.default).registerSetting("sub_setting_toggle",b.default).registerSetting("width",w.default).registerSetting("customfield",j.default).registerSetting("number_format",x.default).registerSetting("type_selector",S.default).registerSetting("label",C.default)}),O(document).ready(function(){AC.Form=new i.default("#listscreen_settings"),AdminColumns.Form=AC.Form,r.default.init().register(new s.default(document.querySelector("#ac-modal-pro")),"pro"),(new a.default).init(),new u.default(".sidebox#direct-feedback"),["AC_Column_Change","AC_Column_Refresh","AC_Column_Refresh"].forEach(function(e){O(document).on(e,function(){return ac_pointers()})}),O(document).on("AC_Column_Created",function(e,t){setTimeout(function(){ac_pointers()},100)}),AC.hasOwnProperty("uninitialized_list_screens")&&Object.keys(AC.uninitialized_list_screens).length>0&&new t.default(AC.uninitialized_list_screens),AdminColumns.ScreenOptions={},document.querySelectorAll("[data-ac-screen-option]").forEach(function(e){var t=e.dataset.acScreenOption;AdminColumns.ScreenOptions[t]=new E.default(e,t)});var e=document.querySelector('[data-ac-screen-option="show_column_id"] input');e&&e.addEventListener("change",function(){e.checked?document.querySelector(".ac-boxes").classList.add("show-column-id"):document.querySelector(".ac-boxes").classList.remove("show-column-id")});var n=document.querySelector('[data-ac-screen-option="show_column_type"] input');n&&n.addEventListener("change",function(){n.checked?document.querySelector(".ac-boxes").classList.add("show-column-type"):document.querySelector(".ac-boxes").classList.remove("show-column-type")})})}).call(this,n(20))},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(28),n(17),n(34),n(39);var s=n(66),a=function(){function e(t){i(this,e),this.list_screens=t,this.processed=[],this.errors=[],this.success=[],this.events=s()}return o(e,[{key:"doAjaxCall",value:function(e){return jQuery.ajax({url:e.screen_link,method:"get"})}},{key:"run",value:function(){var e=this;Object.keys(this.list_screens).forEach(function(t){e.processListScreen(e.list_screens[t])})}},{key:"onFinish",value:function(){this.success.length===Object.keys(this.list_screens).length&&this.events.emit("success"),this.errors.length>0&&this.events.emit("error")}},{key:"checkFinish",value:function(){this.processed.length===Object.keys(this.list_screens).length&&this.onFinish()}},{key:"processListScreen",value:function(e){var t=this;return this.doAjaxCall(e).done(function(n){"ac_success"===n?t.success.push(e):t.errors.push(e)}).fail(function(){t.errors.push(e)}).always(function(){t.processed.push(e),t.checkFinish()})}}]),e}(),u=function(){function e(t){i(this,e),this.list_screens=t,this.run()}return o(e,[{key:"run",value:function(){if(Object.keys(this.list_screens).length>0)if(this.list_screens.hasOwnProperty(AC.list_screen)){var e=new a(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},AC.list_screen,this.list_screens[AC.list_screen]));e.run(),e.events.on("error",function(){document.querySelectorAll(".ac-loading-msg-wrapper").forEach(function(e){return e.remove()}),document.querySelectorAll(".menu").forEach(function(e){return e.classList.remove("hidden")})}),e.events.on("success",function(){window.location="".concat(location.href,"&t=").concat(Date.now())})}else{new a(this.list_screens).run()}}}]),e}();t.default=u},function(e,t,n){"use strict";e.exports=function(e,t,n){var i,r=e.length;if(!(t>=r||0===n)){var o=r-(n=t+n>r?r-t:n);for(i=t;i<o;++i)e[i]=e[i+n];e.length=o}}},function(e,t,n){var i,r=n(85)(),o=n(63);s.disabled=!0;try{i=window.performance,s.disabled="true"===window.localStorage.DISABLE_NANOTIMING||!i.mark}catch(e){}function s(e){if(o.equal(typeof e,"string","nanotiming: name should be type string"),s.disabled)return a;var t=(1e4*i.now()).toFixed()%Number.MAX_SAFE_INTEGER,n="start-"+t+"-"+e;function u(o){var s="end-"+t+"-"+e;i.mark(s),r.push(function(){var r=null;try{var a=e+" ["+t+"]";i.measure(a,n,s),i.clearMarks(n),i.clearMarks(s)}catch(e){r=e}o&&o(r,e)})}return i.mark(n),u.uuid=t,u}function a(e){e&&r.push(function(){e(new Error("nanotiming: performance API unavailable"))})}e.exports=s},function(e,t,n){var i=n(63),r="undefined"!=typeof window;function o(e){this.hasWindow=e,this.hasIdle=this.hasWindow&&window.requestIdleCallback,this.method=this.hasIdle?window.requestIdleCallback.bind(window):this.setTimeout,this.scheduled=!1,this.queue=[]}o.prototype.push=function(e){i.equal(typeof e,"function","nanoscheduler.push: cb should be type function"),this.queue.push(e),this.schedule()},o.prototype.schedule=function(){if(!this.scheduled){this.scheduled=!0;var e=this;this.method(function(t){for(;e.queue.length&&t.timeRemaining()>0;)e.queue.shift()(t);e.scheduled=!1,e.queue.length&&e.schedule()})}},o.prototype.setTimeout=function(e){setTimeout(e,0,{timeRemaining:function(){return 1}})},e.exports=function(){var e;return r?(window._nanoScheduler||(window._nanoScheduler=new o(!0)),e=window._nanoScheduler):e=new o,e}},function(e,t,n){"use strict";n(26),n(28),n(17),n(34),n(39),n(4);var i=function(e){return e&&e.__esModule?e:{default:e}}(n(87));function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.form=t,this.$form=jQuery(t),this.$column_container=this.$form.find(".ac-columns"),this.$container=jQuery("#cpac .ac-admin"),this.columns={},this._validators=[],jQuery(document).trigger("AC_Form_Loaded"),this.init()}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(e,[{key:"init",value:function(){this.initColumns(),this.bindFormEvents(),this.bindOrdering(),this.$form.hasClass("-disabled")&&this.disableFields(),jQuery(document).trigger("AC_Form_Ready",this)}},{key:"bindOrdering",value:function(){this.$form.hasClass("ui-sortable")?this.$form.sortable("refresh"):this.$form.sortable({items:".ac-column",handle:".column_sort"})}},{key:"originalColumns",value:function(){var e=this,t=[];return Object.keys(e.columns).forEach(function(n){var i=e.columns[n];i.isOriginal()&&t.push(i.type)}),t}},{key:"validateForm",value:function(){var e=this,t=!0;return this._validators.forEach(function(n){t=n.call(e,e)}),t}},{key:"addValidator",value:function(e){this._validators.push(e)}},{key:"bindFormEvents",value:function(){var e=this,t=jQuery(".sidebox a.submit, .column-footer a.submit");t.on("click",function(){e.validateForm()&&(t.attr("disabled","disabled"),e.$container.addClass("saving"),e.submitForm().always(function(){t.removeAttr("disabled","disabled"),e.$container.removeClass("saving")}))}),e.$container.find(".add_column").on("click",function(){e.addColumn()});var n=jQuery("#cpac .ac-boxes");n.hasClass("disabled")&&n.find(".ac-column").each(function(e,t){jQuery(t).data("column").disable(),jQuery(t).find("input, select").prop("disabled",!0)}),jQuery("a[data-clear-columns]").on("click",function(){e.resetColumns()})}},{key:"initColumns",value:function(){var e=this;e.columns={},this.$form.find(".ac-column").each(function(){var t=jQuery(this),n=new i.default(t);n.bindEvents(),t.data("column",n),e.columns[n.name]=n})}},{key:"reindexColumns",value:function(){var e=this;e.columns={},this.$form.find(".ac-column").each(function(){var t=jQuery(this).data("column");e.columns[t.name]=t})}},{key:"resetColumns",value:function(){var e=this;Object.keys(this.columns).forEach(function(t){e.columns[t].destroy()})}},{key:"serialize",value:function(){return this.$form.serialize()}},{key:"disableFields",value:function(){var e=document.querySelector(this.form);if(e)for(var t=e.elements,n=0;n<t.length;n++)t[n].readOnly=!0,t[n].setAttribute("disabled",!0)}},{key:"enableFields",value:function(){}},{key:"submitForm",value:function(){var e=this,t=jQuery.post(ajaxurl,{action:"ac-columns",id:"save",_ajax_nonce:AC._ajax_nonce,data:this.serialize()},function(t){t&&(t.success?(e.showMessage(t.data,"updated"),e.$container.addClass("stored")):t.data&&e.showMessage(t.data.message,"notice notice-warning"))},"json");return t.fail(function(t){e.showMessage(AC.i18n.errors.save_settings,"notice notice-warning")}),jQuery(document).trigger("AC_Form_AfterUpdate",[e.$container]),t}},{key:"showMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"updated",n=jQuery('<div class="ac-message hidden '+t+'"><p>'+e+"</p></div>");this.$container.find(".ac-message").stop().remove(),this.$container.find(".ac-admin__main").prepend(n),n.slideDown()}},{key:"cloneColumn",value:function(e){return this._addColumnToForm(new i.default(e).clone(),e.hasClass("opened"))}},{key:"addColumn",value:function(){var e=jQuery("#add-new-column-template").find(".ac-column").clone(),t=new i.default(e).create();return this._addColumnToForm(t)}},{key:"removeColumn",value:function(e){this.columns[e]&&(this.columns[e].remove(),delete this.columns[e])}},{key:"getListScreen",value:function(){return this.$form.find('input[name="list_screen"]').val()}},{key:"getListScreenID",value:function(){return this.$form.find('input[name="list_screen_id"]').val()}},{key:"getTitle",value:function(){return this.$form.find('input[name="title"]').val()}},{key:"getColumnSettings",value:function(){return this.$form.find('[name^="columns["]').serialize()}},{key:"_addColumnToForm",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.columns[e.name]=e,this.$column_container.append(e.$el),t&&e.open(),e.$el.hide().slideDown(),jQuery("html, body").animate({scrollTop:e.$el.offset().top-58},300),jQuery(document).trigger("AC_Column_Added",[e]),e}}]),e}();e.exports=o},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n(28),n(17),n(34),n(39),n(47),n(4),n(26);var r={CLOSED:"closed",OPEN:"open"},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$el=t,this.el=t[0],this.settings=[],this.state=r.CLOSED,this._type=this.$el.data("type")}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"isOriginal",value:function(){return 1===this.$el.data("original")}},{key:"isDisabled",value:function(){return this.$el.hasClass("disabled")}},{key:"disable",value:function(){return this.$el.addClass("disabled"),this}},{key:"enable",value:function(){return this.$el.removeClass("disabled"),this}},{key:"initNewInstance",value:function(){var e="_new_column_"+AC.Column.getNewIncementalName(),t=this.name;return this.$el.find("input, select, label").each(function(n,i){var r=jQuery(i);r.attr("name")&&r.attr("name",r.attr("name").replace("columns[".concat(t,"]"),"columns[".concat(e,"]"))),r.attr("id")&&r.attr("id",r.attr("id").replace("-".concat(t,"-"),"-".concat(e,"-")))}),this.name=e,AC.incremental_column_name++,this}},{key:"bindEvents",value:function(){var e=this;return e.$el.data("column",e),Object.keys(AC.Column.events).forEach(function(t){e.isBound(t)||(AC.Column.events[t](e),e.bind(t))}),this.bindSettings(),jQuery(document).trigger("AC_Column_InitSettings",[e]),this}},{key:"bindSettings",value:function(){var e=this;Object.keys(AC.Column.settings).forEach(function(t){e.isBound(t)||(AC.Column.settings[t](e),e.bind(t))})}},{key:"isBound",value:function(e){return this.$el.data(e)}},{key:"bind",value:function(e){this.$el.data(e,!0)}},{key:"destroy",value:function(){this.$el.remove()}},{key:"remove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350,t=this;this.$el.addClass("deleting").animate({opacity:0,height:0},e,function(){t.destroy()})}},{key:"getState",value:function(){return this.state}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:150;this.getState()===r.OPEN?this.close(e):this.open(e)}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$el.removeClass("opened").find(".ac-column-body").slideUp(e),this.state=r.CLOSED}},{key:"open",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$el.addClass("opened").find(".ac-column-body").slideDown(e),this.state=r.OPEN}},{key:"showMessage",value:function(e){this.$el.find(".ac-column-setting--type .msg").html(e).show()}},{key:"switchToType",value:function(e){var t=this;return jQuery.ajax({url:ajaxurl,method:"post",dataType:"json",data:{action:"ac-columns",id:"select",type:e,data:AC.Form.serialize(),current_original_columns:AC.Form.originalColumns(),original_columns:AC.original_columns,_ajax_nonce:AC._ajax_nonce},success:function(n){if(!0===n.success){var i=jQuery(n.data);t.$el.replaceWith(i),t.$el=i,t.el=i[0],t._type=e,t.initNewInstance(),t.bindEvents(),t.open(),jQuery(document).trigger("AC_Column_Change",[t])}else t.showMessage(n.data.error)}})}},{key:"refresh",value:function(){var e=this,t=this.$el.find(":input").serializeArray(),n={action:"ac-columns",id:"refresh",_ajax_nonce:AC._ajax_nonce,data:AC.Form.serialize(),column_name:this.name,original_columns:AC.original_columns};return jQuery.each(n,function(e,n){t.push({name:e,value:n})}),jQuery.ajax({type:"post",url:ajaxurl,data:t,success:function(t){if(!0===t.success){var n=jQuery(t.data);e.$el.replaceWith(n),e.$el=n,e.el=n[0],e.bindEvents(),e.getState()===r.OPEN&&e.open(),jQuery(document).trigger("AC_Column_Refresh",[e])}}})}},{key:"create",value:function(){return this.initNewInstance(),this.bindEvents(),jQuery(document).trigger("AC_Column_Created",[this]),this}},{key:"clone",value:function(){var t=this.$el.clone();t.data("column-name",this.$el.data("column-name"));var n=new e(t);return n.initNewInstance(),n.bindEvents(),n}},{key:"name",get:function(){return this.$el.data("column-name")},set:function(e){this.$el.data("column-name",e)}},{key:"type",get:function(){return this._type},set:function(e){this.$el.data("type",e)}}]),e}();e.exports=o},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.settings={},this.incremental_name=0}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"registerSetting",value:function(e,t){var n="s_"+e;return this.settings[n]&&console.error("Setting key already exists: "+e),this.settings[n]=t,this}},{key:"registerEvent",value:function(e,t){var n="e_"+e;return this.settings[n]&&console.error("Event key already exists: "+n),this.events[n]=t,this}},{key:"getNewIncementalName",value:function(){var e=this.incremental_name;return this.incremental_name++,e}}]),e}();e.exports=r},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){var e=jQuery;e("#ac_list_screen").on("change",function(){e(".view-link").hide(),e(this).parents("form").submit(),e(this).prop("disabled",!0).next(".spinner").css("display","inline-block")})}}]),e}();e.exports=r},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n(4);var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$el=jQuery(t),this.init()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){var e=this.$el;e.find("#feedback-choice a.no").click(function(t){t.preventDefault(),e.find("#feedback-choice").slideUp(),e.find("#feedback-support").slideDown()}),e.find("#feedback-choice a.yes").click(function(t){t.preventDefault(),e.find("#feedback-choice").slideUp(),e.find("#feedback-rate").slideDown()})}}]),e}();e.exports=r},function(e,t,n){"use strict";n(4);e.exports=function(e){e.$el.find('[data-toggle="column"]').click(function(t){t.preventDefault(),e.toggle()}).css("cursor","pointer")}},function(e,t,n){"use strict";n(26),n(4);e.exports=function(e){e.$el.find(".remove-button").click(function(t){t.preventDefault(),AC.Form.removeColumn(e.name)})}},function(e,t,n){"use strict";n(4);e.exports=function(e){e.$el.find(".clone-button").click(function(t){t.preventDefault(),e.isOriginal()||AC.Form.cloneColumn(e.$el)})}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery;e.$el.find('[data-refresh="column"]').on("change",function(){t(document).trigger("AC.column.prerefresh",e.$el),e.$el.addClass("loading"),setTimeout(function(){e.refresh().always(function(){e.$el.removeClass("loading")}).fail(function(){e.showMessage(AC.i18n.errors.loading_column)})},200)})}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery;e.$el.find("select.ac-setting-input_type").change(function(){e.$el.addClass("loading"),e.switchToType(t(this).val()).always(function(){e.$el.removeClass("loading"),AC.Form.reindexColumns()}).fail(function(){e.showMessage(AC.i18n.errors.loading_column)})})}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=e.$el;t.find(".ac-column-header [data-indicator-toggle]").each(function(){var e=jQuery,n=e(this),i=e(this).data("setting"),r=t.find(".ac-column-setting[data-setting="+i+"]").find(".col-input:first .ac-setting-input:first input[type=radio]");n.unbind("click").on("click",function(i){i.preventDefault(),t.hasClass("disabled")||(n.toggleClass("on"),e(this).hasClass("on")?r.filter("[value=on]").prop("checked",!0).trigger("click").trigger("change"):r.filter("[value=off]").prop("checked",!0).trigger("click").trigger("change"))}),r.on("change",function(){t.hasClass("disabled")||("on"===r.filter(":checked").val()?n.addClass("on"):n.removeClass("on"))})})}},function(e,t,n){"use strict";n(4);e.exports={label:function(e){var t=e.$el;t.find('select[data-label="update"]').change(function(){var e=t.find("input.ac-setting-input_label"),n=jQuery(this).find("option:selected").text();e.val(n),e.trigger("change")}),setTimeout(function(){var e=t.find(".column_label .toggle");jQuery.trim(e.html())&&e.width()<1&&e.html(t.find(".column_type .inner").html())},50)},setting:function(e){var t=e.$el;t.find(".ac-column-setting--label input").bind("keyup change",function(){var e=jQuery(this).val();jQuery(this).closest(".ac-column").find("td.column_label .inner > a.toggle").html(e)}).trigger("change"),t.find(".ac-column-body .col-label .label").hover(function(){jQuery(this).parents(".col-label").find("div.tooltip").show()},function(){jQuery(this).parents(".col-label").find("div.tooltip").hide()})}}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery,n=e.$el;n.find("[data-trigger] label").on("click",function(){var e=t(this).closest("td.input").data("trigger"),i=t("input",this).val(),r=n.find('[data-indicator-id="'+e+'"]').removeClass("on");"on"===i&&r.addClass("on");var o=n.find('[data-handle="'+e+'"]').addClass("hide");"on"===i&&o.removeClass("hide")}),n.find("[data-trigger]").each(function(){var e=t(this).data("trigger"),i=n.find('[data-handle="'+e+'"]').addClass("hide");"on"===t("input:checked",this).val()&&i.removeClass("hide")})}},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.column=t,this.setting=t.$el[0].querySelector(".ac-column-setting--image"),this.setting&&(this.field=this.setting.querySelector(".ac-setting-input select"),this.initState(),this.bindEvents())}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"getValue",value:function(){return this.field.value}},{key:"bindEvents",value:function(){var e=this;this.field.addEventListener("change",function(t){e.initState()})}},{key:"initState",value:function(){"cpac-custom"===this.getValue()?this.showSubsettings():this.hideSubsettings()}},{key:"hideSubsettings",value:function(){for(var e=this.setting.querySelectorAll(".ac-column-setting"),t=0;t<e.length;++t)e[t].style.display="none"}},{key:"showSubsettings",value:function(){for(var e=this.setting.querySelectorAll(".ac-column-setting"),t=0;t<e.length;++t)e[t].style.display="table"}},{key:"setValue",value:function(e){return this.field.value=e,this.trigger(this.field,"change"),this}},{key:"setWidth",value:function(e){var t=this.setting.querySelector('.ac-column-setting [name*="image_size_w"]');return t.value=e,this.trigger(t,"change"),this}},{key:"setHeight",value:function(e){var t=this.setting.querySelector('.ac-column-setting [name*="image_size_h"]');return t.value=e,this.trigger(t,"change"),this}},{key:"setSize",value:function(e,t){return this.setWidth(e),this.setHeight(t),this}},{key:"trigger",value:function(e,t){return e.dispatchEvent(new Event(t)),this}}]),e}();e.exports=function(e){e.settings.image=new r(e)}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery,n={value_show:"on",subfield:".ac-column-setting"};function i(e,t){var i=t.filter(":checked").val(),r=e.find(n.subfield);n.value_show===i?r.show():r.hide()}e.$el.find(".ac-column-setting--filter,.ac-column-setting--sort,.ac-column-setting--edit").each(function(){var e=t(this),n=t(this).find('.ac-setting-input input[type="radio"]');i(e,n),n.on("change",function(){i(e,n)})})}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery;e.$el.find(".ac-column-setting--date").each(function(){var e=t(this),n=e.find("input.custom"),i=e.find(".ac-setting-input-date__custom"),r=e.find(".ac-setting-input-date__value"),o=e.find(".ac-setting-input-date__example"),s=e.find("input[type=radio]:checked"),a=e.find(".help-msg");e.find("input[type=radio]").on("change",function(){var e=t(this),n=e.closest("label"),s=n.find("code").text(),u=n.find(".ac-setting-input-date__more").html();s&&i.val(s).trigger("change"),e.hasClass("diff")&&(i.val(""),o.text("")),i.prop("disabled",!0),e.hasClass("custom")&&(e.val(i.val()),i.prop("disabled",!1),a.show()),a.hide(),u&&a.html(u).show(),r.val(e.val())}),i.on("change",function(){o.html('<span class="spinner is-active"></span>'),n.val(i.val());var e=t(this).val();e?(t.ajax({url:ajaxurl,method:"post",data:{action:"date_format",date:e}}).done(function(e){o.text(e)}),r.val(e)):o.text("")}),s.trigger("change"),0===s.length&&n.trigger("click")})}},function(e,t,n){"use strict";n(4);e.exports=function(e){e.$el.find(".ac-column-setting--pro").each(function(){var e=jQuery(this);e.find("input").on("click",function(t){t.preventDefault(),e.find("[data-ac-open-modal]").trigger("click")})})}},function(e,t,n){"use strict";n(47),n(4),jQuery.fn.column_width_slider=function(){var e=jQuery,t=e(this).find(".ac-setting-input-width"),n=t.find(".description input"),i=t.find(".unit-select input").filter(":checked").val(),r=n.val(),o=t.find(".width-slider"),s=e(this).find(".ac-column-header .ac-column-heading-setting--width");"%"===i&&r>100&&(r=100),n.val(r),o.slider({range:"min",min:0,max:"%"===i?100:500,value:r,slide:function(e,t){n.val(t.value),s.trigger("update"),n.trigger("validate")}})};e.exports=function(e){var t=jQuery,n=e.$el;n.find(".ac-column-setting--width").each(function(){n.column_width_slider();var e=n.find(".ac-column-header .ac-column-heading-setting--width");e.on("update",function(){var e=n.find(".ac-setting-input-width .description input").val(),t=n.find(".ac-setting-input-width .description .unit").text();e>0?jQuery(this).text(e+t):jQuery(this).text("")}),n.find(".ac-setting-input-width .unit-select label").on("click",function(){n.find("span.unit").text(t(this).find("input").val()),n.column_width_slider(),e.trigger("update")});var i=n.find(".ac-setting-input-width .description input").on("keyup",function(){n.column_width_slider(),jQuery(this).trigger("validate"),e.trigger("update")}).on("validate",function(){var e=i.val(),n=t.trim(e);jQuery.isNumeric(n)||(n=n.replace(/\D/g,"")),n.length>3&&(n=n.substring(0,3)),n<=0&&(n=""),n!==e&&i.val(n)})})}},function(e,t,n){"use strict";var i=o(n(40)),r=o(n(48));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.column=t,this.setting=t.el.querySelector(".ac-column-setting--label"),this.iconpicker=this.setting.querySelector(".-iconpicker"),this.iconpicker&&(this._dashicon=!1,this.modal=i.default.init().register(new r.default(this.setting.querySelector(".-iconpicker"))),this.field=this.setting.querySelector(".ac-setting-input_label"),this.initValue(),this.bindEvents())}return function(e,t,n){t&&s(e.prototype,t),n&&s(e,n)}(e,[{key:"initValue",value:function(){var e=this,t=document.createRange().createContextualFragment(this.getValue()).querySelector(".dashicons");t?t.classList.forEach(function(t){if(-1!==t.indexOf("dashicons-")){var n="."+t,i=e.iconpicker.querySelector(n);i&&(i.parentElement.classList.add("active"),e.setIconSelection(i.parentElement.dataset.dashicon))}}):e.setIconSelection(!1)}},{key:"bindEvents",value:function(){var e=this;this.setting.querySelector(".ac-setting-label-icon").addEventListener("click",function(t){t.preventDefault(),e.modal.open()}),this.setting.querySelector('[data-action="submit"]').addEventListener("click",function(t){t.preventDefault(),e.getIconSelection()&&e.setDashicon(e.getIconSelection()),e.modal.close()}),this.iconpicker.querySelectorAll(".ac-ipicker__icon").forEach(function(t){t.addEventListener("click",function(n){n.preventDefault();var i=this.dataset.dashicon;i&&e.setIconSelection(i),e.setting.querySelectorAll(".ac-ipicker__icon").forEach(function(e){e.classList.remove("active")}),t.classList.add("active")})})}},{key:"getValue",value:function(){return this.field.value}},{key:"setValue",value:function(e){this.field.value=e;var t=new Event("change");this.field.dispatchEvent(t)}},{key:"setIconSelection",value:function(e){var t=this.setting.querySelector(".ac-ipicker__selection");this._dashicon=e,t.innerHTML='<span class="dashicons dashicons-'.concat(e,'"></span>'),t.style.visibility=e?"visible":"hidden"}},{key:"getIconSelection",value:function(){return this._dashicon}},{key:"setDashicon",value:function(e){this.setValue('<span class="dashicons dashicons-'.concat(e,'"></span>'))}}]),e}();e.exports=function(e){e.settings.label=new a(e)}},function(e,t,n){"use strict";(function(e){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(66),a=function(){function e(t,n){i(this,e),this.meta_type=t,this.post_type=n,this.loading=!1,this.data=!1,this.events=s()}return o(e,[{key:"retrieveOptions",value:function(){return this.loading=!0,jQuery.ajax({url:ajaxurl,dataType:"json",method:"post",data:{action:"ac_custom_field_options",post_type:this.post_type,meta_type:this.meta_type,_ajax_nonce:AC._ajax_nonce}})}},{key:"getOptions",value:function(){var e=this,t=jQuery.Deferred();return this.data?t.resolve(this.data):this.loading?this.events.on("loaded",function(){t.resolve(e.data)}):this.retrieveOptions().done(function(n){n.success||t.reject(),e.data=n.data.results,e.events.emit("loaded"),t.resolve(e.data)}),t.promise()}}]),e}(),u=function(){function t(e){i(this,t),this.column=e,this.setting=e.$el[0].querySelector(".ac-column-setting--custom_field"),this.setting&&this.setting.querySelector(".custom_field")&&this.bindEvents()}return o(t,[{key:"bindEvents",value:function(){var t=this.setting.querySelector(".custom_field"),n=function(t,n){var i="custom_field_".concat(t,"_").concat(n);return"undefined"==typeof AC_Requests&&(e.AC_Requests={}),AC_Requests.hasOwnProperty(i)||(AC_Requests[i]=new a(t,n)),AC_Requests[i]}(t.dataset.type,t.dataset.post_type),i=this.column.el.querySelectorAll('[data-setting="edit"][data-indicator-toggle]').length>0;t.querySelectorAll("optgroup").forEach(function(e){e.remove()}),t.removeAttribute("data-select2-id"),this.setting.querySelectorAll(".select2").forEach(function(e){e.remove()}),n.getOptions().done(function(e){jQuery(t).ac_select2({theme:"acs2",width:"100%",tags:i,dropdownCssClass:"-customfields",data:e})})}}]),t}(),c=function(e){e.settings.customfield=new u(e)};t.default=c}).call(this,n(20))},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.column=t,this.setting=t.$el[0].querySelector(".ac-column-setting--number_format"),this.setting&&this.bindEvents()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"bindEvents",value:function(){var e=this;this.refreshPreview(),this.setting.querySelectorAll("input").forEach(function(t){t.addEventListener("change",function(t){e.refreshPreview()})})}},{key:"refreshPreview",value:function(){var e=this;this.getExampleRequest().done(function(t){var n=e.setting.querySelector("[data-preview]");n&&(n.innerText=t)})}},{key:"getExampleRequest",value:function(){var e=this.setting.querySelector(".ac-setting-input_number_decimals"),t=this.setting.querySelector(".ac-setting-input_number_decimal_point"),n=this.setting.querySelector(".ac-setting-input_number_thousands_separator");return jQuery.ajax({url:ajaxurl,method:"post",data:{action:"ac_number_format",number:7500,decimals:e?e.value:"",decimal_point:t?t.value:"",thousands_point:n?n.value:""}})}}]),e}(),o=function(e){e.settings.number_format=new r(e)};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(108),n(109);var i=function(e){return e&&e.__esModule?e:{default:e}}(n(112));function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.column=t,this.setting=t.$el[0].querySelector('[data-setting="type"]'),this.setting&&this.bindEvents()}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(e,[{key:"bindEvents",value:function(){var e=this.setting.querySelector(".ac-setting-input_type");e&&(e.removeAttribute("data-select2-id"),this.setting.querySelectorAll(".select2").forEach(function(e){e.remove()}),jQuery(e).ac_select2({theme:"acs2",width:"100%",dropdownCssClass:"-type-selector",escapeMarkup:function(e){return e},templateResult:function(e){var t=e.text;return e.hasOwnProperty("id")&&e.id.includes("placeholder-")&&(t+='<span style="background-color:#FE3D6C; color:#fff; font-size: 10px; margin-top: -1px; padding: 1px 5px; border-radius: 2px; text-transform: uppercase;float: right; margin-right 10px;">PRO</span>'),t},matcher:i.default}))}}]),e}(),s=function(e){e.settings.typeSelector=new o(e)};t.default=s},function(e,t,n){"use strict";var i=n(13),r=n(52)(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(21)("includes")},function(e,t,n){"use strict";var i=n(13),r=n(110);i(i.P+i.F*n(111)("includes"),"String",{includes:function(e){return!!~r(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var i=n(55),r=n(15);e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var i=n(0)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(""===jQuery.trim(e.term))return t;if(void 0===t.children)return null;var n=[];if(jQuery.each(t.children,function(t,i){i.text.toUpperCase().indexOf(e.term.toUpperCase())>-1&&n.push(i)}),n.length){var i=jQuery.extend({},t,!0);return i.children=n,i}return null}},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(26);var r=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=n,this.element=t,this.init()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"getInput",value:function(){return this.element.querySelector("input")}},{key:"init",value:function(){var e=this,t=this.getInput();t&&t.addEventListener("change",function(){e.persist()})}},{key:"persist",value:function(){return jQuery.ajax({url:ajaxurl,method:"POST",data:{action:"ac_admin_screen_options",option_name:this.name,option_value:this.getInput().checked?1:0,_ajax_nonce:AC._ajax_nonce}})}}]),e}();t.default=r},function(e,t){!function(){if("function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};let n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}e.prototype=window.Event.prototype,window.CustomEvent=e}()},function(e,t){e.exports=jQuery}]);
assets/js/admin-page-columns.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/admin-page-columns.js","webpack:///./js/admin/columns/column.js","webpack:///./js/admin/columns/events/addons.js","webpack:///./js/admin/columns/events/clone.js","webpack:///./js/admin/columns/events/indicator.js","webpack:///./js/admin/columns/events/label.js","webpack:///./js/admin/columns/events/refresh.js","webpack:///./js/admin/columns/events/remove.js","webpack:///./js/admin/columns/events/toggle.js","webpack:///./js/admin/columns/events/type-selector.js","webpack:///./js/admin/columns/feedback.js","webpack:///./js/admin/columns/form.js","webpack:///./js/admin/columns/initiator.js","webpack:///./js/admin/columns/listscreen-initialize.js","webpack:///./js/admin/columns/menu.js","webpack:///./js/admin/columns/settings/custom-field.js","webpack:///./js/admin/columns/settings/date.js","webpack:///./js/admin/columns/settings/image-size.js","webpack:///./js/admin/columns/settings/label.js","webpack:///./js/admin/columns/settings/number-format.js","webpack:///./js/admin/columns/settings/pro.js","webpack:///./js/admin/columns/settings/sub-setting-toggle.js","webpack:///./js/admin/columns/settings/width.js","webpack:///./js/modules/modal.js","webpack:///./js/modules/modals.js","webpack:///./js/modules/tooltips.js","webpack:///./node_modules/admin-columns-js/polyfill/customevent.js","webpack:///./node_modules/admin-columns-js/polyfill/nodelist.js","webpack:///./node_modules/core-js/modules/_a-function.js","webpack:///./node_modules/core-js/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/modules/_an-object.js","webpack:///./node_modules/core-js/modules/_array-includes.js","webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_array-species-constructor.js","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./node_modules/core-js/modules/_classof.js","webpack:///./node_modules/core-js/modules/_cof.js","webpack:///./node_modules/core-js/modules/_core.js","webpack:///./node_modules/core-js/modules/_ctx.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/core-js/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/_dom-create.js","webpack:///./node_modules/core-js/modules/_enum-bug-keys.js","webpack:///./node_modules/core-js/modules/_export.js","webpack:///./node_modules/core-js/modules/_fails.js","webpack:///./node_modules/core-js/modules/_fix-re-wks.js","webpack:///./node_modules/core-js/modules/_global.js","webpack:///./node_modules/core-js/modules/_has.js","webpack:///./node_modules/core-js/modules/_hide.js","webpack:///./node_modules/core-js/modules/_html.js","webpack:///./node_modules/core-js/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/modules/_iobject.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/_is-object.js","webpack:///./node_modules/core-js/modules/_iter-create.js","webpack:///./node_modules/core-js/modules/_iter-define.js","webpack:///./node_modules/core-js/modules/_iter-step.js","webpack:///./node_modules/core-js/modules/_iterators.js","webpack:///./node_modules/core-js/modules/_library.js","webpack:///./node_modules/core-js/modules/_object-create.js","webpack:///./node_modules/core-js/modules/_object-dp.js","webpack:///./node_modules/core-js/modules/_object-dps.js","webpack:///./node_modules/core-js/modules/_object-gpo.js","webpack:///./node_modules/core-js/modules/_object-keys-internal.js","webpack:///./node_modules/core-js/modules/_object-keys.js","webpack:///./node_modules/core-js/modules/_object-sap.js","webpack:///./node_modules/core-js/modules/_property-desc.js","webpack:///./node_modules/core-js/modules/_redefine.js","webpack:///./node_modules/core-js/modules/_set-to-string-tag.js","webpack:///./node_modules/core-js/modules/_shared-key.js","webpack:///./node_modules/core-js/modules/_shared.js","webpack:///./node_modules/core-js/modules/_to-absolute-index.js","webpack:///./node_modules/core-js/modules/_to-integer.js","webpack:///./node_modules/core-js/modules/_to-iobject.js","webpack:///./node_modules/core-js/modules/_to-length.js","webpack:///./node_modules/core-js/modules/_to-object.js","webpack:///./node_modules/core-js/modules/_to-primitive.js","webpack:///./node_modules/core-js/modules/_uid.js","webpack:///./node_modules/core-js/modules/_wks.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./node_modules/core-js/modules/es6.array.iterator.js","webpack:///./node_modules/core-js/modules/es6.function.name.js","webpack:///./node_modules/core-js/modules/es6.object.keys.js","webpack:///./node_modules/core-js/modules/es6.object.to-string.js","webpack:///./node_modules/core-js/modules/es6.regexp.replace.js","webpack:///./node_modules/core-js/modules/web.dom.iterable.js","webpack:///./node_modules/nanoassert/index.js","webpack:///./node_modules/nanobus/index.js","webpack:///./node_modules/nanoscheduler/index.js","webpack:///./node_modules/nanotiming/browser.js","webpack:///./node_modules/remove-array-items/index.js","webpack:///(webpack)/buildin/global.js","webpack:///external \"jQuery\""],"names":["global","AdminColumns","jQuery","$","AC","Column","Initiator","document","on","Tooltips","Tooltip","registerEvent","EventToggle","EventRemove","EventClone","EventRefresh","EventTypeSelector","EventIndicator","EventLabel","label","setting","EventAddons","registerSetting","SettingDate","SettingImageSize","SettingPro","SettingSubSettingToggle","SettingWidth","SettingCustomField","SettingNumberFormat","SettingLabel","ready","Form","Modals","init","register","Modal","querySelector","Menu","Feedback","e","column","$el","find","each","ac_pointer","setTimeout","hasOwnProperty","Object","keys","uninitialized_list_screens","length","ListScreenInitializeController","STATES","CLOSED","OPEN","el","settings","state","_type","data","hasClass","addClass","removeClass","temp_column_name","getNewIncementalName","original_column_name","name","i","v","$input","attr","replace","incremental_column_name","events","forEach","key","isBound","bind","bindSettings","trigger","remove","duration","self","animate","opacity","height","destroy","getState","close","open","slideUp","slideDown","message","html","show","type","ajax","url","ajaxurl","method","dataType","action","id","serialize","current_original_columns","originalColumns","original_columns","_ajax_nonce","success","response","replaceWith","initNewInstance","bindEvents","showMessage","error","serializeArray","request_data","column_name","value","push","$clone","clone","module","exports","addons","$column","inputs","closest","val","additional","click","preventDefault","isOriginal","cloneColumn","indicator","$indicator","$setting","unbind","toggleClass","filter","prop","change","$label","field_label","text","column_label","trim","width","settingLabel","hover","parents","hide","refresh","always","fail","i18n","errors","loading_column","removeColumn","toggle","css","selector","switchToType","reindexColumns","$box","form","$form","$column_container","$container","columns","_validators","initColumns","bindFormEvents","bindOrdering","disableFields","sortable","items","handle","valid","validator","call","$buttons","validateForm","submitForm","removeAttr","addColumn","$boxes","col","disable","resetColumns","elements","readOnly","setAttribute","xhr","post","save_settings","attr_class","$msg","stop","prepend","_addColumnToForm","create","append","scrollTop","offset","top","incremental_name","k","console","event","oldName","nanobus","ListscreenInitialize","list_screens","processing","list_screen","screen_link","processListScreen","shift","emit","initListScreen","done","r","checkFinish","run","main_initializer","notice","loading","menu","style","display","classList","location","reload","background_initializer","submit","next","SingleCustomFieldRequestManager","meta_type","post_type","defer","Deferred","resolve","retrieveOptions","reject","results","promise","loadSingleRequestManager","AC_Requests","CustomField","input","request","dataset","editingAvailable","querySelectorAll","removeAttribute","getOptions","ac_select2","theme","tags","dropdownCssClass","customfield","date","$radio_custom","$input_custom","$input_value","$example_custom","$selected","$help_msg","$input_container","date_format","description","$custom_value","Image","field","initState","addEventListener","getValue","showSubsettings","hideSubsettings","subsetting","setWidth","setHeight","dispatchEvent","Event","image","Label","iconpicker","_dashicon","modal","initValue","createRange","createContextualFragment","dashicon","cls","indexOf","icon","parentElement","add","setIconSelection","getIconSelection","setDashicon","icons","selection","innerHTML","visibility","setValue","NumberFormat","refreshPreview","getExampleRequest","example","preview","innerText","decimals","decimal_point","thousands_point","number","numberformat","number_format","pro","value_show","subfield","$subfields","$settings","fn","column_width_slider","$column_width","input_width","input_unit","unit","slider","range","min","max","slide","ui","$width_indicator","_width","_unit","width_unit_select","width_input","_new_width","isNumeric","substring","dialog","initEvents","keyName","isOpen","dismissButtons","b","stopPropagation","ac_modal_init","initGlobalEvents","AC_MODAL","contains","onClose","onOpen","target","acOpenModal","modal_key","get","modals","_abstract","isEnabled","qtip","log","content","position","my","at","tip","classes"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;AClFA;;AASA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAhCA;;;;;;;;;AAeA;;AASA;AAUA,mBAAO,CAAE,sGAAF,CAAP;;AACA,mBAAO,CAAE,gGAAF,CAAP;;AAEAA,MAAM,CAACC,YAAP,GAAsB,OAAOA,YAAP,KAAwB,WAAxB,GAAsCA,YAAtC,GAAqD,EAA3E;;AAEA,IAAIC,MAAM,GAAGC,CAAC,GAAG,mBAAO,CAAE,sBAAF,CAAxB;;AAEAC,EAAE,CAACC,MAAH,GAAY,IAAIC,kBAAJ,EAAZ,C,CAA6B;;AAC7BL,YAAY,CAACI,MAAb,GAAsBD,EAAE,CAACC,MAAzB;AAEAH,MAAM,CAAEK,QAAF,CAAN,CAAmBC,EAAnB,CAAu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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,YAAY,eAAe;AAChC;AACA,KAAK;AACL;AACA;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,wCAAwC;AACxC;AACA,8BAA8B;AAC9B,6BAA6B;AAC7B,+BAA+B;AAC/B,mCAAmC;AACnC,SAAS,iCAAiC;AAC1C;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC3CA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACfA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2BAA2B,kBAAkB,EAAE;;AAE/C;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtBA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;;;;ACJA,6BAA6B;AAC7B,uCAAuC;;;;;;;;;;;;ACDvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;;;;;ACHD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;;;;;AC1CA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,gCAAgC,qCAAqC;AACrE;AACA;AACA,2BAA2B,gCAAgC;AAC3D;AACA;AACA;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;;;;;ACPA;AACA;;;;;;;;;;;;ACDA;AACA,uIAAsE,mBAAmB,UAAU,EAAE,EAAE;AACvG,CAAC;;;;;;;;;;;;ACFD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;;;;;;;;;;;;;ACFA;AACA;AACA;AACA;AACA;;AAEA;AACA,uMAAkF,aAAa,EAAE;;AAEjG;AACA,qDAAqD,4BAA4B;AACjF;AACA;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;;AAEA,8BAA8B,aAAa;;AAE3C;AACA;AACA;AACA;AACA;AACA,yCAAyC,oCAAoC;AAC7E,6CAA6C,oCAAoC;AACjF,KAAK,4BAA4B,oCAAoC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAmB;AACnC;AACA;AACA,kCAAkC,2BAA2B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;ACpEA;AACA,UAAU;AACV;;;;;;;;;;;;ACFA;;;;;;;;;;;;ACAA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;AACA;AACA;;;;;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACZA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA,qDAAqD,OAAO,EAAE;AAC9D;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;;;;;AC9BD;AACA;AACA;;AAEA;AACA,oEAAoE,iCAAiC;AACrG;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA,kDAAkD;;AAElD;AACA,qEAAqE;AACrE,CAAC;AACD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,gBAAgB,EAAE;AAC5D;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC,cAAc;AACd,iBAAiB;AACjB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACjCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACfD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACRD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oDAAoD,wBAAwB;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzDA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACrBA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,yCAAyC,SAAS;AAClD;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,aAAa;AAChC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;AACA;;;;;;;;;;;;ACjKA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;ACtDA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC,YAAY;;AAEb;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,YAAY;AACnB;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;AC/CA;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA,oBAAoB,SAAS;AAC7B;AACA;;AAEA;AACA;;;;;;;;;;;;AC1BA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;ACnBA,wB","file":"admin-page-columns.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","import ListScreenInitializeController from \"./admin/columns/listscreen-initialize\";\r\n/**\r\n * AC variables. Defined in DOM.\r\n * @param AdminColumns {Object}\r\n * @param AC {Object}\r\n * @param AC.list_screen {String}\r\n * @param AC.layout {String}\r\n * @param AC.i81n {String}\r\n */\r\nimport Form from \"./admin/columns/form\";\r\nimport Modals from \"./modules/modals\";\r\nimport Initiator from \"./admin/columns/initiator\";\r\nimport Modal from \"./modules/modal\";\r\nimport Menu from \"./admin/columns/menu\";\r\nimport Feedback from \"./admin/columns/feedback\";\r\nimport Tooltip from \"./modules/tooltips\";\r\n/** Events */\r\nimport EventToggle from './admin/columns/events/toggle';\r\nimport EventRemove from './admin/columns/events/remove';\r\nimport EventClone from './admin/columns/events/clone';\r\nimport EventRefresh from './admin/columns/events/refresh';\r\nimport EventTypeSelector from './admin/columns/events/type-selector';\r\nimport EventIndicator from './admin/columns/events/indicator';\r\nimport EventLabel from './admin/columns/events/label';\r\nimport EventAddons from './admin/columns/events/addons';\r\n/** Settings */\r\nimport SettingImageSize from './admin/columns/settings/image-size';\r\nimport SettingSubSettingToggle from './admin/columns/settings/sub-setting-toggle';\r\nimport SettingDate from './admin/columns/settings/date';\r\nimport SettingPro from './admin/columns/settings/pro';\r\nimport SettingWidth from './admin/columns/settings/width';\r\nimport SettingLabel from './admin/columns/settings/label';\r\nimport SettingCustomField from './admin/columns/settings/custom-field';\r\nimport SettingNumberFormat from './admin/columns/settings/number-format';\r\n\r\nrequire( 'admin-columns-js/polyfill/customevent' );\r\nrequire( 'admin-columns-js/polyfill/nodelist' );\r\n\r\nglobal.AdminColumns = typeof AdminColumns !== \"undefined\" ? AdminColumns : {};\r\n\r\nlet jQuery = $ = require( 'jquery' );\r\n\r\nAC.Column = new Initiator(); // Todo remove from\r\nAdminColumns.Column = AC.Column;\r\n\r\njQuery( document ).on( 'AC_Form_Loaded', function() {\r\n\tAdminColumns.Tooltips = new Tooltip();\r\n\t/** Register Events **/\r\n\tAdminColumns.Column\r\n\t\t.registerEvent( 'toggle', EventToggle )\r\n\t\t.registerEvent( 'remove', EventRemove )\r\n\t\t.registerEvent( 'clone', EventClone )\r\n\t\t.registerEvent( 'refresh', EventRefresh )\r\n\t\t.registerEvent( 'type_selector', EventTypeSelector )\r\n\t\t.registerEvent( 'indicator', EventIndicator )\r\n\t\t.registerEvent( 'label', EventLabel.label )\r\n\t\t.registerEvent( 'label_setting', EventLabel.setting )\r\n\t\t.registerEvent( 'addons', EventAddons )\r\n\r\n\t\t/** Register Settings **/\r\n\t\t.registerSetting( 'date', SettingDate )\r\n\t\t.registerSetting( 'image_size', SettingImageSize )\r\n\t\t.registerSetting( 'pro', SettingPro )\r\n\t\t.registerSetting( 'sub_setting_toggle', SettingSubSettingToggle )\r\n\t\t.registerSetting( 'width', SettingWidth )\r\n\t\t.registerSetting( 'customfield', SettingCustomField )\r\n\t\t.registerSetting( 'number_format', SettingNumberFormat )\r\n\t\t.registerSetting( 'label', SettingLabel );\r\n} );\r\n\r\njQuery( document ).ready( function() {\r\n\tAC.Form = new Form( '#listscreen_settings' );\r\n\tAdminColumns.Form = AC.Form;\r\n\tModals.init().register( new Modal( document.querySelector( '#ac-modal-pro' ) ), 'pro' );\r\n\r\n\tnew Menu().init();\r\n\tnew Feedback( '.sidebox#direct-feedback' );\r\n\r\n\tjQuery( document ).on( 'AC_Column_Change', function( e, column ) {\r\n\t\tcolumn.$el.find( '.ac-pointer' ).each( function() {\r\n\t\t\tac_pointer( jQuery( this ) );\r\n\t\t} );\r\n\t} );\r\n\r\n\tjQuery( document ).on( 'AC_Column_Created', function( e, column ) {\r\n\t\tsetTimeout( function() {\r\n\t\t\tcolumn.$el.find( '.ac-pointer' ).each( function() {\r\n\t\t\t\tac_pointer( jQuery( this ) );\r\n\t\t\t} );\r\n\t\t}, 100 )\r\n\t} );\r\n\r\n\tif ( AC.hasOwnProperty( 'uninitialized_list_screens' ) && Object.keys( AC.uninitialized_list_screens ).length > 0 ) {\r\n\t\tnew ListScreenInitializeController( AC.uninitialized_list_screens );\r\n\t}\r\n\r\n} );","const STATES = {\r\n\tCLOSED : 'closed',\r\n\tOPEN : 'open'\r\n};\r\n\r\nclass Column {\r\n\r\n\tconstructor( $el ) {\r\n\t\tthis.$el = $el;\r\n\t\tthis.el = $el[ 0 ];\r\n\t\tthis.settings = [];\r\n\t\tthis.state = STATES.CLOSED;\r\n\r\n\t\tthis._type = this.$el.data( 'type' );\r\n\t}\r\n\r\n\tget name() {\r\n\t\treturn this.$el.data( 'column-name' );\r\n\t}\r\n\r\n\tset name( name ) {\r\n\t\tthis.$el.data( 'column-name', name );\r\n\t}\r\n\r\n\tget type() {\r\n\t\treturn this._type;\r\n\t}\r\n\r\n\tset type( type ) {\r\n\t\tthis.$el.data( 'type', type );\r\n\t}\r\n\r\n\tisOriginal() {\r\n\t\treturn (1 === this.$el.data( 'original' ));\r\n\t}\r\n\r\n\tisDisabled() {\r\n\t\treturn this.$el.hasClass( 'disabled' );\r\n\t}\r\n\r\n\tdisable() {\r\n\t\tthis.$el.addClass( 'disabled' );\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tenable() {\r\n\t\tthis.$el.removeClass( 'disabled' );\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tinitNewInstance() {\r\n\t\tlet temp_column_name = '_new_column_' + AC.Column.getNewIncementalName();\r\n\t\tlet original_column_name = this.name;\r\n\r\n\t\tthis.$el.find( 'input, select, label' ).each( function( i, v ) {\r\n\t\t\tlet $input = jQuery( v );\r\n\r\n\t\t\t// name attributes\r\n\t\t\tif ( $input.attr( 'name' ) ) {\r\n\t\t\t\t$input.attr( 'name', $input.attr( 'name' ).replace( `columns[${original_column_name}]`, `columns[${temp_column_name}]` ) );\r\n\t\t\t}\r\n\r\n\t\t\t// id attributes\r\n\t\t\tif ( $input.attr( 'id' ) ) {\r\n\t\t\t\t$input.attr( 'id', $input.attr( 'id' ).replace( `-${original_column_name}-`, `-${temp_column_name}-` ) );\r\n\t\t\t}\r\n\r\n\t\t} );\r\n\r\n\t\tthis.name = temp_column_name;\r\n\r\n\t\tAC.incremental_column_name++;\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @returns {Column}\r\n\t */\r\n\tbindEvents() {\r\n\t\tlet column = this;\r\n\t\tcolumn.$el.data( 'column', column );\r\n\r\n\t\tObject.keys( AC.Column.events ).forEach( function( key ) {\r\n\t\t\tif ( !column.isBound( key ) ) {\r\n\t\t\t\tAC.Column.events[ key ]( column );\r\n\t\t\t\tcolumn.bind( key );\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t\tthis.bindSettings();\r\n\r\n\t\tjQuery( document ).trigger( 'AC_Column_InitSettings', [ column ] );\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tbindSettings() {\r\n\t\tlet column = this;\r\n\r\n\t\tObject.keys( AC.Column.settings ).forEach( function( key ) {\r\n\t\t\tif ( !column.isBound( key ) ) {\r\n\t\t\t\tAC.Column.settings[ key ]( column );\r\n\t\t\t\tcolumn.bind( key );\r\n\t\t\t}\r\n\t\t} );\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @param key\r\n\t * @returns {bool}\r\n\t */\r\n\tisBound( key ) {\r\n\t\treturn this.$el.data( key );\r\n\t}\r\n\r\n\tbind( key ) {\r\n\t\tthis.$el.data( key, true );\r\n\t}\r\n\r\n\tdestroy() {\r\n\t\tthis.$el.remove();\r\n\t}\r\n\r\n\tremove( duration = 350 ) {\r\n\t\tlet self = this;\r\n\r\n\t\tthis.$el.addClass( 'deleting' ).animate( { opacity : 0, height : 0 }, duration, function() {\r\n\t\t\tself.destroy();\r\n\t\t} );\r\n\t}\r\n\r\n\tgetState() {\r\n\t\treturn this.state;\r\n\t}\r\n\r\n\ttoggle( duration = 150 ) {\r\n\t\tif ( this.getState() === STATES.OPEN ) {\r\n\t\t\tthis.close( duration );\r\n\t\t} else {\r\n\t\t\tthis.open( duration );\r\n\t\t}\r\n\t}\r\n\r\n\tclose( duration = 0 ) {\r\n\t\tthis.$el.removeClass( 'opened' ).find( '.ac-column-body' ).slideUp( duration );\r\n\t\tthis.state = STATES.CLOSED;\r\n\t}\r\n\r\n\topen( duration = 0 ) {\r\n\t\tthis.$el.addClass( 'opened' ).find( '.ac-column-body' ).slideDown( duration );\r\n\t\tthis.state = STATES.OPEN;\r\n\t}\r\n\r\n\tshowMessage( message ) {\r\n\t\tthis.$el.find( '.ac-column-setting--type .msg' ).html( message ).show();\r\n\t}\r\n\r\n\tswitchToType( type ) {\r\n\t\tlet self = this;\r\n\r\n\t\treturn jQuery.ajax( {\r\n\t\t\turl : ajaxurl,\r\n\t\t\tmethod : 'post',\r\n\t\t\tdataType : 'json',\r\n\t\t\tdata : {\r\n\t\t\t\taction : 'ac-columns',\r\n\t\t\t\tid : 'select',\r\n\t\t\t\ttype : type,\r\n\t\t\t\tdata: AC.Form.serialize(),\r\n\t\t\t\tcurrent_original_columns : AC.Form.originalColumns(),\r\n\t\t\t\toriginal_columns : AC.original_columns,\r\n\t\t\t\t_ajax_nonce : AC._ajax_nonce,\r\n\t\t\t},\r\n\t\t\tsuccess : function( response ) {\r\n\t\t\t\tif ( true === response.success ) {\r\n\t\t\t\t\tlet column = jQuery( response.data );\r\n\r\n\t\t\t\t\tself.$el.replaceWith( column );\r\n\t\t\t\t\tself.$el = column;\r\n\t\t\t\t\tself.el = column[ 0 ];\r\n\t\t\t\t\tself._type = type;\r\n\t\t\t\t\tself.initNewInstance();\r\n\t\t\t\t\tself.bindEvents();\r\n\t\t\t\t\tself.open();\r\n\r\n\t\t\t\t\tjQuery( document ).trigger( 'AC_Column_Change', [ self ] );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tself.showMessage( response.data.error )\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} );\r\n\t}\r\n\r\n\trefresh() {\r\n\r\n\t\tlet self = this;\r\n\t\tlet data = this.$el.find( ':input' ).serializeArray();\r\n\t\tlet request_data = {\r\n\t\t\taction : 'ac-columns',\r\n\t\t\tid : 'refresh',\r\n\t\t\t_ajax_nonce : AC._ajax_nonce,\r\n\t\t\tdata: AC.Form.serialize(),\r\n\t\t\tcolumn_name : this.name,\r\n\t\t\toriginal_columns : AC.original_columns\r\n\t\t};\r\n\r\n\t\tjQuery.each( request_data, function( name, value ) {\r\n\t\t\tdata.push( {\r\n\t\t\t\tname : name,\r\n\t\t\t\tvalue : value\r\n\t\t\t} );\r\n\t\t} );\r\n\r\n\t\treturn jQuery.ajax( {\r\n\t\t\ttype : 'post',\r\n\t\t\turl : ajaxurl,\r\n\t\t\tdata : data,\r\n\r\n\t\t\tsuccess : function( response ) {\r\n\t\t\t\tif ( true === response.success ) {\r\n\t\t\t\t\tlet column = jQuery( response.data );\r\n\r\n\t\t\t\t\tself.$el.replaceWith( column );\r\n\t\t\t\t\tself.$el = column;\r\n\t\t\t\t\tself.el = column[ 0 ];\r\n\t\t\t\t\tself.bindEvents();\r\n\r\n\t\t\t\t\tif ( self.getState() === STATES.OPEN ) {\r\n\t\t\t\t\t\tself.open();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tjQuery( document ).trigger( 'AC_Column_Refresh', [ self ] );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t} );\r\n\t}\r\n\r\n\t/**\r\n\t * @returns {Column}\r\n\t */\r\n\tcreate() {\r\n\t\tthis.initNewInstance();\r\n\t\tthis.bindEvents();\r\n\r\n\t\tjQuery( document ).trigger( 'AC_Column_Created', [ this ] );\r\n\t\treturn this;\r\n\t}\r\n\r\n\t/**\r\n\t * @returns {Column}\r\n\t */\r\n\tclone() {\r\n\t\tlet $clone = this.$el.clone();\r\n\t\t$clone.data( 'column-name', this.$el.data( 'column-name' ) );\r\n\r\n\t\tlet clone = new Column( $clone );\r\n\r\n\t\tclone.initNewInstance();\r\n\t\tclone.bindEvents();\r\n\r\n\t\treturn clone;\r\n\t}\r\n}\r\n\r\nmodule.exports = Column;","/*\n * Optional Radio Click events\n * TODO: Is not used anymore?\n */\n\nlet addons = function( column ) {\n\tlet $ = jQuery;\n\tlet $column = column.$el;\n\tlet inputs = $column.find( '[data-trigger] label' );\n\n\tinputs.on( 'click', function() {\n\n\t\tlet id = $( this ).closest( 'td.input' ).data( 'trigger' );\n\t\tlet state = $( 'input', this ).val();\n\n\t\t// Toggle indicator icon\n\t\tlet label = $column.find( '[data-indicator-id=\"' + id + '\"]' ).removeClass( 'on' );\n\t\tif ( 'on' === state ) {\n\t\t\tlabel.addClass( 'on' );\n\t\t}\n\n\t\t// Toggle additional options\n\t\tlet additional = $column.find( '[data-handle=\"' + id + '\"]' ).addClass( 'hide' );\n\t\tif ( 'on' === state ) {\n\t\t\tadditional.removeClass( 'hide' );\n\t\t}\n\t} );\n\n\t// On load\n\t$column.find( '[data-trigger]' ).each( function() {\n\n\t\tlet trigger = $( this ).data( 'trigger' );\n\n\t\t// Hide additional column settings\n\t\tlet additional = $column.find( '[data-handle=\"' + trigger + '\"]' ).addClass( 'hide' );\n\t\tif ( 'on' === $( 'input:checked', this ).val() ) {\n\t\t\tadditional.removeClass( 'hide' );\n\t\t}\n\t} );\n\n};\n\nmodule.exports = addons;","/*\n* Column: bind clone events\n*\n* @since 2.0\n*/\nlet clone = function( column ) {\n\tcolumn.$el.find( '.clone-button' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tif ( column.isOriginal() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tAC.Form.cloneColumn( column.$el );\n\t} );\n};\n\nmodule.exports = clone;","let indicator = function( column ) {\r\n\tlet $column = column.$el;\r\n\r\n\t$column.find( '.ac-column-header [data-indicator-toggle]' ).each( function() {\r\n\t\tlet $ = jQuery;\r\n\t\tlet $indicator = $( this );\r\n\t\tlet setting = $( this ).data( 'setting' );\r\n\t\tlet $setting = $column.find( '.ac-column-setting[data-setting=' + setting + ']' );\r\n\t\tlet $input = $setting.find( '.col-input:first .ac-setting-input:first input[type=radio]' );\r\n\r\n\t\t$indicator.unbind( 'click' ).on( 'click', function( e ) {\r\n\t\t\te.preventDefault();\r\n\r\n\t\t\tif ( $column.hasClass( 'disabled' ) ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t$indicator.toggleClass( 'on' );\r\n\t\t\tif ( $( this ).hasClass( 'on' ) ) {\r\n\t\t\t\t$input.filter( '[value=on]' ).prop( 'checked', true ).trigger( 'click' ).trigger( 'change' );\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t$input.filter( '[value=off]' ).prop( 'checked', true ).trigger( 'click' ).trigger( 'change' );\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t\t$input.on( 'change', function() {\r\n\t\t\tif ( $column.hasClass( 'disabled' ) ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tlet value = $input.filter( ':checked' ).val();\r\n\t\t\tif ( 'on' === value ) {\r\n\t\t\t\t$indicator.addClass( 'on' );\r\n\t\t\t} else {\r\n\t\t\t\t$indicator.removeClass( 'on' );\r\n\t\t\t}\r\n\t\t} );\r\n\t} );\r\n};\r\n\r\nmodule.exports = indicator;","let label = function( column ) {\n\tlet $column = column.$el;\n\n\t/**\n\t * Populates the main Label with the selected label from the dropdown,\n\t */\n\t$column.find( 'select[data-label=\"update\"]' ).change( function() {\n\t\tlet $label = $column.find( 'input.ac-setting-input_label' );\n\t\tlet field_label = jQuery( this ).find( 'option:selected' ).text();\n\n\t\t// Set new label\n\t\t$label.val( field_label );\n\t\t$label.trigger( 'change' );\n\t} );\n\n\t/** When an label contains an icon or span, the displayed label can appear empty. In this case we show the \"type\" label. */\n\tsetTimeout( function() {\n\t\tlet column_label = $column.find( '.column_label .toggle' );\n\n\t\tif ( jQuery.trim( column_label.html() ) && column_label.width() < 1 ) {\n\t\t\tcolumn_label.html( $column.find( '.column_type .inner' ).html() );\n\t\t}\n\t}, 50 );\n};\n\nlet settingLabel = function( column ) {\n\tlet $column = column.$el;\n\n\t/** change label */\n\t$column.find( '.ac-column-setting--label input' ).bind( 'keyup change', function() {\n\t\tlet value = jQuery( this ).val();\n\t\tjQuery( this ).closest( '.ac-column' ).find( 'td.column_label .inner > a.toggle' ).html( value );\n\t} ).trigger( 'change' );\n\n\t/** tooltip */\n\t$column.find( '.ac-column-body .col-label .label' ).hover( function() {\n\t\tjQuery( this ).parents( '.col-label' ).find( 'div.tooltip' ).show();\n\t}, function() {\n\t\tjQuery( this ).parents( '.col-label' ).find( 'div.tooltip' ).hide();\n\t} );\n};\n\nmodule.exports = {\n\tlabel : label,\n\tsetting : settingLabel\n};","let refresh = function( column ) {\n\tlet $ = jQuery;\n\n\tcolumn.$el.find( '[data-refresh=\"column\"]' ).on( 'change', function() {\n\t\t// Allow plugins to hook into this event\n\t\t$( document ).trigger( 'AC.column.prerefresh', column.$el );\n\t\tcolumn.$el.addClass( 'loading' );\n\n\t\tsetTimeout( function() {\n\t\t\tcolumn.refresh().always( function() {\n\t\t\t\tcolumn.$el.removeClass( 'loading' );\n\t\t\t} ).fail( () => {\n\t\t\t\tcolumn.showMessage( AC.i18n.errors.loading_column );\n\t\t\t} );\n\t\t}, 200 );\n\n\t} );\n};\n\nmodule.exports = refresh;","/*\n * Column: bind remove events\n *\n * @since 2.0\n */\nlet remove = function( column ) {\n\tcolumn.$el.find( '.remove-button' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tAC.Form.removeColumn( column.name );\n\t} );\n};\n\nmodule.exports = remove;","/*\n * Column: bind toggle events\n *\n * For performance we bind all other events after the click event.\n *\n * @since 2.0\n */\nlet toggle = function( column ) {\n\tcolumn.$el.find( '[data-toggle=\"column\"]' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tcolumn.toggle();\n\t} ).css( 'cursor', 'pointer' );\n};\n\nmodule.exports = toggle;","let selector = function( column ) {\n\tlet $ = jQuery;\n\tcolumn.$el.find( 'select.ac-setting-input_type' ).change( function() {\n\t\tcolumn.$el.addClass( 'loading' );\n\t\tcolumn.switchToType( $( this ).val() ).always( function() {\n\t\t\tcolumn.$el.removeClass( 'loading' );\n\n\t\t\tAC.Form.reindexColumns();\n\t\t} ).fail( () => {\n\t\t\tcolumn.showMessage( AC.i18n.errors.loading_column );\n\t\t} );\n\t} );\n};\n\nmodule.exports = selector;","class Feedback {\n\n\tconstructor( $el ) {\n\t\tthis.$el = jQuery( $el );\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet $box = this.$el;\n\n\t\t$box.find( '#feedback-choice a.no' ).click( function( e ) {\n\t\t\te.preventDefault();\n\n\t\t\t$box.find( '#feedback-choice' ).slideUp();\n\t\t\t$box.find( '#feedback-support' ).slideDown();\n\t\t} );\n\n\t\t$box.find( '#feedback-choice a.yes' ).click( function( e ) {\n\t\t\te.preventDefault();\n\n\t\t\t$box.find( '#feedback-choice' ).slideUp();\n\t\t\t$box.find( '#feedback-rate' ).slideDown();\n\t\t} );\n\t};\n\n}\n\nmodule.exports = Feedback;","import Column from \"./column\";\n\nclass Form {\n\n\tconstructor( el ) {\n\t\tthis.form = el;\n\t\tthis.$form = jQuery( el );\n\t\tthis.$column_container = this.$form.find( '.ac-columns' );\n\t\tthis.$container = jQuery( '#cpac .ac-admin' );\n\t\tthis.columns = {};\n\t\tthis._validators = [];\n\n\t\tjQuery( document ).trigger( 'AC_Form_Loaded' );\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tthis.initColumns();\n\t\tthis.bindFormEvents();\n\t\tthis.bindOrdering();\n\n\t\tif ( this.$form.hasClass( '-disabled' ) ) {\n\t\t\tthis.disableFields();\n\t\t}\n\n\t\tjQuery( document ).trigger( 'AC_Form_Ready', this );\n\t}\n\n\tbindOrdering() {\n\n\t\tif ( this.$form.hasClass( 'ui-sortable' ) ) {\n\t\t\tthis.$form.sortable( 'refresh' );\n\t\t} else {\n\t\t\tthis.$form.sortable( {\n\t\t\t\titems : '.ac-column',\n\t\t\t\thandle : '.column_sort'\n\t\t\t} );\n\t\t}\n\n\t}\n\n\toriginalColumns() {\n\t\tlet self = this;\n\t\tlet columns = [];\n\n\t\tObject.keys( self.columns ).forEach( function( key ) {\n\t\t\tlet column = self.columns[ key ];\n\t\t\tif ( column.isOriginal() ) {\n\t\t\t\tcolumns.push( column.type );\n\t\t\t}\n\t\t} );\n\n\t\treturn columns;\n\t}\n\n\tvalidateForm() {\n\t\tlet valid = true;\n\n\t\tthis._validators.forEach( validator => {\n\t\t\tvalid = validator.call( this, this );\n\t\t} );\n\n\t\treturn valid;\n\t}\n\n\taddValidator( validator ){\n\t\tthis._validators.push( validator );\n\t}\n\n\tbindFormEvents() {\n\t\tlet self = this;\n\t\tlet $buttons = jQuery( '.sidebox a.submit, .column-footer a.submit' );\n\n\t\t$buttons.on( 'click', function() {\n\t\t\tif( ! self.validateForm() ){\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t$buttons.attr( 'disabled', 'disabled' );\n\t\t\tself.submitForm().always( function() {\n\t\t\t\t$buttons.removeAttr( 'disabled', 'disabled' );\n\t\t\t} )\n\t\t} );\n\n\t\tself.$container.find( '.add_column' ).on( 'click', function() {\n\t\t\tself.addColumn();\n\t\t} );\n\n\t\tlet $boxes = jQuery( '#cpac .ac-boxes' );\n\t\tif ( $boxes.hasClass( 'disabled' ) ) {\n\t\t\t$boxes.find( '.ac-column' ).each( function( i, col ) {\n\t\t\t\tjQuery( col ).data( 'column' ).disable();\n\t\t\t\tjQuery( col ).find( 'input, select' ).prop( 'disabled', true );\n\t\t\t} );\n\t\t}\n\n\t\tjQuery( 'a[data-clear-columns]' ).on( 'click', function() {\n\t\t\tself.resetColumns();\n\t\t} );\n\t}\n\n\tinitColumns() {\n\t\tlet self = this;\n\t\tself.columns = {};\n\n\t\tthis.$form.find( '.ac-column' ).each( function() {\n\t\t\tlet $el = jQuery( this );\n\t\t\tlet column = new Column( $el );\n\n\t\t\tcolumn.bindEvents();\n\n\t\t\t$el.data( 'column', column );\n\t\t\tself.columns[ column.name ] = column;\n\t\t} );\n\t}\n\n\treindexColumns() {\n\t\tlet self = this;\n\t\tself.columns = {};\n\n\t\tthis.$form.find( '.ac-column' ).each( function() {\n\t\t\tlet column = jQuery( this ).data( 'column' );\n\n\t\t\tself.columns[ column.name ] = column;\n\t\t} );\n\t}\n\n\tresetColumns() {\n\t\tObject.keys( this.columns ).forEach( ( key ) => {\n\t\t\tlet column = this.columns[ key ];\n\n\t\t\tcolumn.destroy();\n\t\t} );\n\n\t}\n\n\tserialize() {\n\t\treturn this.$form.serialize();\n\t}\n\n\tdisableFields() {\n\t\tlet form = document.querySelector( this.form );\n\t\tif ( !form ) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet elements = form.elements;\n\n\t\tfor ( let i = 0; i < elements.length; i++ ) {\n\t\t\telements[ i ].readOnly = true;\n\t\t\telements[ i ].setAttribute( 'disabled', true );\n\t\t}\n\t}\n\n\tenableFields() {\n\n\t}\n\n\tsubmitForm() {\n\t\tlet self = this;\n\n\t\tlet xhr = jQuery.post( ajaxurl, {\n\t\t\t\taction : 'ac-columns',\n\t\t\t\tid : 'save',\n\t\t\t\t_ajax_nonce : AC._ajax_nonce,\n\t\t\t\tdata : this.serialize(),\n\t\t\t\t//columns: this.getColumnSettings(),\n\t\t\t\t//title: this.getTitle(),\n\t\t\t\t//list_screen : this.getListScreen(),\n\t\t\t\t//list_screen_id : this.getListScreenID(),\n\t\t\t\t//original_columns : AC.original_columns\n\t\t\t},\n\n\t\t\tfunction( response ) {\n\t\t\t\tif ( response ) {\n\t\t\t\t\tif ( response.success ) {\n\t\t\t\t\t\tself.showMessage( response.data, 'updated' );\n\n\t\t\t\t\t\tself.$container.addClass( 'stored' );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Error message\n\t\t\t\t\telse if ( response.data ) {\n\t\t\t\t\t\tself.showMessage( response.data.message, 'notice notice-warning' );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}, 'json' );\n\n\t\t// No JSON\n\t\txhr.fail( function( error ) {\n\t\t\tself.showMessage( AC.i18n.errors.save_settings, 'notice notice-warning' );\n\t\t} );\n\n\t\t//document.dispatchEvent( new CustomEvent( 'AC_Form_AfterUpdate', { detail : { container : self.$container } } ) );\n\t\tjQuery( document ).trigger( 'AC_Form_AfterUpdate', [self.$container] );\n\n\t\treturn xhr;\n\t}\n\n\tshowMessage( message, attr_class = 'updated' ) {\n\t\tlet $msg = jQuery( '<div class=\"ac-message hidden ' + attr_class + '\"><p>' + message + '</p></div>' );\n\n\t\tthis.$container.find( '.ac-message' ).stop().remove();\n\t\tthis.$container.find( '.ac-left' ).prepend( $msg );\n\n\t\t$msg.slideDown();\n\t}\n\n\tcloneColumn( $el ) {\n\t\treturn this._addColumnToForm( new Column( $el ).clone(), $el.hasClass( 'opened' ) );\n\t}\n\n\taddColumn() {\n\t\tlet $clone = jQuery( '#add-new-column-template' ).find( '.ac-column' ).clone();\n\t\tlet column = new Column( $clone ).create();\n\n\t\treturn this._addColumnToForm( column );\n\t}\n\n\tremoveColumn( name ) {\n\t\tif ( this.columns[ name ] ) {\n\t\t\tthis.columns[ name ].remove();\n\t\t\tdelete this.columns[ name ];\n\t\t}\n\t}\n\n\tgetListScreen() {\n\t\treturn this.$form.find( 'input[name=\"list_screen\"]' ).val();\n\t}\n\n\tgetListScreenID() {\n\t\treturn this.$form.find( 'input[name=\"list_screen_id\"]' ).val();\n\t}\n\n\tgetTitle() {\n\t\treturn this.$form.find( 'input[name=\"title\"]' ).val();\n\t}\n\n\tgetColumnSettings() {\n\t\treturn this.$form.find( '[name^=\"columns[\"]' ).serialize();\n\t}\n\n\t_addColumnToForm( column, open = true ) {\n\t\tthis.columns[ column.name ] = column;\n\t\tthis.$column_container.append( column.$el );\n\n\t\tif ( open ) {\n\t\t\tcolumn.open();\n\t\t}\n\n\t\tcolumn.$el.hide().slideDown();\n\n\t\tjQuery( 'html, body' ).animate( { scrollTop : column.$el.offset().top - 58 }, 300 );\n\n\t\tjQuery( document ).trigger( 'AC_Column_Added', [column] );\n\n\t\treturn column;\n\t}\n\n}\n\nmodule.exports = Form;","class Initiator {\n\n\tconstructor() {\n\t\tthis.events = {};\n\t\tthis.settings = {};\n\t\tthis.incremental_name = 0;\n\t}\n\n\tregisterSetting( k, setting ) {\n\t\tlet key = 's_' + k;\n\n\t\tif ( this.settings[ key ] ) {\n\t\t\tconsole.error( 'Setting key already exists: ' + k );\n\t\t}\n\n\t\tthis.settings[ key ] = setting;\n\n\t\treturn this;\n\t}\n\n\tregisterEvent( k, event ) {\n\t\tlet key = 'e_' + k;\n\t\tif ( this.settings[ key ] ) {\n\t\t\tconsole.error( 'Event key already exists: ' + key );\n\t\t}\n\n\t\tthis.events[ key ] = event;\n\n\t\treturn this;\n\t}\n\n\tgetNewIncementalName() {\n\t\tlet oldName = this.incremental_name;\n\t\tthis.incremental_name++;\n\n\t\treturn oldName;\n\t}\n}\n\nmodule.exports = Initiator;","var nanobus = require( 'nanobus' );\n\nclass ListscreenInitialize {\n\n\tconstructor( list_screens ) {\n\t\tthis.list_screens = list_screens;\n\t\tthis.processing = [];\n\t\tthis.errors = [];\n\t\tthis.events = nanobus();\n\t}\n\n\tinitListScreen( list_screen ) {\n\t\treturn jQuery.ajax( {\n\t\t\turl : list_screen.screen_link,\n\t\t\tmethod : 'get',\n\t\t} );\n\t}\n\n\trun() {\n\t\tObject.keys( this.list_screens ).forEach( key => {\n\t\t\tthis.processListScreen( this.list_screens[ key ] );\n\t\t} );\n\t}\n\n\tgetNextItem() {\n\t\treturn this.list_screens.shift();\n\t}\n\n\tcheckFinish() {\n\t\tif ( Object.keys( this.processing ).length > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( Object.keys( this.errors ).length > 0 ) {\n\t\t\tthis.events.emit( 'error' );\n\t\t\treturn;\n\t\t}\n\n\t\tthis.events.emit( 'success' );\n\t}\n\n\tprocessListScreen( list_screen ) {\n\t\tthis.processing.push( list_screen.label );\n\t\tthis.initListScreen( list_screen ).done( ( r ) => {\n\t\t\tthis.processing.shift();\n\n\t\t\tif ( r !== '1' ) {\n\t\t\t\tthis.errors.push( list_screen );\n\t\t\t}\n\t\t\tthis.checkFinish();\n\n\t\t} ).error( () => {\n\t\t\tthis.processing.shift();\n\t\t\tthis.errors.push( list_screen );\n\t\t} )\n\t}\n\n}\n\nexport default class ListScreenInitializeController {\n\n\tconstructor( list_screens ) {\n\t\tthis.list_screens = list_screens;\n\t\tthis.run();\n\t}\n\n\trun() {\n\t\tif ( Object.keys( this.list_screens ).length > 0 ) {\n\n\t\t\tif ( this.list_screens.hasOwnProperty( AC.list_screen ) ) {\n\t\t\t\tlet main_initializer = new ListscreenInitialize( [ this.list_screens[ AC.list_screen ] ] );\n\t\t\t\tmain_initializer.run();\n\t\t\t\tmain_initializer.events.on( 'error', () => {\n\t\t\t\t\tlet notice = document.querySelector( '.ac-notice.visit-ls' );\n\t\t\t\t\tlet loading = document.querySelector( '.ac-loading-msg-wrapper' );\n\t\t\t\t\tlet menu = document.querySelector( '.menu' );\n\n\t\t\t\t\tif ( notice ) {\n\t\t\t\t\t\tnotice.style.display = 'block';\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( loading ) {\n\t\t\t\t\t\tloading.remove();\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( menu ) {\n\t\t\t\t\t\tmenu.classList.remove( 'hidden' );\n\t\t\t\t\t}\n\t\t\t\t} );\n\n\t\t\t\tmain_initializer.events.on( 'success', () => {\n\t\t\t\t\tlocation.reload( true );\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\tlet background_initializer = new ListscreenInitialize( this.list_screens );\n\t\t\tbackground_initializer.run();\n\t\t}\n\t}\n\n}","class Menu {\n\n\tinit() {\n\t\tlet $ = jQuery;\n\n\t\t$( '#ac_list_screen' ).on( 'change', function() {\n\t\t\t$( '.view-link' ).hide();\n\t\t\t$( this ).parents( 'form' ).submit();\n\n\t\t\t$( this ).prop( 'disabled', true ).next( '.spinner' ).css( 'display', 'inline-block' );\n\t\t} );\n\n\t}\n\n}\n\nmodule.exports = Menu;","var nanobus = require( 'nanobus' );\n\nclass SingleCustomFieldRequestManager {\n\n\tconstructor( meta_type, post_type ) {\n\t\tthis.meta_type = meta_type;\n\t\tthis.post_type = post_type;\n\t\tthis.loading = false;\n\t\tthis.data = false;\n\t\tthis.events = nanobus();\n\t}\n\n\tretrieveOptions() {\n\t\tthis.loading = true;\n\n\t\treturn jQuery.ajax( {\n\t\t\turl : ajaxurl,\n\t\t\tdataType : 'json',\n\t\t\tmethod : 'post',\n\t\t\tdata : {\n\t\t\t\taction : 'ac_custom_field_options',\n\t\t\t\tpost_type : this.post_type,\n\t\t\t\tmeta_type : this.meta_type,\n\t\t\t\t_ajax_nonce : AC._ajax_nonce\n\t\t\t}\n\t\t} );\n\t}\n\n\tgetOptions() {\n\t\tconst defer = jQuery.Deferred();\n\n\t\tif ( this.data ) {\n\t\t\tdefer.resolve( this.data );\n\t\t} else if ( this.loading ) {\n\t\t\tthis.events.on( 'loaded', () => {\n\t\t\t\tdefer.resolve( this.data );\n\t\t\t} )\n\t\t} else {\n\t\t\tthis.retrieveOptions().done( response => {\n\t\t\t\tif ( !response.success ) {\n\t\t\t\t\tdefer.reject();\n\t\t\t\t}\n\n\t\t\t\tthis.data = response.data.results;\n\t\t\t\tthis.events.emit( 'loaded' );\n\n\t\t\t\tdefer.resolve( this.data );\n\t\t\t} );\n\t\t}\n\n\t\treturn defer.promise();\n\t}\n\n}\n\nconst loadSingleRequestManager = ( meta_type, post_type ) => {\n\tconst key = `custom_field_${meta_type}_${post_type}`;\n\n\tif ( typeof AC_Requests === 'undefined' ) {\n\t\tglobal.AC_Requests = {};\n\t}\n\n\tif ( !AC_Requests.hasOwnProperty( key ) ) {\n\t\tAC_Requests[ key ] = new SingleCustomFieldRequestManager( meta_type, post_type );\n\t}\n\n\treturn AC_Requests[ key ];\n};\n\nclass CustomField {\n\tconstructor( column ) {\n\t\tthis.column = column;\n\t\tthis.setting = column.$el[ 0 ].querySelector( '.ac-column-setting--custom_field' );\n\n\t\tif ( !this.setting || !this.setting.querySelector( '.custom_field' ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.bindEvents();\n\t}\n\n\tbindEvents() {\n\t\tconst input = this.setting.querySelector( '.custom_field' );\n\t\tconst request = loadSingleRequestManager( input.dataset.type, input.dataset.post_type );\n\t\tconst editingAvailable = this.column.el.querySelectorAll( '[data-setting=\"edit\"][data-indicator-toggle]' ).length > 0;\n\n\t\t// Ensure you won't get any duplicates on clone\n\t\tinput.querySelectorAll( 'optgroup' ).forEach( el => {\n\t\t\tel.remove();\n\t\t} );\n\n\t\tinput.removeAttribute( 'data-select2-id' );\n\n\t\tthis.setting.querySelectorAll( '.select2' ).forEach( el => {\n\t\t\tel.remove();\n\t\t} );\n\n\t\trequest.getOptions().done( data => {\n\t\t\tjQuery( input ).ac_select2( {\n\t\t\t\ttheme : 'acs2',\n\t\t\t\twidth : '100%',\n\t\t\t\ttags : editingAvailable,\n\t\t\t\tdropdownCssClass : '-customfields',\n\t\t\t\tdata : data\n\t\t\t} );\n\t\t} );\n\t}\n}\n\nconst customfield = column => {\n\tcolumn.settings.customfield = new CustomField( column );\n};\n\nexport default customfield;","let date = function( column ) {\n\tlet $ = jQuery;\n\tlet $column = column.$el;\n\tlet $setting = $column.find( '.ac-column-setting--date' );\n\n\t$setting.each( function() {\n\n\t\tlet $container = $( this );\n\n\t\t// Custom input\n\t\tlet $radio_custom = $container.find( 'input.custom' );\n\t\tlet $input_custom = $container.find( '.ac-setting-input-date__custom' );\n\t\tlet $input_value = $container.find( '.ac-setting-input-date__value' );\n\t\tlet $example_custom = $container.find( '.ac-setting-input-date__example' );\n\t\tlet $selected = $container.find( 'input[type=radio]:checked' );\n\t\tlet $help_msg = $container.find( '.help-msg' );\n\n\t\t// Click Event\n\t\t$container.find( 'input[type=radio]' ).on( 'change', function() {\n\n\t\t\tlet $input = $( this );\n\t\t\tlet $input_container = $input.closest( 'label' );\n\t\t\tlet date_format = $input_container.find( 'code' ).text();\n\t\t\tlet description = $input_container.find( '.ac-setting-input-date__more' ).html();\n\n\t\t\tif ( date_format ) {\n\t\t\t\t$input_custom.val( date_format ).trigger( 'change' );\n\t\t\t}\n\n\t\t\tif ( $input.hasClass( 'diff' ) ) {\n\t\t\t\t$input_custom.val( '' );\n\t\t\t\t$example_custom.text( '' );\n\t\t\t}\n\n\t\t\t$input_custom.prop( 'disabled', true );\n\n\t\t\t// Custom input selected\n\t\t\tif ( $input.hasClass( 'custom' ) ) {\n\t\t\t\t$input.val( $input_custom.val() );\n\t\t\t\t$input_custom.prop( 'disabled', false );\n\t\t\t\t$help_msg.show();\n\t\t\t}\n\n\t\t\t// Show more description\n\t\t\t$help_msg.hide();\n\t\t\tif ( description ) {\n\t\t\t\t$help_msg.html( description ).show();\n\t\t\t}\n\n\t\t\t$input_value.val( $input.val() );\n\t\t} );\n\n\t\t// Custom input\n\t\t$input_custom.on( 'change', function() {\n\n\t\t\t$example_custom.html( '<span class=\"spinner is-active\"></span>' );\n\t\t\t$radio_custom.val( $input_custom.val() );\n\n\t\t\tlet $custom_value = $( this ).val();\n\n\t\t\tif ( !$custom_value ) {\n\t\t\t\t$example_custom.text( '' );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$.ajax( {\n\t\t\t\turl : ajaxurl,\n\t\t\t\tmethod : 'post',\n\t\t\t\tdata : {\n\t\t\t\t\taction : 'date_format',\n\t\t\t\t\tdate : $custom_value\n\t\t\t\t}\n\t\t\t} ).done( function( date ) {\n\t\t\t\t$example_custom.text( date );\n\t\t\t} );\n\n\t\t\t$input_value.val( $custom_value );\n\t\t} );\n\n\t\t// Update date example box\n\t\t$selected.trigger( 'change' );\n\n\t\t// Select custom input as a default\n\t\tif ( 0 === $selected.length ) {\n\t\t\t$radio_custom.trigger( 'click' );\n\t\t}\n\n\t} );\n};\n\nmodule.exports = date;","class Image {\n\n\tconstructor( column ) {\n\t\tthis.column = column;\n\t\tthis.setting = column.$el[ 0 ].querySelector( '.ac-column-setting--image' );\n\n\t\tif ( !this.setting ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.field = this.setting.querySelector( '.ac-setting-input select' );\n\n\t\tthis.initState();\n\t\tthis.bindEvents();\n\t}\n\n\tgetValue() {\n\t\treturn this.field.value;\n\t}\n\n\tbindEvents() {\n\t\tlet self = this;\n\n\t\tthis.field.addEventListener( 'change', function( e ) {\n\t\t\tself.initState();\n\t\t} );\n\t}\n\n\tinitState() {\n\t\tif ( 'cpac-custom' === this.getValue() ) {\n\t\t\tthis.showSubsettings();\n\t\t} else {\n\t\t\tthis.hideSubsettings();\n\t\t}\n\t}\n\n\thideSubsettings() {\n\t\tlet subsetting = this.setting.querySelectorAll( '.ac-column-setting' );\n\n\t\tfor ( let i = 0; i < subsetting.length; ++i ) {\n\t\t\tsubsetting[ i ].style.display = 'none';\n\t\t}\n\n\t}\n\n\tshowSubsettings() {\n\t\tlet subsetting = this.setting.querySelectorAll( '.ac-column-setting' );\n\n\t\tfor ( let i = 0; i < subsetting.length; ++i ) {\n\t\t\tsubsetting[ i ].style.display = 'table';\n\t\t}\n\t}\n\n\tsetValue( value ) {\n\t\tthis.field.value = value;\n\n\t\tthis.trigger( this.field, 'change' );\n\n\t\treturn this;\n\t}\n\n\tsetWidth( width ) {\n\t\tlet field = this.setting.querySelector( '.ac-column-setting [name*=\"image_size_w\"]' );\n\n\t\tfield.value = width;\n\t\tthis.trigger( field, 'change' );\n\n\t\treturn this;\n\t}\n\n\tsetHeight( height ) {\n\t\tlet field = this.setting.querySelector( '.ac-column-setting [name*=\"image_size_h\"]' );\n\t\tfield.value = height;\n\n\t\tthis.trigger( field, 'change' );\n\n\t\treturn this;\n\t}\n\n\tsetSize( width, height ) {\n\t\tthis.setWidth( width );\n\t\tthis.setHeight( height );\n\n\t\treturn this;\n\t}\n\n\ttrigger( el, event ) {\n\t\tel.dispatchEvent( new Event( event ) );\n\n\t\treturn this;\n\t}\n\n}\n\nlet image = function( column ) {\n\tcolumn.settings.image = new Image( column );\n};\n\nmodule.exports = image;","import Modals from \"../../../modules/modals\";\nimport Modal from \"../../../modules/modal\";\n\nclass Label {\n\tconstructor( column ) {\n\t\tthis.column = column;\n\n\t\tthis.setting = column.el.querySelector( '.ac-column-setting--label' );\n\t\tthis.iconpicker = this.setting.querySelector( '.-iconpicker' );\n\n\t\tif ( !this.iconpicker ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._dashicon = false;\n\t\tthis.modal = Modals.init().register( new Modal( this.setting.querySelector( '.-iconpicker' ) ) );\n\t\tthis.field = this.setting.querySelector( '.ac-setting-input_label' );\n\n\t\tthis.initValue();\n\t\tthis.bindEvents();\n\t}\n\n\tinitValue() {\n\t\tlet self = this;\n\t\tlet html = document.createRange().createContextualFragment( this.getValue() );\n\t\tlet dashicon = html.querySelector( '.dashicons' );\n\n\t\tif ( dashicon ) {\n\t\t\tlet classList = dashicon.classList;\n\n\t\t\tclassList.forEach( cls => {\n\t\t\t\tif ( cls.indexOf( 'dashicons-' ) !== -1 ) {\n\t\t\t\t\tlet selector = '.' + cls;\n\t\t\t\t\tlet icon = self.iconpicker.querySelector( selector );\n\n\t\t\t\t\tif ( icon ) {\n\t\t\t\t\t\ticon.parentElement.classList.add( 'active' );\n\t\t\t\t\t\tself.setIconSelection( icon.parentElement.dataset.dashicon );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t} else {\n\t\t\tself.setIconSelection( false );\n\t\t}\n\n\t}\n\n\tbindEvents() {\n\t\tlet self = this;\n\n\t\tthis.setting.querySelector( '.ac-setting-label-icon' ).addEventListener( 'click', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tself.modal.open();\n\t\t} );\n\n\t\tthis.setting.querySelector( '[data-action=\"submit\"]' ).addEventListener( 'click', function( e ) {\n\n\t\t\te.preventDefault();\n\t\t\tif ( self.getIconSelection() ) {\n\t\t\t\tself.setDashicon( self.getIconSelection() );\n\t\t\t}\n\n\t\t\tself.modal.close();\n\t\t} );\n\n\t\tlet icons = this.iconpicker.querySelectorAll( '.ac-ipicker__icon' );\n\t\ticons.forEach( icon => {\n\t\t\ticon.addEventListener( 'click', function( e ) {\n\t\t\t\te.preventDefault();\n\n\t\t\t\tlet dashicon = this.dataset.dashicon;\n\t\t\t\tif ( dashicon ) {\n\t\t\t\t\tself.setIconSelection( dashicon );\n\t\t\t\t}\n\n\t\t\t\tlet icons = self.setting.querySelectorAll( '.ac-ipicker__icon' );\n\t\t\t\ticons.forEach( icon => {\n\t\t\t\t\ticon.classList.remove( 'active' );\n\t\t\t\t} );\n\n\t\t\t\ticon.classList.add( 'active' );\n\t\t\t} );\n\t\t} );\n\n\t}\n\n\tgetValue() {\n\t\treturn this.field.value;\n\t}\n\n\tsetValue( value ) {\n\t\tthis.field.value = value;\n\n\t\tlet event = new Event( 'change' );\n\t\tthis.field.dispatchEvent( event );\n\t}\n\n\tsetIconSelection( dashicon ) {\n\t\tlet selection = this.setting.querySelector( '.ac-ipicker__selection' );\n\t\tthis._dashicon = dashicon;\n\t\tselection.innerHTML = `<span class=\"dashicons dashicons-${dashicon}\"></span>`;\n\n\t\tif ( !dashicon ) {\n\t\t\tselection.style.visibility = 'hidden';\n\t\t} else {\n\t\t\tselection.style.visibility = 'visible';\n\t\t}\n\t}\n\n\tgetIconSelection() {\n\t\treturn this._dashicon;\n\t}\n\n\tsetDashicon( dashicon ) {\n\t\tthis.setValue( `<span class=\"dashicons dashicons-${dashicon}\"></span>` );\n\t}\n\n}\n\nlet label = function( column ) {\n\tcolumn.settings.label = new Label( column );\n};\n\nmodule.exports = label;","class NumberFormat {\n\tconstructor( column ) {\n\t\tthis.column = column;\n\t\tthis.setting = column.$el[ 0 ].querySelector( '.ac-column-setting--number_format' );\n\n\t\tif ( !this.setting ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.bindEvents();\n\t}\n\n\tbindEvents() {\n\t\tthis.refreshPreview();\n\t\tthis.setting.querySelectorAll( 'input' ).forEach( el => {\n\t\t\tel.addEventListener( 'change', ( e ) => {\n\t\t\t\tthis.refreshPreview();\n\t\t\t} )\n\t\t} )\n\t}\n\n\trefreshPreview() {\n\t\tthis.getExampleRequest().done( ( example ) => {\n\t\t\tlet preview = this.setting.querySelector( '[data-preview]' );\n\n\t\t\tif ( preview ) {\n\t\t\t\tpreview.innerText = example;\n\t\t\t}\n\t\t} );\n\t}\n\n\tgetExampleRequest() {\n\t\tlet decimals = this.setting.querySelector( '.ac-setting-input_number_decimals' );\n\t\tlet decimal_point = this.setting.querySelector( '.ac-setting-input_number_decimal_point' );\n\t\tlet thousands_point = this.setting.querySelector( '.ac-setting-input_number_thousands_separator' );\n\n\t\treturn jQuery.ajax( {\n\t\t\turl : ajaxurl,\n\t\t\tmethod : 'post',\n\t\t\tdata : {\n\t\t\t\taction : 'ac_number_format',\n\t\t\t\tnumber : 7500,\n\t\t\t\tdecimals : decimals ? decimals.value : '',\n\t\t\t\tdecimal_point : decimal_point ? decimal_point.value : '',\n\t\t\t\tthousands_point : thousands_point ? thousands_point.value : '',\n\t\t\t}\n\t\t} );\n\t}\n}\n\nconst numberformat = column => {\n\tcolumn.settings.number_format = new NumberFormat( column );\n};\n\nexport default numberformat;","let pro = function( column ) {\n\tlet $column = column.$el;\n\tlet $setting = $column.find( '.ac-column-setting--pro' );\n\n\t$setting.each( function() {\n\t\tlet $container = jQuery( this );\n\n\t\t$container.find( 'input' ).on( 'click', function( e ) {\n\t\t\te.preventDefault();\n\n\t\t\t$container.find( '[data-ac-open-modal]' ).trigger( 'click' );\n\t\t} )\n\n\t} );\n};\n\nmodule.exports = pro;","let subsetting = function( column ) {\n\tlet $ = jQuery;\n\tlet settings = {\n\t\tvalue_show : \"on\",\n\t\tsubfield : '.ac-column-setting'\n\t};\n\n\tfunction initState( $setting, $input ) {\n\t\tlet value = $input.filter( ':checked' ).val();\n\t\tlet $subfields = $setting.find( settings.subfield );\n\n\t\tif ( settings.value_show === value ) {\n\t\t\t$subfields.show();\n\t\t} else {\n\t\t\t$subfields.hide();\n\t\t}\n\t}\n\n\tlet $column = column.$el;\n\tlet $settings = $column.find( '.ac-column-setting--filter,.ac-column-setting--sort,.ac-column-setting--edit' );\n\n\t$settings.each( function() {\n\t\tlet $setting = $( this );\n\t\tlet $input = $( this ).find( '.ac-setting-input input[type=\"radio\"]' );\n\n\t\tinitState( $setting, $input );\n\t\t$input.on( 'change', function() {\n\t\t\tinitState( $setting, $input );\n\t\t} );\n\n\t} );\n};\n\nmodule.exports = subsetting;","// Settings fields: Width\njQuery.fn.column_width_slider = function() {\n\tlet $ = jQuery;\n\tlet $column_width = $( this ).find( '.ac-setting-input-width' );\n\tlet input_width = $column_width.find( '.description input' ),\n\t\tinput_unit = $column_width.find( '.unit-select input' ),\n\t\tunit = input_unit.filter( ':checked' ).val(),\n\t\twidth = input_width.val(),\n\t\tslider = $column_width.find( '.width-slider' ),\n\t\tindicator = $( this ).find( '.ac-column-header .ac-column-heading-setting--width' );\n\n\t// width\n\tif ( '%' === unit && width > 100 ) {\n\t\twidth = 100;\n\t}\n\n\tinput_width.val( width );\n\n\tslider.slider( {\n\t\trange : 'min',\n\t\tmin : 0,\n\t\tmax : '%' === unit ? 100 : 500,\n\t\tvalue : width,\n\t\tslide : function( event, ui ) {\n\t\t\tinput_width.val( ui.value );\n\t\t\tindicator.trigger( 'update' );\n\t\t\tinput_width.trigger( 'validate' );\n\t\t}\n\t} );\n};\n\nlet width = function( column ) {\n\tlet $ = jQuery;\n\tlet $column = column.$el;\n\n\t$column.find( '.ac-column-setting--width' ).each( function() {\n\t\t$column.column_width_slider();\n\n\t\t// indicator\n\t\tlet $width_indicator = $column.find( '.ac-column-header .ac-column-heading-setting--width' );\n\n\t\t$width_indicator.on( 'update', function() {\n\t\t\tlet _width = $column.find( '.ac-setting-input-width .description input' ).val();\n\t\t\tlet _unit = $column.find( '.ac-setting-input-width .description .unit' ).text();\n\t\t\tif ( _width > 0 ) {\n\t\t\t\tjQuery( this ).text( _width + _unit );\n\t\t\t} else {\n\t\t\t\tjQuery( this ).text( '' );\n\t\t\t}\n\t\t} );\n\n\t\t// unit selector\n\t\tlet width_unit_select = $column.find( '.ac-setting-input-width .unit-select label' );\n\t\twidth_unit_select.on( 'click', function() {\n\n\t\t\t$column.find( 'span.unit' ).text( $( this ).find( 'input' ).val() );\n\t\t\t$column.column_width_slider(); // re-init slider\n\t\t\t$width_indicator.trigger( 'update' ); // update indicator\n\t\t} );\n\n\t\t// width_input\n\t\tlet width_input = $column.find( '.ac-setting-input-width .description input' )\n\t\t\t.on( 'keyup', function() {\n\t\t\t\t$column.column_width_slider(); // re-init slider\n\t\t\t\tjQuery( this ).trigger( 'validate' ); // validate input\n\t\t\t\t$width_indicator.trigger( 'update' ); // update indicator\n\t\t\t} )\n\n\t\t\t// width_input:validate\n\t\t\t.on( 'validate', function() {\n\t\t\t\tlet _width = width_input.val();\n\t\t\t\tlet _new_width = $.trim( _width );\n\n\t\t\t\tif ( !jQuery.isNumeric( _new_width ) ) {\n\t\t\t\t\t_new_width = _new_width.replace( /\\D/g, '' );\n\t\t\t\t}\n\t\t\t\tif ( _new_width.length > 3 ) {\n\t\t\t\t\t_new_width = _new_width.substring( 0, 3 );\n\t\t\t\t}\n\t\t\t\tif ( _new_width <= 0 ) {\n\t\t\t\t\t_new_width = '';\n\t\t\t\t}\n\t\t\t\tif ( _new_width !== _width ) {\n\t\t\t\t\twidth_input.val( _new_width );\n\t\t\t\t}\n\t\t\t} );\n\n\t} );\n};\n\nmodule.exports = width;","import Modals from './modals'\n\nclass Modal {\n\tconstructor( el ) {\n\t\tif ( !el ) {\n\t\t\treturn;\n\t\t}\n\t\tthis.el = el;\n\t\tthis.dialog = el.querySelector( '.ac-modal__dialog' );\n\n\t\tthis.initEvents();\n\t}\n\n\tstatic initGlobalEvents() {\n\n\t\tjQuery( document ).on( 'click', '[data-ac-open-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet target = e.target.dataset.acOpenModal;\n\t\t\tlet el = document.querySelector( target );\n\n\t\t\tif ( el && el.AC_MODAL ) {\n\t\t\t\tel.AC_MODAL.open();\n\t\t\t}\n\t\t} );\n\n\t\tjQuery( document ).on( 'click', '[data-ac-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet modal_key = jQuery( this ).data( 'ac-modal' );\n\n\t\t\tif ( Modals.init().get( modal_key ) ) {\n\t\t\t\tModals.init().get( modal_key ).open();\n\t\t\t}\n\t\t} );\n\n\t}\n\n\tinitEvents() {\n\t\tlet self = this;\n\n\t\tdocument.addEventListener( 'keydown', ( e ) => {\n\t\t\tconst keyName = event.key;\n\n\t\t\tif ( !this.isOpen() ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( 'Escape' === keyName ) {\n\t\t\t\tthis.close();\n\t\t\t}\n\t\t} );\n\n\t\tlet dismissButtons = this.el.querySelectorAll( '[data-dismiss=\"modal\"], .ac-modal__dialog__close' );\n\t\tif ( dismissButtons.length > 0 ) {\n\t\t\tdismissButtons.forEach( ( b ) => {\n\t\t\t\tb.addEventListener( 'click', ( e ) => {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tself.close();\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\tthis.el.addEventListener( 'click', () => {\n\t\t\tself.close();\n\t\t} );\n\n\t\tthis.el.querySelector( '.ac-modal__dialog' ).addEventListener( 'click', ( e ) => {\n\t\t\te.stopPropagation();\n\t\t} );\n\n\t\tif ( typeof document.querySelector( 'body' ).dataset.ac_modal_init === 'undefined' ) {\n\t\t\tModal.initGlobalEvents();\n\t\t\tdocument.querySelector( 'body' ).dataset.ac_modal_init = 1;\n\t\t}\n\n\t\tthis.el.AC_MODAL = self;\n\t}\n\n\tisOpen() {\n\t\treturn this.el.classList.contains( '-active' );\n\t}\n\n\tclose() {\n\t\tthis.onClose();\n\t\tthis.el.classList.remove( '-active' );\n\t}\n\n\topen() {\n\t\tthis.onOpen();\n\t\tthis.el.removeAttribute( 'style' );\n\t\tthis.el.classList.add( '-active' );\n\t}\n\n\tdestroy() {\n\t\tthis.el.remove();\n\t}\n\n\tonClose() {}\n\n\tonOpen() {}\n\n}\n\nmodule.exports = Modal;","import Modal from './modal';\n\nexport default class Modals {\n\n\tconstructor() {\n\t\tthis.modals = [];\n\t\tthis.number = 1;\n\t}\n\n\tregister( modal, key = '' ) {\n\t\tif ( !key ) {\n\t\t\tkey = 'm' + this.number;\n\t\t}\n\n\t\tthis.modals[ key ] = modal;\n\t\tthis.number++;\n\n\t\treturn modal;\n\t}\n\n\tget( key ) {\n\t\tif ( this.modals[ key ] ) {\n\t\t\treturn this.modals[ key ];\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t// Bind self to global AdminColumns if exist\n\tstatic init() {\n\t\tif ( typeof AdminColumns.Modals === 'undefined' ) {\n\t\t\tAdminColumns.Modals = new this();\n\t\t\tAdminColumns.Modals._abstract = {\n\t\t\t\tmodal : Modal\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn AdminColumns.Modals;\n\t}\n\n}","class Tooltips {\n\n\tconstructor() {\n\t\tthis.isEnabled = typeof jQuery.fn.qtip !== 'undefined';\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tif ( !this.isEnabled ) {\n\t\t\tconsole.log( 'Tooltips not loaded!' );\n\t\t\treturn;\n\t\t}\n\n\t\tjQuery( '[data-ac-tip]' ).qtip( {\n\t\t\tcontent : {\n\t\t\t\tattr : 'data-ac-tip'\n\t\t\t},\n\t\t\tposition : {\n\t\t\t\tmy : 'top center',\n\t\t\t\tat : 'bottom center'\n\t\t\t},\n\t\t\tstyle : {\n\t\t\t\ttip : true,\n\t\t\t\tclasses : 'qtip-tipsy'\n\t\t\t}\n\t\t} );\n\t}\n\n}\n\nmodule.exports = Tooltips;","/** CustomEvent Polyfill */\n(function() {\n\n\tif ( typeof window.CustomEvent === \"function\" ) {\n\t\treturn false;\n\t}\n\n\tfunction CustomEvent( event, params ) {\n\t\tparams = params || { bubbles : false, cancelable : false, detail : undefined };\n\t\tlet evt = document.createEvent( 'CustomEvent' );\n\t\tevt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n\t\treturn evt;\n\t}\n\n\tCustomEvent.prototype = window.Event.prototype;\n\n\twindow.CustomEvent = CustomEvent;\n})();","if ( window.NodeList && !NodeList.prototype.forEach ) {\n\tNodeList.prototype.forEach = Array.prototype.forEach;\n}","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n var fns = exec(defined, SYMBOL, ''[KEY]);\n var strfn = fns[0];\n var rxfn = fns[1];\n if (fails(function () {\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n })) {\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace) {\n // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n return [function replace(searchValue, replaceValue) {\n 'use strict';\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n }, $replace];\n});\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","assert.notEqual = notEqual\nassert.notOk = notOk\nassert.equal = equal\nassert.ok = assert\n\nmodule.exports = assert\n\nfunction equal (a, b, m) {\n assert(a == b, m) // eslint-disable-line eqeqeq\n}\n\nfunction notEqual (a, b, m) {\n assert(a != b, m) // eslint-disable-line eqeqeq\n}\n\nfunction notOk (t, m) {\n assert(!t, m)\n}\n\nfunction assert (t, m) {\n if (!t) throw new Error(m || 'AssertionError')\n}\n","var splice = require('remove-array-items')\nvar nanotiming = require('nanotiming')\nvar assert = require('assert')\n\nmodule.exports = Nanobus\n\nfunction Nanobus (name) {\n if (!(this instanceof Nanobus)) return new Nanobus(name)\n\n this._name = name || 'nanobus'\n this._starListeners = []\n this._listeners = {}\n}\n\nNanobus.prototype.emit = function (eventName) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.emit: eventName should be type string or symbol')\n\n var data = []\n for (var i = 1, len = arguments.length; i < len; i++) {\n data.push(arguments[i])\n }\n\n var emitTiming = nanotiming(this._name + \"('\" + eventName.toString() + \"')\")\n var listeners = this._listeners[eventName]\n if (listeners && listeners.length > 0) {\n this._emit(this._listeners[eventName], data)\n }\n\n if (this._starListeners.length > 0) {\n this._emit(this._starListeners, eventName, data, emitTiming.uuid)\n }\n emitTiming()\n\n return this\n}\n\nNanobus.prototype.on = Nanobus.prototype.addListener = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.on: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.on: listener should be type function')\n\n if (eventName === '*') {\n this._starListeners.push(listener)\n } else {\n if (!this._listeners[eventName]) this._listeners[eventName] = []\n this._listeners[eventName].push(listener)\n }\n return this\n}\n\nNanobus.prototype.prependListener = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.prependListener: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.prependListener: listener should be type function')\n\n if (eventName === '*') {\n this._starListeners.unshift(listener)\n } else {\n if (!this._listeners[eventName]) this._listeners[eventName] = []\n this._listeners[eventName].unshift(listener)\n }\n return this\n}\n\nNanobus.prototype.once = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.once: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.once: listener should be type function')\n\n var self = this\n this.on(eventName, once)\n function once () {\n listener.apply(self, arguments)\n self.removeListener(eventName, once)\n }\n return this\n}\n\nNanobus.prototype.prependOnceListener = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.prependOnceListener: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.prependOnceListener: listener should be type function')\n\n var self = this\n this.prependListener(eventName, once)\n function once () {\n listener.apply(self, arguments)\n self.removeListener(eventName, once)\n }\n return this\n}\n\nNanobus.prototype.removeListener = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.removeListener: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.removeListener: listener should be type function')\n\n if (eventName === '*') {\n this._starListeners = this._starListeners.slice()\n return remove(this._starListeners, listener)\n } else {\n if (typeof this._listeners[eventName] !== 'undefined') {\n this._listeners[eventName] = this._listeners[eventName].slice()\n }\n\n return remove(this._listeners[eventName], listener)\n }\n\n function remove (arr, listener) {\n if (!arr) return\n var index = arr.indexOf(listener)\n if (index !== -1) {\n splice(arr, index, 1)\n return true\n }\n }\n}\n\nNanobus.prototype.removeAllListeners = function (eventName) {\n if (eventName) {\n if (eventName === '*') {\n this._starListeners = []\n } else {\n this._listeners[eventName] = []\n }\n } else {\n this._starListeners = []\n this._listeners = {}\n }\n return this\n}\n\nNanobus.prototype.listeners = function (eventName) {\n var listeners = eventName !== '*'\n ? this._listeners[eventName]\n : this._starListeners\n\n var ret = []\n if (listeners) {\n var ilength = listeners.length\n for (var i = 0; i < ilength; i++) ret.push(listeners[i])\n }\n return ret\n}\n\nNanobus.prototype._emit = function (arr, eventName, data, uuid) {\n if (typeof arr === 'undefined') return\n if (arr.length === 0) return\n if (data === undefined) {\n data = eventName\n eventName = null\n }\n\n if (eventName) {\n if (uuid !== undefined) {\n data = [eventName].concat(data, uuid)\n } else {\n data = [eventName].concat(data)\n }\n }\n\n var length = arr.length\n for (var i = 0; i < length; i++) {\n var listener = arr[i]\n listener.apply(listener, data)\n }\n}\n","var assert = require('assert')\n\nvar hasWindow = typeof window !== 'undefined'\n\nfunction createScheduler () {\n var scheduler\n if (hasWindow) {\n if (!window._nanoScheduler) window._nanoScheduler = new NanoScheduler(true)\n scheduler = window._nanoScheduler\n } else {\n scheduler = new NanoScheduler()\n }\n return scheduler\n}\n\nfunction NanoScheduler (hasWindow) {\n this.hasWindow = hasWindow\n this.hasIdle = this.hasWindow && window.requestIdleCallback\n this.method = this.hasIdle ? window.requestIdleCallback.bind(window) : this.setTimeout\n this.scheduled = false\n this.queue = []\n}\n\nNanoScheduler.prototype.push = function (cb) {\n assert.equal(typeof cb, 'function', 'nanoscheduler.push: cb should be type function')\n\n this.queue.push(cb)\n this.schedule()\n}\n\nNanoScheduler.prototype.schedule = function () {\n if (this.scheduled) return\n\n this.scheduled = true\n var self = this\n this.method(function (idleDeadline) {\n var cb\n while (self.queue.length && idleDeadline.timeRemaining() > 0) {\n cb = self.queue.shift()\n cb(idleDeadline)\n }\n self.scheduled = false\n if (self.queue.length) self.schedule()\n })\n}\n\nNanoScheduler.prototype.setTimeout = function (cb) {\n setTimeout(cb, 0, {\n timeRemaining: function () {\n return 1\n }\n })\n}\n\nmodule.exports = createScheduler\n","var scheduler = require('nanoscheduler')()\nvar assert = require('assert')\n\nvar perf\nnanotiming.disabled = true\ntry {\n perf = window.performance\n nanotiming.disabled = window.localStorage.DISABLE_NANOTIMING === 'true' || !perf.mark\n} catch (e) { }\n\nmodule.exports = nanotiming\n\nfunction nanotiming (name) {\n assert.equal(typeof name, 'string', 'nanotiming: name should be type string')\n\n if (nanotiming.disabled) return noop\n\n var uuid = (perf.now() * 10000).toFixed() % Number.MAX_SAFE_INTEGER\n var startName = 'start-' + uuid + '-' + name\n perf.mark(startName)\n\n function end (cb) {\n var endName = 'end-' + uuid + '-' + name\n perf.mark(endName)\n\n scheduler.push(function () {\n var err = null\n try {\n var measureName = name + ' [' + uuid + ']'\n perf.measure(measureName, startName, endName)\n perf.clearMarks(startName)\n perf.clearMarks(endName)\n } catch (e) { err = e }\n if (cb) cb(err, name)\n })\n }\n\n end.uuid = uuid\n return end\n}\n\nfunction noop (cb) {\n if (cb) {\n scheduler.push(function () {\n cb(new Error('nanotiming: performance API unavailable'))\n })\n }\n}\n","'use strict'\n\n/**\n * Remove a range of items from an array\n *\n * @function removeItems\n * @param {Array<*>} arr The target array\n * @param {number} startIdx The index to begin removing from (inclusive)\n * @param {number} removeCount How many items to remove\n */\nmodule.exports = function removeItems (arr, startIdx, removeCount) {\n var i, length = arr.length\n\n if (startIdx >= length || removeCount === 0) {\n return\n }\n\n removeCount = (startIdx + removeCount > length ? length - startIdx : removeCount)\n\n var len = length - removeCount\n\n for (i = startIdx; i < len; ++i) {\n arr[i] = arr[i + removeCount]\n }\n\n arr.length = len\n}\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","module.exports = jQuery;"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/admin-page-columns.js","webpack:///./js/admin/columns/column.js","webpack:///./js/admin/columns/events/addons.js","webpack:///./js/admin/columns/events/clone.js","webpack:///./js/admin/columns/events/indicator.js","webpack:///./js/admin/columns/events/label.js","webpack:///./js/admin/columns/events/refresh.js","webpack:///./js/admin/columns/events/remove.js","webpack:///./js/admin/columns/events/toggle.js","webpack:///./js/admin/columns/events/type-selector.js","webpack:///./js/admin/columns/feedback.js","webpack:///./js/admin/columns/form.js","webpack:///./js/admin/columns/initiator.js","webpack:///./js/admin/columns/listscreen-initialize.js","webpack:///./js/admin/columns/menu.js","webpack:///./js/admin/columns/settings/custom-field.js","webpack:///./js/admin/columns/settings/date.js","webpack:///./js/admin/columns/settings/image-size.js","webpack:///./js/admin/columns/settings/label.js","webpack:///./js/admin/columns/settings/number-format.js","webpack:///./js/admin/columns/settings/pro.js","webpack:///./js/admin/columns/settings/sub-setting-toggle.js","webpack:///./js/admin/columns/settings/type.js","webpack:///./js/admin/columns/settings/width.js","webpack:///./js/modules/modal.js","webpack:///./js/modules/modals.js","webpack:///./js/modules/screen-option.js","webpack:///./js/modules/tooltips.js","webpack:///./js/select2/excludegroup.matcher.js","webpack:///./node_modules/admin-columns-js/polyfill/customevent.js","webpack:///./node_modules/admin-columns-js/polyfill/nodelist.js","webpack:///./node_modules/core-js/modules/_a-function.js","webpack:///./node_modules/core-js/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/modules/_an-object.js","webpack:///./node_modules/core-js/modules/_array-includes.js","webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_array-species-constructor.js","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./node_modules/core-js/modules/_classof.js","webpack:///./node_modules/core-js/modules/_cof.js","webpack:///./node_modules/core-js/modules/_core.js","webpack:///./node_modules/core-js/modules/_ctx.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/core-js/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/_dom-create.js","webpack:///./node_modules/core-js/modules/_enum-bug-keys.js","webpack:///./node_modules/core-js/modules/_export.js","webpack:///./node_modules/core-js/modules/_fails-is-regexp.js","webpack:///./node_modules/core-js/modules/_fails.js","webpack:///./node_modules/core-js/modules/_fix-re-wks.js","webpack:///./node_modules/core-js/modules/_global.js","webpack:///./node_modules/core-js/modules/_has.js","webpack:///./node_modules/core-js/modules/_hide.js","webpack:///./node_modules/core-js/modules/_html.js","webpack:///./node_modules/core-js/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/modules/_iobject.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/_is-object.js","webpack:///./node_modules/core-js/modules/_is-regexp.js","webpack:///./node_modules/core-js/modules/_iter-create.js","webpack:///./node_modules/core-js/modules/_iter-define.js","webpack:///./node_modules/core-js/modules/_iter-step.js","webpack:///./node_modules/core-js/modules/_iterators.js","webpack:///./node_modules/core-js/modules/_library.js","webpack:///./node_modules/core-js/modules/_object-create.js","webpack:///./node_modules/core-js/modules/_object-dp.js","webpack:///./node_modules/core-js/modules/_object-dps.js","webpack:///./node_modules/core-js/modules/_object-gpo.js","webpack:///./node_modules/core-js/modules/_object-keys-internal.js","webpack:///./node_modules/core-js/modules/_object-keys.js","webpack:///./node_modules/core-js/modules/_object-sap.js","webpack:///./node_modules/core-js/modules/_property-desc.js","webpack:///./node_modules/core-js/modules/_redefine.js","webpack:///./node_modules/core-js/modules/_set-to-string-tag.js","webpack:///./node_modules/core-js/modules/_shared-key.js","webpack:///./node_modules/core-js/modules/_shared.js","webpack:///./node_modules/core-js/modules/_string-context.js","webpack:///./node_modules/core-js/modules/_to-absolute-index.js","webpack:///./node_modules/core-js/modules/_to-integer.js","webpack:///./node_modules/core-js/modules/_to-iobject.js","webpack:///./node_modules/core-js/modules/_to-length.js","webpack:///./node_modules/core-js/modules/_to-object.js","webpack:///./node_modules/core-js/modules/_to-primitive.js","webpack:///./node_modules/core-js/modules/_uid.js","webpack:///./node_modules/core-js/modules/_wks.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./node_modules/core-js/modules/es6.array.iterator.js","webpack:///./node_modules/core-js/modules/es6.function.name.js","webpack:///./node_modules/core-js/modules/es6.object.keys.js","webpack:///./node_modules/core-js/modules/es6.object.to-string.js","webpack:///./node_modules/core-js/modules/es6.regexp.replace.js","webpack:///./node_modules/core-js/modules/es6.string.includes.js","webpack:///./node_modules/core-js/modules/es7.array.includes.js","webpack:///./node_modules/core-js/modules/web.dom.iterable.js","webpack:///./node_modules/nanoassert/index.js","webpack:///./node_modules/nanobus/index.js","webpack:///./node_modules/nanoscheduler/index.js","webpack:///./node_modules/nanotiming/browser.js","webpack:///./node_modules/remove-array-items/index.js","webpack:///(webpack)/buildin/global.js","webpack:///external \"jQuery\""],"names":["global","AdminColumns","jQuery","$","AC","Column","Initiator","document","on","Tooltips","Tooltip","registerEvent","EventToggle","EventRemove","EventClone","EventRefresh","EventTypeSelector","EventIndicator","EventLabel","label","setting","EventAddons","registerSetting","SettingDate","SettingImageSize","SettingPro","SettingSubSettingToggle","SettingWidth","SettingCustomField","SettingNumberFormat","SettingTypeSelector","SettingLabel","ready","Form","Modals","init","register","Modal","querySelector","Menu","Feedback","forEach","hook","ac_pointers","e","column","setTimeout","hasOwnProperty","Object","keys","uninitialized_list_screens","length","ListScreenInitializeController","ScreenOptions","querySelectorAll","el","name","dataset","acScreenOption","ScreenOption","showColumnId","addEventListener","checked","classList","add","remove","showColumnType","STATES","CLOSED","OPEN","$el","settings","state","_type","data","hasClass","addClass","removeClass","temp_column_name","getNewIncementalName","original_column_name","find","each","i","v","$input","attr","replace","incremental_column_name","events","key","isBound","bind","bindSettings","trigger","duration","self","animate","opacity","height","destroy","getState","close","open","slideUp","slideDown","message","html","show","type","ajax","url","ajaxurl","method","dataType","action","id","serialize","current_original_columns","originalColumns","original_columns","_ajax_nonce","success","response","replaceWith","initNewInstance","bindEvents","showMessage","error","serializeArray","request_data","column_name","value","push","$clone","clone","module","exports","addons","$column","inputs","closest","val","additional","click","preventDefault","isOriginal","cloneColumn","indicator","$indicator","$setting","unbind","toggleClass","filter","prop","change","$label","field_label","text","column_label","trim","width","settingLabel","hover","parents","hide","refresh","always","fail","i18n","errors","loading_column","removeColumn","toggle","css","selector","switchToType","reindexColumns","$box","form","$form","$column_container","$container","columns","_validators","initColumns","bindFormEvents","bindOrdering","disableFields","sortable","items","handle","valid","validator","call","$buttons","validateForm","submitForm","removeAttr","addColumn","$boxes","col","disable","resetColumns","elements","readOnly","setAttribute","xhr","post","save_settings","attr_class","$msg","stop","prepend","_addColumnToForm","create","append","scrollTop","offset","top","incremental_name","k","console","event","oldName","nanobus","ListscreenInitialize","list_screens","processed","list_screen","screen_link","processListScreen","emit","onFinish","doAjaxCall","done","r","checkFinish","run","main_initializer","window","location","href","Date","now","background_initializer","submit","next","SingleCustomFieldRequestManager","meta_type","post_type","loading","defer","Deferred","resolve","retrieveOptions","reject","results","promise","loadSingleRequestManager","AC_Requests","CustomField","input","request","editingAvailable","removeAttribute","getOptions","ac_select2","theme","tags","dropdownCssClass","customfield","date","$radio_custom","$input_custom","$input_value","$example_custom","$selected","$help_msg","$input_container","date_format","description","$custom_value","Image","field","initState","getValue","showSubsettings","hideSubsettings","subsetting","style","display","setWidth","setHeight","dispatchEvent","Event","image","Label","iconpicker","_dashicon","modal","initValue","createRange","createContextualFragment","dashicon","cls","indexOf","icon","parentElement","setIconSelection","getIconSelection","setDashicon","icons","selection","innerHTML","visibility","setValue","NumberFormat","refreshPreview","getExampleRequest","example","preview","innerText","decimals","decimal_point","thousands_point","number","numberformat","number_format","pro","value_show","subfield","$subfields","$settings","TypeSelector","select","escapeMarkup","templateResult","result","includes","matcher","excludeGroupsMather","typeSelector","fn","column_width_slider","$column_width","input_width","input_unit","unit","slider","range","min","max","slide","ui","$width_indicator","_width","_unit","width_unit_select","width_input","_new_width","isNumeric","substring","dialog","initEvents","keyName","isOpen","dismissButtons","b","target","contains","ac_modal_init","initGlobalEvents","AC_MODAL","onClose","onOpen","acOpenModal","modal_key","get","modals","_abstract","element","getInput","persist","option_name","option_value","isEnabled","qtip","log","content","position","my","at","tip","classes","params","term","children","filteredChildren","idx","child","toUpperCase","modifiedData","extend"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;AClFA;;AASA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAlCA;;;;;;;;;AAeA;;AASA;AAYA,mBAAO,CAAE,sGAAF,CAAP;;AACA,mBAAO,CAAE,gGAAF,CAAP;;AAEAA,MAAM,CAACC,YAAP,GAAsB,OAAOA,YAAP,KAAwB,WAAxB,GAAsCA,YAAtC,GAAqD,EAA3E;;AAEA,IAAIC,MAAM,GAAGC,CAAC,GAAG,mBAAO,CAAE,sBAAF,CAAxB;;AAEAC,EAAE,CAACC,MAAH,GAAY,IAAIC,kBAAJ,EAAZ,C,CAA6B;;AAC7BL,YAAY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Y,GAAGhZ,MAAM,CAACiZ,MAAP,CAAe,EAAf,EAAmBzU,IAAnB,EAAyB,IAAzB,CAAnB;AACAwU,gBAAY,CAACL,QAAb,GAAwBC,gBAAxB;AAEA,WAAOI,YAAP;AACA;;AAED,SAAO,IAAP;AACA,C;;;;;;;;;;;ACxBD;AACA;;AAEA;AACA;AACA;;AAEA;AACA,sBAAsB;AACtB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,CAAC,I;;;;;;;;;;;ACjBD;AACA;AACA,C;;;;;;;;;;;ACFA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA,mJAAwF;AACxF;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,YAAY,eAAe;AAChC;AACA,KAAK;AACL;AACA;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,wCAAwC;AACxC;AACA,8BAA8B;AAC9B,6BAA6B;AAC7B,+BAA+B;AAC/B,mCAAmC;AACnC,SAAS,iCAAiC;AAC1C;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC3CA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACfA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2BAA2B,kBAAkB,EAAE;;AAE/C;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtBA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;;;;ACJA,6BAA6B;AAC7B,uCAAuC;;;;;;;;;;;;ACDvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;;;;;ACHD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK,YAAY;AACjB,GAAG;AACH;;;;;;;;;;;;ACXA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,gCAAgC,qCAAqC;AACrE;AACA;AACA,2BAA2B,gCAAgC;AAC3D;AACA;AACA;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;;;;;ACPA;AACA;;;;;;;;;;;;ACDA;AACA,uIAAsE,mBAAmB,UAAU,EAAE,EAAE;AACvG,CAAC;;;;;;;;;;;;ACFD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;;;;;;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;;AAEA;AACA,uMAAkF,aAAa,EAAE;;AAEjG;AACA,qDAAqD,4BAA4B;AACjF;AACA;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;;AAEA,8BAA8B,aAAa;;AAE3C;AACA;AACA;AACA;AACA;AACA,yCAAyC,oCAAoC;AAC7E,6CAA6C,oCAAoC;AACjF,KAAK,4BAA4B,oCAAoC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAmB;AACnC;AACA;AACA,kCAAkC,2BAA2B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;ACpEA;AACA,UAAU;AACV;;;;;;;;;;;;ACFA;;;;;;;;;;;;ACAA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;AACA;AACA;;;;;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACZA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA,qDAAqD,OAAO,EAAE;AAC9D;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;;;;;AC9BD;AACA;AACA;;AAEA;AACA,oEAAoE,iCAAiC;AACrG;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA,kDAAkD;;AAElD;AACA,qEAAqE;AACrE,CAAC;AACD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXD,sBAAsB;AACtB;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,gBAAgB,EAAE;AAC5D;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC,cAAc;AACd,iBAAiB;AACjB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACjCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACfD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACRD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACXD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oDAAoD,wBAAwB;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzDA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACrBA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,yCAAyC,SAAS;AAClD;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,aAAa;AAChC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;AACA;;;;;;;;;;;;ACjKA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;ACtDA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC,YAAY;;AAEb;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,YAAY;AACnB;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;AC/CA;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA,oBAAoB,SAAS;AAC7B;AACA;;AAEA;AACA;;;;;;;;;;;;AC1BA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;ACnBA,wB","file":"admin-page-columns.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","import ListScreenInitializeController from \"./admin/columns/listscreen-initialize\";\r\n/**\r\n * AC variables. Defined in DOM.\r\n * @param AdminColumns {Object}\r\n * @param AC {Object}\r\n * @param AC.list_screen {String}\r\n * @param AC.layout {String}\r\n * @param AC.i81n {String}\r\n */\r\nimport Form from \"./admin/columns/form\";\r\nimport Modals from \"./modules/modals\";\r\nimport Initiator from \"./admin/columns/initiator\";\r\nimport Modal from \"./modules/modal\";\r\nimport Menu from \"./admin/columns/menu\";\r\nimport Feedback from \"./admin/columns/feedback\";\r\nimport Tooltip from \"./modules/tooltips\";\r\n/** Events */\r\nimport EventToggle from './admin/columns/events/toggle';\r\nimport EventRemove from './admin/columns/events/remove';\r\nimport EventClone from './admin/columns/events/clone';\r\nimport EventRefresh from './admin/columns/events/refresh';\r\nimport EventTypeSelector from './admin/columns/events/type-selector';\r\nimport EventIndicator from './admin/columns/events/indicator';\r\nimport EventLabel from './admin/columns/events/label';\r\nimport EventAddons from './admin/columns/events/addons';\r\n/** Settings */\r\nimport SettingImageSize from './admin/columns/settings/image-size';\r\nimport SettingSubSettingToggle from './admin/columns/settings/sub-setting-toggle';\r\nimport SettingDate from './admin/columns/settings/date';\r\nimport SettingPro from './admin/columns/settings/pro';\r\nimport SettingWidth from './admin/columns/settings/width';\r\nimport SettingLabel from './admin/columns/settings/label';\r\nimport SettingCustomField from './admin/columns/settings/custom-field';\r\nimport SettingNumberFormat from './admin/columns/settings/number-format';\r\nimport SettingTypeSelector from \"./admin/columns/settings/type\";\r\nimport ScreenOption from \"./modules/screen-option\";\r\n\r\nrequire( 'admin-columns-js/polyfill/customevent' );\r\nrequire( 'admin-columns-js/polyfill/nodelist' );\r\n\r\nglobal.AdminColumns = typeof AdminColumns !== \"undefined\" ? AdminColumns : {};\r\n\r\nlet jQuery = $ = require( 'jquery' );\r\n\r\nAC.Column = new Initiator(); // Todo remove from\r\nAdminColumns.Column = AC.Column;\r\n\r\njQuery( document ).on( 'AC_Form_Loaded', function() {\r\n\tAdminColumns.Tooltips = new Tooltip();\r\n\t/** Register Events **/\r\n\tAdminColumns.Column\r\n\t\t.registerEvent( 'toggle', EventToggle )\r\n\t\t.registerEvent( 'remove', EventRemove )\r\n\t\t.registerEvent( 'clone', EventClone )\r\n\t\t.registerEvent( 'refresh', EventRefresh )\r\n\t\t.registerEvent( 'type_selector', EventTypeSelector )\r\n\t\t.registerEvent( 'indicator', EventIndicator )\r\n\t\t.registerEvent( 'label', EventLabel.label )\r\n\t\t.registerEvent( 'label_setting', EventLabel.setting )\r\n\t\t.registerEvent( 'addons', EventAddons )\r\n\r\n\t\t/** Register Settings **/\r\n\t\t.registerSetting( 'date', SettingDate )\r\n\t\t.registerSetting( 'image_size', SettingImageSize )\r\n\t\t.registerSetting( 'pro', SettingPro )\r\n\t\t.registerSetting( 'sub_setting_toggle', SettingSubSettingToggle )\r\n\t\t.registerSetting( 'width', SettingWidth )\r\n\t\t.registerSetting( 'customfield', SettingCustomField )\r\n\t\t.registerSetting( 'number_format', SettingNumberFormat )\r\n\t\t.registerSetting( 'type_selector', SettingTypeSelector )\r\n\t\t.registerSetting( 'label', SettingLabel );\r\n} );\r\n\r\njQuery( document ).ready( function() {\r\n\tAC.Form = new Form( '#listscreen_settings' );\r\n\tAdminColumns.Form = AC.Form;\r\n\tModals.init().register( new Modal( document.querySelector( '#ac-modal-pro' ) ), 'pro' );\r\n\r\n\tnew Menu().init();\r\n\tnew Feedback( '.sidebox#direct-feedback' );\r\n\r\n\t[ 'AC_Column_Change', 'AC_Column_Refresh', 'AC_Column_Refresh' ].forEach( hook => {\r\n\t\tjQuery( document ).on( hook, () => ac_pointers() );\r\n\t} );\r\n\r\n\tjQuery( document ).on( 'AC_Column_Created', function( e, column ) {\r\n\t\tsetTimeout( function() {\r\n\t\t\tac_pointers();\r\n\t\t}, 100 )\r\n\t} );\r\n\r\n\tif ( AC.hasOwnProperty( 'uninitialized_list_screens' ) && Object.keys( AC.uninitialized_list_screens ).length > 0 ) {\r\n\t\tnew ListScreenInitializeController( AC.uninitialized_list_screens );\r\n\t}\r\n\r\n\tAdminColumns.ScreenOptions = {};\r\n\r\n\tdocument.querySelectorAll( '[data-ac-screen-option]' ).forEach( el => {\r\n\t\tlet name = el.dataset.acScreenOption;\r\n\t\tAdminColumns.ScreenOptions[ name ] = new ScreenOption( el, name );\r\n\t} );\r\n\r\n\tlet showColumnId = document.querySelector( '[data-ac-screen-option=\"show_column_id\"] input' );\r\n\tif ( showColumnId ) {\r\n\t\tshowColumnId.addEventListener( 'change', () => {\r\n\t\t\tshowColumnId.checked\r\n\t\t\t\t? document.querySelector( '.ac-boxes' ).classList.add( 'show-column-id' )\r\n\t\t\t\t: document.querySelector( '.ac-boxes' ).classList.remove( 'show-column-id' );\r\n\t\t} );\r\n\t}\r\n\r\n\tlet showColumnType = document.querySelector( '[data-ac-screen-option=\"show_column_type\"] input' );\r\n\tif ( showColumnType ) {\r\n\t\tshowColumnType.addEventListener( 'change', () => {\r\n\t\t\tshowColumnType.checked\r\n\t\t\t\t? document.querySelector( '.ac-boxes' ).classList.add( 'show-column-type' )\r\n\t\t\t\t: document.querySelector( '.ac-boxes' ).classList.remove( 'show-column-type' );\r\n\t\t} );\r\n\t}\r\n\r\n} );","const STATES = {\r\n\tCLOSED : 'closed',\r\n\tOPEN : 'open'\r\n};\r\n\r\nclass Column {\r\n\r\n\tconstructor( $el ) {\r\n\t\tthis.$el = $el;\r\n\t\tthis.el = $el[ 0 ];\r\n\t\tthis.settings = [];\r\n\t\tthis.state = STATES.CLOSED;\r\n\r\n\t\tthis._type = this.$el.data( 'type' );\r\n\t}\r\n\r\n\tget name() {\r\n\t\treturn this.$el.data( 'column-name' );\r\n\t}\r\n\r\n\tset name( name ) {\r\n\t\tthis.$el.data( 'column-name', name );\r\n\t}\r\n\r\n\tget type() {\r\n\t\treturn this._type;\r\n\t}\r\n\r\n\tset type( type ) {\r\n\t\tthis.$el.data( 'type', type );\r\n\t}\r\n\r\n\tisOriginal() {\r\n\t\treturn (1 === this.$el.data( 'original' ));\r\n\t}\r\n\r\n\tisDisabled() {\r\n\t\treturn this.$el.hasClass( 'disabled' );\r\n\t}\r\n\r\n\tdisable() {\r\n\t\tthis.$el.addClass( 'disabled' );\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tenable() {\r\n\t\tthis.$el.removeClass( 'disabled' );\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tinitNewInstance() {\r\n\t\tlet temp_column_name = '_new_column_' + AC.Column.getNewIncementalName();\r\n\t\tlet original_column_name = this.name;\r\n\r\n\t\tthis.$el.find( 'input, select, label' ).each( function( i, v ) {\r\n\t\t\tlet $input = jQuery( v );\r\n\r\n\t\t\t// name attributes\r\n\t\t\tif ( $input.attr( 'name' ) ) {\r\n\t\t\t\t$input.attr( 'name', $input.attr( 'name' ).replace( `columns[${original_column_name}]`, `columns[${temp_column_name}]` ) );\r\n\t\t\t}\r\n\r\n\t\t\t// id attributes\r\n\t\t\tif ( $input.attr( 'id' ) ) {\r\n\t\t\t\t$input.attr( 'id', $input.attr( 'id' ).replace( `-${original_column_name}-`, `-${temp_column_name}-` ) );\r\n\t\t\t}\r\n\r\n\t\t} );\r\n\r\n\t\tthis.name = temp_column_name;\r\n\r\n\t\tAC.incremental_column_name++;\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @returns {Column}\r\n\t */\r\n\tbindEvents() {\r\n\t\tlet column = this;\r\n\t\tcolumn.$el.data( 'column', column );\r\n\r\n\t\tObject.keys( AC.Column.events ).forEach( function( key ) {\r\n\t\t\tif ( !column.isBound( key ) ) {\r\n\t\t\t\tAC.Column.events[ key ]( column );\r\n\t\t\t\tcolumn.bind( key );\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t\tthis.bindSettings();\r\n\r\n\t\tjQuery( document ).trigger( 'AC_Column_InitSettings', [ column ] );\r\n\r\n\t\treturn this;\r\n\t}\r\n\r\n\tbindSettings() {\r\n\t\tlet column = this;\r\n\r\n\t\tObject.keys( AC.Column.settings ).forEach( function( key ) {\r\n\t\t\tif ( !column.isBound( key ) ) {\r\n\t\t\t\tAC.Column.settings[ key ]( column );\r\n\t\t\t\tcolumn.bind( key );\r\n\t\t\t}\r\n\t\t} );\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * @param key\r\n\t * @returns {bool}\r\n\t */\r\n\tisBound( key ) {\r\n\t\treturn this.$el.data( key );\r\n\t}\r\n\r\n\tbind( key ) {\r\n\t\tthis.$el.data( key, true );\r\n\t}\r\n\r\n\tdestroy() {\r\n\t\tthis.$el.remove();\r\n\t}\r\n\r\n\tremove( duration = 350 ) {\r\n\t\tlet self = this;\r\n\r\n\t\tthis.$el.addClass( 'deleting' ).animate( { opacity : 0, height : 0 }, duration, function() {\r\n\t\t\tself.destroy();\r\n\t\t} );\r\n\t}\r\n\r\n\tgetState() {\r\n\t\treturn this.state;\r\n\t}\r\n\r\n\ttoggle( duration = 150 ) {\r\n\t\tif ( this.getState() === STATES.OPEN ) {\r\n\t\t\tthis.close( duration );\r\n\t\t} else {\r\n\t\t\tthis.open( duration );\r\n\t\t}\r\n\t}\r\n\r\n\tclose( duration = 0 ) {\r\n\t\tthis.$el.removeClass( 'opened' ).find( '.ac-column-body' ).slideUp( duration );\r\n\t\tthis.state = STATES.CLOSED;\r\n\t}\r\n\r\n\topen( duration = 0 ) {\r\n\t\tthis.$el.addClass( 'opened' ).find( '.ac-column-body' ).slideDown( duration );\r\n\t\tthis.state = STATES.OPEN;\r\n\t}\r\n\r\n\tshowMessage( message ) {\r\n\t\tthis.$el.find( '.ac-column-setting--type .msg' ).html( message ).show();\r\n\t}\r\n\r\n\tswitchToType( type ) {\r\n\t\tlet self = this;\r\n\r\n\t\treturn jQuery.ajax( {\r\n\t\t\turl : ajaxurl,\r\n\t\t\tmethod : 'post',\r\n\t\t\tdataType : 'json',\r\n\t\t\tdata : {\r\n\t\t\t\taction : 'ac-columns',\r\n\t\t\t\tid : 'select',\r\n\t\t\t\ttype : type,\r\n\t\t\t\tdata: AC.Form.serialize(),\r\n\t\t\t\tcurrent_original_columns : AC.Form.originalColumns(),\r\n\t\t\t\toriginal_columns : AC.original_columns,\r\n\t\t\t\t_ajax_nonce : AC._ajax_nonce,\r\n\t\t\t},\r\n\t\t\tsuccess : function( response ) {\r\n\t\t\t\tif ( true === response.success ) {\r\n\t\t\t\t\tlet column = jQuery( response.data );\r\n\r\n\t\t\t\t\tself.$el.replaceWith( column );\r\n\t\t\t\t\tself.$el = column;\r\n\t\t\t\t\tself.el = column[ 0 ];\r\n\t\t\t\t\tself._type = type;\r\n\t\t\t\t\tself.initNewInstance();\r\n\t\t\t\t\tself.bindEvents();\r\n\t\t\t\t\tself.open();\r\n\r\n\t\t\t\t\tjQuery( document ).trigger( 'AC_Column_Change', [ self ] );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tself.showMessage( response.data.error )\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} );\r\n\t}\r\n\r\n\trefresh() {\r\n\r\n\t\tlet self = this;\r\n\t\tlet data = this.$el.find( ':input' ).serializeArray();\r\n\t\tlet request_data = {\r\n\t\t\taction : 'ac-columns',\r\n\t\t\tid : 'refresh',\r\n\t\t\t_ajax_nonce : AC._ajax_nonce,\r\n\t\t\tdata: AC.Form.serialize(),\r\n\t\t\tcolumn_name : this.name,\r\n\t\t\toriginal_columns : AC.original_columns\r\n\t\t};\r\n\r\n\t\tjQuery.each( request_data, function( name, value ) {\r\n\t\t\tdata.push( {\r\n\t\t\t\tname : name,\r\n\t\t\t\tvalue : value\r\n\t\t\t} );\r\n\t\t} );\r\n\r\n\t\treturn jQuery.ajax( {\r\n\t\t\ttype : 'post',\r\n\t\t\turl : ajaxurl,\r\n\t\t\tdata : data,\r\n\r\n\t\t\tsuccess : function( response ) {\r\n\t\t\t\tif ( true === response.success ) {\r\n\t\t\t\t\tlet column = jQuery( response.data );\r\n\r\n\t\t\t\t\tself.$el.replaceWith( column );\r\n\t\t\t\t\tself.$el = column;\r\n\t\t\t\t\tself.el = column[ 0 ];\r\n\t\t\t\t\tself.bindEvents();\r\n\r\n\t\t\t\t\tif ( self.getState() === STATES.OPEN ) {\r\n\t\t\t\t\t\tself.open();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tjQuery( document ).trigger( 'AC_Column_Refresh', [ self ] );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t} );\r\n\t}\r\n\r\n\t/**\r\n\t * @returns {Column}\r\n\t */\r\n\tcreate() {\r\n\t\tthis.initNewInstance();\r\n\t\tthis.bindEvents();\r\n\r\n\t\tjQuery( document ).trigger( 'AC_Column_Created', [ this ] );\r\n\t\treturn this;\r\n\t}\r\n\r\n\t/**\r\n\t * @returns {Column}\r\n\t */\r\n\tclone() {\r\n\t\tlet $clone = this.$el.clone();\r\n\t\t$clone.data( 'column-name', this.$el.data( 'column-name' ) );\r\n\r\n\t\tlet clone = new Column( $clone );\r\n\r\n\t\tclone.initNewInstance();\r\n\t\tclone.bindEvents();\r\n\r\n\t\treturn clone;\r\n\t}\r\n}\r\n\r\nmodule.exports = Column;","/*\n * Optional Radio Click events\n * TODO: Is not used anymore?\n */\n\nlet addons = function( column ) {\n\tlet $ = jQuery;\n\tlet $column = column.$el;\n\tlet inputs = $column.find( '[data-trigger] label' );\n\n\tinputs.on( 'click', function() {\n\n\t\tlet id = $( this ).closest( 'td.input' ).data( 'trigger' );\n\t\tlet state = $( 'input', this ).val();\n\n\t\t// Toggle indicator icon\n\t\tlet label = $column.find( '[data-indicator-id=\"' + id + '\"]' ).removeClass( 'on' );\n\t\tif ( 'on' === state ) {\n\t\t\tlabel.addClass( 'on' );\n\t\t}\n\n\t\t// Toggle additional options\n\t\tlet additional = $column.find( '[data-handle=\"' + id + '\"]' ).addClass( 'hide' );\n\t\tif ( 'on' === state ) {\n\t\t\tadditional.removeClass( 'hide' );\n\t\t}\n\t} );\n\n\t// On load\n\t$column.find( '[data-trigger]' ).each( function() {\n\n\t\tlet trigger = $( this ).data( 'trigger' );\n\n\t\t// Hide additional column settings\n\t\tlet additional = $column.find( '[data-handle=\"' + trigger + '\"]' ).addClass( 'hide' );\n\t\tif ( 'on' === $( 'input:checked', this ).val() ) {\n\t\t\tadditional.removeClass( 'hide' );\n\t\t}\n\t} );\n\n};\n\nmodule.exports = addons;","/*\n* Column: bind clone events\n*\n* @since 2.0\n*/\nlet clone = function( column ) {\n\tcolumn.$el.find( '.clone-button' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tif ( column.isOriginal() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tAC.Form.cloneColumn( column.$el );\n\t} );\n};\n\nmodule.exports = clone;","let indicator = function( column ) {\r\n\tlet $column = column.$el;\r\n\r\n\t$column.find( '.ac-column-header [data-indicator-toggle]' ).each( function() {\r\n\t\tlet $ = jQuery;\r\n\t\tlet $indicator = $( this );\r\n\t\tlet setting = $( this ).data( 'setting' );\r\n\t\tlet $setting = $column.find( '.ac-column-setting[data-setting=' + setting + ']' );\r\n\t\tlet $input = $setting.find( '.col-input:first .ac-setting-input:first input[type=radio]' );\r\n\r\n\t\t$indicator.unbind( 'click' ).on( 'click', function( e ) {\r\n\t\t\te.preventDefault();\r\n\r\n\t\t\tif ( $column.hasClass( 'disabled' ) ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t$indicator.toggleClass( 'on' );\r\n\t\t\tif ( $( this ).hasClass( 'on' ) ) {\r\n\t\t\t\t$input.filter( '[value=on]' ).prop( 'checked', true ).trigger( 'click' ).trigger( 'change' );\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t$input.filter( '[value=off]' ).prop( 'checked', true ).trigger( 'click' ).trigger( 'change' );\r\n\t\t\t}\r\n\t\t} );\r\n\r\n\t\t$input.on( 'change', function() {\r\n\t\t\tif ( $column.hasClass( 'disabled' ) ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tlet value = $input.filter( ':checked' ).val();\r\n\t\t\tif ( 'on' === value ) {\r\n\t\t\t\t$indicator.addClass( 'on' );\r\n\t\t\t} else {\r\n\t\t\t\t$indicator.removeClass( 'on' );\r\n\t\t\t}\r\n\t\t} );\r\n\t} );\r\n};\r\n\r\nmodule.exports = indicator;","let label = function( column ) {\n\tlet $column = column.$el;\n\n\t/**\n\t * Populates the main Label with the selected label from the dropdown,\n\t */\n\t$column.find( 'select[data-label=\"update\"]' ).change( function() {\n\t\tlet $label = $column.find( 'input.ac-setting-input_label' );\n\t\tlet field_label = jQuery( this ).find( 'option:selected' ).text();\n\n\t\t// Set new label\n\t\t$label.val( field_label );\n\t\t$label.trigger( 'change' );\n\t} );\n\n\t/** When an label contains an icon or span, the displayed label can appear empty. In this case we show the \"type\" label. */\n\tsetTimeout( function() {\n\t\tlet column_label = $column.find( '.column_label .toggle' );\n\n\t\tif ( jQuery.trim( column_label.html() ) && column_label.width() < 1 ) {\n\t\t\tcolumn_label.html( $column.find( '.column_type .inner' ).html() );\n\t\t}\n\t}, 50 );\n};\n\nlet settingLabel = function( column ) {\n\tlet $column = column.$el;\n\n\t/** change label */\n\t$column.find( '.ac-column-setting--label input' ).bind( 'keyup change', function() {\n\t\tlet value = jQuery( this ).val();\n\t\tjQuery( this ).closest( '.ac-column' ).find( 'td.column_label .inner > a.toggle' ).html( value );\n\t} ).trigger( 'change' );\n\n\t/** tooltip */\n\t$column.find( '.ac-column-body .col-label .label' ).hover( function() {\n\t\tjQuery( this ).parents( '.col-label' ).find( 'div.tooltip' ).show();\n\t}, function() {\n\t\tjQuery( this ).parents( '.col-label' ).find( 'div.tooltip' ).hide();\n\t} );\n};\n\nmodule.exports = {\n\tlabel : label,\n\tsetting : settingLabel\n};","let refresh = function( column ) {\n\tlet $ = jQuery;\n\n\tcolumn.$el.find( '[data-refresh=\"column\"]' ).on( 'change', function() {\n\t\t// Allow plugins to hook into this event\n\t\t$( document ).trigger( 'AC.column.prerefresh', column.$el );\n\t\tcolumn.$el.addClass( 'loading' );\n\n\t\tsetTimeout( function() {\n\t\t\tcolumn.refresh().always( function() {\n\t\t\t\tcolumn.$el.removeClass( 'loading' );\n\t\t\t} ).fail( () => {\n\t\t\t\tcolumn.showMessage( AC.i18n.errors.loading_column );\n\t\t\t} );\n\t\t}, 200 );\n\n\t} );\n};\n\nmodule.exports = refresh;","/*\n * Column: bind remove events\n *\n * @since 2.0\n */\nlet remove = function( column ) {\n\tcolumn.$el.find( '.remove-button' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tAC.Form.removeColumn( column.name );\n\t} );\n};\n\nmodule.exports = remove;","/*\n * Column: bind toggle events\n *\n * For performance we bind all other events after the click event.\n *\n * @since 2.0\n */\nlet toggle = function( column ) {\n\tcolumn.$el.find( '[data-toggle=\"column\"]' ).click( function( e ) {\n\t\te.preventDefault();\n\n\t\tcolumn.toggle();\n\t} ).css( 'cursor', 'pointer' );\n};\n\nmodule.exports = toggle;","let selector = function( column ) {\n\tlet $ = jQuery;\n\tcolumn.$el.find( 'select.ac-setting-input_type' ).change( function() {\n\t\tcolumn.$el.addClass( 'loading' );\n\t\tcolumn.switchToType( $( this ).val() ).always( function() {\n\t\t\tcolumn.$el.removeClass( 'loading' );\n\n\t\t\tAC.Form.reindexColumns();\n\t\t} ).fail( () => {\n\t\t\tcolumn.showMessage( AC.i18n.errors.loading_column );\n\t\t} );\n\t} );\n};\n\nmodule.exports = selector;","class Feedback {\n\n\tconstructor( $el ) {\n\t\tthis.$el = jQuery( $el );\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet $box = this.$el;\n\n\t\t$box.find( '#feedback-choice a.no' ).click( function( e ) {\n\t\t\te.preventDefault();\n\n\t\t\t$box.find( '#feedback-choice' ).slideUp();\n\t\t\t$box.find( '#feedback-support' ).slideDown();\n\t\t} );\n\n\t\t$box.find( '#feedback-choice a.yes' ).click( function( e ) {\n\t\t\te.preventDefault();\n\n\t\t\t$box.find( '#feedback-choice' ).slideUp();\n\t\t\t$box.find( '#feedback-rate' ).slideDown();\n\t\t} );\n\t};\n\n}\n\nmodule.exports = Feedback;","import Column from \"./column\";\n\nclass Form {\n\n\tconstructor( el ) {\n\t\tthis.form = el;\n\t\tthis.$form = jQuery( el );\n\t\tthis.$column_container = this.$form.find( '.ac-columns' );\n\t\tthis.$container = jQuery( '#cpac .ac-admin' );\n\t\tthis.columns = {};\n\t\tthis._validators = [];\n\n\t\tjQuery( document ).trigger( 'AC_Form_Loaded' );\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tthis.initColumns();\n\t\tthis.bindFormEvents();\n\t\tthis.bindOrdering();\n\n\t\tif ( this.$form.hasClass( '-disabled' ) ) {\n\t\t\tthis.disableFields();\n\t\t}\n\n\t\tjQuery( document ).trigger( 'AC_Form_Ready', this );\n\t}\n\n\tbindOrdering() {\n\n\t\tif ( this.$form.hasClass( 'ui-sortable' ) ) {\n\t\t\tthis.$form.sortable( 'refresh' );\n\t\t} else {\n\t\t\tthis.$form.sortable( {\n\t\t\t\titems : '.ac-column',\n\t\t\t\thandle : '.column_sort'\n\t\t\t} );\n\t\t}\n\n\t}\n\n\toriginalColumns() {\n\t\tlet self = this;\n\t\tlet columns = [];\n\n\t\tObject.keys( self.columns ).forEach( function( key ) {\n\t\t\tlet column = self.columns[ key ];\n\t\t\tif ( column.isOriginal() ) {\n\t\t\t\tcolumns.push( column.type );\n\t\t\t}\n\t\t} );\n\n\t\treturn columns;\n\t}\n\n\tvalidateForm() {\n\t\tlet valid = true;\n\n\t\tthis._validators.forEach( validator => {\n\t\t\tvalid = validator.call( this, this );\n\t\t} );\n\n\t\treturn valid;\n\t}\n\n\taddValidator( validator ) {\n\t\tthis._validators.push( validator );\n\t}\n\n\tbindFormEvents() {\n\t\tlet self = this;\n\t\tlet $buttons = jQuery( '.sidebox a.submit, .column-footer a.submit' );\n\n\t\t$buttons.on( 'click', function() {\n\t\t\tif ( !self.validateForm() ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t$buttons.attr( 'disabled', 'disabled' );\n\t\t\tself.$container.addClass( 'saving' );\n\t\t\tself.submitForm().always( function() {\n\t\t\t\t$buttons.removeAttr( 'disabled', 'disabled' );\n\t\t\t\tself.$container.removeClass( 'saving' );\n\t\t\t} )\n\t\t} );\n\n\t\tself.$container.find( '.add_column' ).on( 'click', function() {\n\t\t\tself.addColumn();\n\t\t} );\n\n\t\tlet $boxes = jQuery( '#cpac .ac-boxes' );\n\t\tif ( $boxes.hasClass( 'disabled' ) ) {\n\t\t\t$boxes.find( '.ac-column' ).each( function( i, col ) {\n\t\t\t\tjQuery( col ).data( 'column' ).disable();\n\t\t\t\tjQuery( col ).find( 'input, select' ).prop( 'disabled', true );\n\t\t\t} );\n\t\t}\n\n\t\tjQuery( 'a[data-clear-columns]' ).on( 'click', function() {\n\t\t\tself.resetColumns();\n\t\t} );\n\t}\n\n\tinitColumns() {\n\t\tlet self = this;\n\t\tself.columns = {};\n\n\t\tthis.$form.find( '.ac-column' ).each( function() {\n\t\t\tlet $el = jQuery( this );\n\t\t\tlet column = new Column( $el );\n\n\t\t\tcolumn.bindEvents();\n\n\t\t\t$el.data( 'column', column );\n\t\t\tself.columns[ column.name ] = column;\n\t\t} );\n\t}\n\n\treindexColumns() {\n\t\tlet self = this;\n\t\tself.columns = {};\n\n\t\tthis.$form.find( '.ac-column' ).each( function() {\n\t\t\tlet column = jQuery( this ).data( 'column' );\n\n\t\t\tself.columns[ column.name ] = column;\n\t\t} );\n\t}\n\n\tresetColumns() {\n\t\tObject.keys( this.columns ).forEach( ( key ) => {\n\t\t\tlet column = this.columns[ key ];\n\n\t\t\tcolumn.destroy();\n\t\t} );\n\n\t}\n\n\tserialize() {\n\t\treturn this.$form.serialize();\n\t}\n\n\tdisableFields() {\n\t\tlet form = document.querySelector( this.form );\n\t\tif ( !form ) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet elements = form.elements;\n\n\t\tfor ( let i = 0; i < elements.length; i++ ) {\n\t\t\telements[ i ].readOnly = true;\n\t\t\telements[ i ].setAttribute( 'disabled', true );\n\t\t}\n\t}\n\n\tenableFields() {\n\n\t}\n\n\tsubmitForm() {\n\t\tlet self = this;\n\n\t\tlet xhr = jQuery.post( ajaxurl, {\n\t\t\t\taction : 'ac-columns',\n\t\t\t\tid : 'save',\n\t\t\t\t_ajax_nonce : AC._ajax_nonce,\n\t\t\t\tdata : this.serialize(),\n\t\t\t},\n\n\t\t\tfunction( response ) {\n\t\t\t\tif ( response ) {\n\t\t\t\t\tif ( response.success ) {\n\t\t\t\t\t\tself.showMessage( response.data, 'updated' );\n\n\t\t\t\t\t\tself.$container.addClass( 'stored' );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Error message\n\t\t\t\t\telse if ( response.data ) {\n\t\t\t\t\t\tself.showMessage( response.data.message, 'notice notice-warning' );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}, 'json' );\n\n\t\t// No JSON\n\t\txhr.fail( function( error ) {\n\t\t\tself.showMessage( AC.i18n.errors.save_settings, 'notice notice-warning' );\n\t\t} );\n\n\t\tjQuery( document ).trigger( 'AC_Form_AfterUpdate', [self.$container] );\n\n\t\treturn xhr;\n\t}\n\n\tshowMessage( message, attr_class = 'updated' ) {\n\t\tlet $msg = jQuery( '<div class=\"ac-message hidden ' + attr_class + '\"><p>' + message + '</p></div>' );\n\n\t\tthis.$container.find( '.ac-message' ).stop().remove();\n\t\tthis.$container.find( '.ac-admin__main' ).prepend( $msg );\n\n\t\t$msg.slideDown();\n\t}\n\n\tcloneColumn( $el ) {\n\t\treturn this._addColumnToForm( new Column( $el ).clone(), $el.hasClass( 'opened' ) );\n\t}\n\n\taddColumn() {\n\t\tlet $clone = jQuery( '#add-new-column-template' ).find( '.ac-column' ).clone();\n\t\tlet column = new Column( $clone ).create();\n\n\t\treturn this._addColumnToForm( column );\n\t}\n\n\tremoveColumn( name ) {\n\t\tif ( this.columns[ name ] ) {\n\t\t\tthis.columns[ name ].remove();\n\t\t\tdelete this.columns[ name ];\n\t\t}\n\t}\n\n\tgetListScreen() {\n\t\treturn this.$form.find( 'input[name=\"list_screen\"]' ).val();\n\t}\n\n\tgetListScreenID() {\n\t\treturn this.$form.find( 'input[name=\"list_screen_id\"]' ).val();\n\t}\n\n\tgetTitle() {\n\t\treturn this.$form.find( 'input[name=\"title\"]' ).val();\n\t}\n\n\tgetColumnSettings() {\n\t\treturn this.$form.find( '[name^=\"columns[\"]' ).serialize();\n\t}\n\n\t_addColumnToForm( column, open = true ) {\n\t\tthis.columns[ column.name ] = column;\n\t\tthis.$column_container.append( column.$el );\n\n\t\tif ( open ) {\n\t\t\tcolumn.open();\n\t\t}\n\n\t\tcolumn.$el.hide().slideDown();\n\n\t\tjQuery( 'html, body' ).animate( { scrollTop : column.$el.offset().top - 58 }, 300 );\n\n\t\tjQuery( document ).trigger( 'AC_Column_Added', [column] );\n\n\t\treturn column;\n\t}\n\n}\n\nmodule.exports = Form;","class Initiator {\n\n\tconstructor() {\n\t\tthis.events = {};\n\t\tthis.settings = {};\n\t\tthis.incremental_name = 0;\n\t}\n\n\tregisterSetting( k, setting ) {\n\t\tlet key = 's_' + k;\n\n\t\tif ( this.settings[ key ] ) {\n\t\t\tconsole.error( 'Setting key already exists: ' + k );\n\t\t}\n\n\t\tthis.settings[ key ] = setting;\n\n\t\treturn this;\n\t}\n\n\tregisterEvent( k, event ) {\n\t\tlet key = 'e_' + k;\n\t\tif ( this.settings[ key ] ) {\n\t\t\tconsole.error( 'Event key already exists: ' + key );\n\t\t}\n\n\t\tthis.events[ key ] = event;\n\n\t\treturn this;\n\t}\n\n\tgetNewIncementalName() {\n\t\tlet oldName = this.incremental_name;\n\t\tthis.incremental_name++;\n\n\t\treturn oldName;\n\t}\n}\n\nmodule.exports = Initiator;","var nanobus = require( 'nanobus' );\n\nclass ListscreenInitialize {\n\n\tconstructor( list_screens ) {\n\t\tthis.list_screens = list_screens;\n\t\tthis.processed = [];\n\t\tthis.errors = [];\n\t\tthis.success = [];\n\t\tthis.events = nanobus();\n\t}\n\n\tdoAjaxCall( list_screen ) {\n\t\treturn jQuery.ajax( {\n\t\t\turl : list_screen.screen_link,\n\t\t\tmethod : 'get',\n\t\t} );\n\t}\n\n\trun() {\n\t\tObject.keys( this.list_screens ).forEach( key => {\n\t\t\tthis.processListScreen( this.list_screens[ key ] );\n\t\t} );\n\t}\n\n\tonFinish() {\n\t\tif ( this.success.length === Object.keys( this.list_screens ).length ) {\n\t\t\tthis.events.emit( 'success' );\n\t\t}\n\n\t\tif ( this.errors.length > 0 ) {\n\t\t\tthis.events.emit( 'error' );\n\t\t}\n\t}\n\n\tcheckFinish() {\n\t\tif ( this.processed.length === Object.keys( this.list_screens ).length ) {\n\t\t\tthis.onFinish();\n\t\t}\n\t}\n\n\tprocessListScreen( list_screen ) {\n\t\treturn this.doAjaxCall( list_screen )\n\t\t\t.done( r => {\n\t\t\t\tif ( r === 'ac_success' ) {\n\t\t\t\t\tthis.success.push( list_screen );\n\t\t\t\t} else {\n\t\t\t\t\tthis.errors.push( list_screen );\n\t\t\t\t}\n\t\t\t} )\n\t\t\t.fail( () => {\n\t\t\t\tthis.errors.push( list_screen );\n\t\t\t} )\n\t\t\t.always( () => {\n\t\t\t\tthis.processed.push( list_screen );\n\t\t\t\tthis.checkFinish();\n\t\t\t} );\n\t}\n\n}\n\nexport default class ListScreenInitializeController {\n\n\tconstructor( list_screens ) {\n\t\tthis.list_screens = list_screens;\n\t\tthis.run();\n\t}\n\n\trun() {\n\t\tif ( Object.keys( this.list_screens ).length > 0 ) {\n\t\t\t// Only load main screen first if unitialized, otherwise do the rest in background\n\t\t\tif ( this.list_screens.hasOwnProperty( AC.list_screen ) ) {\n\t\t\t\tlet main_initializer = new ListscreenInitialize( { [ AC.list_screen ] : this.list_screens[ AC.list_screen ] } );\n\n\t\t\t\tmain_initializer.run();\n\n\t\t\t\tmain_initializer.events.on( 'error', () => {\n\t\t\t\t\tdocument.querySelectorAll( '.ac-loading-msg-wrapper' ).forEach( el => el.remove() );\n\t\t\t\t\tdocument.querySelectorAll( '.menu' ).forEach( el => el.classList.remove( 'hidden' ) );\n\t\t\t\t} );\n\n\t\t\t\tmain_initializer.events.on( 'success', () => {\n\t\t\t\t\twindow.location = `${location.href}&t=${Date.now()}`;\n\t\t\t\t} );\n\n\t\t\t} else {\n\t\t\t\tlet background_initializer = new ListscreenInitialize( this.list_screens );\n\t\t\t\tbackground_initializer.run();\n\t\t\t}\n\n\t\t}\n\t}\n\n}","class Menu {\n\n\tinit() {\n\t\tlet $ = jQuery;\n\n\t\t$( '#ac_list_screen' ).on( 'change', function() {\n\t\t\t$( '.view-link' ).hide();\n\t\t\t$( this ).parents( 'form' ).submit();\n\n\t\t\t$( this ).prop( 'disabled', true ).next( '.spinner' ).css( 'display', 'inline-block' );\n\t\t} );\n\n\t}\n\n}\n\nmodule.exports = Menu;","var nanobus = require( 'nanobus' );\n\nclass SingleCustomFieldRequestManager {\n\n\tconstructor( meta_type, post_type ) {\n\t\tthis.meta_type = meta_type;\n\t\tthis.post_type = post_type;\n\t\tthis.loading = false;\n\t\tthis.data = false;\n\t\tthis.events = nanobus();\n\t}\n\n\tretrieveOptions() {\n\t\tthis.loading = true;\n\n\t\treturn jQuery.ajax( {\n\t\t\turl : ajaxurl,\n\t\t\tdataType : 'json',\n\t\t\tmethod : 'post',\n\t\t\tdata : {\n\t\t\t\taction : 'ac_custom_field_options',\n\t\t\t\tpost_type : this.post_type,\n\t\t\t\tmeta_type : this.meta_type,\n\t\t\t\t_ajax_nonce : AC._ajax_nonce\n\t\t\t}\n\t\t} );\n\t}\n\n\tgetOptions() {\n\t\tconst defer = jQuery.Deferred();\n\n\t\tif ( this.data ) {\n\t\t\tdefer.resolve( this.data );\n\t\t} else if ( this.loading ) {\n\t\t\tthis.events.on( 'loaded', () => {\n\t\t\t\tdefer.resolve( this.data );\n\t\t\t} )\n\t\t} else {\n\t\t\tthis.retrieveOptions().done( response => {\n\t\t\t\tif ( !response.success ) {\n\t\t\t\t\tdefer.reject();\n\t\t\t\t}\n\n\t\t\t\tthis.data = response.data.results;\n\t\t\t\tthis.events.emit( 'loaded' );\n\n\t\t\t\tdefer.resolve( this.data );\n\t\t\t} );\n\t\t}\n\n\t\treturn defer.promise();\n\t}\n\n}\n\nconst loadSingleRequestManager = ( meta_type, post_type ) => {\n\tconst key = `custom_field_${meta_type}_${post_type}`;\n\n\tif ( typeof AC_Requests === 'undefined' ) {\n\t\tglobal.AC_Requests = {};\n\t}\n\n\tif ( !AC_Requests.hasOwnProperty( key ) ) {\n\t\tAC_Requests[ key ] = new SingleCustomFieldRequestManager( meta_type, post_type );\n\t}\n\n\treturn AC_Requests[ key ];\n};\n\nclass CustomField {\n\tconstructor( column ) {\n\t\tthis.column = column;\n\t\tthis.setting = column.$el[ 0 ].querySelector( '.ac-column-setting--custom_field' );\n\n\t\tif ( !this.setting || !this.setting.querySelector( '.custom_field' ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.bindEvents();\n\t}\n\n\tbindEvents() {\n\t\tconst input = this.setting.querySelector( '.custom_field' );\n\t\tconst request = loadSingleRequestManager( input.dataset.type, input.dataset.post_type );\n\t\tconst editingAvailable = this.column.el.querySelectorAll( '[data-setting=\"edit\"][data-indicator-toggle]' ).length > 0;\n\n\t\t// Ensure you won't get any duplicates on clone\n\t\tinput.querySelectorAll( 'optgroup' ).forEach( el => {\n\t\t\tel.remove();\n\t\t} );\n\n\t\tinput.removeAttribute( 'data-select2-id' );\n\n\t\tthis.setting.querySelectorAll( '.select2' ).forEach( el => {\n\t\t\tel.remove();\n\t\t} );\n\n\t\trequest.getOptions().done( data => {\n\t\t\tjQuery( input ).ac_select2( {\n\t\t\t\ttheme : 'acs2',\n\t\t\t\twidth : '100%',\n\t\t\t\ttags : editingAvailable,\n\t\t\t\tdropdownCssClass : '-customfields',\n\t\t\t\tdata : data\n\t\t\t} );\n\t\t} );\n\t}\n}\n\nconst customfield = column => {\n\tcolumn.settings.customfield = new CustomField( column );\n};\n\nexport default customfield;","let date = function( column ) {\n\tlet $ = jQuery;\n\tlet $column = column.$el;\n\tlet $setting = $column.find( '.ac-column-setting--date' );\n\n\t$setting.each( function() {\n\n\t\tlet $container = $( this );\n\n\t\t// Custom input\n\t\tlet $radio_custom = $container.find( 'input.custom' );\n\t\tlet $input_custom = $container.find( '.ac-setting-input-date__custom' );\n\t\tlet $input_value = $container.find( '.ac-setting-input-date__value' );\n\t\tlet $example_custom = $container.find( '.ac-setting-input-date__example' );\n\t\tlet $selected = $container.find( 'input[type=radio]:checked' );\n\t\tlet $help_msg = $container.find( '.help-msg' );\n\n\t\t// Click Event\n\t\t$container.find( 'input[type=radio]' ).on( 'change', function() {\n\n\t\t\tlet $input = $( this );\n\t\t\tlet $input_container = $input.closest( 'label' );\n\t\t\tlet date_format = $input_container.find( 'code' ).text();\n\t\t\tlet description = $input_container.find( '.ac-setting-input-date__more' ).html();\n\n\t\t\tif ( date_format ) {\n\t\t\t\t$input_custom.val( date_format ).trigger( 'change' );\n\t\t\t}\n\n\t\t\tif ( $input.hasClass( 'diff' ) ) {\n\t\t\t\t$input_custom.val( '' );\n\t\t\t\t$example_custom.text( '' );\n\t\t\t}\n\n\t\t\t$input_custom.prop( 'disabled', true );\n\n\t\t\t// Custom input selected\n\t\t\tif ( $input.hasClass( 'custom' ) ) {\n\t\t\t\t$input.val( $input_custom.val() );\n\t\t\t\t$input_custom.prop( 'disabled', false );\n\t\t\t\t$help_msg.show();\n\t\t\t}\n\n\t\t\t// Show more description\n\t\t\t$help_msg.hide();\n\t\t\tif ( description ) {\n\t\t\t\t$help_msg.html( description ).show();\n\t\t\t}\n\n\t\t\t$input_value.val( $input.val() );\n\t\t} );\n\n\t\t// Custom input\n\t\t$input_custom.on( 'change', function() {\n\n\t\t\t$example_custom.html( '<span class=\"spinner is-active\"></span>' );\n\t\t\t$radio_custom.val( $input_custom.val() );\n\n\t\t\tlet $custom_value = $( this ).val();\n\n\t\t\tif ( !$custom_value ) {\n\t\t\t\t$example_custom.text( '' );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$.ajax( {\n\t\t\t\turl : ajaxurl,\n\t\t\t\tmethod : 'post',\n\t\t\t\tdata : {\n\t\t\t\t\taction : 'date_format',\n\t\t\t\t\tdate : $custom_value\n\t\t\t\t}\n\t\t\t} ).done( function( date ) {\n\t\t\t\t$example_custom.text( date );\n\t\t\t} );\n\n\t\t\t$input_value.val( $custom_value );\n\t\t} );\n\n\t\t// Update date example box\n\t\t$selected.trigger( 'change' );\n\n\t\t// Select custom input as a default\n\t\tif ( 0 === $selected.length ) {\n\t\t\t$radio_custom.trigger( 'click' );\n\t\t}\n\n\t} );\n};\n\nmodule.exports = date;","class Image {\n\n\tconstructor( column ) {\n\t\tthis.column = column;\n\t\tthis.setting = column.$el[ 0 ].querySelector( '.ac-column-setting--image' );\n\n\t\tif ( !this.setting ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.field = this.setting.querySelector( '.ac-setting-input select' );\n\n\t\tthis.initState();\n\t\tthis.bindEvents();\n\t}\n\n\tgetValue() {\n\t\treturn this.field.value;\n\t}\n\n\tbindEvents() {\n\t\tlet self = this;\n\n\t\tthis.field.addEventListener( 'change', function( e ) {\n\t\t\tself.initState();\n\t\t} );\n\t}\n\n\tinitState() {\n\t\tif ( 'cpac-custom' === this.getValue() ) {\n\t\t\tthis.showSubsettings();\n\t\t} else {\n\t\t\tthis.hideSubsettings();\n\t\t}\n\t}\n\n\thideSubsettings() {\n\t\tlet subsetting = this.setting.querySelectorAll( '.ac-column-setting' );\n\n\t\tfor ( let i = 0; i < subsetting.length; ++i ) {\n\t\t\tsubsetting[ i ].style.display = 'none';\n\t\t}\n\n\t}\n\n\tshowSubsettings() {\n\t\tlet subsetting = this.setting.querySelectorAll( '.ac-column-setting' );\n\n\t\tfor ( let i = 0; i < subsetting.length; ++i ) {\n\t\t\tsubsetting[ i ].style.display = 'table';\n\t\t}\n\t}\n\n\tsetValue( value ) {\n\t\tthis.field.value = value;\n\n\t\tthis.trigger( this.field, 'change' );\n\n\t\treturn this;\n\t}\n\n\tsetWidth( width ) {\n\t\tlet field = this.setting.querySelector( '.ac-column-setting [name*=\"image_size_w\"]' );\n\n\t\tfield.value = width;\n\t\tthis.trigger( field, 'change' );\n\n\t\treturn this;\n\t}\n\n\tsetHeight( height ) {\n\t\tlet field = this.setting.querySelector( '.ac-column-setting [name*=\"image_size_h\"]' );\n\t\tfield.value = height;\n\n\t\tthis.trigger( field, 'change' );\n\n\t\treturn this;\n\t}\n\n\tsetSize( width, height ) {\n\t\tthis.setWidth( width );\n\t\tthis.setHeight( height );\n\n\t\treturn this;\n\t}\n\n\ttrigger( el, event ) {\n\t\tel.dispatchEvent( new Event( event ) );\n\n\t\treturn this;\n\t}\n\n}\n\nlet image = function( column ) {\n\tcolumn.settings.image = new Image( column );\n};\n\nmodule.exports = image;","import Modals from \"../../../modules/modals\";\nimport Modal from \"../../../modules/modal\";\n\nclass Label {\n\tconstructor( column ) {\n\t\tthis.column = column;\n\n\t\tthis.setting = column.el.querySelector( '.ac-column-setting--label' );\n\t\tthis.iconpicker = this.setting.querySelector( '.-iconpicker' );\n\n\t\tif ( !this.iconpicker ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._dashicon = false;\n\t\tthis.modal = Modals.init().register( new Modal( this.setting.querySelector( '.-iconpicker' ) ) );\n\t\tthis.field = this.setting.querySelector( '.ac-setting-input_label' );\n\n\t\tthis.initValue();\n\t\tthis.bindEvents();\n\t}\n\n\tinitValue() {\n\t\tlet self = this;\n\t\tlet html = document.createRange().createContextualFragment( this.getValue() );\n\t\tlet dashicon = html.querySelector( '.dashicons' );\n\n\t\tif ( dashicon ) {\n\t\t\tlet classList = dashicon.classList;\n\n\t\t\tclassList.forEach( cls => {\n\t\t\t\tif ( cls.indexOf( 'dashicons-' ) !== -1 ) {\n\t\t\t\t\tlet selector = '.' + cls;\n\t\t\t\t\tlet icon = self.iconpicker.querySelector( selector );\n\n\t\t\t\t\tif ( icon ) {\n\t\t\t\t\t\ticon.parentElement.classList.add( 'active' );\n\t\t\t\t\t\tself.setIconSelection( icon.parentElement.dataset.dashicon );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t} else {\n\t\t\tself.setIconSelection( false );\n\t\t}\n\n\t}\n\n\tbindEvents() {\n\t\tlet self = this;\n\n\t\tthis.setting.querySelector( '.ac-setting-label-icon' ).addEventListener( 'click', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tself.modal.open();\n\t\t} );\n\n\t\tthis.setting.querySelector( '[data-action=\"submit\"]' ).addEventListener( 'click', function( e ) {\n\n\t\t\te.preventDefault();\n\t\t\tif ( self.getIconSelection() ) {\n\t\t\t\tself.setDashicon( self.getIconSelection() );\n\t\t\t}\n\n\t\t\tself.modal.close();\n\t\t} );\n\n\t\tlet icons = this.iconpicker.querySelectorAll( '.ac-ipicker__icon' );\n\t\ticons.forEach( icon => {\n\t\t\ticon.addEventListener( 'click', function( e ) {\n\t\t\t\te.preventDefault();\n\n\t\t\t\tlet dashicon = this.dataset.dashicon;\n\t\t\t\tif ( dashicon ) {\n\t\t\t\t\tself.setIconSelection( dashicon );\n\t\t\t\t}\n\n\t\t\t\tlet icons = self.setting.querySelectorAll( '.ac-ipicker__icon' );\n\t\t\t\ticons.forEach( icon => {\n\t\t\t\t\ticon.classList.remove( 'active' );\n\t\t\t\t} );\n\n\t\t\t\ticon.classList.add( 'active' );\n\t\t\t} );\n\t\t} );\n\n\t}\n\n\tgetValue() {\n\t\treturn this.field.value;\n\t}\n\n\tsetValue( value ) {\n\t\tthis.field.value = value;\n\n\t\tlet event = new Event( 'change' );\n\t\tthis.field.dispatchEvent( event );\n\t}\n\n\tsetIconSelection( dashicon ) {\n\t\tlet selection = this.setting.querySelector( '.ac-ipicker__selection' );\n\t\tthis._dashicon = dashicon;\n\t\tselection.innerHTML = `<span class=\"dashicons dashicons-${dashicon}\"></span>`;\n\n\t\tif ( !dashicon ) {\n\t\t\tselection.style.visibility = 'hidden';\n\t\t} else {\n\t\t\tselection.style.visibility = 'visible';\n\t\t}\n\t}\n\n\tgetIconSelection() {\n\t\treturn this._dashicon;\n\t}\n\n\tsetDashicon( dashicon ) {\n\t\tthis.setValue( `<span class=\"dashicons dashicons-${dashicon}\"></span>` );\n\t}\n\n}\n\nlet label = function( column ) {\n\tcolumn.settings.label = new Label( column );\n};\n\nmodule.exports = label;","class NumberFormat {\n\tconstructor( column ) {\n\t\tthis.column = column;\n\t\tthis.setting = column.$el[ 0 ].querySelector( '.ac-column-setting--number_format' );\n\n\t\tif ( !this.setting ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.bindEvents();\n\t}\n\n\tbindEvents() {\n\t\tthis.refreshPreview();\n\t\tthis.setting.querySelectorAll( 'input' ).forEach( el => {\n\t\t\tel.addEventListener( 'change', ( e ) => {\n\t\t\t\tthis.refreshPreview();\n\t\t\t} )\n\t\t} )\n\t}\n\n\trefreshPreview() {\n\t\tthis.getExampleRequest().done( ( example ) => {\n\t\t\tlet preview = this.setting.querySelector( '[data-preview]' );\n\n\t\t\tif ( preview ) {\n\t\t\t\tpreview.innerText = example;\n\t\t\t}\n\t\t} );\n\t}\n\n\tgetExampleRequest() {\n\t\tlet decimals = this.setting.querySelector( '.ac-setting-input_number_decimals' );\n\t\tlet decimal_point = this.setting.querySelector( '.ac-setting-input_number_decimal_point' );\n\t\tlet thousands_point = this.setting.querySelector( '.ac-setting-input_number_thousands_separator' );\n\n\t\treturn jQuery.ajax( {\n\t\t\turl : ajaxurl,\n\t\t\tmethod : 'post',\n\t\t\tdata : {\n\t\t\t\taction : 'ac_number_format',\n\t\t\t\tnumber : 7500,\n\t\t\t\tdecimals : decimals ? decimals.value : '',\n\t\t\t\tdecimal_point : decimal_point ? decimal_point.value : '',\n\t\t\t\tthousands_point : thousands_point ? thousands_point.value : '',\n\t\t\t}\n\t\t} );\n\t}\n}\n\nconst numberformat = column => {\n\tcolumn.settings.number_format = new NumberFormat( column );\n};\n\nexport default numberformat;","let pro = function( column ) {\n\tlet $column = column.$el;\n\tlet $setting = $column.find( '.ac-column-setting--pro' );\n\n\t$setting.each( function() {\n\t\tlet $container = jQuery( this );\n\n\t\t$container.find( 'input' ).on( 'click', function( e ) {\n\t\t\te.preventDefault();\n\n\t\t\t$container.find( '[data-ac-open-modal]' ).trigger( 'click' );\n\t\t} )\n\n\t} );\n};\n\nmodule.exports = pro;","let subsetting = function( column ) {\n\tlet $ = jQuery;\n\tlet settings = {\n\t\tvalue_show : \"on\",\n\t\tsubfield : '.ac-column-setting'\n\t};\n\n\tfunction initState( $setting, $input ) {\n\t\tlet value = $input.filter( ':checked' ).val();\n\t\tlet $subfields = $setting.find( settings.subfield );\n\n\t\tif ( settings.value_show === value ) {\n\t\t\t$subfields.show();\n\t\t} else {\n\t\t\t$subfields.hide();\n\t\t}\n\t}\n\n\tlet $column = column.$el;\n\tlet $settings = $column.find( '.ac-column-setting--filter,.ac-column-setting--sort,.ac-column-setting--edit' );\n\n\t$settings.each( function() {\n\t\tlet $setting = $( this );\n\t\tlet $input = $( this ).find( '.ac-setting-input input[type=\"radio\"]' );\n\n\t\tinitState( $setting, $input );\n\t\t$input.on( 'change', function() {\n\t\t\tinitState( $setting, $input );\n\t\t} );\n\n\t} );\n};\n\nmodule.exports = subsetting;","import excludeGroupsMather from \"../../../select2/excludegroup.matcher\";\n\nclass TypeSelector {\n\tconstructor( column ) {\n\t\tthis.column = column;\n\t\tthis.setting = column.$el[ 0 ].querySelector( '[data-setting=\"type\"]' );\n\n\t\tif ( !this.setting ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.bindEvents();\n\t}\n\n\tbindEvents() {\n\t\tconst select = this.setting.querySelector( '.ac-setting-input_type' );\n\n\t\tif ( select ) {\n\t\t\tselect.removeAttribute( 'data-select2-id' );\n\n\t\t\tthis.setting.querySelectorAll( '.select2' ).forEach( el => {\n\t\t\t\tel.remove();\n\t\t\t} );\n\n\t\t\tjQuery( select ).ac_select2( {\n\t\t\t\ttheme : 'acs2',\n\t\t\t\twidth : '100%',\n\t\t\t\tdropdownCssClass : '-type-selector',\n\t\t\t\tescapeMarkup : function( text ) { return text; },\n\t\t\t\ttemplateResult : function( result ) {\n\t\t\t\t\tlet text = result.text;\n\n\t\t\t\t\tif ( result.hasOwnProperty('id') && result.id.includes( 'placeholder-' ) ) {\n\t\t\t\t\t\ttext += `<span style=\"background-color:#FE3D6C; color:#fff; font-size: 10px; margin-top: -1px; padding: 1px 5px; border-radius: 2px; text-transform: uppercase;float: right; margin-right 10px;\">PRO</span>`;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn text;\n\t\t\t\t},\n\t\t\t\tmatcher : excludeGroupsMather\n\t\t\t} );\n\t\t}\n\t}\n}\n\nconst type = column => {\n\tcolumn.settings.typeSelector = new TypeSelector( column );\n};\n\nexport default type;","// Settings fields: Width\njQuery.fn.column_width_slider = function() {\n\tlet $ = jQuery;\n\tlet $column_width = $( this ).find( '.ac-setting-input-width' );\n\tlet input_width = $column_width.find( '.description input' ),\n\t\tinput_unit = $column_width.find( '.unit-select input' ),\n\t\tunit = input_unit.filter( ':checked' ).val(),\n\t\twidth = input_width.val(),\n\t\tslider = $column_width.find( '.width-slider' ),\n\t\tindicator = $( this ).find( '.ac-column-header .ac-column-heading-setting--width' );\n\n\t// width\n\tif ( '%' === unit && width > 100 ) {\n\t\twidth = 100;\n\t}\n\n\tinput_width.val( width );\n\n\tslider.slider( {\n\t\trange : 'min',\n\t\tmin : 0,\n\t\tmax : '%' === unit ? 100 : 500,\n\t\tvalue : width,\n\t\tslide : function( event, ui ) {\n\t\t\tinput_width.val( ui.value );\n\t\t\tindicator.trigger( 'update' );\n\t\t\tinput_width.trigger( 'validate' );\n\t\t}\n\t} );\n};\n\nlet width = function( column ) {\n\tlet $ = jQuery;\n\tlet $column = column.$el;\n\n\t$column.find( '.ac-column-setting--width' ).each( function() {\n\t\t$column.column_width_slider();\n\n\t\t// indicator\n\t\tlet $width_indicator = $column.find( '.ac-column-header .ac-column-heading-setting--width' );\n\n\t\t$width_indicator.on( 'update', function() {\n\t\t\tlet _width = $column.find( '.ac-setting-input-width .description input' ).val();\n\t\t\tlet _unit = $column.find( '.ac-setting-input-width .description .unit' ).text();\n\t\t\tif ( _width > 0 ) {\n\t\t\t\tjQuery( this ).text( _width + _unit );\n\t\t\t} else {\n\t\t\t\tjQuery( this ).text( '' );\n\t\t\t}\n\t\t} );\n\n\t\t// unit selector\n\t\tlet width_unit_select = $column.find( '.ac-setting-input-width .unit-select label' );\n\t\twidth_unit_select.on( 'click', function() {\n\n\t\t\t$column.find( 'span.unit' ).text( $( this ).find( 'input' ).val() );\n\t\t\t$column.column_width_slider(); // re-init slider\n\t\t\t$width_indicator.trigger( 'update' ); // update indicator\n\t\t} );\n\n\t\t// width_input\n\t\tlet width_input = $column.find( '.ac-setting-input-width .description input' )\n\t\t\t.on( 'keyup', function() {\n\t\t\t\t$column.column_width_slider(); // re-init slider\n\t\t\t\tjQuery( this ).trigger( 'validate' ); // validate input\n\t\t\t\t$width_indicator.trigger( 'update' ); // update indicator\n\t\t\t} )\n\n\t\t\t// width_input:validate\n\t\t\t.on( 'validate', function() {\n\t\t\t\tlet _width = width_input.val();\n\t\t\t\tlet _new_width = $.trim( _width );\n\n\t\t\t\tif ( !jQuery.isNumeric( _new_width ) ) {\n\t\t\t\t\t_new_width = _new_width.replace( /\\D/g, '' );\n\t\t\t\t}\n\t\t\t\tif ( _new_width.length > 3 ) {\n\t\t\t\t\t_new_width = _new_width.substring( 0, 3 );\n\t\t\t\t}\n\t\t\t\tif ( _new_width <= 0 ) {\n\t\t\t\t\t_new_width = '';\n\t\t\t\t}\n\t\t\t\tif ( _new_width !== _width ) {\n\t\t\t\t\twidth_input.val( _new_width );\n\t\t\t\t}\n\t\t\t} );\n\n\t} );\n};\n\nmodule.exports = width;","import Modals from './modals'\n\nclass Modal {\n\tconstructor( el ) {\n\t\tif ( !el ) {\n\t\t\treturn;\n\t\t}\n\t\tthis.el = el;\n\t\tthis.dialog = el.querySelector( '.ac-modal__dialog' );\n\n\t\tthis.initEvents();\n\t}\n\n\tstatic initGlobalEvents() {\n\n\t\tjQuery( document ).on( 'click', '[data-ac-open-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet target = e.target.dataset.acOpenModal;\n\t\t\tlet el = document.querySelector( target );\n\n\t\t\tif ( el && el.AC_MODAL ) {\n\t\t\t\tel.AC_MODAL.open();\n\t\t\t}\n\t\t} );\n\n\t\tjQuery( document ).on( 'click', '[data-ac-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet modal_key = jQuery( this ).data( 'ac-modal' );\n\n\t\t\tif ( Modals.init().get( modal_key ) ) {\n\t\t\t\tModals.init().get( modal_key ).open();\n\t\t\t}\n\t\t} );\n\n\t}\n\n\tinitEvents() {\n\t\tlet self = this;\n\n\t\tdocument.addEventListener( 'keydown', ( e ) => {\n\t\t\tconst keyName = event.key;\n\n\t\t\tif ( !this.isOpen() ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( 'Escape' === keyName ) {\n\t\t\t\tthis.close();\n\t\t\t}\n\t\t} );\n\n\t\tlet dismissButtons = this.el.querySelectorAll( '[data-dismiss=\"modal\"], .ac-modal__dialog__close' );\n\t\tif ( dismissButtons.length > 0 ) {\n\t\t\tdismissButtons.forEach( ( b ) => {\n\t\t\t\tb.addEventListener( 'click', ( e ) => {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tself.close();\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\tthis.el.addEventListener( 'click', ( e ) => {\n\t\t\tif ( e.target.classList.contains( 'ac-modal' ) ) {\n\t\t\t\tself.close();\n\t\t\t}\n\t\t} );\n\n\t\tif ( typeof document.querySelector( 'body' ).dataset.ac_modal_init === 'undefined' ) {\n\t\t\tModal.initGlobalEvents();\n\t\t\tdocument.querySelector( 'body' ).dataset.ac_modal_init = 1;\n\t\t}\n\n\t\tthis.el.AC_MODAL = self;\n\t}\n\n\tisOpen() {\n\t\treturn this.el.classList.contains( '-active' );\n\t}\n\n\tclose() {\n\t\tthis.onClose();\n\t\tthis.el.classList.remove( '-active' );\n\t}\n\n\topen() {\n\t\t//short delay in order to allow bubbling events to bind before opening\n\t\tsetTimeout( () => {\n\t\t\tthis.onOpen();\n\t\t\tthis.el.removeAttribute( 'style' );\n\t\t\tthis.el.classList.add( '-active' );\n\t\t} );\n\t}\n\n\tdestroy() {\n\t\tthis.el.remove();\n\t}\n\n\tonClose() {}\n\n\tonOpen() {}\n\n}\n\nmodule.exports = Modal;","import Modal from './modal';\n\nexport default class Modals {\n\n\tconstructor() {\n\t\tthis.modals = [];\n\t\tthis.number = 1;\n\t}\n\n\tregister( modal, key = '' ) {\n\t\tif ( !key ) {\n\t\t\tkey = 'm' + this.number;\n\t\t}\n\n\t\tthis.modals[ key ] = modal;\n\t\tthis.number++;\n\n\t\treturn modal;\n\t}\n\n\tget( key ) {\n\t\tif ( this.modals[ key ] ) {\n\t\t\treturn this.modals[ key ];\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t// Bind self to global AdminColumns if exist\n\tstatic init() {\n\t\tif ( typeof AdminColumns.Modals === 'undefined' ) {\n\t\t\tAdminColumns.Modals = new this();\n\t\t\tAdminColumns.Modals._abstract = {\n\t\t\t\tmodal : Modal\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn AdminColumns.Modals;\n\t}\n\n}","export default class ScreenOption {\n\n\tconstructor( element, name ) {\n\t\tthis.name = name;\n\t\tthis.element = element;\n\t\tthis.init();\n\t}\n\n\tgetInput() {\n\t\treturn this.element.querySelector( 'input' );\n\t}\n\n\tinit() {\n\t\tlet input = this.getInput();\n\t\tif ( input ) {\n\t\t\tinput.addEventListener( 'change', () => {\n\t\t\t\tthis.persist();\n\t\t\t} );\n\t\t}\n\t}\n\n\tpersist() {\n\t\treturn jQuery.ajax( {\n\t\t\turl : ajaxurl,\n\t\t\tmethod : 'POST',\n\t\t\tdata : {\n\t\t\t\taction : 'ac_admin_screen_options',\n\t\t\t\toption_name : this.name,\n\t\t\t\toption_value : this.getInput().checked ? 1 : 0,\n\t\t\t\t_ajax_nonce : AC._ajax_nonce\n\t\t\t}\n\t\t} )\n\t}\n\n}","class Tooltips {\n\n\tconstructor() {\n\t\tthis.isEnabled = typeof jQuery.fn.qtip !== 'undefined';\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tif ( !this.isEnabled ) {\n\t\t\tconsole.log( 'Tooltips not loaded!' );\n\t\t\treturn;\n\t\t}\n\n\t\tjQuery( '[data-ac-tip]' ).qtip( {\n\t\t\tcontent : {\n\t\t\t\tattr : 'data-ac-tip'\n\t\t\t},\n\t\t\tposition : {\n\t\t\t\tmy : 'top center',\n\t\t\t\tat : 'bottom center'\n\t\t\t},\n\t\t\tstyle : {\n\t\t\t\ttip : true,\n\t\t\t\tclasses : 'qtip-tipsy'\n\t\t\t}\n\t\t} );\n\t}\n\n}\n\nmodule.exports = Tooltips;","export default function excludeGroupsMather( params, data ) {\n\tif ( jQuery.trim( params.term ) === '' ) {\n\t\treturn data;\n\t}\n\n\tif ( typeof data.children === 'undefined' ) {\n\t\treturn null;\n\t}\n\n\tvar filteredChildren = [];\n\tjQuery.each( data.children, function( idx, child ) {\n\t\tif ( child.text.toUpperCase().indexOf( params.term.toUpperCase() ) > -1 ) {\n\t\t\tfilteredChildren.push( child );\n\t\t}\n\t} );\n\n\tif ( filteredChildren.length ) {\n\t\tvar modifiedData = jQuery.extend( {}, data, true );\n\t\tmodifiedData.children = filteredChildren;\n\n\t\treturn modifiedData;\n\t}\n\n\treturn null;\n}","/** CustomEvent Polyfill */\n(function() {\n\n\tif ( typeof window.CustomEvent === \"function\" ) {\n\t\treturn false;\n\t}\n\n\tfunction CustomEvent( event, params ) {\n\t\tparams = params || { bubbles : false, cancelable : false, detail : undefined };\n\t\tlet evt = document.createEvent( 'CustomEvent' );\n\t\tevt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n\t\treturn evt;\n\t}\n\n\tCustomEvent.prototype = window.Event.prototype;\n\n\twindow.CustomEvent = CustomEvent;\n})();","if ( window.NodeList && !NodeList.prototype.forEach ) {\n\tNodeList.prototype.forEach = Array.prototype.forEach;\n}","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","var MATCH = require('./_wks')('match');\nmodule.exports = function (KEY) {\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch (e) {\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch (f) { /* empty */ }\n } return true;\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n var fns = exec(defined, SYMBOL, ''[KEY]);\n var strfn = fns[0];\n var rxfn = fns[1];\n if (fails(function () {\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n })) {\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, searchString, NAME) {\n if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace) {\n // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n return [function replace(searchValue, replaceValue) {\n 'use strict';\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n }, $replace];\n});\n","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export');\nvar context = require('./_string-context');\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = require('./_export');\nvar $includes = require('./_array-includes')(true);\n\n$export($export.P, 'Array', {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\nrequire('./_add-to-unscopables')('includes');\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","assert.notEqual = notEqual\nassert.notOk = notOk\nassert.equal = equal\nassert.ok = assert\n\nmodule.exports = assert\n\nfunction equal (a, b, m) {\n assert(a == b, m) // eslint-disable-line eqeqeq\n}\n\nfunction notEqual (a, b, m) {\n assert(a != b, m) // eslint-disable-line eqeqeq\n}\n\nfunction notOk (t, m) {\n assert(!t, m)\n}\n\nfunction assert (t, m) {\n if (!t) throw new Error(m || 'AssertionError')\n}\n","var splice = require('remove-array-items')\nvar nanotiming = require('nanotiming')\nvar assert = require('assert')\n\nmodule.exports = Nanobus\n\nfunction Nanobus (name) {\n if (!(this instanceof Nanobus)) return new Nanobus(name)\n\n this._name = name || 'nanobus'\n this._starListeners = []\n this._listeners = {}\n}\n\nNanobus.prototype.emit = function (eventName) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.emit: eventName should be type string or symbol')\n\n var data = []\n for (var i = 1, len = arguments.length; i < len; i++) {\n data.push(arguments[i])\n }\n\n var emitTiming = nanotiming(this._name + \"('\" + eventName.toString() + \"')\")\n var listeners = this._listeners[eventName]\n if (listeners && listeners.length > 0) {\n this._emit(this._listeners[eventName], data)\n }\n\n if (this._starListeners.length > 0) {\n this._emit(this._starListeners, eventName, data, emitTiming.uuid)\n }\n emitTiming()\n\n return this\n}\n\nNanobus.prototype.on = Nanobus.prototype.addListener = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.on: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.on: listener should be type function')\n\n if (eventName === '*') {\n this._starListeners.push(listener)\n } else {\n if (!this._listeners[eventName]) this._listeners[eventName] = []\n this._listeners[eventName].push(listener)\n }\n return this\n}\n\nNanobus.prototype.prependListener = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.prependListener: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.prependListener: listener should be type function')\n\n if (eventName === '*') {\n this._starListeners.unshift(listener)\n } else {\n if (!this._listeners[eventName]) this._listeners[eventName] = []\n this._listeners[eventName].unshift(listener)\n }\n return this\n}\n\nNanobus.prototype.once = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.once: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.once: listener should be type function')\n\n var self = this\n this.on(eventName, once)\n function once () {\n listener.apply(self, arguments)\n self.removeListener(eventName, once)\n }\n return this\n}\n\nNanobus.prototype.prependOnceListener = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.prependOnceListener: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.prependOnceListener: listener should be type function')\n\n var self = this\n this.prependListener(eventName, once)\n function once () {\n listener.apply(self, arguments)\n self.removeListener(eventName, once)\n }\n return this\n}\n\nNanobus.prototype.removeListener = function (eventName, listener) {\n assert.ok(typeof eventName === 'string' || typeof eventName === 'symbol', 'nanobus.removeListener: eventName should be type string or symbol')\n assert.equal(typeof listener, 'function', 'nanobus.removeListener: listener should be type function')\n\n if (eventName === '*') {\n this._starListeners = this._starListeners.slice()\n return remove(this._starListeners, listener)\n } else {\n if (typeof this._listeners[eventName] !== 'undefined') {\n this._listeners[eventName] = this._listeners[eventName].slice()\n }\n\n return remove(this._listeners[eventName], listener)\n }\n\n function remove (arr, listener) {\n if (!arr) return\n var index = arr.indexOf(listener)\n if (index !== -1) {\n splice(arr, index, 1)\n return true\n }\n }\n}\n\nNanobus.prototype.removeAllListeners = function (eventName) {\n if (eventName) {\n if (eventName === '*') {\n this._starListeners = []\n } else {\n this._listeners[eventName] = []\n }\n } else {\n this._starListeners = []\n this._listeners = {}\n }\n return this\n}\n\nNanobus.prototype.listeners = function (eventName) {\n var listeners = eventName !== '*'\n ? this._listeners[eventName]\n : this._starListeners\n\n var ret = []\n if (listeners) {\n var ilength = listeners.length\n for (var i = 0; i < ilength; i++) ret.push(listeners[i])\n }\n return ret\n}\n\nNanobus.prototype._emit = function (arr, eventName, data, uuid) {\n if (typeof arr === 'undefined') return\n if (arr.length === 0) return\n if (data === undefined) {\n data = eventName\n eventName = null\n }\n\n if (eventName) {\n if (uuid !== undefined) {\n data = [eventName].concat(data, uuid)\n } else {\n data = [eventName].concat(data)\n }\n }\n\n var length = arr.length\n for (var i = 0; i < length; i++) {\n var listener = arr[i]\n listener.apply(listener, data)\n }\n}\n","var assert = require('assert')\n\nvar hasWindow = typeof window !== 'undefined'\n\nfunction createScheduler () {\n var scheduler\n if (hasWindow) {\n if (!window._nanoScheduler) window._nanoScheduler = new NanoScheduler(true)\n scheduler = window._nanoScheduler\n } else {\n scheduler = new NanoScheduler()\n }\n return scheduler\n}\n\nfunction NanoScheduler (hasWindow) {\n this.hasWindow = hasWindow\n this.hasIdle = this.hasWindow && window.requestIdleCallback\n this.method = this.hasIdle ? window.requestIdleCallback.bind(window) : this.setTimeout\n this.scheduled = false\n this.queue = []\n}\n\nNanoScheduler.prototype.push = function (cb) {\n assert.equal(typeof cb, 'function', 'nanoscheduler.push: cb should be type function')\n\n this.queue.push(cb)\n this.schedule()\n}\n\nNanoScheduler.prototype.schedule = function () {\n if (this.scheduled) return\n\n this.scheduled = true\n var self = this\n this.method(function (idleDeadline) {\n var cb\n while (self.queue.length && idleDeadline.timeRemaining() > 0) {\n cb = self.queue.shift()\n cb(idleDeadline)\n }\n self.scheduled = false\n if (self.queue.length) self.schedule()\n })\n}\n\nNanoScheduler.prototype.setTimeout = function (cb) {\n setTimeout(cb, 0, {\n timeRemaining: function () {\n return 1\n }\n })\n}\n\nmodule.exports = createScheduler\n","var scheduler = require('nanoscheduler')()\nvar assert = require('assert')\n\nvar perf\nnanotiming.disabled = true\ntry {\n perf = window.performance\n nanotiming.disabled = window.localStorage.DISABLE_NANOTIMING === 'true' || !perf.mark\n} catch (e) { }\n\nmodule.exports = nanotiming\n\nfunction nanotiming (name) {\n assert.equal(typeof name, 'string', 'nanotiming: name should be type string')\n\n if (nanotiming.disabled) return noop\n\n var uuid = (perf.now() * 10000).toFixed() % Number.MAX_SAFE_INTEGER\n var startName = 'start-' + uuid + '-' + name\n perf.mark(startName)\n\n function end (cb) {\n var endName = 'end-' + uuid + '-' + name\n perf.mark(endName)\n\n scheduler.push(function () {\n var err = null\n try {\n var measureName = name + ' [' + uuid + ']'\n perf.measure(measureName, startName, endName)\n perf.clearMarks(startName)\n perf.clearMarks(endName)\n } catch (e) { err = e }\n if (cb) cb(err, name)\n })\n }\n\n end.uuid = uuid\n return end\n}\n\nfunction noop (cb) {\n if (cb) {\n scheduler.push(function () {\n cb(new Error('nanotiming: performance API unavailable'))\n })\n }\n}\n","'use strict'\n\n/**\n * Remove a range of items from an array\n *\n * @function removeItems\n * @param {Array<*>} arr The target array\n * @param {number} startIdx The index to begin removing from (inclusive)\n * @param {number} removeCount How many items to remove\n */\nmodule.exports = function removeItems (arr, startIdx, removeCount) {\n var i, length = arr.length\n\n if (startIdx >= length || removeCount === 0) {\n return\n }\n\n removeCount = (startIdx + removeCount > length ? length - startIdx : removeCount)\n\n var len = length - removeCount\n\n for (i = startIdx; i < len; ++i) {\n arr[i] = arr[i + removeCount]\n }\n\n arr.length = len\n}\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","module.exports = jQuery;"],"sourceRoot":""}
assets/js/initialize-columns.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA","file":"initialize-columns.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/initialize-columns.js\");\n"],"sourceRoot":""}
 
assets/js/message-review.js CHANGED
@@ -1 +1 @@
1
- !function(n){var t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)r.d(e,o,function(t){return n[t]}.bind(null,o));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=110)}([function(n,t,r){var e=r(27)("wks"),o=r(12),i=r(1).Symbol,u="function"==typeof i;(n.exports=function(n){return e[n]||(e[n]=u&&i[n]||(u?i:o)("Symbol."+n))}).store=e},function(n,t){var r=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(n,t,r){n.exports=!r(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,r){"use strict";var e=r(16),o=r(42)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),e(e.P+e.F*i,"Array",{find:function(n){return o(this,n,arguments.length>1?arguments[1]:void 0)}}),r(26)("find")},function(n,t){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,r){var e=r(7),o=r(21);n.exports=r(2)?function(n,t,r){return e.f(n,t,o(1,r))}:function(n,t,r){return n[t]=r,n}},function(n,t,r){var e=r(1),o=r(5),i=r(11),u=r(12)("src"),c=Function.toString,f=(""+c).split("toString");r(9).inspectSource=function(n){return c.call(n)},(n.exports=function(n,t,r,c){var a="function"==typeof r;a&&(i(r,"name")||o(r,"name",t)),n[t]!==r&&(a&&(i(r,u)||o(r,u,n[t]?""+n[t]:f.join(String(t)))),n===e?n[t]=r:c?n[t]?n[t]=r:o(n,t,r):(delete n[t],o(n,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(n,t,r){var e=r(10),o=r(34),i=r(35),u=Object.defineProperty;t.f=r(2)?Object.defineProperty:function(n,t,r){if(e(n),t=i(t,!0),e(r),o)try{return u(n,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(n[t]=r.value),n}},function(n,t){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t){var r=n.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(n,t,r){var e=r(4);n.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},function(n,t){var r={}.hasOwnProperty;n.exports=function(n,t){return r.call(n,t)}},function(n,t){var r=0,e=Math.random();n.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++r+e).toString(36))}},function(n,t){var r={}.toString;n.exports=function(n){return r.call(n).slice(8,-1)}},function(n,t,r){var e=r(41);n.exports=function(n,t,r){if(e(n),void 0===t)return n;switch(r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,e){return n.call(t,r,e)};case 3:return function(r,e,o){return n.call(t,r,e,o)}}return function(){return n.apply(t,arguments)}}},function(n,t){n.exports=function(n){if(void 0==n)throw TypeError("Can't call method on "+n);return n}},function(n,t,r){var e=r(1),o=r(9),i=r(5),u=r(6),c=r(14),f=function(n,t,r){var a,s,p,l,v=n&f.F,d=n&f.G,y=n&f.S,h=n&f.P,b=n&f.B,x=d?e:y?e[t]||(e[t]={}):(e[t]||{}).prototype,g=d?o:o[t]||(o[t]={}),m=g.prototype||(g.prototype={});for(a in d&&(r=t),r)p=((s=!v&&x&&void 0!==x[a])?x:r)[a],l=b&&s?c(p,e):h&&"function"==typeof p?c(Function.call,p):p,x&&u(x,a,p,n&f.U),g[a]!=p&&i(g,a,l),h&&m[a]!=p&&(m[a]=p)};e.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,n.exports=f},,,function(n,t,r){var e=r(15);n.exports=function(n){return Object(e(n))}},,function(n,t){n.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},,function(n,t,r){var e=r(24),o=Math.min;n.exports=function(n){return n>0?o(e(n),9007199254740991):0}},function(n,t){var r=Math.ceil,e=Math.floor;n.exports=function(n){return isNaN(n=+n)?0:(n>0?e:r)(n)}},,function(n,t,r){var e=r(0)("unscopables"),o=Array.prototype;void 0==o[e]&&r(5)(o,e,{}),n.exports=function(n){o[e][n]=!0}},function(n,t,r){var e=r(9),o=r(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(n.exports=function(n,t){return i[n]||(i[n]=void 0!==t?t:{})})("versions",[]).push({version:e.version,mode:r(28)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(n,t){n.exports=!1},function(n,t,r){var e=r(4),o=r(1).document,i=e(o)&&e(o.createElement);n.exports=function(n){return i?o.createElement(n):{}}},function(n,t,r){var e=r(13);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},,,,function(n,t,r){n.exports=!r(2)&&!r(8)(function(){return 7!=Object.defineProperty(r(29)("div"),"a",{get:function(){return 7}}).a})},function(n,t,r){var e=r(4);n.exports=function(n,t){if(!e(n))return n;var r,o;if(t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;if("function"==typeof(r=n.valueOf)&&!e(o=r.call(n)))return o;if(!t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;throw TypeError("Can't convert object to primitive value")}},,,,,,function(n,t){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t,r){var e=r(14),o=r(30),i=r(19),u=r(23),c=r(43);n.exports=function(n,t){var r=1==n,f=2==n,a=3==n,s=4==n,p=6==n,l=5==n||p,v=t||c;return function(t,c,d){for(var y,h,b=i(t),x=o(b),g=e(c,d,3),m=u(x.length),_=0,j=r?v(t,m):f?v(t,0):void 0;m>_;_++)if((l||_ in x)&&(h=g(y=x[_],_,b),n))if(r)j[_]=h;else if(h)switch(n){case 3:return!0;case 5:return y;case 6:return _;case 2:j.push(y)}else if(s)return!1;return p?-1:a||s?s:j}}},function(n,t,r){var e=r(44);n.exports=function(n,t){return new(e(n))(t)}},function(n,t,r){var e=r(4),o=r(45),i=r(0)("species");n.exports=function(n){var t;return o(n)&&("function"!=typeof(t=n.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),e(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(n,t,r){var e=r(13);n.exports=Array.isArray||function(n){return"Array"==e(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,r){"use strict";r(3),jQuery(function(n){n(document).on("click","a.hide-review-notice-soft",function(t){t.preventDefault();var r=n(this).closest(".ac-notice");r.find(".info").slideUp(),r.find(".help").slideDown(),n.post(ajaxurl,r.data("dismissible-callback"))}),n(document).on("click","a.hide-review-notice",function(t){t.preventDefault(),n(this).closest(".ac-notice").find(".notice-dismiss").trigger("click")})})}]);
1
+ !function(n){var t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)r.d(e,o,function(t){return n[t]}.bind(null,o));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=118)}([function(n,t,r){var e=r(29)("wks"),o=r(14),i=r(1).Symbol,u="function"==typeof i;(n.exports=function(n){return e[n]||(e[n]=u&&i[n]||(u?i:o)("Symbol."+n))}).store=e},function(n,t){var r=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(n,t){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,r){n.exports=!r(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,r){"use strict";var e=r(13),o=r(43)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),e(e.P+e.F*i,"Array",{find:function(n){return o(this,n,arguments.length>1?arguments[1]:void 0)}}),r(21)("find")},function(n,t,r){var e=r(7),o=r(22);n.exports=r(3)?function(n,t,r){return e.f(n,t,o(1,r))}:function(n,t,r){return n[t]=r,n}},function(n,t,r){var e=r(1),o=r(5),i=r(11),u=r(14)("src"),c=Function.toString,f=(""+c).split("toString");r(10).inspectSource=function(n){return c.call(n)},(n.exports=function(n,t,r,c){var a="function"==typeof r;a&&(i(r,"name")||o(r,"name",t)),n[t]!==r&&(a&&(i(r,u)||o(r,u,n[t]?""+n[t]:f.join(String(t)))),n===e?n[t]=r:c?n[t]?n[t]=r:o(n,t,r):(delete n[t],o(n,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(n,t,r){var e=r(9),o=r(35),i=r(36),u=Object.defineProperty;t.f=r(3)?Object.defineProperty:function(n,t,r){if(e(n),t=i(t,!0),e(r),o)try{return u(n,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(n[t]=r.value),n}},function(n,t){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t,r){var e=r(2);n.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},function(n,t){var r=n.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(n,t){var r={}.hasOwnProperty;n.exports=function(n,t){return r.call(n,t)}},function(n,t){var r={}.toString;n.exports=function(n){return r.call(n).slice(8,-1)}},function(n,t,r){var e=r(1),o=r(10),i=r(5),u=r(6),c=r(16),f=function(n,t,r){var a,s,p,l,v=n&f.F,d=n&f.G,y=n&f.S,h=n&f.P,b=n&f.B,x=d?e:y?e[t]||(e[t]={}):(e[t]||{}).prototype,g=d?o:o[t]||(o[t]={}),m=g.prototype||(g.prototype={});for(a in d&&(r=t),r)p=((s=!v&&x&&void 0!==x[a])?x:r)[a],l=b&&s?c(p,e):h&&"function"==typeof p?c(Function.call,p):p,x&&u(x,a,p,n&f.U),g[a]!=p&&i(g,a,l),h&&m[a]!=p&&(m[a]=p)};e.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,n.exports=f},function(n,t){var r=0,e=Math.random();n.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++r+e).toString(36))}},function(n,t){n.exports=function(n){if(void 0==n)throw TypeError("Can't call method on "+n);return n}},function(n,t,r){var e=r(42);n.exports=function(n,t,r){if(e(n),void 0===t)return n;switch(r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,e){return n.call(t,r,e)};case 3:return function(r,e,o){return n.call(t,r,e,o)}}return function(){return n.apply(t,arguments)}}},,,function(n,t,r){var e=r(15);n.exports=function(n){return Object(e(n))}},,function(n,t,r){var e=r(0)("unscopables"),o=Array.prototype;void 0==o[e]&&r(5)(o,e,{}),n.exports=function(n){o[e][n]=!0}},function(n,t){n.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},,function(n,t,r){var e=r(25),o=Math.min;n.exports=function(n){return n>0?o(e(n),9007199254740991):0}},function(n,t){var r=Math.ceil,e=Math.floor;n.exports=function(n){return isNaN(n=+n)?0:(n>0?e:r)(n)}},,function(n,t,r){var e=r(2),o=r(1).document,i=e(o)&&e(o.createElement);n.exports=function(n){return i?o.createElement(n):{}}},,function(n,t,r){var e=r(10),o=r(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(n.exports=function(n,t){return i[n]||(i[n]=void 0!==t?t:{})})("versions",[]).push({version:e.version,mode:r(30)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(n,t){n.exports=!1},function(n,t,r){var e=r(12);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},,,,function(n,t,r){n.exports=!r(3)&&!r(8)(function(){return 7!=Object.defineProperty(r(27)("div"),"a",{get:function(){return 7}}).a})},function(n,t,r){var e=r(2);n.exports=function(n,t){if(!e(n))return n;var r,o;if(t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;if("function"==typeof(r=n.valueOf)&&!e(o=r.call(n)))return o;if(!t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;throw TypeError("Can't convert object to primitive value")}},,,,,,function(n,t){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t,r){var e=r(16),o=r(31),i=r(19),u=r(24),c=r(44);n.exports=function(n,t){var r=1==n,f=2==n,a=3==n,s=4==n,p=6==n,l=5==n||p,v=t||c;return function(t,c,d){for(var y,h,b=i(t),x=o(b),g=e(c,d,3),m=u(x.length),_=0,j=r?v(t,m):f?v(t,0):void 0;m>_;_++)if((l||_ in x)&&(h=g(y=x[_],_,b),n))if(r)j[_]=h;else if(h)switch(n){case 3:return!0;case 5:return y;case 6:return _;case 2:j.push(y)}else if(s)return!1;return p?-1:a||s?s:j}}},function(n,t,r){var e=r(45);n.exports=function(n,t){return new(e(n))(t)}},function(n,t,r){var e=r(2),o=r(46),i=r(0)("species");n.exports=function(n){var t;return o(n)&&("function"!=typeof(t=n.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),e(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(n,t,r){var e=r(12);n.exports=Array.isArray||function(n){return"Array"==e(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,r){"use strict";r(4),jQuery(function(n){n(document).on("click","a.hide-review-notice-soft",function(t){t.preventDefault();var r=n(this).closest(".ac-notice");r.find(".info").slideUp(),r.find(".help").slideDown(),n.post(ajaxurl,r.data("dismissible-callback"))}),n(document).on("click","a.hide-review-notice",function(t){t.preventDefault(),n(this).closest(".ac-notice").find(".notice-dismiss").trigger("click")})})}]);
assets/js/notice-dismissible.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=111)}({111:function(e,t,n){"use strict";jQuery(function(e){e(".ac-notice").on("click",".ac-notice__dismiss, [data-dismiss], .notice-dismiss",function(t){t.preventDefault();var n=e(this).closest(".ac-notice").data("dismissible-callback");n&&e.post(ajaxurl,n)})})}});
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=119)}({119:function(e,t,n){"use strict";jQuery(function(e){e(".ac-notice").on("click",".ac-notice__dismiss, [data-dismiss], .notice-dismiss",function(t){t.preventDefault();var n=e(this).closest(".ac-notice").data("dismissible-callback");n&&e.post(ajaxurl,n)})})}});
assets/js/table.js CHANGED
@@ -1 +1 @@
1
- !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=112)}([function(t,e,n){var r=n(27)("wks"),o=n(12),i=n(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){t.exports=!n(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(16),o=n(42)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(26)("find")},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(7),o=n(21);t.exports=n(2)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(1),o=n(5),i=n(11),u=n(12)("src"),a=Function.toString,c=(""+a).split("toString");n(9).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,u)||o(n,u,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(10),o=n(34),i=n(35),u=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(41);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(1),o=n(9),i=n(5),u=n(6),a=n(14),c=function(t,e,n){var s,l,f,p,v=t&c.F,d=t&c.G,h=t&c.S,y=t&c.P,g=t&c.B,m=d?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});for(s in d&&(n=e),n)f=((l=!v&&m&&void 0!==m[s])?m:n)[s],p=g&&l?a(f,r):y&&"function"==typeof f?a(Function.call,f):f,m&&u(m,s,f,t&c.U),b[s]!=f&&i(b,s,p),y&&_[s]!=f&&(_[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){"use strict";var r=n(26),o=n(49),i=n(18),u=n(22);t.exports=n(40)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports={}},function(t,e,n){var r=n(15);t.exports=function(t){return Object(r(t))}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(30),o=n(15);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(24),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){for(var r=n(17),o=n(31),i=n(6),u=n(1),a=n(5),c=n(18),s=n(0),l=s("iterator"),f=s("toStringTag"),p=c.Array,v={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(v),h=0;h<d.length;h++){var y,g=d[h],m=v[g],b=u[g],_=b&&b.prototype;if(_&&(_[l]||a(_,l,p),_[f]||a(_,f,g),c[g]=p,m))for(y in r)_[y]||i(_,y,r[y],!0)}},function(t,e,n){var r=n(0)("unscopables"),o=Array.prototype;void 0==o[r]&&n(5)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(9),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(28)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var r=n(4),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(13);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(51),o=n(36);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(27)("keys"),o=n(12);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){"use strict";var r=n(52),o={};o[n(0)("toStringTag")]="z",o+""!="[object z]"&&n(6)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){t.exports=!n(2)&&!n(8)(function(){return 7!=Object.defineProperty(n(29)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(7).f,o=n(11),i=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(19),o=n(31);n(61)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(48));function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modals=[],this.number=1}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"register",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e||(e="m"+this.number),this.modals[e]=t,this.number++,t}},{key:"get",value:function(t){return!!this.modals[t]&&this.modals[t]}}],[{key:"init",value:function(){return void 0===AdminColumns.Modals&&(AdminColumns.Modals=new this,AdminColumns.Modals._abstract={modal:r.default}),AdminColumns.Modals}}]),t}();e.default=i},function(t,e,n){"use strict";var r=n(28),o=n(16),i=n(6),u=n(5),a=n(18),c=n(55),s=n(37),l=n(60),f=n(0)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,e,n,d,h,y,g){c(n,e,d);var m,b,_,w=function(t){if(!p&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",k="values"==h,E=!1,C=t.prototype,j=C[f]||C["@@iterator"]||h&&C[h],S=j||w(h),O=h?k?w("entries"):S:void 0,T="Array"==e&&C.entries||j;if(T&&(_=l(T.call(new t)))!==Object.prototype&&_.next&&(s(_,x,!0),r||"function"==typeof _[f]||u(_,f,v)),k&&j&&"values"!==j.name&&(E=!0,S=function(){return j.call(this)}),r&&!g||!p&&!E&&C[f]||u(C,f,S),a[e]=S,a[x]=v,h)if(m={values:k?S:w("values"),keys:y?S:w("keys"),entries:O},g)for(b in m)b in C||i(C,b,m[b]);else o(o.P+o.F*(p||E),e,m);return m}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(14),o=n(30),i=n(19),u=n(23),a=n(43);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,l=4==t,f=6==t,p=5==t||f,v=e||a;return function(e,a,d){for(var h,y,g=i(e),m=o(g),b=r(a,d,3),_=u(m.length),w=0,x=n?v(e,_):c?v(e,0):void 0;_>w;w++)if((p||w in m)&&(y=b(h=m[w],w,g),t))if(n)x[w]=y;else if(y)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:x.push(h)}else if(l)return!1;return f?-1:s||l?l:x}}},function(t,e,n){var r=n(44);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(4),o=n(45),i=n(0)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(13);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(7).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(2)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){n(53)("replace",2,function(t,e,n){return[function(r,o){"use strict";var i=t(this),u=void 0==r?void 0:r[e];return void 0!==u?u.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,n){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(n(39));function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e&&(this.el=e,this.dialog=e.querySelector(".ac-modal__dialog"),this.initEvents())}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"initEvents",value:function(){var e=this,n=this;document.addEventListener("keydown",function(t){var n=event.key;e.isOpen()&&"Escape"===n&&e.close()});var r=this.el.querySelectorAll('[data-dismiss="modal"], .ac-modal__dialog__close');r.length>0&&r.forEach(function(t){t.addEventListener("click",function(t){t.preventDefault(),n.close()})}),this.el.addEventListener("click",function(){n.close()}),this.el.querySelector(".ac-modal__dialog").addEventListener("click",function(t){t.stopPropagation()}),void 0===document.querySelector("body").dataset.ac_modal_init&&(t.initGlobalEvents(),document.querySelector("body").dataset.ac_modal_init=1),this.el.AC_MODAL=n}},{key:"isOpen",value:function(){return this.el.classList.contains("-active")}},{key:"close",value:function(){this.onClose(),this.el.classList.remove("-active")}},{key:"open",value:function(){this.onOpen(),this.el.removeAttribute("style"),this.el.classList.add("-active")}},{key:"destroy",value:function(){this.el.remove()}},{key:"onClose",value:function(){}},{key:"onOpen",value:function(){}}],[{key:"initGlobalEvents",value:function(){jQuery(document).on("click","[data-ac-open-modal]",function(t){t.preventDefault();var e=t.target.dataset.acOpenModal,n=document.querySelector(e);n&&n.AC_MODAL&&n.AC_MODAL.open()}),jQuery(document).on("click","[data-ac-modal]",function(t){t.preventDefault();var e=jQuery(this).data("ac-modal");r.default.init().get(e)&&r.default.init().get(e).open()})}}]),t}();t.exports=i},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(10),o=n(56),i=n(36),u=n(32)("IE_PROTO"),a=function(){},c=function(){var t,e=n(29)("iframe"),r=i.length;for(e.style.display="none",n(59).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(11),o=n(22),i=n(57)(!1),u=n(32)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,s=[];for(n in a)n!=u&&r(a,n)&&s.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(13),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){"use strict";var r=n(5),o=n(6),i=n(8),u=n(15),a=n(0);t.exports=function(t,e,n){var c=a(t),s=n(u,c,""[t]),l=s[0],f=s[1];i(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,l),r(RegExp.prototype,c,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},,function(t,e,n){"use strict";var r=n(50),o=n(21),i=n(37),u={};n(5)(u,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(7),o=n(10),i=n(31);t.exports=n(2)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),a=u.length,c=0;a>c;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){var r=n(22),o=n(23),i=n(58);t.exports=function(t){return function(e,n,u){var a,c=r(e),s=o(c.length),l=i(u,s);if(t&&n!=n){for(;s>l;)if((a=c[l++])!=a)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(24),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(11),o=n(19),i=n(32)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(16),o=n(9),i=n(8);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},,,function(t,e,n){"use strict";var r=n(10);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},,function(t,e,n){var r=n(4),o=n(13),i=n(0)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){"use strict";var r=n(119)(!0);n(40)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(120),o=n(74);t.exports=n(124)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){var r=n(6);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(14),o=n(121),i=n(122),u=n(10),a=n(23),c=n(123),s={},l={};(e=t.exports=function(t,e,n,f,p){var v,d,h,y,g=p?function(){return t}:c(t),m=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(v=a(t.length);v>b;b++)if((y=e?m(u(d=t[b])[0],d[1]):m(t[b]))===s||y===l)return y}else for(h=g.call(t);!(d=h.next()).done;)if((y=o(h,m,d.value,e))===s||y===l)return y}).BREAK=s,e.RETURN=l},function(t,e,n){"use strict";var r=n(1),o=n(7),i=n(2),u=n(0)("species");t.exports=function(t){var e=r[t];i&&e&&!e[u]&&o.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(12)("meta"),o=n(4),i=n(11),u=n(7).f,a=0,c=Object.isExtensible||function(){return!0},s=!n(8)(function(){return c(Object.preventExtensions({}))}),l=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return s&&f.NEED&&c(t)&&!i(t,r)&&l(t),t}}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(4),o=n(126).set;t.exports=function(t,e,n){var i,u=e.constructor;return u!==n&&"function"==typeof u&&(i=u.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";(function(t){n(3);var e=a(n(113)),r=a(n(135)),o=a(n(39)),i=a(n(136)),u=a(n(137));function a(t){return t&&t.__esModule?t:{default:t}}function c(t,e){t(e).each(function(){var e=t(this);e.find(".cpac_use_icons").length>0&&e.addClass("cpac_use_icons")}),t(e).find(".cpac_use_icons + .hidden + .row-actions > span").each(function(){var e=t(this).find("a");e.attr("data-ac-tip",e.text()).addClass("ac-tip")})}t.AdminColumns="undefined"!=typeof AdminColumns?AdminColumns:{},o.default.init(),jQuery(document).ready(function(t){!function(t){t(document).ajaxComplete(function(e,n){var r=document.implementation.createHTMLDocument("quickeditevents"),o=t("<div>",r);if(o.append(n.responseText),1===o.find("tr.iedit").length){var i=o.find("tr.iedit").attr("id");t("tr#"+i).trigger("updated",{id:i})}})}(t),c(t,t(".column-actions")),ac_show_more(t),function(t){t(".ac-toggle-box-link").click(function(e){e.preventDefault(),t(this).next(".ac-toggle-box-contents").toggle()})}(t),function(t){var e=function(e){e.preventDefault(),t(this).next(".ac-toggle-box-contents-ajax").toggle()};t("a[data-ajax-populate=1]").bind("click",function n(r){r.preventDefault();var o=t(this),i={action:"ac_get_column_value",list_screen:AC.list_screen,layout:AC.layout,column:o.data("column"),pk:o.attr("data-item-id"),_ajax_nonce:AC.ajax_nonce};o.addClass("loading"),t.post(ajaxurl,i,function(r){r&&(o.after('<div class="ac-toggle-box-contents-ajax">'+r+"</div>"),o.unbind("click",n).bind("click",e),t(o.parent("td")).trigger("ajax_column_value_ready"),AdminColumns.Tooltips.init())}).always(function(){o.removeClass("loading")})})}(t),function(t){t(".row-actions a").qtip({content:{text:function(){return t(this).text()}},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}(t);var e=document.querySelector(AC.table_id);e&&(ac_load_table(e.parentElement),AdminColumns.ScreenOptionsColumns=new i.default(AdminColumns.Table.Columns)),AdminColumns.Tooltips=new r.default,t(".wp-list-table").on("updated","tr",function(){AdminColumns.Table.addCellClasses(),c(t,t(this).find(".column-actions")),ac_show_more(t)}),t(".wp-list-table td").on("ACP_InlineEditing_After_SetValue",function(){ac_show_more(t)})}),t.ac_load_table=function(t){AdminColumns.Table=new e.default(t),AC.Table=AdminColumns.Table},t.ac_show_more=function(t){document.querySelectorAll(".ac-show-more").forEach(function(t){new u.default(t)})},function(){if("function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t}()}).call(this,n(20))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(114),n(47);var r=s(n(115)),o=s(n(116)),i=s(n(129)),u=s(n(130)),a=s(n(131)),c=s(n(134));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.Helper=a.default,this.Columns=new i.default(e),this.Cells=new o.default,this.Actions=new r.default("ac-table-actions"),this.Selection=new c.default(this),this._ids=[],this.init()}return function(t,e,n){e&&l(t.prototype,e),n&&l(t,n)}(t,[{key:"init",value:function(){this._initTable(),this.addCellClasses(),document.dispatchEvent(new CustomEvent("AC_Table_Ready",{detail:{table:this}}))}},{key:"updateRow",value:function(t){var e=this._getIDFromRow(t);t.dataset.id=e,this._setCellsForRow(t,e)}},{key:"addCellClasses",value:function(){var t=this;this.Columns.getColumnNames().forEach(function(e){var n=t.Columns.get(e).type;t.Cells.getByName(e).forEach(function(t){t.el.classList.add(n)})})}},{key:"_initTable",value:function(){for(var t=this.el.getElementsByTagName("tbody")[0].getElementsByTagName("tr"),e=0;e<t.length;e++){var n=t[e],r=this._getIDFromRow(n);this._ids.push(r),this.updateRow(n)}}},{key:"_setCellsForRow",value:function(t){var e=this,n=this._getIDFromRow(t);this.Columns.getColumnNames().forEach(function(r){var o=r.replace(/\./g,"\\."),i=t.querySelector(".column-"+o);if(i){var a=new u.default(n,r,i);e.Cells.add(n,a),e._addColumnCellMethods(a)}})}},{key:"_addColumnCellMethods",value:function(t){t.el.getCell=function(){return t}}},{key:"_getIDFromRow",value:function(t){var e=t.id,n=e.split(/[_,\-]+/),r=n[n.length-1];if(t.classList.contains("no-items"))return 0;if(!r){var o=t.querySelector(".check-column input[type=checkbox]");o&&(r=(n=(e=o.id).split("_"))[n.length-1])}if(!r){var i=t.parentElement.querySelector(".edit a");if(i){var u=i.getAttribute("href");u&&(r=this.Helper.getParamFromUrl("id",u))}}return t.dataset.id=r,document.dispatchEvent(new CustomEvent("AC_Table_Row_Id",{detail:{row:t}})),t.dataset.id}},{key:"getRowCellByName",value:function(t,e){return t.querySelector(".column-".concat(e))}}],[{key:"getTable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?t(this.el):this.el}}]),t}();e.default=f},function(t,e,n){n(53)("split",2,function(t,e,r){"use strict";var o=n(66),i=r,u=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var a=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,c,s,l,f,p=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,h=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,v+"g");for(a||(r=new RegExp("^"+y.source+"$(?!\\s)",v));(c=y.exec(n))&&!((s=c.index+c[0].length)>d&&(p.push(n.slice(d,c.index)),!a&&c.length>1&&c[0].replace(r,function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(c[f]=void 0)}),c.length>1&&c.index<n.length&&u.apply(p,c.slice(1)),l=c[0].length,d=s,p.length>=h));)y.lastIndex===c.index&&y.lastIndex++;return d===n.length?!l&&y.test("")||p.push(""):p.push(n.slice(d)),p.length>h?p.slice(0,h):p}}else"0".split(void 0,0).length&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),u=void 0==n?void 0:n[e];return void 0!==u?u.call(n,i,o):r.call(String(i),n,o)},r]})},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(3);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.container=document.getElementById(e),this.buttons=this.container.querySelector(".ac-table-actions-buttons"),this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){var t=this;this.dropDownEvents(),jQuery(this.container).on("update",function(){t.refresh()}).insertAfter(jQuery(".tablenav.top .actions:last")).addClass("-init").trigger("update")}},{key:"refresh",value:function(){var t=jQuery(this.buttons);t.find("> a").removeClass("last"),t.find("> a:visible:last").addClass("last")}},{key:"dropDownEvents",value:function(){jQuery(this.buttons).on("click","[data-dropdown]",function(){var t=jQuery(this);t.toggleClass("-open"),t.hasClass("-open")?t[0].dispatchEvent(new CustomEvent("open")):t[0].dispatchEvent(new CustomEvent("closed"))})}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(117),n(25),n(17),n(33),n(67),n(68);var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._cells=new Map}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"add",value:function(t,e){this._cells.has(t)||this._cells.set(t,new Map),this._cells.get(t).set(e.getName(),e)}},{key:"getByID",value:function(t){var e=[],n=t.toString();return this._cells.has(n)?(this._cells.get(t.toString()).forEach(function(t){e.push(t)}),e):e}},{key:"getAll",value:function(){var t=[];return this._cells.forEach(function(e){e.forEach(function(e){t.push(e)})}),t}},{key:"getByName",value:function(t){var e=[];return this._cells.forEach(function(n){n.forEach(function(n,r){t===r&&e.push(n)})}),e}},{key:"get",value:function(t,e){var n=this._cells.get(t.toString());return!!n&&n.get(e)}}]),t}();e.default=o},function(t,e,n){"use strict";n(118);var r=n(10),o=n(64),i=n(2),u=/./.toString,a=function(t){n(6)(RegExp.prototype,"toString",t,!0)};n(8)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?a(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=u.name&&a(function(){return u.call(this)})},function(t,e,n){n(2)&&"g"!=/./g.flags&&n(7).f(RegExp.prototype,"flags",{configurable:!0,get:n(64)})},function(t,e,n){var r=n(24),o=n(15);t.exports=function(t){return function(e,n){var i,u,a=String(o(e)),c=r(n),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(7).f,o=n(50),i=n(69),u=n(14),a=n(70),c=n(71),s=n(40),l=n(49),f=n(72),p=n(2),v=n(73).fastKey,d=n(74),h=p?"_s":"size",y=function(t,e){var n,r=v(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){a(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,void 0!=r&&c(r,n,t[s],t)});return i(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var n=d(this,e),r=y(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[h]--}return!!r},forEach:function(t){d(this,e);for(var n,r=u(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!y(d(this,e),t)}}),p&&r(l.prototype,"size",{get:function(){return d(this,e)[h]}}),l},def:function(t,e,n){var r,o,i=y(t,e);return i?i.v=n:(t._l=i={i:o=v(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[h]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,e,n){s(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?l(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(18),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(52),o=n(0)("iterator"),i=n(18);t.exports=n(9).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(1),o=n(16),i=n(6),u=n(69),a=n(73),c=n(71),s=n(70),l=n(4),f=n(8),p=n(125),v=n(37),d=n(75);t.exports=function(t,e,n,h,y,g){var m=r[t],b=m,_=y?"set":"add",w=b&&b.prototype,x={},k=function(t){var e=w[t];i(w,t,"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||w.forEach&&!f(function(){(new b).entries().next()}))){var E=new b,C=E[_](g?{}:-0,1)!=E,j=f(function(){E.has(1)}),S=p(function(t){new b(t)}),O=!g&&f(function(){for(var t=new b,e=5;e--;)t[_](e,e);return!t.has(-0)});S||((b=e(function(e,n){s(e,b,t);var r=d(new m,e,b);return void 0!=n&&c(n,y,r[_],r),r})).prototype=w,w.constructor=b),(j||O)&&(k("delete"),k("has"),y&&k("get")),(O||C)&&k(_),g&&w.clear&&delete w.clear}else b=h.getConstructor(e,t,y,_),u(b.prototype,n),a.NEED=!0;return v(b,t),x[t]=b,o(o.G+o.W+o.F*(b!=m),x),g||h.setStrong(b,t,y),b}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(4),o=n(10),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(14)(Function.call,n(127).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){var r=n(128),o=n(21),i=n(22),u=n(35),a=n(11),c=n(34),s=Object.getOwnPropertyDescriptor;e.f=n(2)?s:function(t,e){if(t=i(t),e=u(e,!0),c)try{return s(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(38),n(25),n(17),n(33),n(67),n(68);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.table=e,this._columns={},this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){for(var t=this.table.querySelector("thead").querySelectorAll("th"),e=0;e<t.length;e++){var n={};n.name=t[e].id,n.type=AC.column_types[n.name],n.label=this.sanitizeLabel(t[e]),this._columns[t[e].id]=n}}},{key:"getColumns",value:function(){return this._columns}},{key:"getColumnsMap",value:function(){var t=new Map,e=this.getColumns();return Object.keys(e).forEach(function(n){t.set(n,e[n])}),t}},{key:"getColumnNames",value:function(){return Object.keys(this._columns)}},{key:"get",value:function(t){return!!this._columns[t]&&this._columns[t]}},{key:"sanitizeLabel",value:function(t){var e=t.querySelector("a"),n=t.innerHTML;if(e){var r=e.getElementsByTagName("span");r.length>0&&(n=r[0].innerHTML)}return n}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._object_id=e,this._column_name=n,this.el=r}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"getObjectID",value:function(){return this._object_id}},{key:"getName",value:function(){return this._column_name}},{key:"getElement",value:function(){return this.el}},{key:"getRow",value:function(){return this.el.parentElement}},{key:"getSettings",value:function(){return AdminColumns.Table.Columns.get(this.getName())}},{key:"setValue",value:function(t){return this.getElement().innerHTML=t,this}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(132),n(47);var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,null,[{key:"getParamFromUrl",value:function(t,e){if(!e)return null;t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}}]),t}();e.default=o},function(t,e,n){var r=n(1),o=n(75),i=n(7).f,u=n(133).f,a=n(66),c=n(64),s=r.RegExp,l=s,f=s.prototype,p=/a/g,v=/a/g,d=new s(p)!==p;if(n(2)&&(!d||n(8)(function(){return v[n(0)("match")]=!1,s(p)!=p||s(v)==v||"/a/i"!=s(p,"i")}))){s=function(t,e){var n=this instanceof s,r=a(t),i=void 0===e;return!n&&r&&t.constructor===s&&i?t:o(d?new l(r&&!i?t.source:t,e):l((r=t instanceof s)?t.source:t,r&&i?c.call(t):e),n?this:f,s)};for(var h=function(t){t in s||i(s,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},y=u(l),g=0;y.length>g;)h(y[g++]);f.constructor=s,s.prototype=f,n(6)(r,"RegExp",s)}n(72)("RegExp")},function(t,e,n){var r=n(51),o=n(36).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.Table=e}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"getIDs",value:function(){var t=[],e=this.Table.el.querySelectorAll("tbody th.check-column input[type=checkbox]:checked");if(0===e.length)return t;for(var n=0;n<e.length;n++)t.push(e[n].value);return t}},{key:"getSelectedCells",value:function(t){var e=this,n=this.getIDs();if(0===n.length)return!1;var r=[];return n.forEach(function(n){var o=e.table.Cells.get(n,t);o&&r.push(o)}),r}},{key:"getCount",value:function(){return this.getIDs().length}},{key:"isAllSelected",value:function(){return!!this.Table.el.querySelector("thead #cb input:checked")}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.isEnabled=void 0!==jQuery.fn.qtip,this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){this.isEnabled?jQuery("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}):console.log("Tooltips not loaded!")}}]),t}();t.exports=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(46);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.columns=e,e.getColumnNames().forEach(function(n){var r=e.get(n),o=t.getInputByName(r.name);if(o&&0===o.parentElement.textContent.length){var i=document.createElement("span");i.innerHTML=r.label,o.parentElement.appendChild(i)}})}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,null,[{key:"getInputByName",value:function(t){var e=document.querySelector("input[name='".concat(t,"-hide']"));return e||!1}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.initEvents()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"initEvents",value:function(){var t=this;this.isInited()||(this.getToggler()&&this.getToggler().addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}),this.el.dataset.showMoreInit=!0)}},{key:"getToggler",value:function(){return this.el.querySelector(".ac-show-more__toggle")}},{key:"isInited",value:function(){return this.el.dataset.showMoreInit}},{key:"toggle",value:function(){this.el.classList.contains("-on")?this.hide():this.show()}},{key:"show",value:function(){this.el.classList.add("-on"),this.getToggler().innerHTML=this.getToggler().dataset.less}},{key:"hide",value:function(){this.el.classList.remove("-on"),this.getToggler().innerHTML=this.getToggler().dataset.more}}]),t}();e.default=o}]);
1
+ !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=120)}([function(t,e,n){var r=n(29)("wks"),o=n(14),i=n(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(13),o=n(43)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(21)("find")},function(t,e,n){var r=n(7),o=n(22);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(1),o=n(5),i=n(11),u=n(14)("src"),a=Function.toString,c=(""+a).split("toString");n(10).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,u)||o(n,u,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(9),o=n(35),i=n(36),u=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(2);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(1),o=n(10),i=n(5),u=n(6),a=n(16),c=function(t,e,n){var s,l,f,v,d=t&c.F,p=t&c.G,h=t&c.S,y=t&c.P,g=t&c.B,m=p?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,b=p?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});for(s in p&&(n=e),n)f=((l=!d&&m&&void 0!==m[s])?m:n)[s],v=g&&l?a(f,r):y&&"function"==typeof f?a(Function.call,f):f,m&&u(m,s,f,t&c.U),b[s]!=f&&i(b,s,v),y&&_[s]!=f&&(_[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(42);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(21),o=n(49),i=n(18),u=n(23);t.exports=n(41)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports={}},function(t,e,n){var r=n(15);t.exports=function(t){return Object(r(t))}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(0)("unscopables"),o=Array.prototype;void 0==o[r]&&n(5)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(31),o=n(15);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(25),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(7).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(3)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){var r=n(2),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){for(var r=n(17),o=n(32),i=n(6),u=n(1),a=n(5),c=n(18),s=n(0),l=s("iterator"),f=s("toStringTag"),v=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(d),h=0;h<p.length;h++){var y,g=p[h],m=d[g],b=u[g],_=b&&b.prototype;if(_&&(_[l]||a(_,l,v),_[f]||a(_,f,g),c[g]=v,m))for(y in r)_[y]||i(_,y,r[y],!0)}},function(t,e,n){var r=n(10),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(30)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var r=n(12);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(51),o=n(37);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(29)("keys"),o=n(14);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){"use strict";var r=n(53),o={};o[n(0)("toStringTag")]="z",o+""!="[object z]"&&n(6)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){t.exports=!n(3)&&!n(8)(function(){return 7!=Object.defineProperty(n(27)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(2);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(7).f,o=n(11),i=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(19),o=n(32);n(62)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(48));function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modals=[],this.number=1}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"register",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e||(e="m"+this.number),this.modals[e]=t,this.number++,t}},{key:"get",value:function(t){return!!this.modals[t]&&this.modals[t]}}],[{key:"init",value:function(){return void 0===AdminColumns.Modals&&(AdminColumns.Modals=new this,AdminColumns.Modals._abstract={modal:r.default}),AdminColumns.Modals}}]),t}();e.default=i},function(t,e,n){"use strict";var r=n(30),o=n(13),i=n(6),u=n(5),a=n(18),c=n(57),s=n(38),l=n(61),f=n(0)("iterator"),v=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,h,y,g){c(n,e,p);var m,b,_,x=function(t){if(!v&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",C="values"==h,k=!1,E=t.prototype,j=E[f]||E["@@iterator"]||h&&E[h],S=j||x(h),O=h?C?x("entries"):S:void 0,T="Array"==e&&E.entries||j;if(T&&(_=l(T.call(new t)))!==Object.prototype&&_.next&&(s(_,w,!0),r||"function"==typeof _[f]||u(_,f,d)),C&&j&&"values"!==j.name&&(k=!0,S=function(){return j.call(this)}),r&&!g||!v&&!k&&E[f]||u(E,f,S),a[e]=S,a[w]=d,h)if(m={values:C?S:x("values"),keys:y?S:x("keys"),entries:O},g)for(b in m)b in E||i(E,b,m[b]);else o(o.P+o.F*(v||k),e,m);return m}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(16),o=n(31),i=n(19),u=n(24),a=n(44);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,l=4==t,f=6==t,v=5==t||f,d=e||a;return function(e,a,p){for(var h,y,g=i(e),m=o(g),b=r(a,p,3),_=u(m.length),x=0,w=n?d(e,_):c?d(e,0):void 0;_>x;x++)if((v||x in m)&&(y=b(h=m[x],x,g),t))if(n)w[x]=y;else if(y)switch(t){case 3:return!0;case 5:return h;case 6:return x;case 2:w.push(h)}else if(l)return!1;return f?-1:s||l?l:w}}},function(t,e,n){var r=n(45);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(2),o=n(46),i=n(0)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(12);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){n(54)("replace",2,function(t,e,n){return[function(r,o){"use strict";var i=t(this),u=void 0==r?void 0:r[e];return void 0!==u?u.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,n){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(n(40));function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e&&(this.el=e,this.dialog=e.querySelector(".ac-modal__dialog"),this.initEvents())}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"initEvents",value:function(){var e=this,n=this;document.addEventListener("keydown",function(t){var n=event.key;e.isOpen()&&"Escape"===n&&e.close()});var r=this.el.querySelectorAll('[data-dismiss="modal"], .ac-modal__dialog__close');r.length>0&&r.forEach(function(t){t.addEventListener("click",function(t){t.preventDefault(),n.close()})}),this.el.addEventListener("click",function(t){t.target.classList.contains("ac-modal")&&n.close()}),void 0===document.querySelector("body").dataset.ac_modal_init&&(t.initGlobalEvents(),document.querySelector("body").dataset.ac_modal_init=1),this.el.AC_MODAL=n}},{key:"isOpen",value:function(){return this.el.classList.contains("-active")}},{key:"close",value:function(){this.onClose(),this.el.classList.remove("-active")}},{key:"open",value:function(){var t=this;setTimeout(function(){t.onOpen(),t.el.removeAttribute("style"),t.el.classList.add("-active")})}},{key:"destroy",value:function(){this.el.remove()}},{key:"onClose",value:function(){}},{key:"onOpen",value:function(){}}],[{key:"initGlobalEvents",value:function(){jQuery(document).on("click","[data-ac-open-modal]",function(t){t.preventDefault();var e=t.target.dataset.acOpenModal,n=document.querySelector(e);n&&n.AC_MODAL&&n.AC_MODAL.open()}),jQuery(document).on("click","[data-ac-modal]",function(t){t.preventDefault();var e=jQuery(this).data("ac-modal");r.default.init().get(e)&&r.default.init().get(e).open()})}}]),t}();t.exports=i},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(9),o=n(58),i=n(37),u=n(33)("IE_PROTO"),a=function(){},c=function(){var t,e=n(27)("iframe"),r=i.length;for(e.style.display="none",n(60).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(11),o=n(23),i=n(52)(!1),u=n(33)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,s=[];for(n in a)n!=u&&r(a,n)&&s.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(23),o=n(24),i=n(59);t.exports=function(t){return function(e,n,u){var a,c=r(e),s=o(c.length),l=i(u,s);if(t&&n!=n){for(;s>l;)if((a=c[l++])!=a)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(12),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){"use strict";var r=n(5),o=n(6),i=n(8),u=n(15),a=n(0);t.exports=function(t,e,n){var c=a(t),s=n(u,c,""[t]),l=s[0],f=s[1];i(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,l),r(RegExp.prototype,c,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){var r=n(2),o=n(12),i=n(0)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},,function(t,e,n){"use strict";var r=n(50),o=n(22),i=n(38),u={};n(5)(u,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(7),o=n(9),i=n(32);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),a=u.length,c=0;a>c;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){var r=n(25),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(11),o=n(19),i=n(33)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(13),o=n(10),i=n(8);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},,,function(t,e,n){"use strict";var r=n(9);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},,function(t,e,n){"use strict";var r=n(127)(!0);n(41)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(128),o=n(74);t.exports=n(132)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){var r=n(6);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(16),o=n(129),i=n(130),u=n(9),a=n(24),c=n(131),s={},l={};(e=t.exports=function(t,e,n,f,v){var d,p,h,y,g=v?function(){return t}:c(t),m=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(d=a(t.length);d>b;b++)if((y=e?m(u(p=t[b])[0],p[1]):m(t[b]))===s||y===l)return y}else for(h=g.call(t);!(p=h.next()).done;)if((y=o(h,m,p.value,e))===s||y===l)return y}).BREAK=s,e.RETURN=l},function(t,e,n){"use strict";var r=n(1),o=n(7),i=n(3),u=n(0)("species");t.exports=function(t){var e=r[t];i&&e&&!e[u]&&o.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(14)("meta"),o=n(2),i=n(11),u=n(7).f,a=0,c=Object.isExtensible||function(){return!0},s=!n(8)(function(){return c(Object.preventExtensions({}))}),l=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return s&&f.NEED&&c(t)&&!i(t,r)&&l(t),t}}},function(t,e,n){var r=n(2);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(2),o=n(134).set;t.exports=function(t,e,n){var i,u=e.constructor;return u!==n&&"function"==typeof u&&(i=u.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";(function(t){n(4);var e=c(n(121)),r=c(n(143)),o=c(n(40)),i=c(n(144)),u=c(n(145)),a=c(n(146));function c(t){return t&&t.__esModule?t:{default:t}}function s(t,e){t(e).each(function(){var e=t(this);e.find(".cpac_use_icons").length>0&&e.addClass("cpac_use_icons")}),t(e).find(".cpac_use_icons + .hidden + .row-actions > span").each(function(){var e=t(this).find("a");e.attr("data-ac-tip",e.text()).addClass("ac-tip")})}t.AdminColumns="undefined"!=typeof AdminColumns?AdminColumns:{},o.default.init(),jQuery(document).ready(function(t){!function(t){t(document).ajaxComplete(function(e,n){var r=document.implementation.createHTMLDocument("quickeditevents"),o=t("<div>",r);if(o.append(n.responseText),1===o.find("tr.iedit").length){var i=o.find("tr.iedit").attr("id");t("tr#"+i).trigger("updated",{id:i})}})}(t),s(t,t(".column-actions")),ac_show_more(t),jQuery(".cpac_use_icons").parent().find(".row-actions a").qtip({content:{text:function(){return jQuery(this).text()}},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}),ac_toggle_box();var e=document.querySelector(AC.table_id);e&&(ac_load_table(e.parentElement),AdminColumns.ScreenOptionsColumns=new i.default(AdminColumns.Table.Columns)),AdminColumns.Tooltips=new r.default,t(".wp-list-table").on("updated","tr",function(){AdminColumns.Table.addCellClasses(),s(t,t(this).find(".column-actions")),ac_show_more(t)}),t(".wp-list-table td").on("ACP_InlineEditing_After_SetValue",function(){ac_show_more(t)})}),t.ac_toggle_box=function(){document.querySelectorAll(".ac-toggle-box-link").forEach(function(t){new a.default(t)})},t.ac_load_table=function(t){AdminColumns.Table=new e.default(t),AC.Table=AdminColumns.Table},t.ac_show_more=function(t){document.querySelectorAll(".ac-show-more").forEach(function(t){new u.default(t)})},function(){if("function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t}()}).call(this,n(20))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(122),n(47);var r=s(n(123)),o=s(n(124)),i=s(n(137)),u=s(n(138)),a=s(n(139)),c=s(n(142));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.Helper=a.default,this.Columns=new i.default(e),this.Cells=new o.default,document.getElementById("ac-table-actions")&&(this.Actions=new r.default("ac-table-actions")),this.Selection=new c.default(this),this._ids=[],this.init()}return function(t,e,n){e&&l(t.prototype,e),n&&l(t,n)}(t,[{key:"init",value:function(){this._initTable(),this.addCellClasses(),document.dispatchEvent(new CustomEvent("AC_Table_Ready",{detail:{table:this}}))}},{key:"updateRow",value:function(t){var e=this._getIDFromRow(t);t.dataset.id=e,this._setCellsForRow(t,e)}},{key:"addCellClasses",value:function(){var t=this;this.Columns.getColumnNames().forEach(function(e){var n=t.Columns.get(e).type;t.Cells.getByName(e).forEach(function(t){t.el.classList.add(n)})})}},{key:"_initTable",value:function(){for(var t=this.el.getElementsByTagName("tbody")[0].getElementsByTagName("tr"),e=0;e<t.length;e++){var n=t[e],r=this._getIDFromRow(n);this._ids.push(r),this.updateRow(n)}}},{key:"_setCellsForRow",value:function(t){var e=this,n=this._getIDFromRow(t);this.Columns.getColumnNames().forEach(function(r){var o=r.replace(/\./g,"\\."),i=t.querySelector(".column-"+o);if(i){var a=new u.default(n,r,i);e.Cells.add(n,a),e._addColumnCellMethods(a)}})}},{key:"_addColumnCellMethods",value:function(t){t.el.getCell=function(){return t}}},{key:"_getIDFromRow",value:function(t){var e=t.id,n=e.split(/[_,\-]+/),r=n[n.length-1];if(t.classList.contains("no-items"))return 0;if(!r){var o=t.querySelector(".check-column input[type=checkbox]");o&&(r=(n=(e=o.id).split("_"))[n.length-1])}if(!r){var i=t.parentElement.querySelector(".edit a");if(i){var u=i.getAttribute("href");u&&(r=this.Helper.getParamFromUrl("id",u))}}return t.dataset.id=r,document.dispatchEvent(new CustomEvent("AC_Table_Row_Id",{detail:{row:t}})),t.dataset.id}},{key:"getRowCellByName",value:function(t,e){return t.querySelector(".column-".concat(e))}}],[{key:"getTable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?t(this.el):this.el}}]),t}();e.default=f},function(t,e,n){n(54)("split",2,function(t,e,r){"use strict";var o=n(55),i=r,u=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var a=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,c,s,l,f,v=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,h=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,d+"g");for(a||(r=new RegExp("^"+y.source+"$(?!\\s)",d));(c=y.exec(n))&&!((s=c.index+c[0].length)>p&&(v.push(n.slice(p,c.index)),!a&&c.length>1&&c[0].replace(r,function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(c[f]=void 0)}),c.length>1&&c.index<n.length&&u.apply(v,c.slice(1)),l=c[0].length,p=s,v.length>=h));)y.lastIndex===c.index&&y.lastIndex++;return p===n.length?!l&&y.test("")||v.push(""):v.push(n.slice(p)),v.length>h?v.slice(0,h):v}}else"0".split(void 0,0).length&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),u=void 0==n?void 0:n[e];return void 0!==u?u.call(n,i,o):r.call(String(i),n,o)},r]})},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(4);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.container=document.getElementById(e),this.buttons=this.container.querySelector(".ac-table-actions-buttons"),this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){var t=this;this.dropDownEvents(),jQuery(this.container).on("update",function(){t.refresh()}).insertAfter(jQuery(".tablenav.top .actions:last")).addClass("-init").trigger("update")}},{key:"refresh",value:function(){var t=jQuery(this.buttons);t.find("> a").removeClass("last"),t.find("> a:visible:last").addClass("last")}},{key:"dropDownEvents",value:function(){jQuery(this.buttons).on("click","[data-dropdown]",function(){var t=jQuery(this);t.toggleClass("-open"),t.hasClass("-open")?t[0].dispatchEvent(new CustomEvent("open")):t[0].dispatchEvent(new CustomEvent("closed"))})}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(125),n(28),n(17),n(34),n(67),n(68);var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._cells=new Map}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"add",value:function(t,e){this._cells.has(t)||this._cells.set(t,new Map),this._cells.get(t).set(e.getName(),e)}},{key:"getByID",value:function(t){var e=[],n=t.toString();return this._cells.has(n)?(this._cells.get(t.toString()).forEach(function(t){e.push(t)}),e):e}},{key:"getAll",value:function(){var t=[];return this._cells.forEach(function(e){e.forEach(function(e){t.push(e)})}),t}},{key:"getByName",value:function(t){var e=[];return this._cells.forEach(function(n){n.forEach(function(n,r){t===r&&e.push(n)})}),e}},{key:"get",value:function(t,e){var n=this._cells.get(t.toString());return!!n&&n.get(e)}}]),t}();e.default=o},function(t,e,n){"use strict";n(126);var r=n(9),o=n(65),i=n(3),u=/./.toString,a=function(t){n(6)(RegExp.prototype,"toString",t,!0)};n(8)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?a(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=u.name&&a(function(){return u.call(this)})},function(t,e,n){n(3)&&"g"!=/./g.flags&&n(7).f(RegExp.prototype,"flags",{configurable:!0,get:n(65)})},function(t,e,n){var r=n(25),o=n(15);t.exports=function(t){return function(e,n){var i,u,a=String(o(e)),c=r(n),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(7).f,o=n(50),i=n(69),u=n(16),a=n(70),c=n(71),s=n(41),l=n(49),f=n(72),v=n(3),d=n(73).fastKey,p=n(74),h=v?"_s":"size",y=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){a(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,void 0!=r&&c(r,n,t[s],t)});return i(l.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var n=p(this,e),r=y(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[h]--}return!!r},forEach:function(t){p(this,e);for(var n,r=u(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!y(p(this,e),t)}}),v&&r(l.prototype,"size",{get:function(){return p(this,e)[h]}}),l},def:function(t,e,n){var r,o,i=y(t,e);return i?i.v=n:(t._l=i={i:o=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[h]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,e,n){s(t,e,function(t,n){this._t=p(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?l(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){var r=n(9);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(18),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(53),o=n(0)("iterator"),i=n(18);t.exports=n(10).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(1),o=n(13),i=n(6),u=n(69),a=n(73),c=n(71),s=n(70),l=n(2),f=n(8),v=n(133),d=n(38),p=n(75);t.exports=function(t,e,n,h,y,g){var m=r[t],b=m,_=y?"set":"add",x=b&&b.prototype,w={},C=function(t){var e=x[t];i(x,t,"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||x.forEach&&!f(function(){(new b).entries().next()}))){var k=new b,E=k[_](g?{}:-0,1)!=k,j=f(function(){k.has(1)}),S=v(function(t){new b(t)}),O=!g&&f(function(){for(var t=new b,e=5;e--;)t[_](e,e);return!t.has(-0)});S||((b=e(function(e,n){s(e,b,t);var r=p(new m,e,b);return void 0!=n&&c(n,y,r[_],r),r})).prototype=x,x.constructor=b),(j||O)&&(C("delete"),C("has"),y&&C("get")),(O||E)&&C(_),g&&x.clear&&delete x.clear}else b=h.getConstructor(e,t,y,_),u(b.prototype,n),a.NEED=!0;return d(b,t),w[t]=b,o(o.G+o.W+o.F*(b!=m),w),g||h.setStrong(b,t,y),b}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(2),o=n(9),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(16)(Function.call,n(135).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){var r=n(136),o=n(22),i=n(23),u=n(36),a=n(11),c=n(35),s=Object.getOwnPropertyDescriptor;e.f=n(3)?s:function(t,e){if(t=i(t),e=u(e,!0),c)try{return s(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(39),n(28),n(17),n(34),n(67),n(68);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.table=e,this._columns={},this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){for(var t=this.table.querySelector("thead").querySelectorAll("th"),e=0;e<t.length;e++){var n={};n.name=t[e].id,n.type=AC.column_types[n.name],n.label=this.sanitizeLabel(t[e]),this._columns[t[e].id]=n}}},{key:"getColumns",value:function(){return this._columns}},{key:"getColumnsMap",value:function(){var t=new Map,e=this.getColumns();return Object.keys(e).forEach(function(n){t.set(n,e[n])}),t}},{key:"getColumnNames",value:function(){return Object.keys(this._columns)}},{key:"get",value:function(t){return!!this._columns[t]&&this._columns[t]}},{key:"sanitizeLabel",value:function(t){var e=t.querySelector("a"),n=t.innerHTML;if(e){var r=e.getElementsByTagName("span");r.length>0&&(n=r[0].innerHTML)}return n}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._object_id=e,this._column_name=n,this.el=r}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"getObjectID",value:function(){return this._object_id}},{key:"getName",value:function(){return this._column_name}},{key:"getElement",value:function(){return this.el}},{key:"getRow",value:function(){return this.el.parentElement}},{key:"getSettings",value:function(){return AdminColumns.Table.Columns.get(this.getName())}},{key:"setValue",value:function(t){return this.getElement().innerHTML=t,this}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(140),n(47);var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,null,[{key:"getParamFromUrl",value:function(t,e){if(!e)return null;t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}}]),t}();e.default=o},function(t,e,n){var r=n(1),o=n(75),i=n(7).f,u=n(141).f,a=n(55),c=n(65),s=r.RegExp,l=s,f=s.prototype,v=/a/g,d=/a/g,p=new s(v)!==v;if(n(3)&&(!p||n(8)(function(){return d[n(0)("match")]=!1,s(v)!=v||s(d)==d||"/a/i"!=s(v,"i")}))){s=function(t,e){var n=this instanceof s,r=a(t),i=void 0===e;return!n&&r&&t.constructor===s&&i?t:o(p?new l(r&&!i?t.source:t,e):l((r=t instanceof s)?t.source:t,r&&i?c.call(t):e),n?this:f,s)};for(var h=function(t){t in s||i(s,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},y=u(l),g=0;y.length>g;)h(y[g++]);f.constructor=s,s.prototype=f,n(6)(r,"RegExp",s)}n(72)("RegExp")},function(t,e,n){var r=n(51),o=n(37).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.Table=e}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"getIDs",value:function(){var t=[],e=this.Table.el.querySelectorAll("tbody th.check-column input[type=checkbox]:checked");if(0===e.length)return t;for(var n=0;n<e.length;n++)t.push(e[n].value);return t}},{key:"getSelectedCells",value:function(t){var e=this,n=this.getIDs();if(0===n.length)return!1;var r=[];return n.forEach(function(n){var o=e.table.Cells.get(n,t);o&&r.push(o)}),r}},{key:"getCount",value:function(){return this.getIDs().length}},{key:"isAllSelected",value:function(){return!!this.Table.el.querySelector("thead #cb input:checked")}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.isEnabled=void 0!==jQuery.fn.qtip,this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){this.isEnabled?jQuery("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}):console.log("Tooltips not loaded!")}}]),t}();t.exports=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(26);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.columns=e,e.getColumnNames().forEach(function(n){var r=e.get(n),o=t.getInputByName(r.name);if(o&&0===o.parentElement.textContent.length){var i=document.createElement("span");i.innerHTML=r.label,o.parentElement.appendChild(i)}})}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,null,[{key:"getInputByName",value:function(t){var e=document.querySelector("input[name='".concat(t,"-hide']"));return e||!1}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.initEvents()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"initEvents",value:function(){var t=this;this.isInited()||(this.getToggler()&&this.getToggler().addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}),this.el.dataset.showMoreInit=!0)}},{key:"getToggler",value:function(){return this.el.querySelector(".ac-show-more__toggle")}},{key:"isInited",value:function(){return this.el.dataset.showMoreInit}},{key:"toggle",value:function(){this.el.classList.contains("-on")?this.hide():this.show()}},{key:"show",value:function(){this.el.classList.add("-on"),this.getToggler().innerHTML=this.getToggler().dataset.less}},{key:"hide",value:function(){this.el.classList.remove("-on"),this.getToggler().innerHTML=this.getToggler().dataset.more}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(147);function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e,this.initEvents(),this.contentBox=this.element.parentElement.querySelector(".ac-toggle-box-contents"),this.contentBox||this.createContenBox()}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"isAjax",value:function(){return 1===parseInt(this.element.dataset.ajaxPopulate)}},{key:"isInited",value:function(){return this.element.dataset.toggleBoxInit}},{key:"createContenBox",value:function(){var t=document.createElement("div");return t.classList.add("ac-toggle-box-contents"),(0,r.insertAfter)(t,this.element),this.contentBox=t,this.contentBox}},{key:"initEvents",value:function(){var t=this;this.isInited()||(this.element.addEventListener("click",function(e){e.preventDefault(),t.isAjax()&&!t.hasContent()&&t.manageAjaxValue(),t.toggleContentBox()}),this.element.dataset.toggleBoxInit=!0)}},{key:"hasContent",value:function(){return this.getContentBox().innerHTML.length>0}},{key:"setContent",value:function(t){this.getContentBox().innerHTML=t}},{key:"getContentBox",value:function(){return this.contentBox?this.contentBox:this.createContenBox()}},{key:"setLabel",value:function(t){var e=this.element.dataset.label;t&&this.element.dataset.labelClose&&(e=this.element.dataset.labelClose),this.element.innerHTML=e+'<span class="spinner"></span>'}},{key:"toggleContentBox",value:function(){this.getContentBox().classList.contains("-open")?(this.getContentBox().classList.remove("-open"),this.setLabel(!1)):(this.getContentBox().classList.add("-open"),this.setLabel(!0))}},{key:"manageAjaxValue",value:function(){var t=this;this.element.classList.add("loading"),this.retrieveAjaxValue().done(function(e){t.setContent(e),jQuery(t.element.parentElement).trigger("ajax_column_value_ready"),AdminColumns.Tooltips.init()}).always(function(){t.element.classList.remove("loading")})}},{key:"retrieveAjaxValue",value:function(){return jQuery.ajax({url:ajaxurl,method:"POST",data:{action:"ac_get_column_value",list_screen:AC.list_screen,layout:AC.layout,column:this.element.dataset.column,pk:this.element.dataset.itemId,_ajax_nonce:AC.ajax_nonce}})}}]),t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.insertAfter=function(t,e){e.parentNode.insertBefore(t,e.nextSibling)},e.insertBefore=function(t,e){e.parentNode.insertBefore(t,e)}}]);
assets/js/table.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:////Users/stefan/PhpStormProjects/AdminColumns/admin-columns-pro/src/editing/js/helpers/elements.js","webpack:///./js/modules/modal.js","webpack:///./js/modules/modals.js","webpack:///./js/modules/show-more.js","webpack:///./js/modules/toggle-box-link.js","webpack:///./js/table.js","webpack:///./js/table/actions.js","webpack:///./js/table/cell.js","webpack:///./js/table/cells.js","webpack:///./js/table/columns.js","webpack:///./js/table/helper.js","webpack:///./js/table/row-selection.js","webpack:///./js/table/screen-options-columns.js","webpack:///./js/table/table.js","webpack:///./js/table/tooltips.js","webpack:///./node_modules/core-js/modules/_a-function.js","webpack:///./node_modules/core-js/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/modules/_an-instance.js","webpack:///./node_modules/core-js/modules/_an-object.js","webpack:///./node_modules/core-js/modules/_array-includes.js","webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_array-species-constructor.js","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./node_modules/core-js/modules/_classof.js","webpack:///./node_modules/core-js/modules/_cof.js","webpack:///./node_modules/core-js/modules/_collection-strong.js","webpack:///./node_modules/core-js/modules/_collection.js","webpack:///./node_modules/core-js/modules/_core.js","webpack:///./node_modules/core-js/modules/_ctx.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/core-js/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/_dom-create.js","webpack:///./node_modules/core-js/modules/_enum-bug-keys.js","webpack:///./node_modules/core-js/modules/_export.js","webpack:///./node_modules/core-js/modules/_fails.js","webpack:///./node_modules/core-js/modules/_fix-re-wks.js","webpack:///./node_modules/core-js/modules/_flags.js","webpack:///./node_modules/core-js/modules/_for-of.js","webpack:///./node_modules/core-js/modules/_global.js","webpack:///./node_modules/core-js/modules/_has.js","webpack:///./node_modules/core-js/modules/_hide.js","webpack:///./node_modules/core-js/modules/_html.js","webpack:///./node_modules/core-js/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/modules/_inherit-if-required.js","webpack:///./node_modules/core-js/modules/_iobject.js","webpack:///./node_modules/core-js/modules/_is-array-iter.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/_is-object.js","webpack:///./node_modules/core-js/modules/_is-regexp.js","webpack:///./node_modules/core-js/modules/_iter-call.js","webpack:///./node_modules/core-js/modules/_iter-create.js","webpack:///./node_modules/core-js/modules/_iter-define.js","webpack:///./node_modules/core-js/modules/_iter-detect.js","webpack:///./node_modules/core-js/modules/_iter-step.js","webpack:///./node_modules/core-js/modules/_iterators.js","webpack:///./node_modules/core-js/modules/_library.js","webpack:///./node_modules/core-js/modules/_meta.js","webpack:///./node_modules/core-js/modules/_object-create.js","webpack:///./node_modules/core-js/modules/_object-dp.js","webpack:///./node_modules/core-js/modules/_object-dps.js","webpack:///./node_modules/core-js/modules/_object-gopd.js","webpack:///./node_modules/core-js/modules/_object-gopn.js","webpack:///./node_modules/core-js/modules/_object-gpo.js","webpack:///./node_modules/core-js/modules/_object-keys-internal.js","webpack:///./node_modules/core-js/modules/_object-keys.js","webpack:///./node_modules/core-js/modules/_object-pie.js","webpack:///./node_modules/core-js/modules/_object-sap.js","webpack:///./node_modules/core-js/modules/_property-desc.js","webpack:///./node_modules/core-js/modules/_redefine-all.js","webpack:///./node_modules/core-js/modules/_redefine.js","webpack:///./node_modules/core-js/modules/_set-proto.js","webpack:///./node_modules/core-js/modules/_set-species.js","webpack:///./node_modules/core-js/modules/_set-to-string-tag.js","webpack:///./node_modules/core-js/modules/_shared-key.js","webpack:///./node_modules/core-js/modules/_shared.js","webpack:///./node_modules/core-js/modules/_string-at.js","webpack:///./node_modules/core-js/modules/_to-absolute-index.js","webpack:///./node_modules/core-js/modules/_to-integer.js","webpack:///./node_modules/core-js/modules/_to-iobject.js","webpack:///./node_modules/core-js/modules/_to-length.js","webpack:///./node_modules/core-js/modules/_to-object.js","webpack:///./node_modules/core-js/modules/_to-primitive.js","webpack:///./node_modules/core-js/modules/_uid.js","webpack:///./node_modules/core-js/modules/_validate-collection.js","webpack:///./node_modules/core-js/modules/_wks.js","webpack:///./node_modules/core-js/modules/core.get-iterator-method.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./node_modules/core-js/modules/es6.array.iterator.js","webpack:///./node_modules/core-js/modules/es6.function.name.js","webpack:///./node_modules/core-js/modules/es6.map.js","webpack:///./node_modules/core-js/modules/es6.object.keys.js","webpack:///./node_modules/core-js/modules/es6.object.to-string.js","webpack:///./node_modules/core-js/modules/es6.regexp.constructor.js","webpack:///./node_modules/core-js/modules/es6.regexp.flags.js","webpack:///./node_modules/core-js/modules/es6.regexp.replace.js","webpack:///./node_modules/core-js/modules/es6.regexp.split.js","webpack:///./node_modules/core-js/modules/es6.regexp.to-string.js","webpack:///./node_modules/core-js/modules/es6.string.iterator.js","webpack:///./node_modules/core-js/modules/web.dom.iterable.js","webpack:///(webpack)/buildin/global.js"],"names":["insertAfter","newNode","referenceNode","parentNode","insertBefore","nextSibling","Modal","el","dialog","querySelector","initEvents","self","document","addEventListener","e","keyName","event","key","isOpen","close","dismissButtons","querySelectorAll","length","forEach","b","preventDefault","stopPropagation","dataset","ac_modal_init","initGlobalEvents","AC_MODAL","classList","contains","onClose","remove","onOpen","removeAttribute","add","jQuery","on","target","acOpenModal","open","modal_key","data","Modals","init","get","module","exports","modals","number","modal","AdminColumns","_abstract","ShowMore","isInited","getToggler","toggle","showMoreInit","hide","show","innerHTML","less","more","ToggleBoxLink","element","contentBox","parentElement","createContenBox","parseInt","ajaxPopulate","toggleBoxInit","createElement","isAjax","hasContent","manageAjaxValue","toggleContentBox","getContentBox","content","label","labelClose","setLabel","retrieveAjaxValue","done","response","setContent","trigger","Tooltips","always","ajax","url","ajaxurl","method","action","list_screen","AC","layout","column","pk","itemId","_ajax_nonce","ajax_nonce","global","ready","$","ac_quickedit_events","ac_actions_column","ac_show_more","ac_actions_tooltips","ac_toggle_box","table","table_id","ac_load_table","ScreenOptionsColumns","Table","Columns","Tooltip","addCellClasses","find","parent","qtip","text","position","my","at","style","tip","classes","$selector","each","$column","addClass","$link","attr","ajaxComplete","request","ownerDocument","implementation","createHTMLDocument","$result","append","responseText","id","window","CustomEvent","params","bubbles","cancelable","detail","undefined","evt","createEvent","initCustomEvent","prototype","Event","Actions","container","getElementById","buttons","dropDownEvents","refresh","$buttons","removeClass","$button","toggleClass","hasClass","dispatchEvent","Cell","name","_object_id","_column_name","getName","value","getElement","Cells","_cells","Map","has","set","result","toString","push","results","columns","column_name","type","row","_columns","thead","headers","i","column_types","sanitizeLabel","map","getColumns","Object","keys","k","header","link","elements","getElementsByTagName","Helper","param","replace","regex","RegExp","exec","decodeURIComponent","Selection","ids","checked","getIDs","cells","cell","getColumnNames","input","getInputByName","textContent","appendChild","_ids","_initTable","_getIDFromRow","_setCellsForRow","getByName","rows","updateRow","selector","td","_addColumnCellMethods","getCell","id_parts","split","item_id","href","getAttribute","getParamFromUrl","isEnabled","fn","console","log"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;AClFO,SAASA,WAAT,CAAsBC,OAAtB,EAA+BC,aAA/B,EAA+C;AACrDA,eAAa,CAACC,UAAd,CAAyBC,YAAzB,CAAuCH,OAAvC,EAAgDC,aAAa,CAACG,WAA9D;AACA;;AAEM,SAASD,YAAT,CAAuBH,OAAvB,EAAgCC,aAAhC,EAAgD;AACtDA,eAAa,CAACC,UAAd,CAAyBC,YAAzB,CAAuCH,OAAvC,EAAgDC,aAAhD;AACA,C;;;;;;;;;;;;;;ACND;;;;;;;;;;IAEMI,K;;;AACL,iBAAaC,EA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;AAChC;AACA,KAAK;AACL;AACA;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,wCAAwC;AACxC;AACA,8BAA8B;AAC9B,6BAA6B;AAC7B,+BAA+B;AAC/B,mCAAmC;AACnC,SAAS,iCAAiC;AAC1C;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC3CA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACfA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2BAA2B,kBAAkB,EAAE;;AAE/C;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtBA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,6BAA6B;AAC7B,0BAA0B;AAC1B,0BAA0B;AAC1B,qBAAqB;AACrB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,8EAA8E,OAAO;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,qBAAqB;AACrB,0BAA0B;AAC1B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;;;;;AC/IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO,mCAAmC,gCAAgC,aAAa;AACvF,8BAA8B,mCAAmC,aAAa;AAC9E;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,qDAAqD;AACrD;AACA,kDAAkD,iBAAiB,EAAE;AACrE;AACA,wDAAwD,aAAa,EAAE,EAAE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;;;;;;;;;;;ACpFA,6BAA6B;AAC7B,uCAAuC;;;;;;;;;;;;ACDvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;;;;;ACHD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;;;;;AC1CA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,gCAAgC,qCAAqC;AACrE;AACA;AACA,2BAA2B,gCAAgC;AAC3D;AACA;AACA;;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,iBAAiB,EAAE;AAC1D;AACA;AACA;AACA;AACA;AACA,mEAAmE,gBAAgB;AACnF;AACA;AACA,GAAG,4CAA4C,gCAAgC;AAC/E;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;;;;;ACPA;AACA;;;;;;;;;;;;ACDA;AACA,uIAAsE,mBAAmB,UAAU,EAAE,EAAE;AACvG,CAAC;;;;;;;;;;;;ACFD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;;;;;;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;AAEA;AACA,uMAAkF,aAAa,EAAE;;AAEjG;AACA,qDAAqD,4BAA4B;AACjF;AACA;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;;AAEA,8BAA8B,aAAa;;AAE3C;AACA;AACA;AACA;AACA;AACA,yCAAyC,oCAAoC;AAC7E,6CAA6C,oCAAoC;AACjF,KAAK,4BAA4B,oCAAoC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAmB;AACnC;AACA;AACA,kCAAkC,2BAA2B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;ACpEA;AACA;;AAEA;AACA;AACA,iCAAiC,qBAAqB;AACtD;AACA,iCAAiC,SAAS,EAAE;AAC5C,CAAC,YAAY;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,SAAS,qBAAqB;AAC3D,iCAAiC,aAAa;AAC9C;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;;;;;ACrBA;AACA,UAAU;AACV;;;;;;;;;;;;ACFA;;;;;;;;;;;;ACAA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD,CAAC;AACD;AACA,qBAAqB;AACrB;AACA,SAAS;AACT,GAAG,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;AACA;AACA;;;;;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACZA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACNA,cAAc;;;;;;;;;;;;ACAd;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA,qDAAqD,OAAO,EAAE;AAC9D;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;;;;;AC9BD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA,OAAO,YAAY,cAAc;AACjC;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;AACA;;;;;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC,GAAG;AACH;;;;;;;;;;;;ACZA;AACA;AACA;;AAEA;AACA,oEAAoE,iCAAiC;AACrG;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA,kDAAkD;;AAElD;AACA,qEAAqE;AACrE,CAAC;AACD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,gBAAgB,EAAE;AAC5D;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC,cAAc;AACd,iBAAiB;AACjB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACjCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACfD;AACA;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,mEAAmE;AAC5F,CAAC;AACD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACRD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,kBAAkB,EAAE;AAC5C,0BAA0B,gBAAgB;AAC1C,KAAK;AACL;AACA,oCAAoC,iBAAiB;AACrD;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACJD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,2BAA2B;AAClD,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;ACtED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iGAAqC,wBAAwB,0BAA0B,YAAY,EAAE;AACrG;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;AACD;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACxBA;AACA;;AAEA;AACA;AACA,6BAA6B;AAC7B,cAAc;AACd;AACA,CAAC;AACD;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA,UAAU;AACV,CAAC;;;;;;;;;;;;AChBD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oDAAoD,wBAAwB;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzDA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C","file":"table.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/table.js\");\n","export function insertAfter( newNode, referenceNode ) {\n\treferenceNode.parentNode.insertBefore( newNode, referenceNode.nextSibling );\n}\n\nexport function insertBefore( newNode, referenceNode ) {\n\treferenceNode.parentNode.insertBefore( newNode, referenceNode );\n}","import Modals from './modals'\n\nclass Modal {\n\tconstructor( el ) {\n\t\tif ( !el ) {\n\t\t\treturn;\n\t\t}\n\t\tthis.el = el;\n\t\tthis.dialog = el.querySelector( '.ac-modal__dialog' );\n\n\t\tthis.initEvents();\n\t}\n\n\tstatic initGlobalEvents() {\n\n\t\tjQuery( document ).on( 'click', '[data-ac-open-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet target = e.target.dataset.acOpenModal;\n\t\t\tlet el = document.querySelector( target );\n\n\t\t\tif ( el && el.AC_MODAL ) {\n\t\t\t\tel.AC_MODAL.open();\n\t\t\t}\n\t\t} );\n\n\t\tjQuery( document ).on( 'click', '[data-ac-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet modal_key = jQuery( this ).data( 'ac-modal' );\n\n\t\t\tif ( Modals.init().get( modal_key ) ) {\n\t\t\t\tModals.init().get( modal_key ).open();\n\t\t\t}\n\t\t} );\n\n\t}\n\n\tinitEvents() {\n\t\tlet self = this;\n\n\t\tdocument.addEventListener( 'keydown', ( e ) => {\n\t\t\tconst keyName = event.key;\n\n\t\t\tif ( !this.isOpen() ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( 'Escape' === keyName ) {\n\t\t\t\tthis.close();\n\t\t\t}\n\t\t} );\n\n\t\tlet dismissButtons = this.el.querySelectorAll( '[data-dismiss=\"modal\"], .ac-modal__dialog__close' );\n\t\tif ( dismissButtons.length > 0 ) {\n\t\t\tdismissButtons.forEach( ( b ) => {\n\t\t\t\tb.addEventListener( 'click', ( e ) => {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tself.close();\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\tthis.el.addEventListener( 'click', () => {\n\t\t\tself.close();\n\t\t} );\n\n\t\tthis.el.querySelector( '.ac-modal__dialog' ).addEventListener( 'click', ( e ) => {\n\t\t\te.stopPropagation();\n\t\t} );\n\n\t\tif ( typeof document.querySelector( 'body' ).dataset.ac_modal_init === 'undefined' ) {\n\t\t\tModal.initGlobalEvents();\n\t\t\tdocument.querySelector( 'body' ).dataset.ac_modal_init = 1;\n\t\t}\n\n\t\tthis.el.AC_MODAL = self;\n\t}\n\n\tisOpen() {\n\t\treturn this.el.classList.contains( '-active' );\n\t}\n\n\tclose() {\n\t\tthis.onClose();\n\t\tthis.el.classList.remove( '-active' );\n\t}\n\n\topen() {\n\t\tthis.onOpen();\n\t\tthis.el.removeAttribute( 'style' );\n\t\tthis.el.classList.add( '-active' );\n\t}\n\n\tdestroy() {\n\t\tthis.el.remove();\n\t}\n\n\tonClose() {}\n\n\tonOpen() {}\n\n}\n\nmodule.exports = Modal;","import Modal from './modal';\n\nexport default class Modals {\n\n\tconstructor() {\n\t\tthis.modals = [];\n\t\tthis.number = 1;\n\t}\n\n\tregister( modal, key = '' ) {\n\t\tif ( !key ) {\n\t\t\tkey = 'm' + this.number;\n\t\t}\n\n\t\tthis.modals[ key ] = modal;\n\t\tthis.number++;\n\n\t\treturn modal;\n\t}\n\n\tget( key ) {\n\t\tif ( this.modals[ key ] ) {\n\t\t\treturn this.modals[ key ];\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t// Bind self to global AdminColumns if exist\n\tstatic init() {\n\t\tif ( typeof AdminColumns.Modals === 'undefined' ) {\n\t\t\tAdminColumns.Modals = new this();\n\t\t\tAdminColumns.Modals._abstract = {\n\t\t\t\tmodal : Modal\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn AdminColumns.Modals;\n\t}\n\n}","export default class ShowMore {\n\n\tconstructor( el ) {\n\t\tthis.el = el;\n\n\t\tthis.initEvents();\n\t}\n\n\tinitEvents() {\n\t\tif ( this.isInited() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif( this.getToggler() ){\n\t\t\tthis.getToggler().addEventListener( 'click', event => {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tevent.stopPropagation();\n\t\t\t\tthis.toggle();\n\t\t\t} );\n\t\t}\n\n\t\tthis.el.dataset.showMoreInit = true;\n\t}\n\n\tgetToggler() {\n\t\treturn this.el.querySelector( '.ac-show-more__toggle' );\n\t}\n\n\tisInited() {\n\t\treturn this.el.dataset.showMoreInit;\n\t}\n\n\ttoggle() {\n\t\tif ( this.el.classList.contains( '-on' ) ) {\n\t\t\tthis.hide();\n\t\t} else {\n\t\t\tthis.show();\n\t\t}\n\t}\n\n\tshow() {\n\t\tthis.el.classList.add( '-on' );\n\t\tthis.getToggler().innerHTML = this.getToggler().dataset.less;\n\t}\n\n\thide() {\n\t\tthis.el.classList.remove( '-on' );\n\t\tthis.getToggler().innerHTML = this.getToggler().dataset.more;\n\t}\n\n}","import {insertAfter} from \"../../../../src/editing/js/helpers/elements\";\n\nexport default class ToggleBoxLink {\n\n\tconstructor( el ) {\n\t\tthis.element = el;\n\t\tthis.initEvents();\n\n\t\tthis.contentBox = this.element.parentElement.querySelector( '.ac-toggle-box-contents' )\n\t\tif ( !this.contentBox ) {\n\t\t\tthis.createContenBox();\n\t\t}\n\t}\n\n\tisAjax() {\n\t\treturn parseInt( this.element.dataset.ajaxPopulate ) === 1;\n\t}\n\n\tisInited() {\n\t\treturn this.element.dataset.toggleBoxInit;\n\t}\n\n\tcreateContenBox() {\n\t\tlet contentBox = document.createElement( 'div' );\n\n\t\tcontentBox.classList.add( 'ac-toggle-box-contents' );\n\n\t\tinsertAfter( contentBox, this.element );\n\n\t\tthis.contentBox = contentBox;\n\n\t\treturn this.contentBox;\n\t}\n\n\tinitEvents() {\n\t\tif ( this.isInited() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.element.addEventListener( 'click', ( e ) => {\n\t\t\te.preventDefault();\n\n\t\t\tif ( this.isAjax() && !this.hasContent() ) {\n\t\t\t\tthis.manageAjaxValue();\n\t\t\t}\n\n\t\t\tthis.toggleContentBox();\n\t\t} );\n\n\t\tthis.element.dataset.toggleBoxInit = true;\n\t}\n\n\thasContent() {\n\t\treturn this.getContentBox().innerHTML.length > 0\n\t}\n\n\tsetContent( content ) {\n\t\tthis.getContentBox().innerHTML = content;\n\t}\n\n\tgetContentBox() {\n\t\tif ( !this.contentBox ) {\n\n\t\t\treturn this.createContenBox();\n\t\t}\n\n\t\treturn this.contentBox;\n\t}\n\n\tsetLabel( open ) {\n\t\tlet label = this.element.dataset.label;\n\n\t\tif ( open && this.element.dataset.labelClose ) {\n\t\t\tlabel = this.element.dataset.labelClose\n\t\t}\n\n\t\tthis.element.innerHTML = label + '<span class=\"spinner\"></span>';\n\t}\n\n\ttoggleContentBox() {\n\t\tif ( this.getContentBox().classList.contains( '-open' ) ) {\n\t\t\tthis.getContentBox().classList.remove( '-open' );\n\t\t\tthis.setLabel( false );\n\t\t} else {\n\t\t\tthis.getContentBox().classList.add( '-open' );\n\t\t\tthis.setLabel( true );\n\t\t}\n\t}\n\n\tmanageAjaxValue() {\n\t\tthis.element.classList.add( 'loading' );\n\t\tthis.retrieveAjaxValue().done( response => {\n\t\t\tthis.setContent( response );\n\n\t\t\tjQuery( this.element.parentElement ).trigger( 'ajax_column_value_ready' );\n\t\t\tAdminColumns.Tooltips.init();\n\n\t\t} ).always( () => {\n\t\t\tthis.element.classList.remove( 'loading' );\n\t\t} );\n\n\t}\n\n\tretrieveAjaxValue() {\n\t\treturn jQuery.ajax( {\n\t\t\turl : ajaxurl,\n\t\t\tmethod : 'POST',\n\t\t\tdata : {\n\t\t\t\taction : 'ac_get_column_value',\n\t\t\t\tlist_screen : AC.list_screen,\n\t\t\t\tlayout : AC.layout,\n\t\t\t\tcolumn : this.element.dataset.column,\n\t\t\t\tpk : this.element.dataset.itemId,\n\t\t\t\t_ajax_nonce : AC.ajax_nonce\n\t\t\t}\n\t\t} );\n\t}\n\n}","import Table from \"./table/table\";\nimport Tooltip from \"./table/tooltips\";\nimport Modals from \"./modules/modals\";\nimport ScreenOptionsColumns from \"./table/screen-options-columns\";\nimport ShowMore from \"./modules/show-more\";\nimport ToggleBoxLink from \"./modules/toggle-box-link\";\n\n// Register the global variable\nglobal.AdminColumns = typeof AdminColumns !== \"undefined\" ? AdminColumns : {};\n\nModals.init();\n\njQuery( document ).ready( function( $ ) {\n\tac_quickedit_events( $ );\n\tac_actions_column( $, $( '.column-actions' ) );\n\tac_show_more( $ );\n\tac_actions_tooltips( $ );\n\tac_toggle_box();\n\n\tlet table = document.querySelector( AC.table_id );\n\n\tif ( table ) {\n\t\tac_load_table( table.parentElement );\n\n\t\tAdminColumns.ScreenOptionsColumns = new ScreenOptionsColumns( AdminColumns.Table.Columns );\n\t}\n\n\tAdminColumns.Tooltips = new Tooltip();\n\n\t$( '.wp-list-table' ).on( 'updated', 'tr', function() {\n\t\tAdminColumns.Table.addCellClasses();\n\t\tac_actions_column( $, $( this ).find( '.column-actions' ) );\n\t\tac_show_more( $ );\n\t} );\n\n\t$( '.wp-list-table td' ).on( 'ACP_InlineEditing_After_SetValue', function() {\n\t\tac_show_more( $ );\n\t} );\n\n} );\n\nglobal.ac_toggle_box = function() {\n\tdocument.querySelectorAll( '.ac-toggle-box-link' ).forEach( el => {\n\t\tnew ToggleBoxLink( el );\n\t} );\n};\n\nglobal.ac_load_table = function( el ) {\n\tAdminColumns.Table = new Table( el );\n\tAC.Table = AdminColumns.Table; // TODO use AdminColumns instead of AC\n};\n\nfunction ac_actions_tooltips() {\n\n\tjQuery( '.cpac_use_icons' ).parent().find( '.row-actions a' ).qtip( {\n\t\tcontent : {\n\t\t\ttext : function() {\n\t\t\t\treturn jQuery( this ).text();\n\t\t\t}\n\t\t},\n\t\tposition : {\n\t\t\tmy : 'top center',\n\t\t\tat : 'bottom center'\n\t\t},\n\t\tstyle : {\n\t\t\ttip : true,\n\t\t\tclasses : 'qtip-tipsy'\n\t\t}\n\t} );\n\n}\n\nglobal.ac_show_more = function( $ ) {\n\tdocument.querySelectorAll( '.ac-show-more' ).forEach( el => {\n\t\tnew ShowMore( el );\n\t} );\n};\n\nfunction ac_actions_column( $, $selector ) {\n\t$( $selector ).each( function() {\n\t\tlet $column = $( this );\n\n\t\tif ( $column.find( '.cpac_use_icons' ).length > 0 ) {\n\t\t\t$column.addClass( 'cpac_use_icons' );\n\t\t}\n\t} );\n\n\t$( $selector ).find( '.cpac_use_icons + .hidden + .row-actions > span' ).each( function() {\n\t\tlet $link = $( this ).find( 'a' );\n\t\t$link.attr( 'data-ac-tip', $link.text() ).addClass( 'ac-tip' );\n\t} );\n}\n\nfunction ac_quickedit_events( $ ) {\n\n\t$( document ).ajaxComplete( function( event, request ) {\n\t\tlet ownerDocument = document.implementation.createHTMLDocument( 'quickeditevents' );\n\t\tlet $result = $( '<div>', ownerDocument );\n\n\t\t$result.append( request.responseText );\n\t\tif ( $result.find( 'tr.iedit' ).length === 1 ) {\n\t\t\tlet id = $result.find( 'tr.iedit' ).attr( 'id' );\n\n\t\t\t$( 'tr#' + id ).trigger( 'updated', { id : id } )\n\t\t}\n\t} );\n\n}\n\n/** CustomEvent Polyfill */\n(function() {\n\n\tif ( typeof window.CustomEvent === \"function\" ) {\n\t\treturn false;\n\t}\n\n\tfunction CustomEvent( event, params ) {\n\t\tparams = params || { bubbles : false, cancelable : false, detail : undefined };\n\t\tlet evt = document.createEvent( 'CustomEvent' );\n\t\tevt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n\t\treturn evt;\n\t}\n\n\tCustomEvent.prototype = window.Event.prototype;\n\n\twindow.CustomEvent = CustomEvent;\n})();","export default class Actions {\n\tconstructor( id ) {\n\t\tthis.container = document.getElementById( id );\n\t\tthis.buttons = this.container.querySelector( '.ac-table-actions-buttons' );\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet self = this;\n\n\t\tthis.dropDownEvents();\n\n\t\tjQuery( this.container ).on( 'update', function() {\n\t\t\tself.refresh();\n\t\t} ).insertAfter( jQuery( '.tablenav.top .actions:last' ) ).addClass( '-init' ).trigger( 'update' );\n\t}\n\n\trefresh() {\n\t\tlet $buttons = jQuery( this.buttons );\n\n\t\t$buttons.find( '> a' ).removeClass( 'last' );\n\t\t$buttons.find( '> a:visible:last' ).addClass( 'last' );\n\t}\n\n\tdropDownEvents() {\n\t\tjQuery( this.buttons ).on( 'click', '[data-dropdown]', function() {\n\t\t\tlet $button = jQuery( this );\n\t\t\t$button.toggleClass( '-open' );\n\n\t\t\tif ( $button.hasClass( '-open' ) ) {\n\t\t\t\t$button[ 0 ].dispatchEvent( new CustomEvent( 'open' ) );\n\t\t\t} else {\n\t\t\t\t$button[ 0 ].dispatchEvent( new CustomEvent( 'closed' ) );\n\t\t\t}\n\t\t} );\n\t}\n\n}","export default class Cell {\n\n\tconstructor( id, name, el ) {\n\t\tthis._object_id = id;\n\t\tthis._column_name = name;\n\n\t\tthis.el = el;\n\t}\n\n\tgetObjectID() {\n\t\treturn this._object_id;\n\t}\n\n\tgetName() {\n\t\treturn this._column_name;\n\t}\n\n\tgetElement() {\n\t\treturn this.el;\n\t}\n\n\tgetRow() {\n\t\treturn this.el.parentElement;\n\t}\n\n\tgetSettings() {\n\t\treturn AdminColumns.Table.Columns.get( this.getName() );\n\t}\n\n\tsetValue( value ) {\n\t\tlet el = this.getElement();\n\n\t\tel.innerHTML = value;\n\n\t\treturn this;\n\t}\n\n}","export default class Cells {\n\n\tconstructor() {\n\t\tthis._cells = new Map();\n\t}\n\n\tadd( id, column ) {\n\t\tif ( !this._cells.has( id ) ) {\n\t\t\tthis._cells.set( id, new Map() );\n\t\t}\n\n\t\tthis._cells.get( id ).set( column.getName(), column );\n\t}\n\n\tgetByID( id ) {\n\t\tlet result = [];\n\t\tlet key = id.toString();\n\t\tif ( !this._cells.has( key ) ) {\n\t\t\treturn result;\n\t\t}\n\n\t\tthis._cells.get( id.toString() ).forEach( function( column ) {\n\t\t\tresult.push( column );\n\t\t} );\n\n\t\treturn result;\n\t}\n\n\tgetAll() {\n\t\tlet results = [];\n\n\t\tthis._cells.forEach( function( columns ) {\n\n\t\t\tcolumns.forEach( function( column ) {\n\t\t\t\tresults.push( column );\n\t\t\t} )\n\n\t\t} );\n\n\t\treturn results;\n\t}\n\n\tgetByName( name ) {\n\t\tlet results = [];\n\n\t\tthis._cells.forEach( function( columns ) {\n\n\t\t\tcolumns.forEach( function( column, column_name ) {\n\t\t\t\tif ( name === column_name ) {\n\t\t\t\t\tresults.push( column );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t} );\n\n\t\treturn results;\n\t}\n\n\tget( id, type ) {\n\t\tlet row = this._cells.get( id.toString() );\n\n\t\tif ( !row ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn row.get( type );\n\t}\n\n}","export default class Columns {\n\n\tconstructor( table ) {\n\t\tthis.table = table;\n\t\tthis._columns = {};\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet self = this;\n\t\tlet thead = this.table.querySelector( 'thead' );\n\t\tlet headers = thead.querySelectorAll( 'th' );\n\n\t\tfor ( let i = 0; i < headers.length; i++ ) {\n\t\t\tlet column = {};\n\t\t\tcolumn.name = headers[ i ].id;\n\t\t\tcolumn.type = AC.column_types[ column.name ];\n\t\t\tcolumn.label = this.sanitizeLabel( headers[ i ] );\n\t\t\tself._columns[ headers[ i ].id ] = column;\n\t\t}\n\t}\n\n\tgetColumns() {\n\t\treturn this._columns;\n\t}\n\n\tgetColumnsMap() {\n\t\tlet map = new Map();\n\t\tlet columns = this.getColumns();\n\n\t\tObject.keys( columns ).forEach( ( k ) => {\n\t\t\tmap.set( k, columns[ k ] )\n\t\t} );\n\n\t\treturn map;\n\t}\n\n\t/**\n\t * @returns {string[]}\n\t */\n\tgetColumnNames() {\n\t\treturn Object.keys( this._columns );\n\t}\n\n\t/**\n\t *\n\t * @param {String} column_name\n\t * @returns {Object}\n\t */\n\tget( column_name ) {\n\t\tif ( !this._columns[ column_name ] ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn this._columns[ column_name ];\n\t}\n\n\tsanitizeLabel( header ) {\n\t\tlet link = header.querySelector( 'a' );\n\t\tlet label = header.innerHTML;\n\n\t\t// If it contains a link, we presume that it is because of sorting\n\t\tif ( link ) {\n\t\t\tlet elements = link.getElementsByTagName( 'span' );\n\n\t\t\tif ( elements.length > 0 ) {\n\t\t\t\tlabel = elements[ 0 ].innerHTML;\n\t\t\t}\n\t\t}\n\n\t\treturn label;\n\t}\n}","export default class Helper {\n\n\t/**\n\t * Get query param from url\n\t *\n\t * @param param\n\t * @param url\n\t * @returns {*}\n\t */\n\tstatic getParamFromUrl( param, url ) {\n\t\tif ( !url ) {\n\t\t\treturn null;\n\t\t}\n\t\tparam = param.replace( /[\\[\\]]/g, \"\\\\$&\" );\n\n\t\tlet regex = new RegExp( \"[?&]\" + param + \"(=([^&#]*)|&|#|$)\" ), results = regex.exec( url );\n\n\t\tif ( !results ) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif ( !results[ 2 ] ) {\n\t\t\treturn '';\n\t\t}\n\n\t\treturn decodeURIComponent( results[ 2 ].replace( /\\+/g, \" \" ) );\n\t};\n\n}","export default class Selection {\n\n\tconstructor( Table ) {\n\t\tthis.Table = Table;\n\t}\n\n\t/**\n\t * Get the selected IDs in the table\n\t *\n\t * @returns {Array}\n\t */\n\tgetIDs() {\n\t\tlet ids = [];\n\t\tlet checked = this.Table.el.querySelectorAll( 'tbody th.check-column input[type=checkbox]:checked' );\n\n\t\tif ( checked.length === 0 ) {\n\t\t\treturn ids;\n\t\t}\n\n\t\tfor ( let i = 0; i < checked.length; i++ ) {\n\t\t\tids.push( checked[ i ].value );\n\t\t}\n\n\t\treturn ids;\n\t}\n\n\t/**\n\t * Get selected cells for specific column\n\t *\n\t * @param name\n\t */\n\tgetSelectedCells( name ) {\n\t\tlet self = this;\n\t\tlet ids = this.getIDs();\n\n\t\tif ( ids.length === 0 ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tlet cells = [];\n\n\t\tids.forEach( ( id ) => {\n\t\t\tlet cell = self.table.Cells.get( id, name );\n\n\t\t\tif ( cell ) {\n\t\t\t\tcells.push( cell );\n\t\t\t}\n\t\t} );\n\n\t\treturn cells;\n\t}\n\n\t/**\n\t *\n\t * @returns {number}\n\t */\n\tgetCount() {\n\t\treturn this.getIDs().length;\n\t}\n\n\tisAllSelected(){\n\t\treturn !!this.Table.el.querySelector('thead #cb input:checked');\n\t}\n\n}","export default class ScreenOptionsColumns {\n\n\tconstructor( columns ) {\n\t\tthis.columns = columns;\n\n\t\tcolumns.getColumnNames().forEach( ( column_name ) => {\n\t\t\tlet column = columns.get( column_name );\n\t\t\tlet input = ScreenOptionsColumns.getInputByName( column.name );\n\n\t\t\tif ( input && input.parentElement.textContent.length === 0 ) {\n\t\t\t\tlet label = document.createElement( 'span' );\n\t\t\t\tlabel.innerHTML = column.label;\n\t\t\t\tinput.parentElement.appendChild( label );\n\t\t\t}\n\t\t} );\n\t}\n\n\tstatic getInputByName( name ) {\n\t\tlet input = document.querySelector( `input[name='${name}-hide']` );\n\n\t\treturn input ? input : false;\n\t}\n\n}","import Actions from \"./actions\";\nimport Cells from \"./cells\";\nimport Columns from \"./columns\";\nimport Cell from \"./cell\";\nimport Helper from \"./helper\";\nimport Selection from \"./row-selection\";\n\nexport default class Table {\n\n\t/**\n\t *\n\t * @param {Element} el\n\t */\n\tconstructor( el ) {\n\t\tthis.el = el;\n\t\tthis.Helper = Helper;\n\t\tthis.Columns = new Columns( el );\n\t\tthis.Cells = new Cells();\n\t\tthis.Actions = new Actions( 'ac-table-actions' );\n\t\tthis.Selection = new Selection( this );\n\t\tthis._ids = [];\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet self = this;\n\n\t\tthis._initTable();\n\t\tthis.addCellClasses();\n\n\t\tdocument.dispatchEvent( new CustomEvent( 'AC_Table_Ready', { detail : { table : self } } ) );\n\t}\n\n\tupdateRow( row ) {\n\t\tlet id = this._getIDFromRow( row );\n\n\t\trow.dataset.id = id;\n\t\tthis._setCellsForRow( row, id );\n\t}\n\n\taddCellClasses() {\n\t\tlet self = this;\n\t\tthis.Columns.getColumnNames().forEach( ( name ) => {\n\t\t\tlet type = self.Columns.get( name ).type;\n\t\t\tlet cells = self.Cells.getByName( name );\n\n\t\t\tcells.forEach( ( cell ) => {\n\t\t\t\tcell.el.classList.add( type );\n\t\t\t} );\n\t\t} );\n\t}\n\n\t/**\n\t * Initiate the table so we can easily query it\n\t * Also populate the Columns Model\n\t *\n\t * @private\n\t */\n\t_initTable() {\n\t\tlet self = this;\n\t\tlet el = this.el.getElementsByTagName( 'tbody' );\n\t\tlet rows = el[ 0 ].getElementsByTagName( 'tr' );\n\n\t\tfor ( let i = 0; i < rows.length; i++ ) {\n\t\t\tlet row = rows[ i ];\n\t\t\tlet id = this._getIDFromRow( row );\n\n\t\t\tself._ids.push( id );\n\n\t\t\tthis.updateRow( row );\n\t\t}\n\n\t}\n\n\t_setCellsForRow( row ) {\n\t\tlet id = this._getIDFromRow( row );\n\n\t\tthis.Columns.getColumnNames().forEach( ( name ) => {\n\t\t\tlet selector = name.replace( /\\./g, '\\\\.' );\n\t\t\tlet td = row.querySelector( \".column-\" + selector );\n\n\t\t\tif ( td ) {\n\t\t\t\tlet cell = new Cell( id, name, td );\n\t\t\t\tthis.Cells.add( id, cell );\n\t\t\t\tthis._addColumnCellMethods( cell );\n\t\t\t}\n\t\t} );\n\t}\n\n\t_addColumnCellMethods( column ) {\n\t\tcolumn.el.getCell = function() {\n\t\t\treturn column;\n\t\t}\n\t}\n\n\t/**\n\t * Get the Post ID from a table row based on it's attributes or columns\n\t *\n\t * @param {Element} row\n\t * @returns {int}\n\t * @private\n\t */\n\t_getIDFromRow( row ) {\n\t\tlet id = row.id;\n\t\tlet id_parts = id.split( /[_,\\-]+/ );\n\t\tlet item_id = id_parts[ id_parts.length - 1 ];\n\n\t\tif ( row.classList.contains( 'no-items' ) ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tif ( !item_id ) {\n\t\t\tlet input = row.querySelector( '.check-column input[type=checkbox]' );\n\n\t\t\tif ( input ) {\n\t\t\t\tid = input.id;\n\t\t\t\tid_parts = id.split( '_' );\n\t\t\t\titem_id = id_parts[ id_parts.length - 1 ];\n\t\t\t}\n\n\t\t}\n\n\t\t// Try to get the ID from the edit URL (MS Sites)\n\t\tif ( !item_id ) {\n\t\t\tlet link = row.parentElement.querySelector( '.edit a' );\n\n\t\t\tif ( link ) {\n\t\t\t\tlet href = link.getAttribute( 'href' );\n\n\t\t\t\tif ( href ) {\n\t\t\t\t\titem_id = this.Helper.getParamFromUrl( 'id', href );\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\trow.dataset.id = item_id;\n\n\t\tdocument.dispatchEvent( new CustomEvent( 'AC_Table_Row_Id', { detail : { row : row } } ) );\n\n\t\treturn row.dataset.id;\n\t}\n\n\tgetRowCellByName( row, column_name ) {\n\t\treturn row.querySelector( `.column-${column_name}` );\n\t}\n\n\tstatic getTable( jQuery = false ) {\n\t\tif ( jQuery ) {\n\t\t\treturn jQuery( this.el );\n\t\t}\n\n\t\treturn this.el;\n\t}\n\n}","class Tooltips {\n\n\tconstructor() {\n\t\tthis.isEnabled = typeof jQuery.fn.qtip !== 'undefined';\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tif ( !this.isEnabled ) {\n\t\t\tconsole.log( 'Tooltips not loaded!' );\n\t\t\treturn;\n\t\t}\n\n\t\tjQuery( '[data-ac-tip]' ).qtip( {\n\t\t\tcontent : {\n\t\t\t\tattr : 'data-ac-tip'\n\t\t\t},\n\t\t\tposition : {\n\t\t\t\tmy : 'top center',\n\t\t\t\tat : 'bottom center'\n\t\t\t},\n\t\t\tstyle : {\n\t\t\t\ttip : true,\n\t\t\t\tclasses : 'qtip-tipsy'\n\t\t\t}\n\t\t} );\n\t}\n\n}\n\nmodule.exports = Tooltips;","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n var fns = exec(defined, SYMBOL, ''[KEY]);\n var strfn = fns[0];\n var rxfn = fns[1];\n if (fails(function () {\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n })) {\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","exports.f = {}.propertyIsEnumerable;\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace) {\n // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n return [function replace(searchValue, replaceValue) {\n 'use strict';\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n }, $replace];\n});\n","// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split) {\n 'use strict';\n var isRegExp = require('./_is-regexp');\n var _split = $split;\n var $push = [].push;\n var $SPLIT = 'split';\n var LENGTH = 'length';\n var LAST_INDEX = 'lastIndex';\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group\n // based on es5-shim implementation, need to rework it\n $split = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return _split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var separator2, match, lastIndex, lastLength, i;\n // Doesn't need flags gy, but they don't hurt\n if (!NPCG) separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);\n while (match = separatorCopy.exec(string)) {\n // `separatorCopy.lastIndex` is not reliable cross-browser\n lastIndex = match.index + match[0][LENGTH];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG\n // eslint-disable-next-line no-loop-func\n if (!NPCG && match[LENGTH] > 1) match[0].replace(separator2, function () {\n for (i = 1; i < arguments[LENGTH] - 2; i++) if (arguments[i] === undefined) match[i] = undefined;\n });\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n $split = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);\n };\n }\n // 21.1.3.17 String.prototype.split(separator, limit)\n return [function split(separator, limit) {\n var O = defined(this);\n var fn = separator == undefined ? undefined : separator[SPLIT];\n return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);\n }, $split];\n});\n","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:////Users/stefan/PhpStormProjects/AdminColumns/admin-columns-pro/src/editing/js/helpers/elements.js","webpack:///./js/modules/modal.js","webpack:///./js/modules/modals.js","webpack:///./js/modules/show-more.js","webpack:///./js/modules/toggle-box-link.js","webpack:///./js/table.js","webpack:///./js/table/actions.js","webpack:///./js/table/cell.js","webpack:///./js/table/cells.js","webpack:///./js/table/columns.js","webpack:///./js/table/helper.js","webpack:///./js/table/row-selection.js","webpack:///./js/table/screen-options-columns.js","webpack:///./js/table/table.js","webpack:///./js/table/tooltips.js","webpack:///./node_modules/core-js/modules/_a-function.js","webpack:///./node_modules/core-js/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/modules/_an-instance.js","webpack:///./node_modules/core-js/modules/_an-object.js","webpack:///./node_modules/core-js/modules/_array-includes.js","webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_array-species-constructor.js","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./node_modules/core-js/modules/_classof.js","webpack:///./node_modules/core-js/modules/_cof.js","webpack:///./node_modules/core-js/modules/_collection-strong.js","webpack:///./node_modules/core-js/modules/_collection.js","webpack:///./node_modules/core-js/modules/_core.js","webpack:///./node_modules/core-js/modules/_ctx.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/core-js/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/_dom-create.js","webpack:///./node_modules/core-js/modules/_enum-bug-keys.js","webpack:///./node_modules/core-js/modules/_export.js","webpack:///./node_modules/core-js/modules/_fails.js","webpack:///./node_modules/core-js/modules/_fix-re-wks.js","webpack:///./node_modules/core-js/modules/_flags.js","webpack:///./node_modules/core-js/modules/_for-of.js","webpack:///./node_modules/core-js/modules/_global.js","webpack:///./node_modules/core-js/modules/_has.js","webpack:///./node_modules/core-js/modules/_hide.js","webpack:///./node_modules/core-js/modules/_html.js","webpack:///./node_modules/core-js/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/modules/_inherit-if-required.js","webpack:///./node_modules/core-js/modules/_iobject.js","webpack:///./node_modules/core-js/modules/_is-array-iter.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/_is-object.js","webpack:///./node_modules/core-js/modules/_is-regexp.js","webpack:///./node_modules/core-js/modules/_iter-call.js","webpack:///./node_modules/core-js/modules/_iter-create.js","webpack:///./node_modules/core-js/modules/_iter-define.js","webpack:///./node_modules/core-js/modules/_iter-detect.js","webpack:///./node_modules/core-js/modules/_iter-step.js","webpack:///./node_modules/core-js/modules/_iterators.js","webpack:///./node_modules/core-js/modules/_library.js","webpack:///./node_modules/core-js/modules/_meta.js","webpack:///./node_modules/core-js/modules/_object-create.js","webpack:///./node_modules/core-js/modules/_object-dp.js","webpack:///./node_modules/core-js/modules/_object-dps.js","webpack:///./node_modules/core-js/modules/_object-gopd.js","webpack:///./node_modules/core-js/modules/_object-gopn.js","webpack:///./node_modules/core-js/modules/_object-gpo.js","webpack:///./node_modules/core-js/modules/_object-keys-internal.js","webpack:///./node_modules/core-js/modules/_object-keys.js","webpack:///./node_modules/core-js/modules/_object-pie.js","webpack:///./node_modules/core-js/modules/_object-sap.js","webpack:///./node_modules/core-js/modules/_property-desc.js","webpack:///./node_modules/core-js/modules/_redefine-all.js","webpack:///./node_modules/core-js/modules/_redefine.js","webpack:///./node_modules/core-js/modules/_set-proto.js","webpack:///./node_modules/core-js/modules/_set-species.js","webpack:///./node_modules/core-js/modules/_set-to-string-tag.js","webpack:///./node_modules/core-js/modules/_shared-key.js","webpack:///./node_modules/core-js/modules/_shared.js","webpack:///./node_modules/core-js/modules/_string-at.js","webpack:///./node_modules/core-js/modules/_to-absolute-index.js","webpack:///./node_modules/core-js/modules/_to-integer.js","webpack:///./node_modules/core-js/modules/_to-iobject.js","webpack:///./node_modules/core-js/modules/_to-length.js","webpack:///./node_modules/core-js/modules/_to-object.js","webpack:///./node_modules/core-js/modules/_to-primitive.js","webpack:///./node_modules/core-js/modules/_uid.js","webpack:///./node_modules/core-js/modules/_validate-collection.js","webpack:///./node_modules/core-js/modules/_wks.js","webpack:///./node_modules/core-js/modules/core.get-iterator-method.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./node_modules/core-js/modules/es6.array.iterator.js","webpack:///./node_modules/core-js/modules/es6.function.name.js","webpack:///./node_modules/core-js/modules/es6.map.js","webpack:///./node_modules/core-js/modules/es6.object.keys.js","webpack:///./node_modules/core-js/modules/es6.object.to-string.js","webpack:///./node_modules/core-js/modules/es6.regexp.constructor.js","webpack:///./node_modules/core-js/modules/es6.regexp.flags.js","webpack:///./node_modules/core-js/modules/es6.regexp.replace.js","webpack:///./node_modules/core-js/modules/es6.regexp.split.js","webpack:///./node_modules/core-js/modules/es6.regexp.to-string.js","webpack:///./node_modules/core-js/modules/es6.string.iterator.js","webpack:///./node_modules/core-js/modules/web.dom.iterable.js","webpack:///(webpack)/buildin/global.js"],"names":["insertAfter","newNode","referenceNode","parentNode","insertBefore","nextSibling","Modal","el","dialog","querySelector","initEvents","self","document","addEventListener","e","keyName","event","key","isOpen","close","dismissButtons","querySelectorAll","length","forEach","b","preventDefault","target","classList","contains","dataset","ac_modal_init","initGlobalEvents","AC_MODAL","onClose","remove","setTimeout","onOpen","removeAttribute","add","jQuery","on","acOpenModal","open","modal_key","data","Modals","init","get","module","exports","modals","number","modal","AdminColumns","_abstract","ShowMore","isInited","getToggler","stopPropagation","toggle","showMoreInit","hide","show","innerHTML","less","more","ToggleBoxLink","element","contentBox","parentElement","createContenBox","parseInt","ajaxPopulate","toggleBoxInit","createElement","isAjax","hasContent","manageAjaxValue","toggleContentBox","getContentBox","content","label","labelClose","setLabel","retrieveAjaxValue","done","response","setContent","trigger","Tooltips","always","ajax","url","ajaxurl","method","action","list_screen","AC","layout","column","pk","itemId","_ajax_nonce","ajax_nonce","global","ready","$","ac_quickedit_events","ac_actions_column","ac_show_more","ac_actions_tooltips","ac_toggle_box","table","table_id","ac_load_table","ScreenOptionsColumns","Table","Columns","Tooltip","addCellClasses","find","parent","qtip","text","position","my","at","style","tip","classes","$selector","each","$column","addClass","$link","attr","ajaxComplete","request","ownerDocument","implementation","createHTMLDocument","$result","append","responseText","id","window","CustomEvent","params","bubbles","cancelable","detail","undefined","evt","createEvent","initCustomEvent","prototype","Event","Actions","container","getElementById","buttons","dropDownEvents","refresh","$buttons","removeClass","$button","toggleClass","hasClass","dispatchEvent","Cell","name","_object_id","_column_name","getName","value","getElement","Cells","_cells","Map","has","set","result","toString","push","results","columns","column_name","type","row","_columns","thead","headers","i","column_types","sanitizeLabel","map","getColumns","Object","keys","k","header","link","elements","getElementsByTagName","Helper","param","replace","regex","RegExp","exec","decodeURIComponent","Selection","ids","checked","getIDs","cells","cell","getColumnNames","input","getInputByName","textContent","appendChild","_ids","_initTable","_getIDFromRow","_setCellsForRow","getByName","rows","updateRow","selector","td","_addColumnCellMethods","getCell","id_parts","split","item_id","href","getAttribute","getParamFromUrl","isEnabled","fn","console","log"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;ACl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E,EAAG;AAFK,SAJoB;AAQ/BC,aAAK,EAAG;AACPC,aAAG,EAAG,IADC;AAEPC,iBAAO,EAAG;AAFH;AARuB,OAAhC;AAaA;;;;;;AAIFjF,MAAM,CAACC,OAAP,GAAiBwC,QAAjB,C;;;;;;;;;;;AC/BA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA,mJAAwF;AACxF;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,YAAY,eAAe;AAChC;AACA,KAAK;AACL;AACA;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,wCAAwC;AACxC;AACA,8BAA8B;AAC9B,6BAA6B;AAC7B,+BAA+B;AAC/B,mCAAmC;AACnC,SAAS,iCAAiC;AAC1C;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC3CA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACfA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2BAA2B,kBAAkB,EAAE;;AAE/C;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtBA,iBAAiB;;AAEjB;AACA;AACA;;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,6BAA6B;AAC7B,0BAA0B;AAC1B,0BAA0B;AAC1B,qBAAqB;AACrB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,8EAA8E,OAAO;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,qBAAqB;AACrB,0BAA0B;AAC1B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;;;;;AC/IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO,mCAAmC,gCAAgC,aAAa;AACvF,8BAA8B,mCAAmC,aAAa;AAC9E;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,qDAAqD;AACrD;AACA,kDAAkD,iBAAiB,EAAE;AACrE;AACA,wDAAwD,aAAa,EAAE,EAAE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;;;;;;;;;;;ACpFA,6BAA6B;AAC7B,uCAAuC;;;;;;;;;;;;ACDvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;;;;;ACHD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;;;;;AC1CA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,gCAAgC,qCAAqC;AACrE;AACA;AACA,2BAA2B,gCAAgC;AAC3D;AACA;AACA;;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,iBAAiB,EAAE;AAC1D;AACA;AACA;AACA;AACA;AACA,mEAAmE,gBAAgB;AACnF;AACA;AACA,GAAG,4CAA4C,gCAAgC;AAC/E;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA,yCAAyC;;;;;;;;;;;;ACLzC,uBAAuB;AACvB;AACA;AACA;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;;;;;;;;;;;ACPA;AACA;;;;;;;;;;;;ACDA;AACA,uIAAsE,mBAAmB,UAAU,EAAE,EAAE;AACvG,CAAC;;;;;;;;;;;;ACFD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;;;;;;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;AAEA;AACA,uMAAkF,aAAa,EAAE;;AAEjG;AACA,qDAAqD,4BAA4B;AACjF;AACA;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;;AAEA,8BAA8B,aAAa;;AAE3C;AACA;AACA;AACA;AACA;AACA,yCAAyC,oCAAoC;AAC7E,6CAA6C,oCAAoC;AACjF,KAAK,4BAA4B,oCAAoC;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAmB;AACnC;AACA;AACA,kCAAkC,2BAA2B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;ACpEA;AACA;;AAEA;AACA;AACA,iCAAiC,qBAAqB;AACtD;AACA,iCAAiC,SAAS,EAAE;AAC5C,CAAC,YAAY;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,SAAS,qBAAqB;AAC3D,iCAAiC,aAAa;AAC9C;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;;;;;ACrBA;AACA,UAAU;AACV;;;;;;;;;;;;ACFA;;;;;;;;;;;;ACAA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD,CAAC;AACD;AACA,qBAAqB;AACrB;AACA,SAAS;AACT,GAAG,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;AACA;AACA;;;;;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;;;;;ACfA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACZA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACNA,cAAc;;;;;;;;;;;;ACAd;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA,qDAAqD,OAAO,EAAE;AAC9D;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;;;;;AC9BD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA,OAAO,YAAY,cAAc;AACjC;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;AACA;;;;;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC,GAAG;AACH;;;;;;;;;;;;ACZA;AACA;AACA;;AAEA;AACA,oEAAoE,iCAAiC;AACrG;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA,kDAAkD;;AAElD;AACA,qEAAqE;AACrE,CAAC;AACD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,gBAAgB,EAAE;AAC5D;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC,cAAc;AACd,iBAAiB;AACjB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACjCA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACfD;AACA;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,mEAAmE;AAC5F,CAAC;AACD;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACRD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,kBAAkB,EAAE;AAC5C,0BAA0B,gBAAgB;AAC1C,KAAK;AACL;AACA,oCAAoC,iBAAiB;AACrD;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACJD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;ACXD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,2BAA2B;AAClD,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;ACtED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iGAAqC,wBAAwB,0BAA0B,YAAY,EAAE;AACrG;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;AACD;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;ACxBA;AACA;;AAEA;AACA;AACA,6BAA6B;AAC7B,cAAc;AACd;AACA,CAAC;AACD;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA,UAAU;AACV,CAAC;;;;;;;;;;;;AChBD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oDAAoD,wBAAwB;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzDA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C","file":"table.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/table.js\");\n","export function insertAfter( newNode, referenceNode ) {\n\treferenceNode.parentNode.insertBefore( newNode, referenceNode.nextSibling );\n}\n\nexport function insertBefore( newNode, referenceNode ) {\n\treferenceNode.parentNode.insertBefore( newNode, referenceNode );\n}","import Modals from './modals'\n\nclass Modal {\n\tconstructor( el ) {\n\t\tif ( !el ) {\n\t\t\treturn;\n\t\t}\n\t\tthis.el = el;\n\t\tthis.dialog = el.querySelector( '.ac-modal__dialog' );\n\n\t\tthis.initEvents();\n\t}\n\n\tstatic initGlobalEvents() {\n\n\t\tjQuery( document ).on( 'click', '[data-ac-open-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet target = e.target.dataset.acOpenModal;\n\t\t\tlet el = document.querySelector( target );\n\n\t\t\tif ( el && el.AC_MODAL ) {\n\t\t\t\tel.AC_MODAL.open();\n\t\t\t}\n\t\t} );\n\n\t\tjQuery( document ).on( 'click', '[data-ac-modal]', function( e ) {\n\t\t\te.preventDefault();\n\t\t\tlet modal_key = jQuery( this ).data( 'ac-modal' );\n\n\t\t\tif ( Modals.init().get( modal_key ) ) {\n\t\t\t\tModals.init().get( modal_key ).open();\n\t\t\t}\n\t\t} );\n\n\t}\n\n\tinitEvents() {\n\t\tlet self = this;\n\n\t\tdocument.addEventListener( 'keydown', ( e ) => {\n\t\t\tconst keyName = event.key;\n\n\t\t\tif ( !this.isOpen() ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( 'Escape' === keyName ) {\n\t\t\t\tthis.close();\n\t\t\t}\n\t\t} );\n\n\t\tlet dismissButtons = this.el.querySelectorAll( '[data-dismiss=\"modal\"], .ac-modal__dialog__close' );\n\t\tif ( dismissButtons.length > 0 ) {\n\t\t\tdismissButtons.forEach( ( b ) => {\n\t\t\t\tb.addEventListener( 'click', ( e ) => {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tself.close();\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\tthis.el.addEventListener( 'click', ( e ) => {\n\t\t\tif ( e.target.classList.contains( 'ac-modal' ) ) {\n\t\t\t\tself.close();\n\t\t\t}\n\t\t} );\n\n\t\tif ( typeof document.querySelector( 'body' ).dataset.ac_modal_init === 'undefined' ) {\n\t\t\tModal.initGlobalEvents();\n\t\t\tdocument.querySelector( 'body' ).dataset.ac_modal_init = 1;\n\t\t}\n\n\t\tthis.el.AC_MODAL = self;\n\t}\n\n\tisOpen() {\n\t\treturn this.el.classList.contains( '-active' );\n\t}\n\n\tclose() {\n\t\tthis.onClose();\n\t\tthis.el.classList.remove( '-active' );\n\t}\n\n\topen() {\n\t\t//short delay in order to allow bubbling events to bind before opening\n\t\tsetTimeout( () => {\n\t\t\tthis.onOpen();\n\t\t\tthis.el.removeAttribute( 'style' );\n\t\t\tthis.el.classList.add( '-active' );\n\t\t} );\n\t}\n\n\tdestroy() {\n\t\tthis.el.remove();\n\t}\n\n\tonClose() {}\n\n\tonOpen() {}\n\n}\n\nmodule.exports = Modal;","import Modal from './modal';\n\nexport default class Modals {\n\n\tconstructor() {\n\t\tthis.modals = [];\n\t\tthis.number = 1;\n\t}\n\n\tregister( modal, key = '' ) {\n\t\tif ( !key ) {\n\t\t\tkey = 'm' + this.number;\n\t\t}\n\n\t\tthis.modals[ key ] = modal;\n\t\tthis.number++;\n\n\t\treturn modal;\n\t}\n\n\tget( key ) {\n\t\tif ( this.modals[ key ] ) {\n\t\t\treturn this.modals[ key ];\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t// Bind self to global AdminColumns if exist\n\tstatic init() {\n\t\tif ( typeof AdminColumns.Modals === 'undefined' ) {\n\t\t\tAdminColumns.Modals = new this();\n\t\t\tAdminColumns.Modals._abstract = {\n\t\t\t\tmodal : Modal\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn AdminColumns.Modals;\n\t}\n\n}","export default class ShowMore {\n\n\tconstructor( el ) {\n\t\tthis.el = el;\n\n\t\tthis.initEvents();\n\t}\n\n\tinitEvents() {\n\t\tif ( this.isInited() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif( this.getToggler() ){\n\t\t\tthis.getToggler().addEventListener( 'click', event => {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tevent.stopPropagation();\n\t\t\t\tthis.toggle();\n\t\t\t} );\n\t\t}\n\n\t\tthis.el.dataset.showMoreInit = true;\n\t}\n\n\tgetToggler() {\n\t\treturn this.el.querySelector( '.ac-show-more__toggle' );\n\t}\n\n\tisInited() {\n\t\treturn this.el.dataset.showMoreInit;\n\t}\n\n\ttoggle() {\n\t\tif ( this.el.classList.contains( '-on' ) ) {\n\t\t\tthis.hide();\n\t\t} else {\n\t\t\tthis.show();\n\t\t}\n\t}\n\n\tshow() {\n\t\tthis.el.classList.add( '-on' );\n\t\tthis.getToggler().innerHTML = this.getToggler().dataset.less;\n\t}\n\n\thide() {\n\t\tthis.el.classList.remove( '-on' );\n\t\tthis.getToggler().innerHTML = this.getToggler().dataset.more;\n\t}\n\n}","import {insertAfter} from \"../../../../src/editing/js/helpers/elements\";\n\nexport default class ToggleBoxLink {\n\n\tconstructor( el ) {\n\t\tthis.element = el;\n\t\tthis.initEvents();\n\n\t\tthis.contentBox = this.element.parentElement.querySelector( '.ac-toggle-box-contents' );\n\t\tif ( !this.contentBox ) {\n\t\t\tthis.createContenBox();\n\t\t}\n\t}\n\n\tisAjax() {\n\t\treturn parseInt( this.element.dataset.ajaxPopulate ) === 1;\n\t}\n\n\tisInited() {\n\t\treturn this.element.dataset.toggleBoxInit;\n\t}\n\n\tcreateContenBox() {\n\t\tlet contentBox = document.createElement( 'div' );\n\n\t\tcontentBox.classList.add( 'ac-toggle-box-contents' );\n\n\t\tinsertAfter( contentBox, this.element );\n\n\t\tthis.contentBox = contentBox;\n\n\t\treturn this.contentBox;\n\t}\n\n\tinitEvents() {\n\t\tif ( this.isInited() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.element.addEventListener( 'click', ( e ) => {\n\t\t\te.preventDefault();\n\n\t\t\tif ( this.isAjax() && !this.hasContent() ) {\n\t\t\t\tthis.manageAjaxValue();\n\t\t\t}\n\n\t\t\tthis.toggleContentBox();\n\t\t} );\n\n\t\tthis.element.dataset.toggleBoxInit = true;\n\t}\n\n\thasContent() {\n\t\treturn this.getContentBox().innerHTML.length > 0\n\t}\n\n\tsetContent( content ) {\n\t\tthis.getContentBox().innerHTML = content;\n\t}\n\n\tgetContentBox() {\n\t\tif ( !this.contentBox ) {\n\n\t\t\treturn this.createContenBox();\n\t\t}\n\n\t\treturn this.contentBox;\n\t}\n\n\tsetLabel( open ) {\n\t\tlet label = this.element.dataset.label;\n\n\t\tif ( open && this.element.dataset.labelClose ) {\n\t\t\tlabel = this.element.dataset.labelClose\n\t\t}\n\n\t\tthis.element.innerHTML = label + '<span class=\"spinner\"></span>';\n\t}\n\n\ttoggleContentBox() {\n\t\tif ( this.getContentBox().classList.contains( '-open' ) ) {\n\t\t\tthis.getContentBox().classList.remove( '-open' );\n\t\t\tthis.setLabel( false );\n\t\t} else {\n\t\t\tthis.getContentBox().classList.add( '-open' );\n\t\t\tthis.setLabel( true );\n\t\t}\n\t}\n\n\tmanageAjaxValue() {\n\t\tthis.element.classList.add( 'loading' );\n\t\tthis.retrieveAjaxValue().done( response => {\n\t\t\tthis.setContent( response );\n\n\t\t\tjQuery( this.element.parentElement ).trigger( 'ajax_column_value_ready' );\n\t\t\tAdminColumns.Tooltips.init();\n\n\t\t} ).always( () => {\n\t\t\tthis.element.classList.remove( 'loading' );\n\t\t} );\n\n\t}\n\n\tretrieveAjaxValue() {\n\t\treturn jQuery.ajax( {\n\t\t\turl : ajaxurl,\n\t\t\tmethod : 'POST',\n\t\t\tdata : {\n\t\t\t\taction : 'ac_get_column_value',\n\t\t\t\tlist_screen : AC.list_screen,\n\t\t\t\tlayout : AC.layout,\n\t\t\t\tcolumn : this.element.dataset.column,\n\t\t\t\tpk : this.element.dataset.itemId,\n\t\t\t\t_ajax_nonce : AC.ajax_nonce\n\t\t\t}\n\t\t} );\n\t}\n\n}","import Table from \"./table/table\";\nimport Tooltip from \"./table/tooltips\";\nimport Modals from \"./modules/modals\";\nimport ScreenOptionsColumns from \"./table/screen-options-columns\";\nimport ShowMore from \"./modules/show-more\";\nimport ToggleBoxLink from \"./modules/toggle-box-link\";\n\n// Register the global variable\nglobal.AdminColumns = typeof AdminColumns !== \"undefined\" ? AdminColumns : {};\n\nModals.init();\n\njQuery( document ).ready( function( $ ) {\n\tac_quickedit_events( $ );\n\tac_actions_column( $, $( '.column-actions' ) );\n\tac_show_more( $ );\n\tac_actions_tooltips( $ );\n\tac_toggle_box();\n\n\tlet table = document.querySelector( AC.table_id );\n\n\tif ( table ) {\n\t\tac_load_table( table.parentElement );\n\n\t\tAdminColumns.ScreenOptionsColumns = new ScreenOptionsColumns( AdminColumns.Table.Columns );\n\t}\n\n\tAdminColumns.Tooltips = new Tooltip();\n\n\t$( '.wp-list-table' ).on( 'updated', 'tr', function() {\n\t\tAdminColumns.Table.addCellClasses();\n\t\tac_actions_column( $, $( this ).find( '.column-actions' ) );\n\t\tac_show_more( $ );\n\t} );\n\n\t$( '.wp-list-table td' ).on( 'ACP_InlineEditing_After_SetValue', function() {\n\t\tac_show_more( $ );\n\t} );\n\n} );\n\nglobal.ac_toggle_box = function() {\n\n\tdocument.querySelectorAll( '.ac-toggle-box-link' ).forEach( el => {\n\t\tnew ToggleBoxLink( el );\n\t} );\n};\n\nglobal.ac_load_table = function( el ) {\n\tAdminColumns.Table = new Table( el );\n\tAC.Table = AdminColumns.Table; // TODO use AdminColumns instead of AC\n};\n\nfunction ac_actions_tooltips() {\n\n\tjQuery( '.cpac_use_icons' ).parent().find( '.row-actions a' ).qtip( {\n\t\tcontent : {\n\t\t\ttext : function() {\n\t\t\t\treturn jQuery( this ).text();\n\t\t\t}\n\t\t},\n\t\tposition : {\n\t\t\tmy : 'top center',\n\t\t\tat : 'bottom center'\n\t\t},\n\t\tstyle : {\n\t\t\ttip : true,\n\t\t\tclasses : 'qtip-tipsy'\n\t\t}\n\t} );\n\n}\n\nglobal.ac_show_more = function( $ ) {\n\tdocument.querySelectorAll( '.ac-show-more' ).forEach( el => {\n\t\tnew ShowMore( el );\n\t} );\n};\n\nfunction ac_actions_column( $, $selector ) {\n\t$( $selector ).each( function() {\n\t\tlet $column = $( this );\n\n\t\tif ( $column.find( '.cpac_use_icons' ).length > 0 ) {\n\t\t\t$column.addClass( 'cpac_use_icons' );\n\t\t}\n\t} );\n\n\t$( $selector ).find( '.cpac_use_icons + .hidden + .row-actions > span' ).each( function() {\n\t\tlet $link = $( this ).find( 'a' );\n\t\t$link.attr( 'data-ac-tip', $link.text() ).addClass( 'ac-tip' );\n\t} );\n}\n\nfunction ac_quickedit_events( $ ) {\n\n\t$( document ).ajaxComplete( function( event, request ) {\n\t\tlet ownerDocument = document.implementation.createHTMLDocument( 'quickeditevents' );\n\t\tlet $result = $( '<div>', ownerDocument );\n\n\t\t$result.append( request.responseText );\n\t\tif ( $result.find( 'tr.iedit' ).length === 1 ) {\n\t\t\tlet id = $result.find( 'tr.iedit' ).attr( 'id' );\n\n\t\t\t$( 'tr#' + id ).trigger( 'updated', { id : id } )\n\t\t}\n\t} );\n\n}\n\n/** CustomEvent Polyfill */\n(function() {\n\n\tif ( typeof window.CustomEvent === \"function\" ) {\n\t\treturn false;\n\t}\n\n\tfunction CustomEvent( event, params ) {\n\t\tparams = params || { bubbles : false, cancelable : false, detail : undefined };\n\t\tlet evt = document.createEvent( 'CustomEvent' );\n\t\tevt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n\t\treturn evt;\n\t}\n\n\tCustomEvent.prototype = window.Event.prototype;\n\n\twindow.CustomEvent = CustomEvent;\n})();","export default class Actions {\n\tconstructor( id ) {\n\t\tthis.container = document.getElementById( id );\n\t\tthis.buttons = this.container.querySelector( '.ac-table-actions-buttons' );\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet self = this;\n\n\t\tthis.dropDownEvents();\n\n\t\tjQuery( this.container ).on( 'update', function() {\n\t\t\tself.refresh();\n\t\t} ).insertAfter( jQuery( '.tablenav.top .actions:last' ) ).addClass( '-init' ).trigger( 'update' );\n\t}\n\n\trefresh() {\n\t\tlet $buttons = jQuery( this.buttons );\n\n\t\t$buttons.find( '> a' ).removeClass( 'last' );\n\t\t$buttons.find( '> a:visible:last' ).addClass( 'last' );\n\t}\n\n\tdropDownEvents() {\n\t\tjQuery( this.buttons ).on( 'click', '[data-dropdown]', function() {\n\t\t\tlet $button = jQuery( this );\n\t\t\t$button.toggleClass( '-open' );\n\n\t\t\tif ( $button.hasClass( '-open' ) ) {\n\t\t\t\t$button[ 0 ].dispatchEvent( new CustomEvent( 'open' ) );\n\t\t\t} else {\n\t\t\t\t$button[ 0 ].dispatchEvent( new CustomEvent( 'closed' ) );\n\t\t\t}\n\t\t} );\n\t}\n\n}","export default class Cell {\n\n\tconstructor( id, name, el ) {\n\t\tthis._object_id = id;\n\t\tthis._column_name = name;\n\n\t\tthis.el = el;\n\t}\n\n\tgetObjectID() {\n\t\treturn this._object_id;\n\t}\n\n\tgetName() {\n\t\treturn this._column_name;\n\t}\n\n\tgetElement() {\n\t\treturn this.el;\n\t}\n\n\tgetRow() {\n\t\treturn this.el.parentElement;\n\t}\n\n\tgetSettings() {\n\t\treturn AdminColumns.Table.Columns.get( this.getName() );\n\t}\n\n\tsetValue( value ) {\n\t\tlet el = this.getElement();\n\n\t\tel.innerHTML = value;\n\n\t\treturn this;\n\t}\n\n}","export default class Cells {\n\n\tconstructor() {\n\t\tthis._cells = new Map();\n\t}\n\n\tadd( id, column ) {\n\t\tif ( !this._cells.has( id ) ) {\n\t\t\tthis._cells.set( id, new Map() );\n\t\t}\n\n\t\tthis._cells.get( id ).set( column.getName(), column );\n\t}\n\n\tgetByID( id ) {\n\t\tlet result = [];\n\t\tlet key = id.toString();\n\t\tif ( !this._cells.has( key ) ) {\n\t\t\treturn result;\n\t\t}\n\n\t\tthis._cells.get( id.toString() ).forEach( function( column ) {\n\t\t\tresult.push( column );\n\t\t} );\n\n\t\treturn result;\n\t}\n\n\tgetAll() {\n\t\tlet results = [];\n\n\t\tthis._cells.forEach( function( columns ) {\n\n\t\t\tcolumns.forEach( function( column ) {\n\t\t\t\tresults.push( column );\n\t\t\t} )\n\n\t\t} );\n\n\t\treturn results;\n\t}\n\n\tgetByName( name ) {\n\t\tlet results = [];\n\n\t\tthis._cells.forEach( function( columns ) {\n\n\t\t\tcolumns.forEach( function( column, column_name ) {\n\t\t\t\tif ( name === column_name ) {\n\t\t\t\t\tresults.push( column );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t} );\n\n\t\treturn results;\n\t}\n\n\tget( id, type ) {\n\t\tlet row = this._cells.get( id.toString() );\n\n\t\tif ( !row ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn row.get( type );\n\t}\n\n}","export default class Columns {\n\n\tconstructor( table ) {\n\t\tthis.table = table;\n\t\tthis._columns = {};\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet self = this;\n\t\tlet thead = this.table.querySelector( 'thead' );\n\t\tlet headers = thead.querySelectorAll( 'th' );\n\n\t\tfor ( let i = 0; i < headers.length; i++ ) {\n\t\t\tlet column = {};\n\t\t\tcolumn.name = headers[ i ].id;\n\t\t\tcolumn.type = AC.column_types[ column.name ];\n\t\t\tcolumn.label = this.sanitizeLabel( headers[ i ] );\n\t\t\tself._columns[ headers[ i ].id ] = column;\n\t\t}\n\t}\n\n\tgetColumns() {\n\t\treturn this._columns;\n\t}\n\n\tgetColumnsMap() {\n\t\tlet map = new Map();\n\t\tlet columns = this.getColumns();\n\n\t\tObject.keys( columns ).forEach( ( k ) => {\n\t\t\tmap.set( k, columns[ k ] )\n\t\t} );\n\n\t\treturn map;\n\t}\n\n\t/**\n\t * @returns {string[]}\n\t */\n\tgetColumnNames() {\n\t\treturn Object.keys( this._columns );\n\t}\n\n\t/**\n\t *\n\t * @param {String} column_name\n\t * @returns {Object}\n\t */\n\tget( column_name ) {\n\t\tif ( !this._columns[ column_name ] ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn this._columns[ column_name ];\n\t}\n\n\tsanitizeLabel( header ) {\n\t\tlet link = header.querySelector( 'a' );\n\t\tlet label = header.innerHTML;\n\n\t\t// If it contains a link, we presume that it is because of sorting\n\t\tif ( link ) {\n\t\t\tlet elements = link.getElementsByTagName( 'span' );\n\n\t\t\tif ( elements.length > 0 ) {\n\t\t\t\tlabel = elements[ 0 ].innerHTML;\n\t\t\t}\n\t\t}\n\n\t\treturn label;\n\t}\n}","export default class Helper {\n\n\t/**\n\t * Get query param from url\n\t *\n\t * @param param\n\t * @param url\n\t * @returns {*}\n\t */\n\tstatic getParamFromUrl( param, url ) {\n\t\tif ( !url ) {\n\t\t\treturn null;\n\t\t}\n\t\tparam = param.replace( /[\\[\\]]/g, \"\\\\$&\" );\n\n\t\tlet regex = new RegExp( \"[?&]\" + param + \"(=([^&#]*)|&|#|$)\" ), results = regex.exec( url );\n\n\t\tif ( !results ) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif ( !results[ 2 ] ) {\n\t\t\treturn '';\n\t\t}\n\n\t\treturn decodeURIComponent( results[ 2 ].replace( /\\+/g, \" \" ) );\n\t};\n\n}","export default class Selection {\n\n\tconstructor( Table ) {\n\t\tthis.Table = Table;\n\t}\n\n\t/**\n\t * Get the selected IDs in the table\n\t *\n\t * @returns {Array}\n\t */\n\tgetIDs() {\n\t\tlet ids = [];\n\t\tlet checked = this.Table.el.querySelectorAll( 'tbody th.check-column input[type=checkbox]:checked' );\n\n\t\tif ( checked.length === 0 ) {\n\t\t\treturn ids;\n\t\t}\n\n\t\tfor ( let i = 0; i < checked.length; i++ ) {\n\t\t\tids.push( checked[ i ].value );\n\t\t}\n\n\t\treturn ids;\n\t}\n\n\t/**\n\t * Get selected cells for specific column\n\t *\n\t * @param name\n\t */\n\tgetSelectedCells( name ) {\n\t\tlet self = this;\n\t\tlet ids = this.getIDs();\n\n\t\tif ( ids.length === 0 ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tlet cells = [];\n\n\t\tids.forEach( ( id ) => {\n\t\t\tlet cell = self.table.Cells.get( id, name );\n\n\t\t\tif ( cell ) {\n\t\t\t\tcells.push( cell );\n\t\t\t}\n\t\t} );\n\n\t\treturn cells;\n\t}\n\n\t/**\n\t *\n\t * @returns {number}\n\t */\n\tgetCount() {\n\t\treturn this.getIDs().length;\n\t}\n\n\tisAllSelected(){\n\t\treturn !!this.Table.el.querySelector('thead #cb input:checked');\n\t}\n\n}","export default class ScreenOptionsColumns {\n\n\tconstructor( columns ) {\n\t\tthis.columns = columns;\n\n\t\tcolumns.getColumnNames().forEach( ( column_name ) => {\n\t\t\tlet column = columns.get( column_name );\n\t\t\tlet input = ScreenOptionsColumns.getInputByName( column.name );\n\n\t\t\tif ( input && input.parentElement.textContent.length === 0 ) {\n\t\t\t\tlet label = document.createElement( 'span' );\n\t\t\t\tlabel.innerHTML = column.label;\n\t\t\t\tinput.parentElement.appendChild( label );\n\t\t\t}\n\t\t} );\n\t}\n\n\tstatic getInputByName( name ) {\n\t\tlet input = document.querySelector( `input[name='${name}-hide']` );\n\n\t\treturn input ? input : false;\n\t}\n\n}","import Actions from \"./actions\";\nimport Cells from \"./cells\";\nimport Columns from \"./columns\";\nimport Cell from \"./cell\";\nimport Helper from \"./helper\";\nimport Selection from \"./row-selection\";\n\nexport default class Table {\n\n\t/**\n\t *\n\t * @param {Element} el\n\t */\n\tconstructor( el ) {\n\t\tthis.el = el;\n\t\tthis.Helper = Helper;\n\t\tthis.Columns = new Columns( el );\n\t\tthis.Cells = new Cells();\n\t\tif( document.getElementById('ac-table-actions') ){\n\t\t\tthis.Actions = new Actions( 'ac-table-actions' );\n\t\t}\n\n\t\tthis.Selection = new Selection( this );\n\t\tthis._ids = [];\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tlet self = this;\n\n\t\tthis._initTable();\n\t\tthis.addCellClasses();\n\n\t\tdocument.dispatchEvent( new CustomEvent( 'AC_Table_Ready', { detail : { table : self } } ) );\n\t}\n\n\tupdateRow( row ) {\n\t\tlet id = this._getIDFromRow( row );\n\n\t\trow.dataset.id = id;\n\t\tthis._setCellsForRow( row, id );\n\t}\n\n\taddCellClasses() {\n\t\tlet self = this;\n\t\tthis.Columns.getColumnNames().forEach( ( name ) => {\n\t\t\tlet type = self.Columns.get( name ).type;\n\t\t\tlet cells = self.Cells.getByName( name );\n\n\t\t\tcells.forEach( ( cell ) => {\n\t\t\t\tcell.el.classList.add( type );\n\t\t\t} );\n\t\t} );\n\t}\n\n\t/**\n\t * Initiate the table so we can easily query it\n\t * Also populate the Columns Model\n\t *\n\t * @private\n\t */\n\t_initTable() {\n\t\tlet self = this;\n\t\tlet el = this.el.getElementsByTagName( 'tbody' );\n\t\tlet rows = el[ 0 ].getElementsByTagName( 'tr' );\n\n\t\tfor ( let i = 0; i < rows.length; i++ ) {\n\t\t\tlet row = rows[ i ];\n\t\t\tlet id = this._getIDFromRow( row );\n\n\t\t\tself._ids.push( id );\n\n\t\t\tthis.updateRow( row );\n\t\t}\n\n\t}\n\n\t_setCellsForRow( row ) {\n\t\tlet id = this._getIDFromRow( row );\n\n\t\tthis.Columns.getColumnNames().forEach( ( name ) => {\n\t\t\tlet selector = name.replace( /\\./g, '\\\\.' );\n\t\t\tlet td = row.querySelector( \".column-\" + selector );\n\n\t\t\tif ( td ) {\n\t\t\t\tlet cell = new Cell( id, name, td );\n\t\t\t\tthis.Cells.add( id, cell );\n\t\t\t\tthis._addColumnCellMethods( cell );\n\t\t\t}\n\t\t} );\n\t}\n\n\t_addColumnCellMethods( column ) {\n\t\tcolumn.el.getCell = function() {\n\t\t\treturn column;\n\t\t}\n\t}\n\n\t/**\n\t * Get the Post ID from a table row based on it's attributes or columns\n\t *\n\t * @param {Element} row\n\t * @returns {int}\n\t * @private\n\t */\n\t_getIDFromRow( row ) {\n\t\tlet id = row.id;\n\t\tlet id_parts = id.split( /[_,\\-]+/ );\n\t\tlet item_id = id_parts[ id_parts.length - 1 ];\n\n\t\tif ( row.classList.contains( 'no-items' ) ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tif ( !item_id ) {\n\t\t\tlet input = row.querySelector( '.check-column input[type=checkbox]' );\n\n\t\t\tif ( input ) {\n\t\t\t\tid = input.id;\n\t\t\t\tid_parts = id.split( '_' );\n\t\t\t\titem_id = id_parts[ id_parts.length - 1 ];\n\t\t\t}\n\n\t\t}\n\n\t\t// Try to get the ID from the edit URL (MS Sites)\n\t\tif ( !item_id ) {\n\t\t\tlet link = row.parentElement.querySelector( '.edit a' );\n\n\t\t\tif ( link ) {\n\t\t\t\tlet href = link.getAttribute( 'href' );\n\n\t\t\t\tif ( href ) {\n\t\t\t\t\titem_id = this.Helper.getParamFromUrl( 'id', href );\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\trow.dataset.id = item_id;\n\n\t\tdocument.dispatchEvent( new CustomEvent( 'AC_Table_Row_Id', { detail : { row : row } } ) );\n\n\t\treturn row.dataset.id;\n\t}\n\n\tgetRowCellByName( row, column_name ) {\n\t\treturn row.querySelector( `.column-${column_name}` );\n\t}\n\n\tstatic getTable( jQuery = false ) {\n\t\tif ( jQuery ) {\n\t\t\treturn jQuery( this.el );\n\t\t}\n\n\t\treturn this.el;\n\t}\n\n}","class Tooltips {\n\n\tconstructor() {\n\t\tthis.isEnabled = typeof jQuery.fn.qtip !== 'undefined';\n\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\tif ( !this.isEnabled ) {\n\t\t\tconsole.log( 'Tooltips not loaded!' );\n\t\t\treturn;\n\t\t}\n\n\t\tjQuery( '[data-ac-tip]' ).qtip( {\n\t\t\tcontent : {\n\t\t\t\tattr : 'data-ac-tip'\n\t\t\t},\n\t\t\tposition : {\n\t\t\t\tmy : 'top center',\n\t\t\t\tat : 'bottom center'\n\t\t\t},\n\t\t\tstyle : {\n\t\t\t\ttip : true,\n\t\t\t\tclasses : 'qtip-tipsy'\n\t\t\t}\n\t\t} );\n\t}\n\n}\n\nmodule.exports = Tooltips;","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n var fns = exec(defined, SYMBOL, ''[KEY]);\n var strfn = fns[0];\n var rxfn = fns[1];\n if (fails(function () {\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n })) {\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","exports.f = {}.propertyIsEnumerable;\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace) {\n // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n return [function replace(searchValue, replaceValue) {\n 'use strict';\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n }, $replace];\n});\n","// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split) {\n 'use strict';\n var isRegExp = require('./_is-regexp');\n var _split = $split;\n var $push = [].push;\n var $SPLIT = 'split';\n var LENGTH = 'length';\n var LAST_INDEX = 'lastIndex';\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group\n // based on es5-shim implementation, need to rework it\n $split = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return _split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var separator2, match, lastIndex, lastLength, i;\n // Doesn't need flags gy, but they don't hurt\n if (!NPCG) separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);\n while (match = separatorCopy.exec(string)) {\n // `separatorCopy.lastIndex` is not reliable cross-browser\n lastIndex = match.index + match[0][LENGTH];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG\n // eslint-disable-next-line no-loop-func\n if (!NPCG && match[LENGTH] > 1) match[0].replace(separator2, function () {\n for (i = 1; i < arguments[LENGTH] - 2; i++) if (arguments[i] === undefined) match[i] = undefined;\n });\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n $split = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);\n };\n }\n // 21.1.3.17 String.prototype.split(separator, limit)\n return [function split(separator, limit) {\n var O = defined(this);\n var fn = separator == undefined ? undefined : separator[SPLIT];\n return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);\n }, $split];\n});\n","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n"],"sourceRoot":""}
classes/Admin.php CHANGED
@@ -3,204 +3,200 @@
3
  namespace AC;
4
 
5
  use AC\Admin\Helpable;
6
- use AC\Admin\MenuItem;
7
  use AC\Admin\Page;
 
 
 
 
 
 
8
 
9
  class Admin implements Registrable {
10
 
11
- const PLUGIN_PAGE = 'codepress-admin-columns';
12
 
13
- /** @var string */
14
- private $hook_suffix;
15
 
16
- /** @var string */
17
- private $parent_page;
18
-
19
- /** @var Page */
20
- private $page;
21
 
22
- /** @var string */
23
- private $url;
24
 
25
- /** @var string */
 
 
26
  private $menu_hook;
27
 
28
- /** @var Page[] */
29
- private $pages = array();
 
 
 
 
 
 
 
30
 
31
- public function __construct( $parent_page, $menu_hook, $url ) {
32
- $this->parent_page = $parent_page;
33
  $this->menu_hook = $menu_hook;
34
- $this->url = trailingslashit( $url );
 
35
  }
36
 
37
  /**
38
- * Menu hook
39
  */
40
- public function register() {
41
- add_action( $this->menu_hook, array( $this, 'settings_menu' ) );
 
42
  }
43
 
44
  /**
45
- * @param Page $page
46
  *
47
- * @return $this
48
  */
49
- public function register_page( Page $page ) {
50
- $this->pages[ $page->get_slug() ] = $page;
 
51
 
52
- return $this;
 
53
  }
54
 
55
  /**
 
 
56
  * @return string
57
  */
58
- public function get_parent_page() {
59
- return $this->parent_page;
 
 
 
 
 
 
60
  }
61
 
62
  /**
63
- * @return void
64
  */
65
- public function settings_menu() {
66
- $this->hook_suffix = add_submenu_page(
67
- $this->parent_page,
68
- __( 'Admin Columns Settings', 'codepress-admin-columns' ),
69
- __( 'Admin Columns', 'codepress-admin-columns' ),
70
- Capabilities::MANAGE,
71
- self::PLUGIN_PAGE,
72
- function () {
73
- }
74
- );
75
 
76
- add_action( "load-" . $this->hook_suffix, array( $this, 'on_load' ) );
77
- add_action( "admin_print_scripts-" . $this->hook_suffix, array( $this, 'admin_scripts' ) );
 
 
 
78
  }
79
 
80
  /**
81
- * @return void
82
  */
83
- public function on_load() {
84
- $tab = filter_input( INPUT_GET, 'tab' );
85
-
86
- if ( ! $tab ) {
87
- $tab = current( $this->get_menu_items() )->get_slug();
88
- }
89
-
90
- $page = $this->get_page( $tab );
91
 
92
- if ( $page instanceof Registrable ) {
93
- $page->register();
94
- }
95
 
96
- if ( $page instanceof Helpable ) {
97
- foreach ( $page->get_help_tabs() as $help ) {
98
- get_current_screen()->add_help_tab( array(
99
- 'id' => $help->get_id(),
100
- 'content' => $help->get_content(),
101
- 'title' => $help->get_title(),
102
- ) );
103
- }
104
- }
105
 
106
- if ( ! $page ) {
107
- return;
108
  }
109
 
110
- $this->page = $page;
 
111
 
112
- add_action( $this->hook_suffix, array( $this, 'render' ) );
 
113
  }
114
 
115
- /**
116
- * @param string $tab
117
- *
118
- * @return string
119
- */
120
- public function get_url( $tab ) {
121
- $args = [
122
- 'page' => self::PLUGIN_PAGE,
123
- 'tab' => $tab,
124
- ];
125
 
126
- return add_query_arg( $args, $this->url . $this->get_parent_page() );
127
  }
128
 
129
- /**
130
- * @param string $slug
131
- *
132
- * @return Page|false
133
- */
134
- public function get_page( $slug ) {
135
- if ( ! array_key_exists( $slug, $this->pages ) ) {
136
- return false;
137
- }
138
 
139
- return $this->pages[ $slug ];
 
 
 
 
140
  }
141
 
142
- /**
143
- * @return MenuItem[]
144
- */
145
- private function get_menu_items() {
146
- $items = array();
147
 
148
- foreach ( $this->pages as $page ) {
149
- if ( $page && $page->show_in_menu() ) {
150
- $items[] = new MenuItem( $page->get_slug(), $page->get_label(), $this->get_url( $page->get_slug() ) );
151
  }
152
  }
153
 
154
- return $items;
155
  }
156
 
157
- /**
158
- * @return void
159
- */
160
- public function render() {
161
- ?>
162
- <div id="cpac" class="wrap">
163
- <?php
164
-
165
- $menu = new View( array(
166
- 'items' => $this->get_menu_items(),
167
- 'current' => $this->page->get_slug(),
168
- ) );
169
 
170
- echo $menu->set_template( 'admin/edit-tabmenu' );
 
 
 
 
171
 
172
- $this->page->render();
173
- ?>
174
- </div>
175
- <?php
 
 
 
 
 
176
 
177
- do_action( 'ac/admin/render', $this );
178
- }
179
 
180
- /**
181
- * Scripts
182
- * @return void
183
- */
184
- public function admin_scripts() {
185
- // Tooltip
186
- wp_register_script( 'jquery-qtip2', AC()->get_url() . "external/qtip2/jquery.qtip.min.js", array( 'jquery' ), AC()->get_version() );
187
- wp_enqueue_style( 'jquery-qtip2', AC()->get_url() . "external/qtip2/jquery.qtip.min.css", array(), AC()->get_version() );
188
- wp_enqueue_script( 'jquery-qtip2' );
189
 
190
- wp_enqueue_script( 'ac-admin-general', AC()->get_url() . "assets/js/admin-general.js", array( 'jquery', 'wp-pointer', 'jquery-qtip2' ), AC()->get_version() );
191
- wp_enqueue_style( 'wp-pointer' );
192
- wp_enqueue_style( 'ac-admin', AC()->get_url() . "assets/css/admin-general.css", array(), AC()->get_version() );
193
 
194
  do_action( 'ac/admin_scripts' );
195
- }
196
-
197
- /**
198
- * @return string
199
- */
200
- public function get_settings_url() {
201
- _deprecated_function( __METHOD__, '3.4.1', 'Admin::get_url()' );
202
 
203
- return $this->get_url( 'settings' );
 
 
 
204
  }
205
 
206
  }
3
  namespace AC;
4
 
5
  use AC\Admin\Helpable;
6
+ use AC\Admin\Menu;
7
  use AC\Admin\Page;
8
+ use AC\Admin\PageCollection;
9
+ use AC\Admin\ScreenOptions;
10
+ use AC\Asset\Enqueueables;
11
+ use AC\Asset\Location;
12
+ use AC\Asset\Script;
13
+ use AC\Asset\Style;
14
 
15
  class Admin implements Registrable {
16
 
17
+ const NAME = 'codepress-admin-columns';
18
 
19
+ const QUERY_ARG_PAGE = 'page';
20
+ const QUERY_ARG_TAB = 'tab';
21
 
22
+ /**
23
+ * @var string
24
+ */
 
 
25
 
26
+ private $parent_slug;
 
27
 
28
+ /**
29
+ * @var string
30
+ */
31
  private $menu_hook;
32
 
33
+ /**
34
+ * @var PageCollection
35
+ */
36
+ private $pages;
37
+
38
+ /**
39
+ * @var Location\Absolute
40
+ */
41
+ private $location;
42
 
43
+ public function __construct( $parent_slug, $menu_hook, PageCollection $pages, Location\Absolute $location ) {
44
+ $this->parent_slug = $parent_slug;
45
  $this->menu_hook = $menu_hook;
46
+ $this->pages = $pages;
47
+ $this->location = $location;
48
  }
49
 
50
  /**
51
+ * @return Location\Absolute
52
  */
53
+
54
+ public function get_location() {
55
+ return $this->location;
56
  }
57
 
58
  /**
59
+ * @param string $slug
60
  *
61
+ * @return Page|null
62
  */
63
+ public function get_page( $slug ) {
64
+ return $this->pages->get( $slug );
65
+ }
66
 
67
+ public function add_page( Page $page ) {
68
+ $this->pages->add( $page );
69
  }
70
 
71
  /**
72
+ * @param string $slug
73
+ *
74
  * @return string
75
  */
76
+ protected function create_menu_link( $slug ) {
77
+ return add_query_arg(
78
+ [
79
+ self::QUERY_ARG_PAGE => self::NAME,
80
+ self::QUERY_ARG_TAB => $slug,
81
+ ],
82
+ $this->parent_slug
83
+ );
84
  }
85
 
86
  /**
87
+ * @return Page
88
  */
89
+ private function get_current_page() {
90
+ $slug = filter_input( INPUT_GET, 'tab' );
 
 
 
 
 
 
 
 
91
 
92
+ if ( $this->pages->has( $slug ) ) {
93
+ return $this->pages->get( $slug );
94
+ }
95
+
96
+ return $this->pages->first();
97
  }
98
 
99
  /**
100
+ * @return Menu
101
  */
102
+ private function get_menu() {
103
+ $menu = new Menu();
 
 
 
 
 
 
104
 
105
+ $current_slug = $this->get_current_page()->get_slug();
 
 
106
 
107
+ foreach ( $this->pages->all() as $page ) {
108
+ $class = $current_slug === $page->get_slug()
109
+ ? 'nav-tab-active'
110
+ : null;
 
 
 
 
 
111
 
112
+ $menu->add( new Menu\Item( $this->create_menu_link( $page->get_slug() ), $page->get_title(), $class ) );
 
113
  }
114
 
115
+ return $menu;
116
+ }
117
 
118
+ public function register() {
119
+ add_action( $this->menu_hook, [ $this, 'register_menu' ] );
120
  }
121
 
122
+ public function register_menu() {
123
+ $hook = add_submenu_page(
124
+ $this->parent_slug,
125
+ __( 'Admin Columns Settings', 'codepress-admin-columns' ),
126
+ __( 'Admin Columns', 'codepress-admin-columns' ),
127
+ Capabilities::MANAGE,
128
+ self::NAME,
129
+ [ $this, 'render' ]
130
+ );
 
131
 
132
+ add_action( "load-" . $hook, [ $this, 'scripts' ] );
133
  }
134
 
135
+ public function render() {
136
+ ?>
137
+ <div id="cpac" class="wrap">
 
 
 
 
 
 
138
 
139
+ <?= $this->get_menu()->render(); ?>
140
+ <?= $this->get_current_page()->render(); ?>
141
+
142
+ </div>
143
+ <?php
144
  }
145
 
146
+ public function add_screen_options( $settings ) {
147
+ $page = $this->get_current_page();
148
+
149
+ if ( $page instanceof ScreenOptions ) {
150
+ $settings .= sprintf( '<legend>%s</legend>', __( 'Display', 'codepress-admin-columns' ) );
151
 
152
+ foreach ( $page->get_screen_options() as $screen_option ) {
153
+ $settings .= $screen_option->render();
 
154
  }
155
  }
156
 
157
+ return $settings;
158
  }
159
 
160
+ public function scripts() {
161
+ $page = $this->get_current_page();
 
 
 
 
 
 
 
 
 
 
162
 
163
+ if ( $page instanceof Enqueueables ) {
164
+ foreach ( $page->get_assets() as $asset ) {
165
+ $asset->enqueue();
166
+ }
167
+ }
168
 
169
+ if ( $page instanceof Helpable ) {
170
+ foreach ( $page->get_help_tabs() as $help ) {
171
+ get_current_screen()->add_help_tab( [
172
+ 'id' => $help->get_id(),
173
+ 'title' => $help->get_title(),
174
+ 'content' => $help->get_content(),
175
+ ] );
176
+ }
177
+ }
178
 
179
+ add_filter( 'screen_settings', [ $this, 'add_screen_options' ] );
 
180
 
181
+ $assets = [
182
+ new Style( 'wp-pointer' ),
183
+ new Style( 'jquery-qtip2', $this->location->with_suffix( 'external/qtip2/jquery.qtip.min.css' ) ),
184
+ new Script( 'jquery-qtip2', $this->location->with_suffix( 'external/qtip2/jquery.qtip.min.js' ), [ 'jquery' ] ),
185
+ new Script( 'ac-admin-general', $this->location->with_suffix( 'assets/js/admin-general.js' ), [ 'jquery', 'wp-pointer', 'jquery-qtip2' ] ),
186
+ new Style( 'ac-admin', $this->location->with_suffix( 'assets/css/admin-general.css' ) ),
187
+ ];
 
 
188
 
189
+ foreach ( $assets as $asset ) {
190
+ $asset->enqueue();
191
+ }
192
 
193
  do_action( 'ac/admin_scripts' );
194
+ do_action( 'ac/admin_scripts/' . $page->get_slug() );
 
 
 
 
 
 
195
 
196
+ /**
197
+ * @deprecated 4.1
198
+ */
199
+ do_action_deprecated( 'ac/settings/scripts', null, '4.1', 'ac/admin_scripts' );
200
  }
201
 
202
  }
classes/Admin/Asset/Addons.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace AC\Admin\Asset;
4
+
5
+ use AC\Asset\Location;
6
+ use AC\Asset\Script;
7
+
8
+ class Addons extends Script {
9
+
10
+ public function __construct( $handle, Location $location = null ) {
11
+ parent::__construct( $handle, $location, [ 'jquery' ] );
12
+ }
13
+
14
+ public function register() {
15
+ parent::register();
16
+
17
+ wp_localize_script( $this->get_handle(), 'AC', [
18
+ 'ajax_nonce' => wp_create_nonce( 'ac-ajax' ),
19
+ ] );
20
+ }
21
+
22
+ }
classes/Admin/Asset/Columns.php ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace AC\Admin\Asset;
4
+
5
+ use AC;
6
+ use AC\Asset\Location;
7
+ use AC\Asset\Script;
8
+ use AC\DefaultColumnsRepository;
9
+ use AC\ListScreen;
10
+ use AC\ListScreenTypes;
11
+
12
+ class Columns extends Script {
13
+
14
+ /**
15
+ * @var DefaultColumnsRepository
16
+ */
17
+ private $default_columns;
18
+
19
+ /**
20
+ * @var ListScreen
21
+ */
22
+ private $list_screen;
23
+
24
+ public function __construct(
25
+ $handle,
26
+ Location $location,
27
+ DefaultColumnsRepository $default_columns,
28
+ ListScreen $list_screen
29
+ ) {
30
+ parent::__construct( $handle, $location, [
31
+ 'jquery',
32
+ 'dashboard',
33
+ 'jquery-ui-slider',
34
+ 'jquery-ui-sortable',
35
+ 'wp-pointer',
36
+ ] );
37
+
38
+ $this->default_columns = $default_columns;
39
+ $this->list_screen = $list_screen;
40
+ }
41
+
42
+ private function get_list_screens() {
43
+ return is_network_admin()
44
+ ? ListScreenTypes::instance()->get_list_screens( [ 'network_only' => true ] )
45
+ : ListScreenTypes::instance()->get_list_screens( [ 'site_only' => true ] );
46
+ }
47
+
48
+ public function register() {
49
+ parent::register();
50
+
51
+ if ( null === $this->list_screen ) {
52
+ return;
53
+ }
54
+
55
+ $params = [
56
+ '_ajax_nonce' => wp_create_nonce( AC\Ajax\Handler::NONCE_ACTION ),
57
+ 'list_screen' => $this->list_screen->get_key(),
58
+ 'layout' => $this->list_screen->get_layout_id(),
59
+ 'original_columns' => [],
60
+ 'uninitialized_list_screens' => [],
61
+ 'i18n' => [
62
+ 'clone' => __( '%s column is already present and can not be duplicated.', 'codepress-admin-columns' ),
63
+ 'error' => __( 'Invalid response.', 'codepress-admin-columns' ),
64
+ 'errors' => [
65
+ 'save_settings' => __( 'There was an error during saving the column settings.', 'codepress-admin-columns' ),
66
+ 'loading_column' => __( 'The column could not be loaded because of an unknown error', 'codepress-admin-columns' ),
67
+ ],
68
+ ],
69
+ ];
70
+
71
+ foreach ( $this->get_list_screens() as $list_screen ) {
72
+ if ( $this->default_columns->exists( $list_screen->get_key() ) ) {
73
+ continue;
74
+ }
75
+
76
+ $params['uninitialized_list_screens'][ $list_screen->get_key() ] = [
77
+ 'screen_link' => add_query_arg( [ 'save-default-headings' => '1', 'list_screen' => $list_screen->get_key() ], $list_screen->get_screen_link() ),
78
+ 'label' => $list_screen->get_label(),
79
+ ];
80
+ }
81
+
82
+ wp_localize_script( 'ac-admin-page-columns', 'AC', $params );
83
+ }
84
+
85
+ }
classes/Admin/{Parts/Banner.php → Banner.php} RENAMED
@@ -1,20 +1,30 @@
1
  <?php
2
 
3
- namespace AC\Admin\Parts;
4
 
5
- use AC\Admin;
6
  use AC\Integration;
7
  use AC\Integrations;
8
  use AC\PluginInformation;
 
 
9
  use AC\View;
10
 
11
  class Banner {
12
 
13
  /**
14
- * @return Admin\Promo|null
 
 
 
 
 
 
 
 
 
15
  */
16
  private function get_active_promotion() {
17
- $promos = new Admin\PromoCollection();
18
 
19
  return $promos->find_active();
20
  }
@@ -30,9 +40,9 @@ class Banner {
30
  * @return Integration[]
31
  */
32
  private function get_missing_integrations() {
33
- $missing = array();
34
 
35
- foreach ( new Integrations() as $integration ) {
36
  $integration_plugin = new PluginInformation( $integration->get_basename() );
37
 
38
  if ( $integration->is_plugin_active() && ! $integration_plugin->is_active() ) {
@@ -47,11 +57,11 @@ class Banner {
47
  * @return string
48
  */
49
  public function render() {
50
- $banner = new View( array(
51
  'promo' => $this->get_active_promotion(),
52
  'integrations' => $this->get_missing_integrations(),
53
  'discount' => $this->get_discount_percentage(),
54
- ) );
55
 
56
  $banner->set_template( 'admin/side-banner' );
57
 
1
  <?php
2
 
3
+ namespace AC\Admin;
4
 
 
5
  use AC\Integration;
6
  use AC\Integrations;
7
  use AC\PluginInformation;
8
+ use AC\Promo;
9
+ use AC\PromoCollection;
10
  use AC\View;
11
 
12
  class Banner {
13
 
14
  /**
15
+ * @var Integrations
16
+ */
17
+ private $integrations;
18
+
19
+ public function __construct() {
20
+ $this->integrations = new Integrations();
21
+ }
22
+
23
+ /**
24
+ * @return Promo|null
25
  */
26
  private function get_active_promotion() {
27
+ $promos = new PromoCollection();
28
 
29
  return $promos->find_active();
30
  }
40
  * @return Integration[]
41
  */
42
  private function get_missing_integrations() {
43
+ $missing = [];
44
 
45
+ foreach ( $this->integrations->all() as $integration ) {
46
  $integration_plugin = new PluginInformation( $integration->get_basename() );
47
 
48
  if ( $integration->is_plugin_active() && ! $integration_plugin->is_active() ) {
57
  * @return string
58
  */
59
  public function render() {
60
+ $banner = new View( [
61
  'promo' => $this->get_active_promotion(),
62
  'integrations' => $this->get_missing_integrations(),
63
  'discount' => $this->get_discount_percentage(),
64
+ ] );
65
 
66
  $banner->set_template( 'admin/side-banner' );
67
 
classes/Admin/GeneralSectionFactory.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
- namespace AC\Admin;
3
-
4
- use AC\Admin\Section\General;
5
- use AC\Settings\Admin\General\ShowEditButton;
6
-
7
- class GeneralSectionFactory {
8
-
9
- /** @var Section */
10
- private static $section;
11
-
12
- public static function create() {
13
- if ( null === self::$section ) {
14
- $general = new General();
15
- $general->register_setting( new ShowEditButton() );
16
-
17
- self::$section = $general;
18
- }
19
-
20
- return self::$section;
21
- }
22
-
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/Admin/HelpTab.php CHANGED
@@ -1,23 +1,41 @@
1
  <?php
 
2
  namespace AC\Admin;
3
 
4
  abstract class HelpTab {
5
 
6
  /**
7
- * @return string
8
  */
9
- abstract public function get_content();
 
 
 
 
 
 
 
 
 
 
10
 
11
  /**
12
  * @return string
13
  */
14
- abstract public function get_title();
 
 
15
 
16
  /**
17
  * @return string
18
  */
19
  public function get_id() {
20
- return 'ac-tab-' . sanitize_key( get_called_class() );
21
  }
22
 
 
 
 
 
 
23
  }
1
  <?php
2
+
3
  namespace AC\Admin;
4
 
5
  abstract class HelpTab {
6
 
7
  /**
8
+ * @var string
9
  */
10
+ private $id;
11
+
12
+ /**
13
+ * @var string
14
+ */
15
+ private $title;
16
+
17
+ public function __construct( $title ) {
18
+ $this->id = 'ac-tab-' . sanitize_key( get_called_class() );
19
+ $this->title = $title;
20
+ }
21
 
22
  /**
23
  * @return string
24
  */
25
+ public function get_title() {
26
+ return $this->title;
27
+ }
28
 
29
  /**
30
  * @return string
31
  */
32
  public function get_id() {
33
+ return $this->id;
34
  }
35
 
36
+ /**
37
+ * @return string
38
+ */
39
+ abstract public function get_content();
40
+
41
  }
classes/Admin/HelpTab/Basics.php CHANGED
@@ -3,35 +3,16 @@
3
  namespace AC\Admin\HelpTab;
4
 
5
  use AC\Admin\HelpTab;
 
6
 
7
  class Basics extends HelpTab {
8
 
9
- public function get_title() {
10
- return __( "Basics", 'codepress-admin-columns' );
11
  }
12
 
13
  public function get_content() {
14
- ob_start();
15
- ?>
16
-
17
- <h5><?php _e( "Change order", 'codepress-admin-columns' ); ?></h5>
18
- <p>
19
- <?php _e( "By dragging the columns you can change the order which they will appear in.", 'codepress-admin-columns' ); ?>
20
- </p>
21
-
22
- <h5><?php _e( "Change label", 'codepress-admin-columns' ); ?></h5>
23
- <p>
24
- <?php _e( "By clicking on the triangle you will see the column options. Here you can change each label of the columns heading.", 'codepress-admin-columns' ); ?>
25
- </p>
26
-
27
- <h5><?php _e( "Change column width", 'codepress-admin-columns' ); ?></h5>
28
- <p>
29
- <?php _e( "By clicking on the triangle you will see the column options. By using the draggable slider you can set the width of the columns in percentages.", 'codepress-admin-columns' ); ?>
30
- </p>
31
-
32
- <?php
33
-
34
- return ob_get_clean();
35
  }
36
 
37
  }
3
  namespace AC\Admin\HelpTab;
4
 
5
  use AC\Admin\HelpTab;
6
+ use AC\View;
7
 
8
  class Basics extends HelpTab {
9
 
10
+ public function __construct() {
11
+ parent::__construct( __( "Basics", 'codepress-admin-columns' ) );
12
  }
13
 
14
  public function get_content() {
15
+ return ( new View() )->set_template( 'admin/help-tab/basics' )->render();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
 
18
  }
classes/Admin/HelpTab/CustomField.php CHANGED
@@ -3,82 +3,16 @@
3
  namespace AC\Admin\HelpTab;
4
 
5
  use AC\Admin\HelpTab;
 
6
 
7
  class CustomField extends HelpTab {
8
 
9
- public function get_title() {
10
- return __( "Custom Fields", 'codepress-admin-columns' );
11
  }
12
 
13
  public function get_content() {
14
- ob_start();
15
- ?>
16
-
17
- <p>
18
- <?php _e( "The custom field column uses the custom fields from posts and users. There are 14 types which you can set.", 'codepress-admin-columns' ); ?>
19
- </p>
20
- <ul>
21
- <li>
22
- <strong><?php _e( "Default", 'codepress-admin-columns' ); ?></strong><br/>
23
- <?php _e( "Value: Can be either a string or array. Arrays will be flattened and values are seperated by commas.", 'codepress-admin-columns' ); ?>
24
- </li>
25
- <li>
26
- <strong><?php _e( "Color", 'codepress-admin-columns' ); ?></strong><br/>
27
- <?php _e( "Value: Hex value color, such as #808080.", 'codepress-admin-columns' ); ?>
28
- </li>
29
- <li>
30
- <strong><?php _e( "Counter", 'codepress-admin-columns' ); ?></strong><br/>
31
- <?php _e( "Value: Can be either a string or array. This will display a count of the number of times the meta key is used by the item.", 'codepress-admin-columns' ); ?>
32
- </li>
33
- <li>
34
- <strong><?php _e( "Date", 'codepress-admin-columns' ); ?></strong><br/>
35
- <?php printf( __( "Value: Can be unix time stamp or a date format as described in the <a href='%s'>Codex</a>. You can change the outputted date format at the <a href='%s'>general settings</a> page.", 'codepress-admin-columns' ), 'http://codex.wordpress.org/Formatting_Date_and_Time', admin_url( 'options-general.php' ) ); ?>
36
- </li>
37
- <li>
38
- <strong><?php _e( "Excerpt", 'codepress-admin-columns' ); ?></strong><br/>
39
- <?php _e( "Value: This will show the first 20 words of the Post content.", 'codepress-admin-columns' ); ?>
40
- </li>
41
- <li>
42
- <strong><?php _e( "Has Content", 'codepress-admin-columns' ); ?></strong><br/>
43
- <?php _e( "Value: This will show if the field has content or not.", 'codepress-admin-columns' ); ?>
44
- </li>
45
- <li>
46
- <strong><?php _e( "Image", 'codepress-admin-columns' ); ?></strong><br/>
47
- <?php _e( "Value: Should contain one or more Image URLs or Attachment IDs, separated by commas.", 'codepress-admin-columns' ); ?>
48
- </li>
49
- <li>
50
- <strong><?php _e( "Media", 'codepress-admin-columns' ); ?></strong><br/>
51
- <?php _e( "Value: Should contain one or more Attachment IDs, separated by commas.", 'codepress-admin-columns' ); ?>
52
- </li>
53
- <li>
54
- <strong><?php _e( "Multiple Values", 'codepress-admin-columns' ); ?></strong><br/>
55
- <?php _e( "Value: Should be an array. This will flatten any ( multi dimensional ) array.", 'codepress-admin-columns' ); ?>
56
- </li>
57
- <li>
58
- <strong><?php _e( "Number", 'codepress-admin-columns' ); ?></strong><br/>
59
- <?php _e( "Value: Integers only.<br/>If you have the 'sorting addon' this will be used for sorting, so you can sort your posts on numeric (custom field) values.", 'codepress-admin-columns' ); ?>
60
- </li>
61
- <li>
62
- <strong><?php _e( "Post", 'codepress-admin-columns' ); ?></strong><br/>
63
- <?php _e( "Value: Should contain one or more Post IDs, separated by commas.", 'codepress-admin-columns' ); ?>
64
- </li>
65
- <li>
66
- <strong><?php _e( "True / False", 'codepress-admin-columns' ); ?></strong><br/>
67
- <?php _e( "Value: Should be a 1 (one) or 0 (zero).", 'codepress-admin-columns' ); ?>
68
- </li>
69
- <li>
70
- <strong><?php _e( "URL", 'codepress-admin-columns' ); ?></strong><br/>
71
- <?php _e( "Value: Should contain a URL.", 'codepress-admin-columns' ); ?>
72
- </li>
73
- <li>
74
- <strong><?php _e( "User", 'codepress-admin-columns' ); ?></strong><br/>
75
- <?php _e( "Value: Should contain one or more User IDs, separated by commas.", 'codepress-admin-columns' ); ?>
76
- </li>
77
- </ul>
78
-
79
- <?php
80
-
81
- return ob_get_clean();
82
  }
83
 
84
  }
3
  namespace AC\Admin\HelpTab;
4
 
5
  use AC\Admin\HelpTab;
6
+ use AC\View;
7
 
8
  class CustomField extends HelpTab {
9
 
10
+ public function __construct() {
11
+ parent::__construct( __( "Custom Fields", 'codepress-admin-columns' ) );
12
  }
13
 
14
  public function get_content() {
15
+ return ( new View() )->set_template( 'admin/help-tab/custom-fields' )->render();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
 
18
  }
classes/Admin/HelpTab/Introduction.php CHANGED
@@ -3,23 +3,16 @@
3
  namespace AC\Admin\HelpTab;
4
 
5
  use AC\Admin\HelpTab;
 
6
 
7
  class Introduction extends HelpTab {
8
 
9
- public function get_title() {
10
- return __( "Overview", 'codepress-admin-columns' );
11
  }
12
 
13
  public function get_content() {
14
- ob_start();
15
- ?>
16
-
17
- <p>
18
- <?php _e( "This plugin is for adding and removing additional columns to the administration screens for post(types), pages, media library, comments, links and users. Change the column's label and reorder them.", 'codepress-admin-columns' ); ?>
19
- </p>
20
-
21
- <?php
22
- return ob_get_clean();
23
  }
24
 
25
  }
3
  namespace AC\Admin\HelpTab;
4
 
5
  use AC\Admin\HelpTab;
6
+ use AC\View;
7
 
8
  class Introduction extends HelpTab {
9
 
10
+ public function __construct() {
11
+ parent::__construct( __( "Overview", 'codepress-admin-columns' ) );
12
  }
13
 
14
  public function get_content() {
15
+ return ( new View() )->set_template( 'admin/help-tab/introduction' )->render();
 
 
 
 
 
 
 
 
16
  }
17
 
18
  }
classes/Admin/Helpable.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  namespace AC\Admin;
3
 
4
  interface Helpable {
1
  <?php
2
+
3
  namespace AC\Admin;
4
 
5
  interface Helpable {
classes/Admin/Menu.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace AC\Admin;
4
+
5
+ use AC\Admin\Menu\Item;
6
+ use AC\Collection;
7
+ use AC\Renderable;
8
+ use AC\View;
9
+
10
+ class Menu extends Collection implements Renderable {
11
+
12
+ /**
13
+ * @return Item[]
14
+ */
15
+ public function all() {
16
+ return parent::all();
17
+ }
18
+
19
+ public function add( Item $item ) {
20
+ $this->push( $item );
21
+
22
+ return $this;
23
+ }
24
+
25
+ public function render() {
26
+ $view = new View( [
27
+ 'menu_items' => $this->items,
28
+ ] );
29
+
30
+ return $view->set_template( 'admin/menu' )->render();
31
+ }
32
+
33
+ }
classes/Admin/Menu/Item.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace AC\Admin\Menu;
4
+
5
+ class Item {
6
+
7
+ /**
8
+ * @var string
9
+ */
10
+ private $url;
11
+
12
+ /**
13
+ * @var string
14
+ */
15
+ private $label;
16
+
17
+ /**
18
+ * @var string|null
19
+ */
20
+ private $class;
21
+
22
+ public function __construct( $url, $label, $class = null ) {
23
+ $this->url = $url;
24
+ $this->label = $label;
25
+ $this->class = $class;
26
+ }
27
+
28
+ /**
29
+ * @return string
30
+ */
31
+ public function get_url() {
32
+ return $this->url;
33
+ }
34
+
35
+ /**
36
+ * @return string
37
+ */
38
+ public function get_label() {
39
+ return $this->label;
40
+ }
41
+
42
+ /**
43
+ * @return string|null
44
+ */
45
+ public function get_class() {
46
+ return $this->class;
47
+ }
48
+
49
+ }
classes/Admin/MenuItem.php DELETED
@@ -1,42 +0,0 @@
1
- <?php
2
- namespace AC\Admin;
3
-
4
- class MenuItem {
5
-
6
- /** @var string */
7
- private $slug;
8
-
9
- /** @var string */
10
- private $label;
11
-
12
- /** @var string */
13
- private $url;
14
-
15
- public function __construct( $slug, $label, $url ) {
16
- $this->slug = $slug;
17
- $this->label = $label;
18
- $this->url = $url;
19
- }
20
-
21
- /**
22
- * @return string
23
- */
24
- public function get_slug() {
25
- return $this->slug;
26
- }
27
-
28
- /**
29
- * @return string
30
- */
31
- public function get_label() {
32
- return $this->label;
33
- }
34
-
35
- /**
36
- * @return string
37
- */
38
- public function get_url() {
39
- return $this->url;
40
- }
41
-
42
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/Admin/Page.php CHANGED
@@ -1,43 +1,38 @@
1
  <?php
2
- namespace AC\Admin;
3
 
4
- abstract class Page {
5
 
6
- /** @var string */
7
- private $slug;
8
 
9
- /** @var string */
10
- private $label;
11
-
12
- public function __construct( $slug, $label ) {
13
- $this->slug = $slug;
14
- $this->label = $label;
15
- }
16
 
17
  /**
18
- * @return void
19
  */
20
- abstract public function render();
21
 
22
  /**
23
- * @return string
24
  */
25
- public function get_slug() {
26
- return $this->slug;
 
 
 
27
  }
28
 
29
  /**
30
  * @return string
31
  */
32
- public function get_label() {
33
- return $this->label;
34
  }
35
 
36
  /**
37
- * @return bool
38
  */
39
- public function show_in_menu() {
40
- return true;
41
  }
42
 
43
  }
1
  <?php
 
2
 
3
+ namespace AC\Admin;
4
 
5
+ use AC\Renderable;
 
6
 
7
+ abstract class Page implements Renderable {
 
 
 
 
 
 
8
 
9
  /**
10
+ * @var string
11
  */
12
+ private $slug;
13
 
14
  /**
15
+ * @var string
16
  */
17
+ private $title;
18
+
19
+ public function __construct( $slug, $title ) {
20
+ $this->slug = (string) $slug;
21
+ $this->title = (string) $title;
22
  }
23
 
24
  /**
25
  * @return string
26
  */
27
+ public function get_slug() {
28
+ return $this->slug;
29
  }
30
 
31
  /**
32
+ * @return string
33
  */
34
+ public function get_title() {
35
+ return $this->title;
36
  }
37
 
38
  }
classes/Admin/Page/Addons.php CHANGED
@@ -3,271 +3,115 @@
3
  namespace AC\Admin\Page;
4
 
5
  use AC;
 
6
  use AC\Admin\Page;
7
- use AC\Message\Notice;
 
 
 
8
  use AC\PluginInformation;
9
 
10
- class Addons extends Page
11
- implements AC\Registrable {
12
 
13
  const NAME = 'addons';
14
 
15
- public function __construct() {
16
- parent::__construct( self::NAME, __( 'Add-ons', 'codepress-admin-columns' ) );
17
- }
18
-
19
- /**
20
- * Register Hooks
21
- */
22
- public function register() {
23
- $this->handle_request();
24
- $this->page_notices();
25
-
26
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
27
- }
28
-
29
- public function page_notices() {
30
- if ( ! current_user_can( AC\Capabilities::MANAGE ) ) {
31
- return;
32
- }
33
-
34
- if ( ! ac_is_pro_active() ) {
35
- $link = ac_helper()->html->link( ac_get_site_utm_url( false, 'addon' ), __( 'Admin Columns Pro', 'codepress-admin-columns' ), array( 'target' => '_blank' ) );
36
-
37
- $this->register_notice(
38
- sprintf( __( 'All add-ons require %s.', 'codepress-admin-columns' ), $link ),
39
- Notice::INFO
40
- );
41
-
42
- return;
43
- }
44
-
45
- foreach ( new AC\Integrations() as $integration ) {
46
- $plugin = new PluginInformation( $integration->get_basename() );
47
-
48
- if ( ! $plugin->is_active() || $integration->is_plugin_active() ) {
49
- continue;
50
- }
51
-
52
- $link = sprintf( '<a href="%s">%s</a>', $integration->get_plugin_link(), $integration->get_title() );
53
-
54
- $this->register_notice(
55
- sprintf( __( '%s needs to be installed and active for the add-on to work.', 'codepress-admin-columns' ), $link ),
56
- Notice::WARNING
57
- );
58
- }
59
- }
60
-
61
- /**
62
- * Display an activation/deactivation message on the addons page if applicable
63
- * @since 2.2
64
- */
65
- public function handle_request() {
66
- if ( ! wp_verify_nonce( filter_input( INPUT_GET, '_ac_nonce' ), 'ac-plugin-status-change' ) ) {
67
- return;
68
- }
69
-
70
- switch ( filter_input( INPUT_GET, 'status' ) ) {
71
- case 'activate' :
72
- $this->show_activation_notice( filter_input( INPUT_GET, 'plugin' ) );
73
-
74
- break;
75
- case 'deactivate' :
76
- $this->show_deactivation_notice( filter_input( INPUT_GET, 'plugin' ) );
77
-
78
- break;
79
- }
80
- }
81
-
82
- /**
83
- * @param string $slug Plugin dirname
84
- */
85
- private function show_activation_notice( $slug ) {
86
- $integration = AC\IntegrationFactory::create_by_dirname( $slug );
87
-
88
- if ( ! $integration ) {
89
- return;
90
- }
91
-
92
- $plugin = new PluginInformation( $integration->get_basename() );
93
-
94
- $plugin_name = '<strong>' . sprintf( __( '%s add-on', 'codepress-admin-columns' ), $integration->get_title() ) . '</strong>';
95
-
96
- if ( $plugin->is_active() ) {
97
- $this->register_notice(
98
- sprintf( __( '%s successfully activated.', 'codepress-admin-columns' ), $plugin_name ),
99
- Notice::SUCCESS
100
- );
101
-
102
- return;
103
- }
104
-
105
- $this->register_notice(
106
- sprintf( __( '%s could not be activated.', 'codepress-admin-columns' ), $plugin_name ) . ' ' . sprintf( __( 'Please visit the %s page.', 'codepress-admin-columns' ), $this->get_plugins_link() ),
107
- Notice::ERROR
108
- );
109
- }
110
-
111
  /**
112
- * @return string
113
  */
114
- private function get_plugins_link() {
115
- return ac_helper()->html->link( admin_url( 'plugins.php' ), strtolower( __( 'Plugins' ) ) );
116
- }
117
 
118
  /**
119
- * @param string $slug Plugin dirname
120
  */
121
- private function show_deactivation_notice( $slug ) {
122
- $integration = AC\IntegrationFactory::create_by_dirname( $slug );
123
 
124
- if ( ! $integration ) {
125
- return;
126
- }
127
 
128
- $this->register_notice(
129
- sprintf( __( '%s successfully deactivated.', 'codepress-admin-columns' ), '<strong>' . $integration->get_title() . '</strong>' )
130
- );
131
  }
132
 
133
- /**
134
- * Admin scripts
135
- */
136
- public function admin_scripts() {
137
- wp_enqueue_style( 'ac-admin-page-addons', AC()->get_url() . 'assets/css/admin-page-addons.css', array(), AC()->get_version() );
138
- wp_enqueue_script( 'ac-admin-page-addons', AC()->get_url() . "assets/js/admin-page-addons.js", array( 'jquery' ), AC()->get_version() );
139
-
140
- wp_localize_script( 'ac-admin-page-addons', 'AC', array(
141
- 'ajax_nonce' => wp_create_nonce( 'ac-ajax' ),
142
- )
143
- );
144
  }
145
 
146
- /**
147
- * @param string $message
148
- * @param string $type
149
- */
150
- private function register_notice( $message, $type = '' ) {
151
- $notice = new Notice( $message );
152
 
153
- if ( $type ) {
154
- $notice->set_type( $type );
155
- }
156
 
157
- $notice->register();
158
- }
159
 
160
- /**
161
- * Addons are grouped into addon groups by providing the group an addon belongs to.
162
- * @return array Available addon groups ([group_name] => [label])
163
- * @since 2.2
164
- */
165
- public function get_addon_groups() {
166
- $addon_groups = array(
167
- 'installed' => __( 'Installed', 'codepress-admin-columns' ),
168
- 'recommended' => __( 'Recommended', 'codepress-admin-columns' ),
169
- 'default' => __( 'Available', 'codepress-admin-columns' ),
170
- );
171
-
172
- /**
173
- * Filter the addon groups
174
- *
175
- * @param array $addon_groups Available addon groups ([group_name] => [label])
176
- *
177
- * @since 2.2
178
- */
179
- return apply_filters( 'ac/addons/groups', $addon_groups );
180
- }
181
 
182
- /**
183
- * @param string $name
184
- *
185
- * @return string|false
186
- */
187
- public function get_group( $name ) {
188
- $groups = $this->get_addon_groups();
189
 
190
- if ( ! $groups ) {
191
- return false;
192
- }
 
 
 
193
 
194
- return $groups[ $name ];
195
  }
196
 
197
  /**
198
- * @param string $basename
199
  *
200
- * @return PluginInformation
201
- */
202
- private function get_plugin_info( $basename ) {
203
- return new PluginInformation( $basename );
204
- }
205
-
206
- /**
207
- * Group a list of add-ons
208
- * @return array A list of addons per group: [group_name] => (array) [group_addons], where [group_addons] is an array ([addon_name] => (array) [addon_details])
209
- * @since 3.0
210
  */
211
- private function get_grouped_addons() {
212
- $active = array();
213
- $inactive = array();
214
-
215
- foreach ( new AC\Integrations() as $integration ) {
216
- if ( $this->get_plugin_info( $integration->get_basename() )->is_active() ) {
217
- $active[] = $integration;
218
- } else {
219
- $inactive[] = $integration;
220
- }
221
- }
222
-
223
- /* @var AC\Integration[] $sorted */
224
- $sorted = array_merge( $active, $inactive );
225
-
226
- $grouped = array();
227
- foreach ( $this->get_addon_groups() as $group => $label ) {
228
- foreach ( $sorted as $integration ) {
229
- $addon_group = 'default';
230
-
231
- if ( $this->get_plugin_info( $integration->get_basename() )->is_active() ) {
232
- $addon_group = 'recommended';
233
- }
234
 
235
- if ( $this->get_plugin_info( $integration->get_basename() )->is_installed() ) {
236
- $addon_group = 'installed';
237
- }
238
 
239
- if ( ! isset( $grouped[ $group ] ) ) {
240
- $grouped[ $group ]['title'] = $label;
241
- }
242
 
243
- if ( $addon_group === $group ) {
244
- $grouped[ $group ]['addons'][] = $integration;
245
- }
246
- }
247
 
248
- if ( empty( $grouped[ $group ]['addons'] ) ) {
249
- unset( $grouped[ $group ] );
250
- }
251
- }
 
 
 
252
 
253
- return $grouped;
254
- }
 
 
 
 
 
 
255
 
256
- /**
257
- * Activate plugin
258
- *
259
- * @param $basename
260
- *
261
- * @return string
262
- */
263
- private function get_activation_url( $basename ) {
264
- return $this->get_plugin_action_url( 'activate', $basename );
265
  }
266
 
267
  /**
268
  * Deactivate plugin
269
  *
270
- * @param $basename
271
  *
272
  * @return string
273
  */
@@ -284,78 +128,78 @@ class Addons extends Page
284
  * @return string
285
  */
286
  private function get_plugin_action_url( $action, $basename ) {
287
- return add_query_arg( array(
288
  'action' => $action,
289
  'plugin' => $basename,
290
  'ac-redirect' => true,
291
- ), wp_nonce_url( admin_url( 'plugins.php' ), $action . '-plugin_' . $basename ) );
292
  }
293
 
294
  /**
295
- * @param AC\Integration $addon
 
 
296
  *
297
  * @return string
298
  */
299
- private function render_actions( AC\Integration $addon ) {
300
- ob_start();
 
301
 
302
- // Installed..
303
- if ( $this->get_plugin_info( $addon->get_basename() )->is_installed() ) :
 
 
304
 
305
- // Active
306
- if ( $this->get_plugin_info( $addon->get_basename() )->is_active() ) : ?>
307
- <span class="active"><?php _e( 'Active', 'codepress-admin-columns' ); ?></span>
308
 
309
- <?php if ( current_user_can( 'activate_plugins' ) ) : ?>
310
- <a href="<?php echo esc_url( $this->get_deactivation_url( $addon->get_basename() ) ); ?>" class="button right"><?php _e( 'Deactivate', 'codepress-admin-columns' ); ?></a>
311
- <?php endif;
312
- // Not active
313
- elseif ( current_user_can( 'activate_plugins' ) ) : ?>
314
- <a href="<?php echo esc_url( $this->get_activation_url( $addon->get_basename() ) ); ?>" class="button button-primary right"><?php _e( 'Activate', 'codepress-admin-columns' ); ?></a>
315
- <?php endif;
316
 
317
- // Not installed...
318
- elseif ( ac_is_pro_active() && current_user_can( 'install_plugins' ) ) : ?>
 
 
 
319
 
320
- <a href="#" class="button" data-install>
321
- <?php esc_html_e( 'Download & Install', 'codepress-admin-columns' ); ?>
322
- </a>
323
- <?php else : ?>
324
- <a target="_blank" href="<?php echo esc_url( $addon->get_link() ); ?>" class="button"><?php esc_html_e( 'Get this add-on', 'codepress-admin-columns' ); ?></a>
325
- <?php endif;
326
 
327
- return ob_get_clean();
328
- }
329
 
330
- /**
331
- * @return void
332
- */
333
- public function render() {
334
- foreach ( $this->get_grouped_addons() as $group_slug => $group ) :
335
- ?>
336
 
337
- <div class="ac-addons group-<?php echo esc_attr( $group_slug ); ?>">
338
- <h2><?php echo esc_html( $group['title'] ); ?></h2>
 
 
 
 
 
339
 
340
- <ul>
341
- <?php
342
- foreach ( $group['addons'] as $addon ) {
343
- /* @var AC\Integration $addon */
 
 
 
344
 
345
- $view = new AC\View( array(
346
- 'logo' => AC()->get_url() . $addon->get_logo(),
347
- 'title' => $addon->get_title(),
348
- 'slug' => $addon->get_slug(),
349
- 'description' => $addon->get_description(),
350
- 'actions' => $this->render_actions( $addon ),
351
- ) );
352
 
353
- echo $view->set_template( 'admin/edit-addon' );
354
- }
355
- ?>
356
- </ul>
357
- </div>
358
- <?php endforeach;
359
  }
360
 
361
  }
3
  namespace AC\Admin\Page;
4
 
5
  use AC;
6
+ use AC\Admin;
7
  use AC\Admin\Page;
8
+ use AC\Asset\Assets;
9
+ use AC\Asset\Enqueueables;
10
+ use AC\Asset\Location;
11
+ use AC\Asset\Style;
12
  use AC\PluginInformation;
13
 
14
+ class Addons extends Page implements Enqueueables {
 
15
 
16
  const NAME = 'addons';
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  /**
19
+ * @var Location\Absolute
20
  */
21
+ private $location;
 
 
22
 
23
  /**
24
+ * @var AC\Integrations
25
  */
26
+ private $integrations;
 
27
 
28
+ public function __construct( Location\Absolute $location, AC\Integrations $integrations ) {
29
+ parent::__construct( self::NAME, __( 'Add-ons', 'codepress-admin-columns' ) );
 
30
 
31
+ $this->location = $location;
32
+ $this->integrations = $integrations;
 
33
  }
34
 
35
+ public function get_assets() {
36
+ return new Assets( [
37
+ new Style( 'ac-admin-page-addons', $this->location->with_suffix( 'assets/css/admin-page-addons.css' ) ),
38
+ new Admin\Asset\Addons( 'ac-admin-page-addons', $this->location->with_suffix( 'assets/js/admin-page-addons.js' ) ),
39
+ ] );
 
 
 
 
 
 
40
  }
41
 
42
+ public function render() {
43
+ ob_start();
 
 
 
 
44
 
45
+ foreach ( $this->get_grouped_addons() as $group ) :
46
+ ?>
 
47
 
48
+ <div class="ac-addons group-<?= esc_attr( $group['class'] ); ?>">
49
+ <h2><?php echo esc_html( $group['title'] ); ?></h2>
50
 
51
+ <ul>
52
+ <?php
53
+ foreach ( $group['integrations'] as $addon ) {
54
+ /* @var AC\Integration $addon */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
56
+ $view = new AC\View( [
57
+ 'logo' => AC()->get_url() . $addon->get_logo(),
58
+ 'title' => $addon->get_title(),
59
+ 'slug' => $addon->get_slug(),
60
+ 'description' => $addon->get_description(),
61
+ 'actions' => $this->render_actions( $addon ),
62
+ ] );
63
 
64
+ echo $view->set_template( 'admin/edit-addon' );
65
+ }
66
+ ?>
67
+ </ul>
68
+ </div>
69
+ <?php endforeach;
70
 
71
+ return ob_get_clean();
72
  }
73
 
74
  /**
75
+ * @param AC\Integration $addon
76
  *
77
+ * @return string
 
 
 
 
 
 
 
 
 
78
  */
79
+ private function render_actions( AC\Integration $addon ) {
80
+ ob_start();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
 
82
+ $plugin = new PluginInformation( $addon->get_basename() );
 
 
83
 
84
+ // Installed..
85
+ if ( $plugin->is_installed() ) :
 
86
 
87
+ // Active
88
+ if ( $plugin->is_active() ) : ?>
89
+ <span class="active"><?php _e( 'Active', 'codepress-admin-columns' ); ?></span>
 
90
 
91
+ <?php if ( current_user_can( 'activate_plugins' ) ) : ?>
92
+ <a href="<?php echo esc_url( $this->get_deactivation_url( $addon->get_basename() ) ); ?>" class="button right"><?php _e( 'Deactivate', 'codepress-admin-columns' ); ?></a>
93
+ <?php endif;
94
+ // Not active
95
+ elseif ( current_user_can( 'activate_plugins' ) ) : ?>
96
+ <a href="<?php echo esc_url( $this->get_activation_url( $addon->get_basename() ) ); ?>" class="button button-primary right"><?php _e( 'Activate', 'codepress-admin-columns' ); ?></a>
97
+ <?php endif;
98
 
99
+ // Not installed...
100
+ elseif ( ac_is_pro_active() && current_user_can( 'install_plugins' ) ) : ?>
101
+ <a href="#" class="button" data-install>
102
+ <?php esc_html_e( 'Download & Install', 'codepress-admin-columns' ); ?>
103
+ </a>
104
+ <?php else : ?>
105
+ <a target="_blank" href="<?php echo esc_url( $addon->get_link() ); ?>" class="button"><?php esc_html_e( 'Get this add-on', 'codepress-admin-columns' ); ?></a>
106
+ <?php endif;
107
 
108
+ return ob_get_clean();
 
 
 
 
 
 
 
 
109
  }
110
 
111
  /**
112
  * Deactivate plugin
113
  *
114
+ * @param string $basename
115
  *
116
  * @return string
117
  */
128
  * @return string
129
  */
130
  private function get_plugin_action_url( $action, $basename ) {
131
+ return add_query_arg( [
132
  'action' => $action,
133
  'plugin' => $basename,
134
  'ac-redirect' => true,
135
+ ], wp_nonce_url( admin_url( 'plugins.php' ), $action . '-plugin_' . $basename ) );
136
  }
137
 
138
  /**
139
+ * Activate plugin
140
+ *
141
+ * @param $basename
142
  *
143
  * @return string
144
  */
145
+ private function get_activation_url( $basename ) {
146
+ return $this->get_plugin_action_url( 'activate', $basename );
147
+ }
148
 
149
+ /**
150
+ * @return array
151
+ */
152
+ private function get_grouped_addons() {
153
 
154
+ $active = [];
155
+ $recommended = [];
156
+ $available = [];
157
 
158
+ foreach ( $this->integrations->all() as $integration ) {
159
+ $plugin = new PluginInformation( $integration->get_basename() );
 
 
 
 
 
160
 
161
+ // active
162
+ if ( $plugin->is_active() ) {
163
+ $active[] = $integration;
164
+ continue;
165
+ }
166
 
167
+ // recommended
168
+ if ( $integration->is_plugin_active() ) {
169
+ $recommended[] = $integration;
170
+ continue;
171
+ }
 
172
 
173
+ $available[] = $integration;
174
+ }
175
 
176
+ $groups = [];
 
 
 
 
 
177
 
178
+ if ( $recommended ) {
179
+ $groups[] = [
180
+ 'title' => __( 'Recommended', 'codepress-admin-columns' ),
181
+ 'class' => 'recommended',
182
+ 'integrations' => $recommended,
183
+ ];
184
+ }
185
 
186
+ if ( $active ) {
187
+ $groups[] = [
188
+ 'title' => __( 'Active', 'codepress-admin-columns' ),
189
+ 'class' => 'active',
190
+ 'integrations' => $active,
191
+ ];
192
+ }
193
 
194
+ if ( $available ) {
195
+ $groups[] = [
196
+ 'title' => __( 'Available', 'codepress-admin-columns' ),
197
+ 'class' => 'available',
198
+ 'integrations' => $available,
199
+ ];
200
+ }
201
 
202
+ return $groups;
 
 
 
 
 
203
  }
204
 
205
  }
classes/Admin/Page/Columns.php CHANGED
@@ -3,166 +3,140 @@
3
  namespace AC\Admin\Page;
4
 
5
  use AC\Admin;
6
- use AC\Ajax;
 
 
 
 
 
 
 
 
 
 
7
  use AC\Column;
8
- use AC\Controller;
 
9
  use AC\ListScreen;
10
- use AC\Registrable;
11
- use AC\UnitializedListScreens;
12
  use AC\View;
13
 
14
- class Columns extends Admin\Page
15
- implements Admin\Helpable, Registrable {
16
 
17
  const NAME = 'columns';
18
 
19
  /**
20
- * @var array
21
  */
22
- private $notices = [];
23
-
24
- /** @var Controller\ListScreenRequest */
25
  private $controller;
26
 
27
  /**
28
- * @var Admin\Section\ListScreenMenu
29
  */
30
- private $menu;
31
 
32
- /** @var UnitializedListScreens */
33
- private $uninitialized;
 
 
34
 
35
- public function __construct( Controller\ListScreenRequest $controller, Admin\Section\ListScreenMenu $menu, UnitializedListScreens $uninitialized ) {
 
 
 
 
 
 
 
 
 
 
36
  parent::__construct( self::NAME, __( 'Admin Columns', 'codepress-admin-columns' ) );
37
 
38
  $this->controller = $controller;
 
 
39
  $this->menu = $menu;
40
- $this->uninitialized = $uninitialized;
41
  }
42
 
43
- public function register() {
44
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
45
-
46
- $this->show_read_only_notice();
47
- }
48
-
49
- public function show_read_only_notice() {
50
- $list_screen = $this->controller->get_list_screen();
51
-
52
  if ( $list_screen->is_read_only() ) {
53
- $message = sprintf( __( 'The columns for %s are set up via PHP and can therefore not be edited.', 'codepress-admin-columns' ), '<strong>' . esc_html( $list_screen->get_label() ) . '</strong>' );
 
54
 
55
- $this->notice( sprintf( '<p>%s</p>', apply_filters( 'ac/read_only_message', $message, $list_screen ) ), 'updated notice-info' );
 
 
 
56
  }
57
  }
58
 
59
- /**
60
- * Admin scripts
61
- */
62
- public function admin_scripts() {
63
- $list_screen = $this->controller->get_list_screen();
 
 
 
 
 
 
 
 
 
 
 
64
 
65
- wp_enqueue_style( 'jquery-ui-lightness', AC()->get_url() . 'assets/ui-theme/jquery-ui-1.8.18.custom.css', array(), AC()->get_version() );
66
- wp_enqueue_script( 'jquery-ui-slider' );
67
-
68
- wp_enqueue_script( 'ac-admin-page-columns', AC()->get_url() . "assets/js/admin-page-columns.js", array(
69
- 'jquery',
70
- 'dashboard',
71
- 'jquery-ui-slider',
72
- 'jquery-ui-sortable',
73
- 'wp-pointer',
74
- ), AC()->get_version() );
75
-
76
- wp_enqueue_style( 'ac-admin-page-columns-css', AC()->get_url() . 'assets/css/admin-page-columns.css', array(), AC()->get_version() );
77
-
78
- $params = [
79
- '_ajax_nonce' => wp_create_nonce( Ajax\Handler::NONCE_ACTION ),
80
- 'list_screen' => $list_screen->get_key(),
81
- 'layout' => $list_screen->get_layout_id(),
82
- 'original_columns' => [],
83
- 'uninitialized_list_screens' => [],
84
- 'i18n' => [
85
- 'clone' => __( '%s column is already present and can not be duplicated.', 'codepress-admin-columns' ),
86
- 'error' => __( 'Invalid response.', 'codepress-admin-columns' ),
87
- 'errors' => [
88
- 'save_settings' => __( 'There was an error during saving the column settings.', 'codepress-admin-columns' ),
89
- 'loading_column' => __( 'The column could not be loaded because of an unknown error', 'codepress-admin-columns' ),
90
- ],
91
- ],
92
  ];
93
-
94
- foreach ( $this->uninitialized->get_list_screens() as $list_screen ) {
95
-
96
- $key = $list_screen->get_key();
97
-
98
- $params['uninitialized_list_screens'][ $key ] = [
99
- 'screen_link' => add_query_arg( [ 'save-default-headings' => '1', 'list_screen' => $key ], $list_screen->get_screen_link() ),
100
- 'label' => $list_screen->get_label(),
101
- ];
102
- }
103
-
104
- wp_enqueue_style( 'ac-select2' );
105
- wp_enqueue_script( 'ac-select2' );
106
-
107
- wp_localize_script( 'ac-admin-page-columns', 'AC', $params );
108
-
109
- do_action( 'ac/settings/scripts' );
110
  }
111
 
112
- /**
113
- * @param string $message Message body
114
- * @param string $type Updated or error
115
- */
116
- public function notice( $message, $type = 'updated' ) {
117
- $this->notices[] = '<div class="ac-message inline ' . esc_attr( $type ) . '">' . $message . '</div>';
118
  }
119
 
120
- /**
121
- * @param string $label
122
- * @param string $main_label
123
- *
124
- * @return string
125
- */
126
- private function get_truncated_side_label( $label, $main_label = '' ) {
127
- if ( 34 < ( strlen( $label ) + ( strlen( $main_label ) * 1.1 ) ) ) {
128
- $label = substr( $label, 0, 34 - ( strlen( $main_label ) * 1.1 ) ) . '...';
129
- }
130
-
131
- return $label;
132
  }
133
 
134
- private function render_loading_screen() {
135
- $modal = new View( array(
136
- 'message' => 'Loading columns',
137
- ) );
138
-
139
- echo $modal->set_template( 'admin/loading-message' );
140
  }
141
 
142
  public function render() {
143
  $list_screen = $this->controller->get_list_screen();
144
 
145
- if ( $this->uninitialized->has_list_screen( $list_screen->get_key() ) ) {
146
- $this->render_loading_screen();
 
 
 
147
 
148
- return;
149
  }
150
 
 
151
  ?>
152
 
153
- <div class="ac-admin<?php echo $list_screen->get_settings() ? ' stored' : ''; ?>" data-type="<?php echo esc_attr( $list_screen->get_key() ); ?>">
154
- <div class="main">
155
 
156
- <?php
157
- $this->menu->render();
158
 
159
- do_action( 'ac/settings/after_title', $list_screen );
160
- ?>
161
 
162
  </div>
 
163
 
164
- <div class="ac-right">
165
- <div class="ac-right-inner">
166
  <?php if ( ! $list_screen->is_read_only() ) : ?>
167
 
168
  <?php
@@ -175,17 +149,17 @@ class Columns extends Admin\Page
175
 
176
  $delete_confirmation_message = false;
177
 
178
- if ( AC()->use_delete_confirmation() ) {
179
  $delete_confirmation_message = sprintf( __( "Warning! The %s columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop", 'codepress-admin-columns' ), "'" . $list_screen->get_title() . "'" );
180
  }
181
 
182
- $actions = new View( array(
183
  'label_main' => $label_main,
184
  'label_second' => $label_second,
185
  'list_screen_key' => $list_screen->get_key(),
186
  'list_screen_id' => $list_screen->get_layout_id(),
187
  'delete_confirmation_message' => $delete_confirmation_message,
188
- ) );
189
 
190
  echo $actions->set_template( 'admin/edit-actions' );
191
 
@@ -195,61 +169,65 @@ class Columns extends Admin\Page
195
 
196
  <?php if ( apply_filters( 'ac/show_banner', true ) ) : ?>
197
 
198
- <?php
199
 
200
- echo new Admin\Parts\Banner();
201
 
202
- $feedback = new View();
203
 
204
- echo $feedback->set_template( 'admin/side-feedback' );
205
 
206
- endif; ?>
207
 
208
- <?php
209
 
210
- $support = new View();
211
 
212
- echo $support->set_template( 'admin/side-support' );
 
213
 
214
- ?>
215
 
216
- </div><!--.ac-right-inner-->
217
- </div><!--.ac-right-->
 
218
 
219
- <div class="ac-left">
220
- <form method="post" id="listscreen_settings" class="<?= $list_screen->is_read_only() ? '-disabled' : ''; ?>">
221
- <?php
222
 
223
- echo implode( $this->notices );
 
 
224
 
225
- $columns = new View( array(
226
- 'class' => $list_screen->is_read_only() ? ' disabled' : '',
227
- 'list_screen' => $list_screen->get_key(),
228
- 'list_screen_id' => $list_screen->get_layout_id(),
229
- 'title' => $list_screen->get_title(),
230
- 'columns' => $list_screen->get_columns(),
231
- 'show_actions' => ! $list_screen->is_read_only(),
232
- 'show_clear_all' => apply_filters( 'ac/enable_clear_columns_button', false ),
233
- ) );
234
 
235
- do_action( 'ac/settings/before_columns', $list_screen );
236
 
237
- echo $columns->set_template( 'admin/edit-columns' );
238
 
239
- do_action( 'ac/settings/after_columns', $list_screen );
240
 
241
- ?>
242
- </form>
243
 
244
- </div><!--.ac-left-->
245
- <div class="clear"></div>
246
 
247
- <div id="add-new-column-template">
248
- <?php $this->display_column_template( $list_screen ); ?>
249
  </div>
250
 
 
 
 
251
 
252
- </div><!--.ac-admin-->
253
 
254
  <div class="clear"></div>
255
 
@@ -258,6 +236,8 @@ class Columns extends Admin\Page
258
  $modal = new View();
259
 
260
  echo $modal->set_template( 'admin/modal-pro' );
 
 
261
  }
262
 
263
  /**
@@ -271,7 +251,7 @@ class Columns extends Admin\Page
271
  return array_shift( $column_types );
272
  }
273
 
274
- $columns = array();
275
 
276
  foreach ( $column_types as $column_type ) {
277
  if ( $group === $column_type->get_group() ) {
@@ -293,30 +273,35 @@ class Columns extends Admin\Page
293
 
294
  /**
295
  * @param ListScreen $list_screen
 
 
296
  */
297
- private function display_column_template( ListScreen $list_screen ) {
298
  $column = $this->get_column_template_by_group( $list_screen->get_column_types(), 'custom' );
299
 
300
  if ( ! $column ) {
301
  $column = $this->get_column_template_by_group( $list_screen->get_column_types() );
302
  }
303
 
304
- $view = new View( array(
305
  'column' => $column,
306
- ) );
307
 
308
- echo $view->set_template( 'admin/edit-column' );
309
  }
310
 
311
  /**
312
- * @return Admin\HelpTab[]
 
 
 
313
  */
314
- public function get_help_tabs() {
315
- return array(
316
- new Admin\HelpTab\Introduction(),
317
- new Admin\HelpTab\Basics(),
318
- new Admin\HelpTab\CustomField(),
319
- );
320
  }
321
 
322
  }
3
  namespace AC\Admin\Page;
4
 
5
  use AC\Admin;
6
+ use AC\Admin\Banner;
7
+ use AC\Admin\Helpable;
8
+ use AC\Admin\HelpTab;
9
+ use AC\Admin\Page;
10
+ use AC\Admin\ScreenOption;
11
+ use AC\Admin\Section\Partial\Menu;
12
+ use AC\Asset\Assets;
13
+ use AC\Asset\Enqueueables;
14
+ use AC\Asset\Location;
15
+ use AC\Asset\Script;
16
+ use AC\Asset\Style;
17
  use AC\Column;
18
+ use AC\Controller\ListScreenRequest;
19
+ use AC\DefaultColumnsRepository;
20
  use AC\ListScreen;
21
+ use AC\Message;
 
22
  use AC\View;
23
 
24
+ class Columns extends Page implements Enqueueables, Helpable, Admin\ScreenOptions {
 
25
 
26
  const NAME = 'columns';
27
 
28
  /**
29
+ * @var ListScreenRequest
30
  */
 
 
 
31
  private $controller;
32
 
33
  /**
34
+ * @var Location\Absolute
35
  */
36
+ private $location;
37
 
38
+ /**
39
+ * @var DefaultColumnsRepository
40
+ */
41
+ private $default_columns;
42
 
43
+ /**
44
+ * @var Menu
45
+ */
46
+ private $menu;
47
+
48
+ public function __construct(
49
+ ListScreenRequest $controller,
50
+ Location\Absolute $location,
51
+ DefaultColumnsRepository $default_columns,
52
+ Menu $menu
53
+ ) {
54
  parent::__construct( self::NAME, __( 'Admin Columns', 'codepress-admin-columns' ) );
55
 
56
  $this->controller = $controller;
57
+ $this->location = $location;
58
+ $this->default_columns = $default_columns;
59
  $this->menu = $menu;
 
60
  }
61
 
62
+ public function show_read_only_notice( ListScreen $list_screen ) {
 
 
 
 
 
 
 
 
63
  if ( $list_screen->is_read_only() ) {
64
+ $message = sprintf( __( 'The columns for %s are read only and can therefore not be edited.', 'codepress-admin-columns' ), '<strong>' . esc_html( $list_screen->get_title() ? $list_screen->get_title() : $list_screen->get_label() ) . '</strong>' );
65
+ $message = sprintf( '<p>%s</p>', apply_filters( 'ac/read_only_message', $message, $list_screen ) );
66
 
67
+ $notice = new Message\InlineMessage( $message );
68
+
69
+ echo $notice->set_type( Message::INFO )
70
+ ->render();
71
  }
72
  }
73
 
74
+ public function get_assets() {
75
+
76
+ return new Assets( [
77
+ new Style( 'jquery-ui-lightness', $this->location->with_suffix( 'assets/ui-theme/jquery-ui-1.8.18.custom.css' ) ),
78
+ new Script( 'jquery-ui-slider' ),
79
+ new Admin\Asset\Columns(
80
+ 'ac-admin-page-columns',
81
+ $this->location->with_suffix( 'assets/js/admin-page-columns.js' ),
82
+ $this->default_columns,
83
+ $this->controller->get_list_screen()
84
+ ),
85
+ new Style( 'ac-admin-page-columns-css', $this->location->with_suffix( 'assets/css/admin-page-columns.css' ) ),
86
+ new Style( 'ac-select2' ),
87
+ new Script( 'ac-select2' ),
88
+ ] );
89
+ }
90
 
91
+ public function get_help_tabs() {
92
+ return [
93
+ new HelpTab\Introduction(),
94
+ new HelpTab\Basics(),
95
+ new HelpTab\CustomField(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  ];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  }
98
 
99
+ private function get_column_id() {
100
+ return new ScreenOption\ColumnId( new Admin\Preference\ScreenOptions() );
 
 
 
 
101
  }
102
 
103
+ private function get_column_type() {
104
+ return new ScreenOption\ColumnType( new Admin\Preference\ScreenOptions() );
 
 
 
 
 
 
 
 
 
 
105
  }
106
 
107
+ public function get_screen_options() {
108
+ return [
109
+ $this->get_column_id(),
110
+ $this->get_column_type(),
111
+ ];
 
112
  }
113
 
114
  public function render() {
115
  $list_screen = $this->controller->get_list_screen();
116
 
117
+ if ( ! $this->default_columns->exists( $list_screen->get_key() ) ) {
118
+ $modal = new View( [
119
+ 'message' => 'Loading columns',
120
+ ] );
121
+ $modal->set_template( 'admin/loading-message' );
122
 
123
+ return $this->menu->render( true ) . $modal->render();
124
  }
125
 
126
+ ob_start();
127
  ?>
128
 
129
+ <div class="ac-admin<?= $list_screen->get_settings() ? ' stored' : ''; ?>" data-type="<?= esc_attr( $list_screen->get_key() ); ?>">
130
+ <div class="ac-admin__header">
131
 
132
+ <?= $this->menu->render(); ?>
 
133
 
134
+ <?php do_action( 'ac/settings/after_title', $list_screen ); ?>
 
135
 
136
  </div>
137
+ <div class="ac-admin__wrap">
138
 
139
+ <div class="ac-admin__sidebar">
 
140
  <?php if ( ! $list_screen->is_read_only() ) : ?>
141
 
142
  <?php
149
 
150
  $delete_confirmation_message = false;
151
 
152
+ if ( (bool) apply_filters( 'ac/delete_confirmation', true ) ) {
153
  $delete_confirmation_message = sprintf( __( "Warning! The %s columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop", 'codepress-admin-columns' ), "'" . $list_screen->get_title() . "'" );
154
  }
155
 
156
+ $actions = new View( [
157
  'label_main' => $label_main,
158
  'label_second' => $label_second,
159
  'list_screen_key' => $list_screen->get_key(),
160
  'list_screen_id' => $list_screen->get_layout_id(),
161
  'delete_confirmation_message' => $delete_confirmation_message,
162
+ ] );
163
 
164
  echo $actions->set_template( 'admin/edit-actions' );
165
 
169
 
170
  <?php if ( apply_filters( 'ac/show_banner', true ) ) : ?>
171
 
172
+ <?= new Banner(); ?>
173
 
174
+ <?= ( new View() )->set_template( 'admin/side-feedback' ); ?>
175
 
176
+ <?php endif; ?>
177
 
178
+ <?= ( new View() )->set_template( 'admin/side-support' ); ?>
179
 
180
+ </div>
181
 
182
+ <div class="ac-admin__main">
183
 
184
+ <?= $this->show_read_only_notice( $list_screen ); ?>
185
 
186
+ <form method="post" id="listscreen_settings" class="<?= $list_screen->is_read_only() ? '-disabled' : ''; ?>">
187
+ <?php
188
 
189
+ $classes = [];
190
 
191
+ if ( $list_screen->is_read_only() ) {
192
+ $classes[] = 'disabled';
193
+ }
194
 
195
+ if ( $this->get_column_id()->is_active() ) {
196
+ $classes[] = 'show-column-id';
197
+ }
198
 
199
+ if ( $this->get_column_type()->is_active() ) {
200
+ $classes[] = 'show-column-type';
201
+ }
202
 
203
+ $columns = new View( [
204
+ 'class' => implode( ' ', $classes ),
205
+ 'list_screen' => $list_screen->get_key(),
206
+ 'list_screen_id' => $list_screen->get_layout_id(),
207
+ 'title' => $list_screen->get_title(),
208
+ 'columns' => $list_screen->get_columns(),
209
+ 'show_actions' => ! $list_screen->is_read_only(),
210
+ 'show_clear_all' => apply_filters( 'ac/enable_clear_columns_button', false ),
211
+ ] );
212
 
213
+ do_action( 'ac/settings/before_columns', $list_screen );
214
 
215
+ echo $columns->set_template( 'admin/edit-columns' );
216
 
217
+ do_action( 'ac/settings/after_columns', $list_screen );
218
 
219
+ ?>
220
+ </form>
221
 
222
+ </div>
 
223
 
 
 
224
  </div>
225
 
226
+ <div id="add-new-column-template">
227
+ <?= $this->render_column_template( $list_screen ); ?>
228
+ </div>
229
 
230
+ </div>
231
 
232
  <div class="clear"></div>
233
 
236
  $modal = new View();
237
 
238
  echo $modal->set_template( 'admin/modal-pro' );
239
+
240
+ return ob_get_clean();
241
  }
242
 
243
  /**
251
  return array_shift( $column_types );
252
  }
253
 
254
+ $columns = [];
255
 
256
  foreach ( $column_types as $column_type ) {
257
  if ( $group === $column_type->get_group() ) {
273
 
274
  /**
275
  * @param ListScreen $list_screen
276
+ *
277
+ * @return string
278
  */
279
+ private function render_column_template( ListScreen $list_screen ) {
280
  $column = $this->get_column_template_by_group( $list_screen->get_column_types(), 'custom' );
281
 
282
  if ( ! $column ) {
283
  $column = $this->get_column_template_by_group( $list_screen->get_column_types() );
284
  }
285
 
286
+ $view = new View( [
287
  'column' => $column,
288
+ ] );
289
 
290
+ return $view->set_template( 'admin/edit-column' )->render();
291
  }
292
 
293
  /**
294
+ * @param string $label
295
+ * @param string $main_label
296
+ *
297
+ * @return string
298
  */
299
+ private function get_truncated_side_label( $label, $main_label = '' ) {
300
+ if ( 34 < ( strlen( $label ) + ( strlen( $main_label ) * 1.1 ) ) ) {
301
+ $label = substr( $label, 0, 34 - ( strlen( $main_label ) * 1.1 ) ) . '...';
302
+ }
303
+
304
+ return $label;
305
  }
306
 
307
  }
classes/Admin/Page/Help.php CHANGED
@@ -4,69 +4,43 @@ namespace AC\Admin\Page;
4
 
5
  use AC;
6
  use AC\Admin\Page;
7
- use AC\Deprecated\Counter;
 
 
8
  use AC\Deprecated\Hooks;
9
 
10
- class Help extends Page
11
- implements AC\Registrable {
12
 
13
  const NAME = 'help';
14
 
15
- /**
16
- * @var Counter
17
- */
18
- private $counter;
19
-
20
  /** @var Hooks */
21
  private $hooks;
22
 
23
- public function __construct() {
24
- $this->counter = new Counter();
25
- $this->hooks = new Hooks();
26
-
27
- $label = __( 'Help', 'codepress-admin-columns' );
28
-
29
- if ( $this->show_in_menu() ) {
30
- $label .= '<span class="ac-badge">' . $this->counter->get() . '</span>';
31
- }
32
-
33
- parent::__construct( self::NAME, $label );
34
- }
35
-
36
  /**
37
- * Register Hooks
38
  */
39
- public function register() {
40
- $this->update_count();
41
-
42
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
43
- }
44
 
45
- public function update_count() {
46
- $this->counter->update( $this->hooks->get_deprecated_count() );
47
- }
48
 
49
- /**
50
- * @return bool
51
- */
52
- public function show_in_menu() {
53
- return absint( $this->counter->get() ) > 0;
54
  }
55
 
56
- /**
57
- * Admin scripts
58
- */
59
- public function admin_scripts() {
60
- wp_enqueue_style( 'ac-admin-page-help-css', AC()->get_url() . 'assets/css/admin-page-help.css', array(), AC()->get_version() );
61
  }
62
 
63
  /**
64
- * @param string $page Website page slug
65
  *
66
- * @return false|string
67
  */
68
  private function get_documention_link( $page ) {
69
- return ac_helper()->html->link( ac_get_site_utm_url( 'documentation/' . $page, 'documentation' ), __( 'View documentation', 'codepress-admin-columns' ) . ' &raquo;', array( 'target' => '_blank' ) );
70
  }
71
 
72
  /**
@@ -149,6 +123,10 @@ class Help extends Page
149
  }
150
 
151
  public function render() {
 
 
 
 
152
  ?>
153
  <h2><?php _e( 'Help', 'codepress-admin-columns' ); ?></h2>
154
  <p>
@@ -159,8 +137,14 @@ class Help extends Page
159
 
160
  <?php
161
 
162
- $this->render_actions();
163
- $this->render_filters();
 
 
 
 
 
 
164
  }
165
 
166
  }
4
 
5
  use AC;
6
  use AC\Admin\Page;
7
+ use AC\Asset\Assets;
8
+ use AC\Asset\Location;
9
+ use AC\Asset\Style;
10
  use AC\Deprecated\Hooks;
11
 
12
+ class Help extends Page implements AC\Asset\Enqueueables {
 
13
 
14
  const NAME = 'help';
15
 
 
 
 
 
 
16
  /** @var Hooks */
17
  private $hooks;
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  /**
20
+ * @var Location\Absolute
21
  */
22
+ private $location;
 
 
 
 
23
 
24
+ public function __construct( Hooks $hooks, Location\Absolute $location ) {
25
+ $this->hooks = $hooks;
26
+ $this->location = $location;
27
 
28
+ parent::__construct( self::NAME, sprintf( '%s %s', __( 'Help', 'codepress-admin-columns' ), '<span class="ac-badge">' . $hooks->get_count() . '</span>' ) );
 
 
 
 
29
  }
30
 
31
+ public function get_assets() {
32
+ return new Assets( [
33
+ new Style( 'ac-admin-page-help-css', $this->location->with_suffix( 'assets/css/admin-page-help.css' ) ),
34
+ ] );
 
35
  }
36
 
37
  /**
38
+ * @param string $page
39
  *
40
+ * @return string
41
  */
42
  private function get_documention_link( $page ) {
43
+ return ac_helper()->html->link( ac_get_site_utm_url( 'documentation/' . $page, 'documentation' ), __( 'View documentation', 'codepress-admin-columns' ) . ' &raquo;', [ 'target' => '_blank' ] );
44
  }
45
 
46
  /**
123
  }
124
 
125
  public function render() {
126
+ // Force cache refresh
127
+ $this->hooks->get_count( true );
128
+
129
+ ob_start();
130
  ?>
131
  <h2><?php _e( 'Help', 'codepress-admin-columns' ); ?></h2>
132
  <p>
137
 
138
  <?php
139
 
140
+ if ( $this->hooks->get_count() > 0 ) {
141
+ $this->render_actions();
142
+ $this->render_filters();
143
+ } else {
144
+ _e( 'No deprecated hooks or filters found.', 'codepress-admin-columns' );
145
+ }
146
+
147
+ return ob_get_clean();
148
  }
149
 
150
  }
classes/Admin/Page/Settings.php CHANGED
@@ -2,72 +2,66 @@
2
 
3
  namespace AC\Admin\Page;
4
 
5
- use AC;
6
  use AC\Admin\Page;
7
  use AC\Admin\Section;
 
 
 
 
8
 
9
- class Settings extends Page
10
- implements AC\Registrable {
11
 
12
  const NAME = 'settings';
13
 
14
  /**
15
- * @var Section[]
16
  */
17
- private $sections = array();
18
 
19
- public function __construct() {
20
  parent::__construct( self::NAME, __( 'Settings', 'codepress-admin-columns' ) );
 
 
21
  }
22
 
23
  /**
24
- * @param Section $section
25
  *
26
- * @return $this
27
  */
28
- public function register_section( Section $section ) {
29
- $this->sections[] = $section;
30
-
31
- return $this;
32
  }
33
 
34
  /**
35
- * @return Section[]
 
 
36
  */
37
- public function get_sections() {
38
- return $this->sections;
 
 
39
  }
40
 
41
- /**
42
- * Register Hooks
43
- */
44
- public function register() {
45
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
46
 
47
  foreach ( $this->sections as $section ) {
48
- if ( $section instanceof AC\Registrable ) {
49
- $section->register();
50
  }
51
  }
52
- }
53
 
54
- public function admin_scripts() {
55
- wp_enqueue_style( 'ac-admin-page-settings', AC()->get_url() . 'assets/css/admin-page-settings.css', array(), AC()->get_version() );
56
  }
57
 
58
- public function render() { ?>
59
- <table class="form-table ac-form-table settings">
60
- <tbody>
61
-
62
- <?php foreach ( $this->sections as $section ) {
63
- $section->render();
64
- }
65
- ?>
66
-
67
- </tbody>
68
- </table>
69
 
70
- <?php
71
  }
72
 
73
  }
2
 
3
  namespace AC\Admin\Page;
4
 
 
5
  use AC\Admin\Page;
6
  use AC\Admin\Section;
7
+ use AC\Admin\SectionCollection;
8
+ use AC\Asset\Assets;
9
+ use AC\Asset\Enqueueables;
10
+ use AC\View;
11
 
12
+ class Settings extends Page implements Enqueueables {
 
13
 
14
  const NAME = 'settings';
15
 
16
  /**
17
+ * @var SectionCollection
18
  */
19
+ protected $sections;
20
 
21
+ public function __construct( SectionCollection $sections ) {
22
  parent::__construct( self::NAME, __( 'Settings', 'codepress-admin-columns' ) );
23
+
24
+ $this->sections = $sections;
25
  }
26
 
27
  /**
28
+ * @param string $slug
29
  *
30
+ * @return Section|null
31
  */
32
+ public function get_section( $slug ) {
33
+ return $this->sections->get( $slug );
 
 
34
  }
35
 
36
  /**
37
+ * @param Section $section
38
+ *
39
+ * @return $this
40
  */
41
+ public function add_section( Section $section ) {
42
+ $this->sections->add( $section );
43
+
44
+ return $this;
45
  }
46
 
47
+ public function get_assets() {
48
+ $assets = new Assets();
 
 
 
49
 
50
  foreach ( $this->sections as $section ) {
51
+ if ( $section instanceof Enqueueables ) {
52
+ $assets->add_collection( $section->get_assets() );
53
  }
54
  }
 
55
 
56
+ return $assets;
 
57
  }
58
 
59
+ public function render() {
60
+ $view = new View( [
61
+ 'sections' => $this->sections,
62
+ ] );
 
 
 
 
 
 
 
63
 
64
+ return $view->set_template( 'admin/page/settings' )->render();
65
  }
66
 
67
  }
classes/Admin/PageCollection.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace AC\Admin;
4
+
5
+ use AC\Collection;
6
+
7
+ class PageCollection extends Collection {
8
+
9
+ /**
10
+ * @