Admin Columns - Version 4.0.1

Version Description

Release Date: February 18th, 2020

  • [Fixed] Fatal error in Date helper that occurs in PHP 5.6
  • [Improved] Re-added the hook ac/column/custom_field/use_text_input to use a text field for the custom field column setting
Download this release

Release Info

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

Code changes from version 3.4.8 to 4.0.1

Files changed (137) hide show
  1. api.php +69 -10
  2. assets/css/admin-general.css +1 -1
  3. assets/css/admin-page-columns.css +1 -1
  4. assets/css/message.css +1 -1
  5. assets/css/select2.css +1 -1
  6. assets/css/table.css +1 -1
  7. assets/images/logo-ac.svg +38 -0
  8. assets/images/question.svg +31 -0
  9. assets/js/admin-general.js +8 -1
  10. assets/js/admin-general.js.map +1 -1
  11. assets/js/admin-page-addons.js +1 -1
  12. assets/js/admin-page-columns.js +1 -1
  13. assets/js/admin-page-columns.js.map +1 -1
  14. assets/js/initialize-columns.js +102 -0
  15. assets/js/initialize-columns.js.map +1 -0
  16. assets/js/message-review.js +1 -1
  17. assets/js/notice-dismissible.js +1 -1
  18. assets/js/select2.js +2057 -1
  19. assets/js/table.js +1 -1
  20. assets/js/table.js.map +1 -1
  21. classes/API.php +0 -176
  22. classes/Admin.php +10 -4
  23. classes/Admin/AdminFactory.php +0 -22
  24. classes/Admin/Page/Columns.php +90 -281
  25. classes/Admin/Page/Help.php +3 -1
  26. classes/Admin/Parts/Banner.php +2 -2
  27. classes/Admin/Promo/BlackFriday.php +0 -1
  28. classes/Admin/Request/Column.php +7 -9
  29. classes/Admin/Request/Column/Refresh.php +5 -3
  30. classes/Admin/Request/Column/Save.php +51 -36
  31. classes/Admin/Request/Column/Select.php +3 -2
  32. classes/Admin/Section/General.php +2 -2
  33. classes/Admin/Section/ListScreenMenu.php +82 -0
  34. classes/Admin/Section/Restore.php +12 -14
  35. classes/Admin/Table.php +41 -0
  36. classes/Admin/Tooltip.php +20 -3
  37. classes/AdminColumns.php +161 -97
  38. classes/Ajax/Handler.php +0 -3
  39. classes/Ajax/NumberFormat.php +32 -0
  40. classes/Autoloader.php +2 -1
  41. classes/Check/AddonAvailable.php +2 -1
  42. classes/Check/Review.php +2 -1
  43. classes/Collection.php +4 -0
  44. classes/Column/Post/EstimatedReadingTime.php +1 -1
  45. classes/Column/Post/PageTemplate.php +4 -0
  46. classes/Column/Post/PasswordProtected.php +30 -0
  47. classes/Column/Post/PostParent.php +5 -5
  48. classes/Column/Taxonomy.php +13 -1
  49. classes/Column/User/Url.php +7 -1
  50. classes/Controller/AjaxRequestCustomFieldKeys.php +60 -0
  51. classes/Controller/AjaxRequestNewColumn.php +55 -0
  52. classes/Controller/ListScreenRequest.php +153 -0
  53. classes/Controller/ListScreenRestoreColumns.php +58 -0
  54. classes/DefaultColumns.php +7 -1
  55. classes/DefaultColumnsController.php +53 -0
  56. classes/Dependencies.php +9 -1
  57. classes/Deprecated/Hooks.php +3 -1
  58. classes/Groups.php +2 -2
  59. classes/Helper/Date.php +31 -28
  60. classes/Helper/Html.php +4 -3
  61. classes/Helper/Image.php +25 -7
  62. classes/Helper/Network.php +3 -1
  63. classes/Helper/Post.php +4 -2
  64. classes/Helper/Taxonomy.php +21 -17
  65. classes/Helper/User.php +3 -1
  66. classes/ListScreen.php +184 -175
  67. classes/ListScreen/Comment.php +4 -2
  68. classes/ListScreen/Media.php +8 -3
  69. classes/ListScreen/Post.php +4 -3
  70. classes/ListScreen/User.php +7 -8
  71. classes/ListScreenApiData.php +17 -0
  72. classes/ListScreenCollection.php +37 -0
  73. classes/ListScreenFactory.php +8 -26
  74. classes/ListScreenPost.php +3 -1
  75. classes/ListScreenRepository/Aggregate.php +144 -0
  76. classes/ListScreenRepository/DataBase.php +239 -0
  77. classes/ListScreenRepository/FilterStrategy.php +15 -0
  78. classes/ListScreenRepository/FilterStrategy/ByKey.php +29 -0
  79. classes/ListScreenRepository/FilterStrategy/ByPermission.php +30 -0
  80. classes/ListScreenRepository/ListScreenRepository.php +31 -0
  81. classes/ListScreenRepository/SortStrategy.php +15 -0
  82. classes/ListScreenRepository/SortStrategy/ListScreenLabel.php +36 -0
  83. classes/ListScreenRepository/SortStrategy/ManualOrder.php +50 -0
  84. classes/ListScreenRepository/SourceAware.php +14 -0
  85. classes/ListScreenRepository/Write.php +22 -0
  86. classes/ListScreenTypes.php +102 -0
  87. classes/ListScreenWP.php +13 -32
  88. classes/Message/Plugin.php +6 -2
  89. classes/Meta/Query.php +8 -12
  90. classes/OpCacheInvalidateTrait.php +19 -0
  91. classes/PermissionChecker.php +45 -0
  92. classes/Plugin.php +19 -16
  93. classes/Plugin/Installer.php +43 -0
  94. classes/Plugin/Update/V3201.php +2 -1
  95. classes/Plugin/Update/V4000.php +732 -0
  96. classes/Plugin/Updater.php +19 -93
  97. classes/Plugin/Updater/Site.php +36 -0
  98. classes/PluginInformation.php +9 -9
  99. classes/Preferences.php +3 -3
  100. classes/Preferences/Network.php +11 -0
  101. classes/Relation/Post.php +2 -1
  102. classes/Request.php +0 -7
  103. classes/Screen.php +26 -7
  104. classes/Screen/QuickEdit.php +27 -19
  105. classes/ScreenController.php +5 -14
  106. classes/Settings/Column/ActionIcons.php +1 -3
  107. classes/Settings/Column/AttachmentDisplay.php +1 -3
  108. classes/Settings/Column/BeforeAfter.php +1 -3
  109. classes/Settings/Column/CustomField.php +32 -6
  110. classes/Settings/Column/CustomFieldType.php +3 -0
  111. classes/Settings/Column/DateTimeFormat.php +15 -5
  112. classes/Settings/Column/ExifData.php +2 -2
  113. classes/Settings/Column/Label.php +1 -7
  114. classes/Settings/Column/Meta.php +1 -4
  115. classes/Settings/Column/NumberFormat.php +190 -0
  116. classes/Settings/Column/Term.php +12 -14
  117. classes/Settings/Column/TermLink.php +81 -0
  118. classes/Settings/Column/Time.php +1 -2
  119. classes/Settings/Column/Type.php +2 -1
  120. classes/Storage/ListScreenOrder.php +38 -0
  121. classes/Storage/Timestamp.php +2 -3
  122. classes/Table/Screen.php +31 -26
  123. classes/ThirdParty/WPML.php +2 -1
  124. classes/Transient.php +6 -7
  125. classes/Transient/User.php +2 -1
  126. classes/UnitializedListScreens.php +54 -0
  127. codepress-admin-columns.php +3 -3
  128. readme.txt +15 -2
  129. templates/admin/edit-columns.php +13 -24
  130. templates/admin/edit-menu.php +4 -12
  131. templates/admin/edit-submenu.php +13 -0
  132. templates/admin/loading-message.php +13 -0
  133. templates/admin/modal-pro.php +4 -5
  134. templates/admin/side-banner.php +3 -2
  135. templates/admin/table.php +42 -0
  136. templates/admin/tooltip-label.php +1 -1
  137. templates/settings/section.php +2 -2
api.php CHANGED
@@ -1,8 +1,12 @@
1
<?php
2
3
/**
4
- * @since 3.0
5
* @return AC\AdminColumns
6
*/
7
function AC() {
8
return AC\AdminColumns::instance();
@@ -84,20 +88,33 @@ function ac_helper() {
84
return new AC\Helper();
85
}
86
87
/**
88
* Manually set the columns for a list screen
89
* This overrides the database settings and thus renders the settings screen for this list screen useless
90
* If you like to register a column of your own please have a look at our documentation.
91
* We also have a free start-kit available, which contains all the necessary files.
92
- * Documentation: https://www.admincolumns.com/documentation/developer-docs/creating-new-column-type/
93
* Starter-kit: https://github.com/codepress/ac-column-template/
94
- * @since 2.2
95
*
96
- * @param array|string $list_screen_keys
97
- * @param array $column_data
98
*/
99
- function ac_register_columns( $list_screen_keys, $column_data ) {
100
- AC()->api()->load_columndata( $list_screen_keys, $column_data );
101
}
102
103
/**
@@ -114,8 +131,50 @@ function ac_get_admin_url( $slug = null ) {
114
}
115
116
/**
117
- * @return int
118
*/
119
- function ac_get_lowest_price() {
120
- return 49;
121
}
1
<?php
2
3
+ use AC\Helper;
4
+ use AC\ListScreen;
5
+ use AC\ListScreenCollection;
6
+
7
/**
8
* @return AC\AdminColumns
9
+ * @since 3.0
10
*/
11
function AC() {
12
return AC\AdminColumns::instance();
88
return new AC\Helper();
89
}
90
91
+ /**
92
+ * @param array|string $list_screen_keys
93
+ * @param array $column_data
94
+ *
95
+ * @deprecated 4.0.0
96
+ * @since 2.2
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
+
104
/**
105
* Manually set the columns for a list screen
106
* This overrides the database settings and thus renders the settings screen for this list screen useless
107
* If you like to register a column of your own please have a look at our documentation.
108
* We also have a free start-kit available, which contains all the necessary files.
109
+ * Documentation: https://www.admincolumns.com/documentation/guides/creating-new-column-type/
110
* Starter-kit: https://github.com/codepress/ac-column-template/
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
/**
131
}
132
133
/**
134
+ * Convert site_url() to [cpac_site_url] and back for easy migration
135
+ *
136
+ * @param string $label
137
+ * @param string $action
138
+ *
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
+
148
+ return stripslashes( str_replace( $input[0], $input[1], trim( $label ) ) );
149
+ }
150
+
151
+ /**
152
+ * @param string $id Layout ID e.g. ac5de58e04a75b0
153
+ *
154
+ * @return ListScreen|null
155
+ * @since 4.0.0
156
+ */
157
+ function ac_get_list_screen( $id ) {
158
+ return AC()->get_listscreen_repository()->find( $id );
159
+ }
160
+
161
+ /**
162
+ * @param string $key e.g. post, page, wp-users, wp-media, wp-comments
163
+ *
164
+ * @return ListScreenCollection
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
+ /**
172
+ * @param $format
173
+ * @param null $timestamp
174
+ * @param DateTimeZone|null $timezone
175
+ *
176
+ * @return false|string
177
*/
178
+ function ac_format_date( $format, $timestamp = null, DateTimeZone $timezone = null ) {
179
+ return ( new Helper\Date() )->format_date( $format, $timestamp, $timezone );
180
}
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}@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}.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}
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}
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:""}.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-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 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 .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:68px;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}
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}
assets/css/message.css CHANGED
@@ -1 +1 @@
1
- body .wrap .ac-message{position:relative;padding-right:40px}.ac-message{position:relative}.ac-message .spinner.right{visibility:visible;display:block;right:8px;text-decoration:none;text-align:right;position:absolute;top:50%;margin-top:-10px}.ac-message .spinner.inline{display:inline-block;position:absolute;margin:4px 0 0 4px;padding:0;float:none}.ac-message .hide-notice{right:8px;text-decoration:none;width:32px;text-align:right;position:absolute;top:50%;height:32px;margin-top:-16px}.ac-message .hide-notice:before{display:block;content:'\f335';font-family:'Dashicons', serif;margin:.5em 0;padding:2px}.ac-message .buttons{margin-top:8px}.ac-message .buttons .button{margin-right:3px}.ac-message.error.warning{border-left:4px solid #ffba00}
1
+ body .wrap .ac-message{position:relative;padding-right:40px}.ac-message{position:relative}.ac-message .spinner.right{visibility:visible;display:block;right:8px;text-decoration:none;text-align:right;position:absolute;top:50%;margin-top:-10px}.ac-message .spinner.inline{display:inline-block;position:absolute;margin:4px 0 0 4px;padding:0;float:none}.ac-message .hide-notice{right:8px;text-decoration:none;width:32px;text-align:right;position:absolute;top:50%;height:32px;margin-top:-16px}.ac-message .hide-notice:before{display:block;content:'\f335';font-family:'Dashicons', serif;margin:.5em 0;padding:2px}.ac-message .buttons{margin-top:8px}.ac-message .buttons .button{margin-right:3px}.ac-message.error.warning{border-left:4px solid #ffba00}.ac-message.notice-info{border-left:4px solid #00a0d2}
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[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: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}
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}@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-top:3px;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 #ccc}.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 #CCCCCC;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") 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}
assets/images/logo-ac.svg ADDED
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="179px" height="17px" viewBox="0 0 179 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch -->
4
+ <title>logo</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <g id="Home" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <g id="Home---V1" transform="translate(-257.000000, -35.000000)">
8
+ <g id="Top" transform="translate(-1.000000, 0.000000)">
9
+ <g id="Menu" transform="translate(258.000000, 23.000000)">
10
+ <g id="logo" transform="translate(0.000000, 12.000000)">
11
+ <g id="text_white" transform="translate(32.321457, 0.000000)" fill="#000000">
12
+ <g id="text">
13
+ <path d="M0.0435770751,11.5613208 C0.0435770751,9.36792453 1.68498024,8.27830189 4.95326087,8.27830189 C5.72312253,8.27830189 6.49298419,8.3490566 7.26284585,8.49056604 L7.26284585,7.65566038 C7.26284585,6.66509434 6.53656126,6.18396226 5.08399209,6.18396226 C3.8493083,6.18396226 2.48389328,6.35377358 0.973221344,6.70754717 L0.973221344,4.51415094 C2.48389328,4.16037736 3.8493083,3.99056604 5.08399209,3.99056604 C8.43942688,3.99056604 10.1244071,5.19339623 10.1244071,7.61320755 L10.1244071,15 L8.46847826,15 L7.45167984,14.009434 C6.46393281,14.6603774 5.38903162,15 4.1979249,15 C1.42351779,15 0.0435770751,13.8537736 0.0435770751,11.5613208 L0.0435770751,11.5613208 Z M4.95326087,10.1745283 C3.58784585,10.1745283 2.89061265,10.6273585 2.89061265,11.5330189 C2.89061265,12.509434 3.47164032,13.004717 4.61916996,13.004717 C5.56333992,13.004717 6.44940711,12.7216981 7.26284585,12.1415094 L7.26284585,10.3867925 C6.53656126,10.245283 5.7666996,10.1745283 4.95326087,10.1745283 L4.95326087,10.1745283 Z" id="Shape"></path>
14
+ <path d="M22.805336,14.3349057 C21.0767787,14.7735849 19.3917984,15 17.7358696,15 C14.0753953,15 12.2596838,13.0896226 12.2596838,9.26886792 C12.2596838,5.74528302 14.0463439,3.97641509 17.619664,3.97641509 C18.375,3.97641509 19.1593874,4.14622642 19.9583004,4.5 L19.9583004,0 L22.805336,0 L22.805336,14.3349057 L22.805336,14.3349057 Z M19.9583004,6.86320755 C19.3772727,6.48113208 18.6364625,6.29716981 17.7358696,6.29716981 C15.9637352,6.29716981 15.077668,7.25943396 15.077668,9.19811321 C15.077668,11.504717 15.9927866,12.6509434 17.8375494,12.6509434 C18.5783597,12.6509434 19.2901186,12.5518868 19.9437747,12.3537736 L19.9437747,6.86320755 L19.9583004,6.86320755 Z" id="Shape"></path>
15
+ <path d="M25.5071146,15 L25.5071146,3.99056604 L27.7150198,3.99056604 L28.0491107,5.58962264 C29.0659091,4.52830189 30.2715415,3.99056604 31.6950593,3.99056604 C33.1185771,3.99056604 34.0917984,4.5 34.6147233,5.50471698 C35.7767787,4.5 36.9824111,3.99056604 38.2461462,3.99056604 C40.8462451,3.99056604 42.1390316,5.39150943 42.1390316,8.17924528 L42.1390316,15 L39.291996,15 L39.291996,8.06603774 C39.291996,6.8490566 38.7254941,6.22641509 37.5924901,6.22641509 C36.75,6.22641509 35.9365613,6.59433962 35.1521739,7.34433962 L35.1521739,15 L32.3051383,15 L32.3051383,8.09433962 C32.3051383,6.8490566 31.7822134,6.22641509 30.7363636,6.22641509 C29.9083992,6.22641509 29.1240119,6.59433962 28.3832016,7.34433962 L28.3832016,15 L25.5071146,15 L25.5071146,15 Z" id="Shape"></path>
16
+ <path d="M47.6733202,0 L47.6733202,2.20754717 L44.8262846,2.20754717 L44.8262846,0 L47.6733202,0 L47.6733202,0 Z M47.6733202,3.99056604 L47.6733202,15 L44.8262846,15 L44.8262846,3.99056604 L47.6733202,3.99056604 L47.6733202,3.99056604 Z" id="Shape"></path>
17
+ <path d="M50.3750988,15 L50.3750988,3.99056604 L52.583004,3.99056604 L52.9316206,5.60377358 C54.0210474,4.52830189 55.2557312,3.99056604 56.6356719,3.99056604 C59.3083992,3.99056604 60.6447628,5.3490566 60.6447628,8.06603774 L60.6447628,15 L57.7977273,15 L57.7977273,8.05188679 C57.7977273,6.83490566 57.1731225,6.22641509 55.9384387,6.22641509 C55.0087945,6.22641509 54.1082016,6.58018868 53.2221344,7.30188679 L53.2221344,15 L50.3750988,15 L50.3750988,15 Z" id="Shape"></path>
18
+ <path d="M72.1200593,14.6886792 C71.190415,14.9009434 70.1881423,15 69.0987154,15 C65.0750988,15 63.0705534,13.0896226 63.0705534,9.28301887 C63.0705534,5.74528302 65.0750988,3.99056604 69.0987154,3.99056604 C70.1736166,3.99056604 71.1758893,4.08962264 72.1200593,4.30188679 L72.1200593,5.87264151 C71.190415,5.66037736 70.1445652,5.56132075 68.9970356,5.56132075 C66.3824111,5.56132075 65.0605731,6.80660377 65.0605731,9.28301887 C65.0605731,12.0424528 66.3678854,13.4292453 68.9970356,13.4292453 C70.1445652,13.4292453 71.190415,13.3301887 72.1200593,13.1179245 L72.1200593,14.6886792 L72.1200593,14.6886792 Z" id="Shape"></path>
19
+ <path d="M74.1100791,9.49528302 C74.1100791,5.83018868 75.9112648,3.99056604 79.4991107,3.99056604 C83.0869565,3.99056604 84.8881423,5.83018868 84.8881423,9.49528302 C84.8881423,13.1603774 83.1014822,14.9858491 79.4991107,14.9858491 C75.9112648,14.9858491 74.1246047,13.1603774 74.1100791,9.49528302 L74.1100791,9.49528302 Z M79.4991107,13.4292453 C81.7651186,13.4292453 82.8835968,12.0990566 82.8835968,9.45283019 C82.8835968,6.86320755 81.7505929,5.56132075 79.4991107,5.56132075 C77.2331028,5.56132075 76.1146245,6.86320755 76.1146245,9.45283019 C76.1000988,12.0990566 77.2331028,13.4292453 79.4991107,13.4292453 L79.4991107,13.4292453 Z" id="Shape"></path>
20
+ <polygon id="Shape" points="89.6670949 0 89.6670949 15 87.6770751 15 87.6770751 0"></polygon>
21
+ <path d="M102.740217,3.99056604 L102.740217,15 L101.374802,15 L101.026186,13.5990566 C99.6607708,14.5330189 98.28083,15 96.8863636,15 C94.2862648,15 92.9934783,13.6273585 92.9934783,10.8962264 L92.9934783,3.99056604 L94.9980237,3.99056604 L94.9980237,10.9386792 C94.9980237,12.5801887 95.8259881,13.3867925 97.4964427,13.3867925 C98.6439723,13.3867925 99.7188735,12.9198113 100.764723,11.9858491 L100.764723,3.99056604 L102.740217,3.99056604 L102.740217,3.99056604 Z" id="Shape"></path>
22
+ <path d="M105.979447,15 L105.979447,3.99056604 L107.330336,3.99056604 L107.664427,5.37735849 C108.753854,4.45754717 109.930435,3.99056604 111.208696,3.99056604 C112.850099,3.99056604 113.968577,4.5 114.56413,5.50471698 C115.784289,4.5 117.033498,3.99056604 118.297233,3.99056604 C120.897332,3.99056604 122.190119,5.39150943 122.190119,8.17924528 L122.190119,15 L120.200099,15 L120.200099,8.06603774 C120.200099,6.4245283 119.48834,5.60377358 118.064822,5.60377358 C117.004447,5.60377358 116.002174,6.08490566 115.087055,7.03301887 L115.087055,15 L113.097036,15 L113.097036,8.09433962 C113.097036,6.4245283 112.399802,5.60377358 110.99081,5.60377358 C109.872332,5.60377358 108.870059,6.08490566 107.983992,7.03301887 L107.983992,15 L105.979447,15 L105.979447,15 Z" id="Shape"></path>
23
+ <path d="M125.400296,15 L125.400296,3.99056604 L126.751186,3.99056604 L127.099802,5.39150943 C128.261858,4.45754717 129.525593,3.99056604 130.905534,3.99056604 C133.723518,3.99056604 135.13251,5.36320755 135.13251,8.09433962 L135.13251,15 L133.14249,15 L133.14249,8.05188679 C133.14249,6.41037736 132.3,5.60377358 130.629545,5.60377358 C129.482016,5.60377358 128.407115,6.07075472 127.375791,7.00471698 L127.375791,15 L125.400296,15 L125.400296,15 Z" id="Shape"></path>
24
+ <path d="M138.270059,14.4764151 L138.270059,12.7924528 C139.591897,13.2169811 140.942787,13.4292453 142.293676,13.4292453 C144.094862,13.4292453 144.995455,12.9056604 144.995455,11.8584906 C144.995455,10.8820755 144.37085,10.3867925 143.107115,10.3867925 L141.494763,10.3867925 C139.054447,10.3867925 137.834289,9.29716981 137.834289,7.13207547 C137.834289,5.03773585 139.403063,3.99056604 142.540613,3.99056604 C143.891502,3.99056604 145.227866,4.16037736 146.549704,4.51415094 L146.549704,6.19811321 C145.227866,5.77358491 143.876976,5.56132075 142.540613,5.56132075 C140.666798,5.56132075 139.722628,6.08490566 139.722628,7.13207547 C139.722628,8.10849057 140.318182,8.60377358 141.494763,8.60377358 L143.107115,8.60377358 C145.692688,8.60377358 146.985474,9.69339623 146.985474,11.8584906 C146.985474,13.9528302 145.4167,15 142.293676,15 C140.942787,15 139.606423,14.8301887 138.270059,14.4764151 L138.270059,14.4764151 Z" id="Shape"></path>
25
+ </g>
26
+ </g>
27
+ <g id="ac_vignet_pink" transform="translate(0.000000, 1.685950)" fill="#FE3D6C">
28
+ <g transform="translate(0.038449, 0.079101)" id="Shape">
29
+ <path d="M16.5881052,4.45221412 C16.9789244,4.07772882 17.4421176,3.77259265 17.9776847,3.55067543 C18.5132518,3.32875822 19.0777685,3.21779961 19.6712347,3.21779961 C20.3660245,3.21779961 21.0029151,3.32875822 21.6108561,3.56454526 C22.2043223,3.8003323 22.7109399,4.18868742 23.1307087,4.71574081 L26.8073044,4.71574081 C26.4454347,3.89742108 26.0111912,3.19005996 25.4900988,2.60752727 C24.9690065,2.02499458 24.3900151,1.53955068 23.7675993,1.16506538 C23.1451834,0.790580077 22.4793433,0.513183558 21.7700787,0.346745648 C21.075289,0.180307737 20.3660245,0.0970887813 19.6712347,0.0970887813 C18.6001005,0.0970887813 17.6013403,0.291266344 16.6749539,0.679621469 C15.7485676,1.06797659 14.9379796,1.58116015 14.2576646,2.2469118 C14.0405428,2.45495919 13.8378958,2.66300657 13.6641984,2.89879361 C13.2589043,3.39810735 12.9115095,3.95290038 12.6364885,4.56317272 C12.2601441,5.4092321 12.0574971,6.32464061 12.0430223,7.2816586 L12.0430223,7.42035686 L12.0430223,7.57292494 C12.0285475,8.12771798 11.9127492,8.64090154 11.7101022,9.11247562 C11.4785056,9.62565918 11.1745351,10.0694936 10.7692411,10.4439789 C10.3639471,10.8184642 9.9007539,11.1097305 9.3651868,11.3177779 C8.8296197,11.5258253 8.26510303,11.6229141 7.657162,11.6229141 C7.04922098,11.6229141 6.48470431,11.5119555 5.94913721,11.2900383 C5.41357011,11.0681211 4.95037695,10.7629849 4.55955771,10.3884996 C4.16873848,10.0140143 3.85029318,9.57017987 3.6186966,9.05699632 C3.38710002,8.54381276 3.27130173,8.00288955 3.27130173,7.43422668 L3.27130173,7.43422668 C3.27130173,6.86556382 3.38710002,6.31077079 3.6186966,5.81145705 C3.85029318,5.2982735 4.16873848,4.85443907 4.55955771,4.47995377 C4.95037695,4.10546847 5.41357011,3.8003323 5.94913721,3.57841508 C6.02151114,3.55067543 6.09388507,3.52293578 6.166259,3.49519613 C6.64392696,3.32875822 7.13606969,3.24553926 7.657162,3.24553926 C8.26510303,3.24553926 8.8296197,3.35649787 9.3651868,3.57841508 C9.9007539,3.8003323 10.3639471,4.10546847 10.7547663,4.47995377 C10.9284637,4.64639168 11.0876864,4.82669941 11.2179595,5.02087698 C11.3048082,4.71574081 11.4206065,4.42447446 11.5508795,4.13320812 C11.8548501,3.43971682 12.2601441,2.78783501 12.737812,2.21917214 C12.7812364,2.17756267 12.810186,2.12208336 12.8536103,2.08047389 C12.2167197,1.51181102 11.4785056,1.06797659 10.6534428,0.721230947 C9.72705646,0.277396518 8.7282962,0.0832189554 7.67163679,0.0832189554 C7.15054448,0.0832189554 6.64392696,0.124828433 6.166259,0.221917214 C5.65964148,0.319005996 5.15302396,0.471574081 4.68983079,0.665751643 C3.76344446,1.05410677 2.95285642,1.56729033 2.25806668,2.23304197 C1.54880214,2.88492379 1.01323505,3.66163404 0.607941029,4.53543307 C0.20264701,5.42310193 0,6.38011992 0,7.40648703 L0,7.40648703 C0,8.43285415 0.188172223,9.38987214 0.550041883,10.277541 C0.911911543,11.1652099 1.43300385,11.9419201 2.09884403,12.6076717 C2.7646842,13.2734234 3.57527224,13.7866069 4.51613336,14.1610922 C5.45699447,14.5355775 6.51365388,14.7297551 7.67163679,14.7297551 C9.30728765,14.7297551 10.7547663,14.2859207 12.0574971,13.4121216 L12.0574971,14.1610922 L15.314324,14.1610922 L15.314324,13.4121216 L15.314324,7.64227407 L15.314324,7.40648703 L15.314324,7.26778877 C15.3287988,6.74073539 15.4445971,6.24142166 15.6617189,5.7837174 C15.8788407,5.27053384 16.197286,4.82669941 16.5881052,4.45221412 L16.5881052,4.45221412 Z"></path>
30
+ <path d="M21.6687552,11.2206892 C21.075289,11.4842158 20.4094488,11.6090443 19.6712347,11.6090443 C19.0777685,11.6090443 18.5132518,11.4980857 17.9776847,11.2761685 C17.4421176,11.0542512 16.9789244,10.7491151 16.5881052,10.3746298 C16.5591556,10.3468901 16.5157313,10.3052806 16.4867817,10.2636712 L16.4867817,14.0640035 C16.5591556,14.0917431 16.6170548,14.1194828 16.6894287,14.1472224 C17.615815,14.5355775 18.6145753,14.7297551 19.6857095,14.7297551 C20.4094488,14.7297551 21.1331881,14.6326663 21.8135031,14.4662284 C22.5082928,14.2859207 23.1596582,14.0085242 23.782074,13.6340389 C24.4044899,13.2595536 24.9690065,12.7741097 25.4756241,12.1777071 C25.9967164,11.5813046 26.43096,10.8878133 26.7783548,10.0833634 L23.1307087,10.0833634 C22.7543642,10.5688073 22.2766963,10.9571625 21.6687552,11.2206892 L21.6687552,11.2206892 Z"></path>
31
+ </g>
32
+ </g>
33
+ </g>
34
+ </g>
35
+ </g>
36
+ </g>
37
+ </g>
38
+ </svg>
assets/images/question.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/js/admin-general.js CHANGED
@@ -1 +1,8 @@
1
- !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},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=74)}({19: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},74:function(t,e,n){"use strict";(function(t){t.AdminColumns="undefined"!=typeof AdminColumns?AdminColumns:{},jQuery(document).ready(function(t){if(0===t("#cpac").length)return!1;ac_pointers(t),function(t){t("a.help").click(function(e){e.preventDefault();var n=t("#contextual-help-wrap");n.parent().show(),t('a[href="#tab-panel-cpac-'+t(this).attr("data-help")+'"]',n).trigger("click"),n.slideDown("fast",function(){n.focus()})})}(t)}),t.ac_pointers=function(t){t(".ac-pointer").each(function(){ac_pointer(t(this))}),t(".ac-wp-pointer").hover(function(){t(this).addClass("hover")},function(){t(this).removeClass("hover"),t(".ac-pointer").trigger("close")})},t.ac_pointer=function(t){var e=t,n=jQuery,o=e.attr("rel"),r=e.attr("data-pos"),i=e.attr("data-width"),a=e.attr("data-noclick"),c={at:"left top",my:"right top",edge:"right"},l=i||250;"right"===r&&(c={at:"right middle",my:"left middle",edge:"left"}),"left"===r&&(c={at:"left middle",my:"right middle",edge:"right"}),e.pointer({content:n("#"+o).html(),position:c,pointerWidth:l,pointerClass:"ac-wp-pointer wp-pointer wp-pointer-"+c.edge+(a?" noclick":"")}),a||e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")}),e.hover(function(){n(this).pointer("open")},function(){var t=n(this);setTimeout(function(){t.hasClass("open")||0!=n(".ac-wp-pointer.hover").length||t.pointer("close")},100)}).on("close",function(){e.hasClass("open")||0!=n(".ac-wp-pointer.hover").length||e.pointer("close")})}}).call(this,n(19))}});
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(){})})}});
assets/js/admin-general.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/admin-general.js","webpack:///(webpack)/buildin/global.js"],"names":["global","AdminColumns","jQuery","document","ready","quot;,"length","ac_pointers","ac_help","each","ac_pointer","hover","addClass","removeClass","trigger","$el","el","html","attr","pos","w","noclick","position","at","my","edge","width","pointer","content","pointerWidth","pointerClass","click","hasClass","setTimeout","on","e","preventDefault","panel","parent","show","slideDown","focus"],"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,cA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A;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","global.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\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\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\tw = el.attr( 'data-width' ),\n\t\tnoclick = el.attr( 'data-noclick' );\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 ( '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\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}","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-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","quot;,"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,mC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A;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,QAAQ,sBAAsB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,+BAA+B,EAAE;AACjC;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa;AACb;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;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":""}
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=103)}({103:function(e,t,n){"use strict";(function(e){var t=function(e){return e&&e.__esModule?e:{default:e}}(n(104));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(62);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(19))},104: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},19: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},62: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=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)}});
assets/js/admin-page-columns.js CHANGED
@@ -1 +1 @@
1
- !function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},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=75)}([function(t,e,n){var i=n(26)("wks"),o=n(12),r=n(1).Symbol,s="function"==typeof r;(t.exports=function(t){return i[t]||(i[t]=s&&r[t]||(s?r:o)("Symbol."+t))}).store=i},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){"use strict";var i=n(15),o=n(38)(5),r=!0;"find"in[]&&Array(1).find(function(){r=!1}),i(i.P+i.F*r,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(28)("find")},function(t,e,n){t.exports=!n(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var i=n(7),o=n(20);t.exports=n(3)?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(1),o=n(5),r=n(11),s=n(12)("src"),a=Function.toString,u=(""+a).split("toString");n(9).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(r(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(r(n,s)||o(n,s,t[e]?""+t[e]:u.join(String(e)))),t===i?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[s]||a.call(this)})},function(t,e,n){var i=n(10),o=n(32),r=n(33),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),o)try{return s(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 i=n(4);t.exports=function(t){if(!i(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,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var i=n(37);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i=n(1),o=n(9),r=n(5),s=n(6),a=n(13),u=function(t,e,n){var c,l,f,d,h=t&u.F,p=t&u.G,v=t&u.S,m=t&u.P,y=t&u.B,g=p?i:v?i[e]||(i[e]={}):(i[e]||{}).prototype,b=p?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});for(c in p&&(n=e),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,t&u.U),b[c]!=f&&r(b,c,d),m&&_[c]!=f&&(_[c]=f)};i.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},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 i=n(16);t.exports=function(t){return Object(i(t))}},function(t,e){t.exports={}},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 i=n(22),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(25),o=n(16);t.exports=function(t){return i(o(t))}},function(t,e,n){var i=n(4),o=n(1).document,r=i(o)&&i(o.createElement);t.exports=function(t){return r?o.createElement(t):{}}},function(t,e,n){var i=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){var i=n(9),o=n(1),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var i=n(0)("unscopables"),o=Array.prototype;void 0==o[i]&&n(5)(o,i,{}),t.exports=function(t){o[i][t]=!0}},function(t,e,n){"use strict";var i=n(28),o=n(48),r=n(18),s=n(23);t.exports=n(44)(Array,"Array",function(t,e){this._t=s(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"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(50),o=n(34);t.exports=Object.keys||function(t){return i(t,o)}},function(t,e,n){var i=n(26)("keys"),o=n(12);t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){t.exports=!n(3)&&!n(8)(function(){return 7!=Object.defineProperty(n(24)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(4);t.exports=function(t,e){if(!i(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!i(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!i(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 i=n(7).f,o=n(11),r=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},function(t,e,n){"use strict";var i=function(t){return t&&t.__esModule?t:{default:t}}(n(47));function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r=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:i.default}),AdminColumns.Modals}}]),t}();t.exports=r},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 i=n(13),o=n(25),r=n(17),s=n(21),a=n(39);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,f=6==t,d=5==t||f,h=e||a;return function(e,a,p){for(var v,m,y=r(e),g=o(y),b=i(a,p,3),_=s(g.length),k=0,w=n?h(e,_):u?h(e,0):void 0;_>k;k++)if((d||k in g)&&(m=b(v=g[k],k,y),t))if(n)w[k]=m;else if(m)switch(t){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(t,e,n){var i=n(40);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){var i=n(4),o=n(41),r=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),i(e)&&null===(e=e[r])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var i=n(14);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(7).f,o=Function.prototype,r=/^\s*function ([^ (]*)/;"name"in o||n(3)&&i(o,"name",{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(t){return""}}})},function(t,e,n){for(var i=n(29),o=n(30),r=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=o(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]||r(_,m,i[m],!0)}},function(t,e,n){"use strict";var i=n(27),o=n(15),r=n(6),s=n(5),a=n(18),u=n(54),c=n(35),l=n(59),f=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,v,m,y){u(n,e,p);var g,b,_,k=function(t){if(!d&&t in j)return j[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"==v,x=!1,j=t.prototype,S=j[f]||j["@@iterator"]||v&&j[v],E=S||k(v),A=v?C?k("entries"):E:void 0,O="Array"==e&&j.entries||S;if(O&&(_=l(O.call(new t)))!==Object.prototype&&_.next&&(c(_,w,!0),i||"function"==typeof _[f]||s(_,f,h)),C&&S&&"values"!==S.name&&(x=!0,E=function(){return S.call(this)}),i&&!y||!d&&!x&&j[f]||s(j,f,E),a[e]=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 j||r(j,b,g[b]);else o(o.P+o.F*(d||x),e,g);return g}},function(t,e,n){"use strict";var i=n(51),o={};o[n(0)("toStringTag")]="z",o+""!="[object z]"&&n(6)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(t,e,n){n(53)("replace",2,function(t,e,n){return[function(i,o){"use strict";var r=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,r,o):n.call(String(r),i,o)},n]})},function(t,e,n){"use strict";var i=function(t){return t&&t.__esModule?t:{default:t}}(n(36));function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r=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 i=this.el.querySelectorAll('[data-dismiss="modal"], .ac-modal__dialog__close');i.length>0&&i.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");i.default.init().get(e)&&i.default.init().get(e).open()})}}]),t}();t.exports=r},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var i=n(10),o=n(55),r=n(34),s=n(31)("IE_PROTO"),a=function(){},u=function(){var t,e=n(24)("iframe"),i=r.length;for(e.style.display="none",n(58).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;i--;)delete u.prototype[r[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=i(t),n=new a,a.prototype=null,n[s]=t):n=u(),void 0===e?n:o(n,e)}},function(t,e,n){var i=n(11),o=n(23),r=n(56)(!1),s=n(31)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;e.length>u;)i(a,n=e[u++])&&(~r(c,n)||c.push(n));return c}},function(t,e,n){var i=n(14),o=n(0)("toStringTag"),r="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,s;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:r?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var i=n(17),o=n(30);n(60)("keys",function(){return function(t){return o(i(t))}})},function(t,e,n){"use strict";var i=n(5),o=n(6),r=n(8),s=n(16),a=n(0);t.exports=function(t,e,n){var u=a(t),c=n(s,u,""[t]),l=c[0],f=c[1];r(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,l),i(RegExp.prototype,u,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 i=n(49),o=n(20),r=n(35),s={};n(5)(s,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:o(1,n)}),r(t,e+" Iterator")}},function(t,e,n){var i=n(7),o=n(10),r=n(30);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=r(e),a=s.length,u=0;a>u;)i.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var i=n(23),o=n(21),r=n(57);t.exports=function(t){return function(e,n,s){var a,u=i(e),c=o(u.length),l=r(s,c);if(t&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var i=n(22),o=Math.max,r=Math.min;t.exports=function(t,e){return(t=i(t))<0?o(t+e,0):r(t,e)}},function(t,e,n){var i=n(1).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(11),o=n(17),r=n(31)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),i(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var i=n(15),o=n(9),r=n(8);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],s={};s[t]=e(n),i(i.S+i.F*r(function(){n(1)}),"Object",s)}},function(t,e){function n(t,e){if(!t)throw new Error(e||"AssertionError")}n.notEqual=function(t,e,i){n(t!=e,i)},n.notOk=function(t,e){n(!t,e)},n.equal=function(t,e,i){n(t==e,i)},n.ok=n,t.exports=n},function(t,e){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach)},,,,,,,,,,,,,function(t,e,n){t.exports=n(76)},function(t,e,n){"use strict";(function(t){n(2);var e=C(n(77)),i=C(n(36)),o=C(n(79)),r=C(n(47)),s=C(n(80)),a=C(n(81)),u=C(n(82)),c=C(n(83)),l=C(n(84)),f=C(n(85)),d=C(n(86)),h=C(n(87)),p=C(n(88)),v=C(n(89)),m=C(n(90)),y=C(n(91)),g=C(n(92)),b=C(n(93)),_=C(n(94)),k=C(n(95)),w=C(n(96));function C(t){return t&&t.__esModule?t:{default:t}}n(101),n(62),t.AdminColumns="undefined"!=typeof AdminColumns?AdminColumns:{};var x=$=n(102);AC.Column=new o.default,AdminColumns.Column=AC.Column,x(document).on("AC_Form_Loaded",function(){AdminColumns.Column.registerEvent("toggle",u.default).registerEvent("remove",c.default).registerEvent("clone",l.default).registerEvent("refresh",f.default).registerEvent("type_selector",d.default).registerEvent("indicator",h.default).registerEvent("label",p.default.label).registerEvent("label_setting",p.default.setting).registerEvent("addons",v.default).registerSetting("date",g.default).registerSetting("image_size",m.default).registerSetting("pro",b.default).registerSetting("sub_setting_toggle",y.default).registerSetting("width",_.default).registerSetting("customfield",w.default).registerSetting("label",k.default)}),x(document).ready(function(){AC.Form=new e.default("#cpac .ac-columns form"),i.default.init().register(new r.default(document.querySelector("#ac-modal-pro")),"pro"),(new s.default).init(),new a.default(".sidebox#direct-feedback"),x(document).on("AC_Column_Change",function(t,e){e.$el.find(".ac-pointer").each(function(){ac_pointer(x(this))})}),x(document).on("AC_Column_Created",function(t,e){setTimeout(function(){e.$el.find(".ac-pointer").each(function(){ac_pointer(x(this))})},100)})})}).call(this,n(19))},function(t,e,n){"use strict";n(42),n(2),n(43),n(29),n(45),n(52);var i=function(t){return t&&t.__esModule?t:{default:t}}(n(78));function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$form=jQuery(e),this.$container=jQuery("#cpac .ac-admin"),this.columns={},jQuery(document).trigger("AC_Form_Loaded"),this.init()}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"init",value:function(){this.initColumns(),this.bindFormEvents(),this.bindOrdering(),jQuery(document).trigger("AC_Form_Ready")}},{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 t=this,e=[];return Object.keys(t.columns).forEach(function(n){var i=t.columns[n];i.isOriginal()&&e.push(i.type)}),e}},{key:"bindFormEvents",value:function(){var t=this,e=jQuery(".sidebox a.submit, .column-footer a.submit");e.on("click",function(){e.attr("disabled","disabled"),t.submitForm().always(function(){e.removeAttr("disabled","disabled")})}),t.$container.find(".add_column").on("click",function(){t.addColumn()});var n=jQuery("#cpac .ac-boxes");n.hasClass("disabled")&&n.find(".ac-column").each(function(t,e){jQuery(e).data("column").disable(),jQuery(e).find("input, select").prop("disabled",!0)}),jQuery("a[data-clear-columns]").on("click",function(){t.resetColumns()})}},{key:"initColumns",value:function(){var t=this;t.columns={},this.$form.find(".ac-column").each(function(){var e=jQuery(this),n=new i.default(e);n.bindEvents(),e.data("column",n),t.columns[n.name]=n})}},{key:"reindexColumns",value:function(){var t=this;t.columns={},this.$form.find(".ac-column").each(function(){var e=jQuery(this).data("column");t.columns[e.name]=e})}},{key:"resetColumns",value:function(){var t=this;Object.keys(this.columns).forEach(function(e){t.columns[e].destroy()})}},{key:"serialize",value:function(){return this.$form.serialize()}},{key:"submitForm",value:function(){var t=this,e=jQuery.post(ajaxurl,{action:"ac-columns",id:"save",data:this.serialize(),_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,original_columns:AC.original_columns},function(e){e&&(e.success?(t.showMessage(e.data,"updated"),t.$container.addClass("stored")):e.data&&t.showMessage(e.data.message,"notice notice-warning"))},"json");return e.fail(function(e){t.showMessage(AC.i18n.errors.save_settings,"notice notice-warning")}),jQuery(document).trigger("AC_Form_AfterUpdate",[t.$container]),e}},{key:"showMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"updated",n=jQuery('<div class="ac-message hidden '+e+'"><p>'+t+"</p></div>");this.$container.find(".ac-message").stop().remove(),this.$container.find(".ac-boxes").before(n),n.slideDown()}},{key:"cloneColumn",value:function(t){return this._addColumnToForm(new i.default(t).clone(),t.hasClass("opened"))}},{key:"addColumn",value:function(){var t=jQuery("#add-new-column-template").find(".ac-column").clone(),e=new i.default(t).create();return this._addColumnToForm(e)}},{key:"removeColumn",value:function(t){this.columns[t]&&(this.columns[t].remove(),delete this.columns[t])}},{key:"_addColumnToForm",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.columns[t.name]=t,this.$form.append(t.$el),e&&t.open(),t.$el.hide().slideDown(),jQuery("html, body").animate({scrollTop:t.$el.offset().top-58},300),jQuery(document).trigger("AC_Column_Added",[t]),t}}]),t}();t.exports=r},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}n(43),n(29),n(45),n(52),n(46),n(2),n(42);var o={CLOSED:"closed",OPEN:"open"},r=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.el=e[0],this.settings=[],this.state=o.CLOSED,this._type=this.$el.data("type")}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{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 t="_new_column_"+AC.Column.getNewIncementalName(),e=this.name;return this.$el.find("input, select, label").each(function(n,i){var o=jQuery(i);o.attr("name")&&o.attr("name",o.attr("name").replace("columns[".concat(e,"]"),"columns[".concat(t,"]"))),o.attr("id")&&o.attr("id",o.attr("id").replace("-".concat(e,"-"),"-".concat(t,"-")))}),this.name=t,AC.incremental_column_name++,this}},{key:"bindEvents",value:function(){var t=this;return t.$el.data("column",t),Object.keys(AC.Column.events).forEach(function(e){t.isBound(e)||(AC.Column.events[e](t),t.bind(e))}),this.bindSettings(),jQuery(document).trigger("AC_Column_InitSettings",[t]),this}},{key:"bindSettings",value:function(){var t=this;Object.keys(AC.Column.settings).forEach(function(e){t.isBound(e)||(AC.Column.settings[e](t),t.bind(e))})}},{key:"isBound",value:function(t){return this.$el.data(t)}},{key:"bind",value:function(t){this.$el.data(t,!0)}},{key:"destroy",value:function(){this.$el.remove()}},{key:"remove",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350,e=this;this.$el.addClass("deleting").animate({opacity:0,height:0},t,function(){e.destroy()})}},{key:"getState",value:function(){return this.state}},{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:150;this.getState()===o.OPEN?this.close(t):this.open(t)}},{key:"close",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$el.removeClass("opened").find(".ac-column-body").slideUp(t),this.state=o.CLOSED}},{key:"open",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$el.addClass("opened").find(".ac-column-body").slideDown(t),this.state=o.OPEN}},{key:"showMessage",value:function(t){this.$el.find(".ac-column-setting--type .msg").html(t).show()}},{key:"switchToType",value:function(t){var e=this;return jQuery.ajax({url:ajaxurl,method:"post",dataType:"json",data:{action:"ac-columns",id:"select",type:t,current_original_columns:AC.Form.originalColumns(),original_columns:AC.original_columns,list_screen:AC.list_screen,layout:AC.layout,_ajax_nonce:AC._ajax_nonce},success:function(n){if(!0===n.success){var i=jQuery(n.data);e.$el.replaceWith(i),e.$el=i,e.el=i[0],e._type=t,e.initNewInstance(),e.bindEvents(),e.open(),jQuery(document).trigger("AC_Column_Change",[e])}else e.showMessage(n.data.error)}})}},{key:"refresh",value:function(){var t=this,e=this.$el.find(":input").serializeArray(),n={action:"ac-columns",id:"refresh",_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,column_name:this.name,original_columns:AC.original_columns};return jQuery.each(n,function(t,n){e.push({name:t,value:n})}),jQuery.ajax({type:"post",url:ajaxurl,data:e,success:function(e){if(!0===e.success){var n=jQuery(e.data);t.$el.replaceWith(n),t.$el=n,t.el=n[0],t.bindEvents(),t.getState()===o.OPEN&&t.open(),jQuery(document).trigger("AC_Column_Refresh",[t])}}})}},{key:"create",value:function(){return this.initNewInstance(),this.bindEvents(),jQuery(document).trigger("AC_Column_Created",[this]),this}},{key:"clone",value:function(){var e=this.$el.clone();e.data("column-name",this.$el.data("column-name"));var n=new t(e);return n.initNewInstance(),n.bindEvents(),n}},{key:"name",get:function(){return this.$el.data("column-name")},set:function(t){this.$el.data("column-name",t)}},{key:"type",get:function(){return this._type},set:function(t){this.$el.data("type",t)}}]),t}();t.exports=r},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}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.events={},this.settings={},this.incremental_name=0}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"registerSetting",value:function(t,e){var n="s_"+t;return this.settings[n]&&console.error("Setting key already exists: "+t),this.settings[n]=e,this}},{key:"registerEvent",value:function(t,e){var n="e_"+t;return this.settings[n]&&console.error("Event key already exists: "+n),this.events[n]=e,this}},{key:"getNewIncementalName",value:function(){var t=this.incremental_name;return this.incremental_name++,t}}]),t}();t.exports=o},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}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&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"init",value:function(){var t=jQuery;t("#ac_list_screen").on("change",function(){t(".view-link").hide(),t(this).parents("form").submit(),t(this).prop("disabled",!0).next(".spinner").css("display","inline-block")})}}]),t}();t.exports=o},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}n(2);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=jQuery(e),this.init()}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"init",value:function(){var t=this.$el;t.find("#feedback-choice a.no").click(function(e){e.preventDefault(),t.find("#feedback-choice").slideUp(),t.find("#feedback-support").slideDown()}),t.find("#feedback-choice a.yes").click(function(e){e.preventDefault(),t.find("#feedback-choice").slideUp(),t.find("#feedback-rate").slideDown()})}}]),t}();t.exports=o},function(t,e,n){"use strict";n(2);t.exports=function(t){t.$el.find('[data-toggle="column"]').click(function(e){e.preventDefault(),t.toggle()}).css("cursor","pointer")}},function(t,e,n){"use strict";n(42),n(2);t.exports=function(t){t.$el.find(".remove-button").click(function(e){e.preventDefault(),AC.Form.removeColumn(t.name)})}},function(t,e,n){"use strict";n(2);t.exports=function(t){t.$el.find(".clone-button").click(function(e){e.preventDefault(),t.isOriginal()||AC.Form.cloneColumn(t.$el)})}},function(t,e,n){"use strict";n(2);t.exports=function(t){var e=jQuery;t.$el.find('[data-refresh="column"]').on("change",function(){e(document).trigger("AC.column.prerefresh",t.$el),t.$el.addClass("loading"),setTimeout(function(){t.refresh().always(function(){t.$el.removeClass("loading")}).fail(function(){t.showMessage(AC.i18n.errors.loading_column)})},200)})}},function(t,e,n){"use strict";n(2);t.exports=function(t){var e=jQuery;t.$el.find("select.ac-setting-input_type").change(function(){t.$el.addClass("loading"),t.switchToType(e(this).val()).always(function(){t.$el.removeClass("loading"),AC.Form.reindexColumns()}).fail(function(){t.showMessage(AC.i18n.errors.loading_column)})})}},function(t,e,n){"use strict";n(2);t.exports=function(t){var e=t.$el;e.find(".ac-column-header [data-indicator-toggle]").each(function(){var t=jQuery,n=t(this),i=t(this).data("setting"),o=e.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(),e.hasClass("disabled")||(n.toggleClass("on"),t(this).hasClass("on")?o.filter("[value=on]").prop("checked",!0).trigger("click").trigger("change"):o.filter("[value=off]").prop("checked",!0).trigger("click").trigger("change"))}),o.on("change",function(){e.hasClass("disabled")||("on"===o.filter(":checked").val()?n.addClass("on"):n.removeClass("on"))})})}},function(t,e,n){"use strict";n(2);t.exports={label:function(t){var e=t.$el;e.find('select[data-label="update"]').change(function(){var t=e.find("input.ac-setting-input_label"),n=jQuery(this).find("option:selected").text();t.val(n),t.trigger("change")}),setTimeout(function(){var t=e.find(".column_label .toggle");jQuery.trim(t.html())&&t.width()<1&&t.html(e.find(".column_type .inner").html())},50)},setting:function(t){var e=t.$el;e.find(".ac-column-setting--label input").bind("keyup change",function(){var t=jQuery(this).val();jQuery(this).closest(".ac-column").find("td.column_label .inner > a.toggle").html(t)}).trigger("change"),e.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(t,e,n){"use strict";n(2);t.exports=function(t){var e=jQuery,n=t.$el;n.find("[data-trigger] label").on("click",function(){var t=e(this).closest("td.input").data("trigger"),i=e("input",this).val(),o=n.find('[data-indicator-id="'+t+'"]').removeClass("on");"on"===i&&o.addClass("on");var r=n.find('[data-handle="'+t+'"]').addClass("hide");"on"===i&&r.removeClass("hide")}),n.find("[data-trigger]").each(function(){var t=e(this).data("trigger"),i=n.find('[data-handle="'+t+'"]').addClass("hide");"on"===e("input:checked",this).val()&&i.removeClass("hide")})}},function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}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.column=e,this.setting=e.$el[0].querySelector(".ac-column-setting--image"),this.setting&&(this.field=this.setting.querySelector(".ac-setting-input select"),this.initState(),this.bindEvents())}return function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(t,[{key:"getValue",value:function(){return this.field.value}},{key:"bindEvents",value:function(){var t=this;this.field.addEventListener("change",function(e){t.initState()})}},{key:"initState",value:function(){"cpac-custom"===this.getValue()?this.showSubsettings():this.hideSubsettings()}},{key:"hideSubsettings",value:function(){for(var t=this.setting.querySelectorAll(".ac-column-setting"),e=0;e<t.length;++e)t[e].style.display="none"}},{key:"showSubsettings",value:function(){for(var t=this.setting.querySelectorAll(".ac-column-setting"),e=0;e<t.length;++e)t[e].style.display="table"}},{key:"setValue",value:function(t){return this.field.value=t,this.trigger(this.field,"change"),this}},{key:"setWidth",value:function(t){var e=this.setting.querySelector('.ac-column-setting [name*="image_size_w"]');return e.value=t,this.trigger(e,"change"),this}},{key:"setHeight",value:function(t){var e=this.setting.querySelector('.ac-column-setting [name*="image_size_h"]');return e.value=t,this.trigger(e,"change"),this}},{key:"setSize",value:function(t,e){return this.setWidth(t),this.setHeight(e),this}},{key:"trigger",value:function(t,e){return t.dispatchEvent(new Event(e)),this}}]),t}();t.exports=function(t){t.settings.image=new o(t)}},function(t,e,n){"use strict";n(2);t.exports=function(t){var e=jQuery,n={value_show:"on",subfield:".ac-column-setting"};function i(t,e){var i=e.filter(":checked").val(),o=t.find(n.subfield);n.value_show===i?o.show():o.hide()}t.$el.find(".ac-column-setting--filter,.ac-column-setting--sort,.ac-column-setting--edit").each(function(){var t=e(this),n=e(this).find('.ac-setting-input input[type="radio"]');i(t,n),n.on("change",function(){i(t,n)})})}},function(t,e,n){"use strict";n(2);t.exports=function(t){var e=jQuery;t.$el.find(".ac-column-setting--date").each(function(){var t=e(this),n=t.find("input.custom"),i=t.find(".ac-setting-input-date__custom"),o=t.find(".ac-setting-input-date__value"),r=t.find(".ac-setting-input-date__example"),s=t.find("input[type=radio]:checked"),a=t.find(".help-msg");t.find("input[type=radio]").on("change",function(){var t=e(this),n=t.closest("label"),s=n.find("code").text(),u=n.find(".ac-setting-input-date__more").html();s&&i.val(s).trigger("change"),t.hasClass("diff")&&(i.val(""),r.text("")),i.prop("disabled",!0),t.hasClass("custom")&&(t.val(i.val()),i.prop("disabled",!1),a.show()),a.hide(),u&&a.html(u).show(),o.val(t.val())}),i.on("change",function(){r.html('<span class="spinner is-active"></span>'),n.val(i.val());var t=e(this).val();t?(e.ajax({url:ajaxurl,method:"post",data:{action:"date_format",date:t}}).done(function(t){r.text(t)}),o.val(t)):r.text("")}),s.trigger("change"),0===s.length&&n.trigger("click")})}},function(t,e,n){"use strict";n(2);t.exports=function(t){t.$el.find(".ac-column-setting--pro").each(function(){var t=jQuery(this);t.find("input").on("click",function(e){e.preventDefault(),t.find("[data-ac-open-modal]").trigger("click")})})}},function(t,e,n){"use strict";n(46),n(2),jQuery.fn.column_width_slider=function(){var t=jQuery,e=t(this).find(".ac-setting-input-width"),n=e.find(".description input"),i=e.find(".unit-select input").filter(":checked").val(),o=n.val(),r=e.find(".width-slider"),s=t(this).find(".ac-column-header .ac-column-heading-setting--width");"%"===i&&o>100&&(o=100),n.val(o),r.slider({range:"min",min:0,max:"%"===i?100:500,value:o,slide:function(t,e){n.val(e.value),s.trigger("update"),n.trigger("validate")}})};t.exports=function(t){var e=jQuery,n=t.$el;n.find(".ac-column-setting--width").each(function(){n.column_width_slider();var t=n.find(".ac-column-header .ac-column-heading-setting--width");t.on("update",function(){var t=n.find(".ac-setting-input-width .description input").val(),e=n.find(".ac-setting-input-width .description .unit").text();t>0?jQuery(this).text(t+e):jQuery(this).text("")}),n.find(".ac-setting-input-width .unit-select label").on("click",function(){n.find("span.unit").text(e(this).find("input").val()),n.column_width_slider(),t.trigger("update")});var i=n.find(".ac-setting-input-width .description input").on("keyup",function(){n.column_width_slider(),jQuery(this).trigger("validate"),t.trigger("update")}).on("validate",function(){var t=i.val(),n=e.trim(t);jQuery.isNumeric(n)||(n=n.replace(/\D/g,"")),n.length>3&&(n=n.substring(0,3)),n<=0&&(n=""),n!==t&&i.val(n)})})}},function(t,e,n){"use strict";var i=r(n(36)),o=r(n(47));function r(t){return t&&t.__esModule?t:{default:t}}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.column=e,this.setting=e.el.querySelector(".ac-column-setting--label"),this.iconpicker=this.setting.querySelector(".-iconpicker"),this.iconpicker&&(this._dashicon=!1,this.modal=i.default.init().register(new o.default(this.setting.querySelector(".-iconpicker"))),this.field=this.setting.querySelector(".ac-setting-input_label"),this.initValue(),this.bindEvents())}return function(t,e,n){e&&s(t.prototype,e),n&&s(t,n)}(t,[{key:"initValue",value:function(){var t=this,e=document.createRange().createContextualFragment(this.getValue()).querySelector(".dashicons");e?e.classList.forEach(function(e){if(-1!==e.indexOf("dashicons-")){var n="."+e,i=t.iconpicker.querySelector(n);i&&(i.parentElement.classList.add("active"),t.setIconSelection(i.parentElement.dataset.dashicon))}}):t.setIconSelection(!1)}},{key:"bindEvents",value:function(){var t=this;this.setting.querySelector(".ac-setting-label-icon").addEventListener("click",function(e){e.preventDefault(),t.modal.open()}),this.setting.querySelector('[data-action="submit"]').addEventListener("click",function(e){e.preventDefault(),t.getIconSelection()&&t.setDashicon(t.getIconSelection()),t.modal.close()}),this.iconpicker.querySelectorAll(".ac-ipicker__icon").forEach(function(e){e.addEventListener("click",function(n){n.preventDefault();var i=this.dataset.dashicon;i&&t.setIconSelection(i),t.setting.querySelectorAll(".ac-ipicker__icon").forEach(function(t){t.classList.remove("active")}),e.classList.add("active")})})}},{key:"getValue",value:function(){return this.field.value}},{key:"setValue",value:function(t){this.field.value=t;var e=new Event("change");this.field.dispatchEvent(e)}},{key:"setIconSelection",value:function(t){var e=this.setting.querySelector(".ac-ipicker__selection");this._dashicon=t,e.innerHTML='<span class="dashicons dashicons-'.concat(t,'"></span>'),e.style.visibility=t?"visible":"hidden"}},{key:"getIconSelection",value:function(){return this._dashicon}},{key:"setDashicon",value:function(t){this.setValue('<span class="dashicons dashicons-'.concat(t,'"></span>'))}}]),t}();t.exports=function(t){t.settings.label=new a(t)}},function(t,e,n){"use strict";(function(t){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=n(97),a=function(){function t(e,n){i(this,t),this.meta_type=e,this.post_type=n,this.loading=!1,this.data=!1,this.events=s()}return r(t,[{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 t=this,e=jQuery.Deferred();return this.data?e.resolve(this.data):this.loading?this.events.on("loaded",function(){e.resolve(t.data)}):this.retrieveOptions().done(function(n){n.success||e.reject(),t.data=n.data.results,t.events.emit("loaded"),e.resolve(t.data)}),e.promise()}}]),t}(),u=function(){function e(t){i(this,e),this.column=t,this.setting=t.$el[0].querySelector(".ac-column-setting--custom_field"),this.setting&&this.bindEvents()}return r(e,[{key:"bindEvents",value:function(){var e=this.setting.querySelector(".custom_field"),n=function(e,n){var i="custom_field_".concat(e,"_").concat(n);return"undefined"==typeof AC_Requests&&(t.AC_Requests={}),AC_Requests.hasOwnProperty(i)||(AC_Requests[i]=new a(e,n)),AC_Requests[i]}(e.dataset.type,e.dataset.post_type),i=this.column.el.querySelectorAll('[data-setting="edit"][data-indicator-toggle]').length>0;this.setting.querySelectorAll(".select2").forEach(function(t){t.remove()}),n.getOptions().done(function(t){jQuery(e).ac_select2({theme:"acs2",width:"100%",tags:i,dropdownCssClass:"-customfields",data:t})})}}]),e}(),c=function(t){t.settings.customfield=new u(t)};e.default=c}).call(this,n(19))},function(t,e,n){var i=n(98),o=n(99),r=n(61);function s(t){if(!(this instanceof s))return new s(t);this._name=t||"nanobus",this._starListeners=[],this._listeners={}}t.exports=s,s.prototype.emit=function(t){r.ok("string"==typeof t||"symbol"==typeof t,"nanobus.emit: eventName should be type string or symbol");for(var e=[],n=1,i=arguments.length;n<i;n++)e.push(arguments[n]);var s=o(this._name+"('"+t.toString()+"')"),a=this._listeners[t];return a&&a.length>0&&this._emit(this._listeners[t],e),this._starListeners.length>0&&this._emit(this._starListeners,t,e,s.uuid),s(),this},s.prototype.on=s.prototype.addListener=function(t,e){return r.ok("string"==typeof t||"symbol"==typeof t,"nanobus.on: eventName should be type string or symbol"),r.equal(typeof e,"function","nanobus.on: listener should be type function"),"*"===t?this._starListeners.push(e):(this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(e)),this},s.prototype.prependListener=function(t,e){return r.ok("string"==typeof t||"symbol"==typeof t,"nanobus.prependListener: eventName should be type string or symbol"),r.equal(typeof e,"function","nanobus.prependListener: listener should be type function"),"*"===t?this._starListeners.unshift(e):(this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].unshift(e)),this},s.prototype.once=function(t,e){r.ok("string"==typeof t||"symbol"==typeof t,"nanobus.once: eventName should be type string or symbol"),r.equal(typeof e,"function","nanobus.once: listener should be type function");var n=this;return this.on(t,function i(){e.apply(n,arguments);n.removeListener(t,i)}),this},s.prototype.prependOnceListener=function(t,e){r.ok("string"==typeof t||"symbol"==typeof t,"nanobus.prependOnceListener: eventName should be type string or symbol"),r.equal(typeof e,"function","nanobus.prependOnceListener: listener should be type function");var n=this;return this.prependListener(t,function i(){e.apply(n,arguments);n.removeListener(t,i)}),this},s.prototype.removeListener=function(t,e){return r.ok("string"==typeof t||"symbol"==typeof t,"nanobus.removeListener: eventName should be type string or symbol"),r.equal(typeof e,"function","nanobus.removeListener: listener should be type function"),"*"===t?(this._starListeners=this._starListeners.slice(),n(this._starListeners,e)):(void 0!==this._listeners[t]&&(this._listeners[t]=this._listeners[t].slice()),n(this._listeners[t],e));function n(t,e){if(t){var n=t.indexOf(e);return-1!==n?(i(t,n,1),!0):void 0}}},s.prototype.removeAllListeners=function(t){return t?"*"===t?this._starListeners=[]:this._listeners[t]=[]:(this._starListeners=[],this._listeners={}),this},s.prototype.listeners=function(t){var e="*"!==t?this._listeners[t]:this._starListeners,n=[];if(e)for(var i=e.length,o=0;o<i;o++)n.push(e[o]);return n},s.prototype._emit=function(t,e,n,i){if(void 0!==t&&0!==t.length){void 0===n&&(n=e,e=null),e&&(n=void 0!==i?[e].concat(n,i):[e].concat(n));for(var o=t.length,r=0;r<o;r++){var s=t[r];s.apply(s,n)}}}},function(t,e,n){"use strict";t.exports=function(t,e,n){var i,o=t.length;if(!(e>=o||0===n)){var r=o-(n=e+n>o?o-e:n);for(i=e;i<r;++i)t[i]=t[i+n];t.length=r}}},function(t,e,n){var i,o=n(100)(),r=n(61);s.disabled=!0;try{i=window.performance,s.disabled="true"===window.localStorage.DISABLE_NANOTIMING||!i.mark}catch(t){}function s(t){if(r.equal(typeof t,"string","nanotiming: name should be type string"),s.disabled)return a;var e=(1e4*i.now()).toFixed()%Number.MAX_SAFE_INTEGER,n="start-"+e+"-"+t;function u(r){var s="end-"+e+"-"+t;i.mark(s),o.push(function(){var o=null;try{var a=t+" ["+e+"]";i.measure(a,n,s),i.clearMarks(n),i.clearMarks(s)}catch(t){o=t}r&&r(o,t)})}return i.mark(n),u.uuid=e,u}function a(t){t&&o.push(function(){t(new Error("nanotiming: performance API unavailable"))})}t.exports=s},function(t,e,n){var i=n(61),o="undefined"!=typeof window;function r(t){this.hasWindow=t,this.hasIdle=this.hasWindow&&window.requestIdleCallback,this.method=this.hasIdle?window.requestIdleCallback.bind(window):this.setTimeout,this.scheduled=!1,this.queue=[]}r.prototype.push=function(t){i.equal(typeof t,"function","nanoscheduler.push: cb should be type function"),this.queue.push(t),this.schedule()},r.prototype.schedule=function(){if(!this.scheduled){this.scheduled=!0;var t=this;this.method(function(e){for(;t.queue.length&&e.timeRemaining()>0;)t.queue.shift()(e);t.scheduled=!1,t.queue.length&&t.schedule()})}},r.prototype.setTimeout=function(t){setTimeout(t,0,{timeRemaining:function(){return 1}})},t.exports=function(){var t;return o?(window._nanoScheduler||(window._nanoScheduler=new r(!0)),t=window._nanoScheduler):t=new r,t}},function(t,e){!function(){if("function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};let n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t}()},function(t,e){t.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=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}]);
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/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/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:///./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","quot;,"AC","Column","Initiator","document","on","registerEvent","EventToggle","EventRemove","EventClone","EventRefresh","EventTypeSelector","EventIndicator","EventLabel","label","setting","EventAddons","registerSetting","SettingDate","SettingImageSize","SettingPro","SettingSubSettingToggle","SettingWidth","SettingCustomField","SettingLabel","ready","Form","Modals","init","register","Modal","querySelector","Menu","Feedback","e","column","$el","find","each","ac_pointer","setTimeout","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","Object","keys","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","current_original_columns","originalColumns","original_columns","list_screen","layout","_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","$container","columns","initColumns","bindFormEvents","bindOrdering","sortable","items","handle","$buttons","submitForm","removeAttr","addColumn","$boxes","col","disable","resetColumns","serialize","xhr","post","save_settings","attr_class","$msg","stop","before","_addColumnToForm","create","append","scrollTop","offset","top","incremental_name","k","console","event","oldName","submit","next","nanobus","SingleCustomFieldRequestManager","meta_type","post_type","loading","defer","Deferred","resolve","retrieveOptions","done","reject","results","emit","promise","loadSingleRequestManager","AC_Requests","hasOwnProperty","CustomField","input","request","dataset","editingAvailable","querySelectorAll","length","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","style","display","setWidth","setHeight","dispatchEvent","Event","image","Label","iconpicker","_dashicon","modal","initValue","createRange","createContextualFragment","dashicon","classList","cls","indexOf","icon","parentElement","add","setIconSelection","getIconSelection","setDashicon","icons","selection","innerHTML","visibility","setValue","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","removeAttribute","target","acOpenModal","modal_key","get","modals","number","_abstract"],"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,kBA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A;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,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","require( 'admin-columns-js/polyfill/customevent' );\r\nrequire( 'admin-columns-js/polyfill/nodelist' );\r\n\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\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\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\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( 'label', SettingLabel );\r\n} );\r\n\r\njQuery( document ).ready( function() {\r\n\tAC.Form = new Form( '#cpac .ac-columns 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} );","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\tcurrent_original_columns : AC.Form.originalColumns(),\r\n\t\t\t\toriginal_columns : AC.original_columns,\r\n\t\t\t\tlist_screen : AC.list_screen,\r\n\t\t\t\tlayout : AC.layout,\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\tlist_screen : AC.list_screen,\r\n\t\t\tlayout : AC.layout,\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 = jQuery( el );\n\t\tthis.$container = jQuery( '#cpac .ac-admin' );\n\t\tthis.columns = {};\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\tjQuery( document ).trigger( 'AC_Form_Ready' );\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\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\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\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\tdata : this.serialize(),\n\t\t\t\t_ajax_nonce : AC._ajax_nonce,\n\t\t\t\tlist_screen : AC.list_screen,\n\t\t\t\tlayout : AC.layout,\n\t\t\t\toriginal_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-boxes' ).before( $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\t_addColumnToForm( column, open = true ) {\n\t\tthis.columns[ column.name ] = column;\n\t\tthis.$form.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;","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 ) {\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\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;","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\nclass 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}\n\nmodule.exports = Modals;","/** 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/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","quot;,"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;;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A,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,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":""}
assets/js/initialize-columns.js ADDED
@@ -0,0 +1,102 @@
1
+ /******/ (function(modules) { // webpackBootstrap
2
+ /******/ // The module cache
3
+ /******/ var installedModules = {};
4
+ /******/
5
+ /******/ // The require function
6
+ /******/ function __webpack_require__(moduleId) {
7
+ /******/
8
+ /******/ // Check if module is in cache
9
+ /******/ if(installedModules[moduleId]) {
10
+ /******/ return installedModules[moduleId].exports;
11
+ /******/ }
12
+ /******/ // Create a new module (and put it into the cache)
13
+ /******/ var module = installedModules[moduleId] = {
14
+ /******/ i: moduleId,
15
+ /******/ l: false,
16
+ /******/ exports: {}
17
+ /******/ };
18
+ /******/
19
+ /******/ // Execute the module function
20
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
+ /******/
22
+ /******/ // Flag the module as loaded
23
+ /******/ module.l = true;
24
+ /******/
25
+ /******/ // Return the exports of the module
26
+ /******/ return module.exports;
27
+ /******/ }
28
+ /******/
29
+ /******/
30
+ /******/ // expose the modules object (__webpack_modules__)
31
+ /******/ __webpack_require__.m = modules;
32
+ /******/
33
+ /******/ // expose the module cache
34
+ /******/ __webpack_require__.c = installedModules;
35
+ /******/
36
+ /******/ // define getter function for harmony exports
37
+ /******/ __webpack_require__.d = function(exports, name, getter) {
38
+ /******/ if(!__webpack_require__.o(exports, name)) {
39
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
40
+ /******/ }
41
+ /******/ };
42
+ /******/
43
+ /******/ // define __esModule on exports
44
+ /******/ __webpack_require__.r = function(exports) {
45
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
46
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
47
+ /******/ }
48
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
49
+ /******/ };
50
+ /******/
51
+ /******/ // create a fake namespace object
52
+ /******/ // mode & 1: value is a module id, require it
53
+ /******/ // mode & 2: merge all properties of value into the ns
54
+ /******/ // mode & 4: return value when already ns object
55
+ /******/ // mode & 8|1: behave like require
56
+ /******/ __webpack_require__.t = function(value, mode) {
57
+ /******/ if(mode & 1) value = __webpack_require__(value);
58
+ /******/ if(mode & 8) return value;
59
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
60
+ /******/ var ns = Object.create(null);
61
+ /******/ __webpack_require__.r(ns);
62
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
63
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
64
+ /******/ return ns;
65
+ /******/ };
66
+ /******/
67
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
68
+ /******/ __webpack_require__.n = function(module) {
69
+ /******/ var getter = module && module.__esModule ?
70
+ /******/ function getDefault() { return module['default']; } :
71
+ /******/ function getModuleExports() { return module; };
72
+ /******/ __webpack_require__.d(getter, 'a', getter);
73
+ /******/ return getter;
74
+ /******/ };
75
+ /******/
76
+ /******/ // Object.prototype.hasOwnProperty.call
77
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
78
+ /******/
79
+ /******/ // __webpack_public_path__
80
+ /******/ __webpack_require__.p = "";
81
+ /******/
82
+ /******/
83
+ /******/ // Load entry module and return exports
84
+ /******/ return __webpack_require__(__webpack_require__.s = "./js/initialize-columns.js");
85
+ /******/ })
86
+ /************************************************************************/
87
+ /******/ ({
88
+
89
+ /***/ "./js/initialize-columns.js":
90
+ /*!**********************************!*\
91
+ !*** ./js/initialize-columns.js ***!
92
+ \**********************************/
93
+ /*! no static exports found */
94
+ /***/ (function(module, exports, __webpack_require__) {
95
+
96
+ "use strict";
97
+
98
+
99
+ /***/ })
100
+
101
+ /******/ });
102
+ //# sourceMappingURL=initialize-columns.js.map
assets/js/initialize-columns.js.map ADDED
@@ -0,0 +1 @@
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=105)}([function(n,t,r){var e=r(26)("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){"use strict";var e=r(15),o=r(38)(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(28)("find")},function(n,t,r){n.exports=!r(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},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(20);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(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(32),i=r(33),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){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,r){var e=r(37);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){var r={}.toString;n.exports=function(n){return r.call(n).slice(8,-1)}},function(n,t,r){var e=r(1),o=r(9),i=r(5),u=r(6),c=r(13),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){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(16);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(22),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(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(14);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},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(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(n,t){n.exports=!1},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){n.exports=!r(3)&&!r(8)(function(){return 7!=Object.defineProperty(r(24)("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(13),o=r(25),i=r(17),u=r(21),c=r(39);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(40);n.exports=function(n,t){return new(e(n))(t)}},function(n,t,r){var e=r(4),o=r(41),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(14);n.exports=Array.isArray||function(n){return"Array"==e(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,r){"use strict";r(2),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=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")})})}]);
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=106)}({106: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=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)})})}});
assets/js/select2.js CHANGED
@@ -1,2 +1,2058 @@
1
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
2
- !function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(d){var e=function(){if(d&&d.fn&&d.fn.select2&&d.fn.select2.amd)var e=d.fn.select2.amd;var t,n,i,h,o,s,f,g,m,v,y,_,r,a,w,l;function b(e,t){return r.call(e,t)}function c(e,t){var n,i,r,o,s,a,l,c,u,d,p,h=t&&t.split("/"),f=y.map,g=f&&f["*"]||{};if(e){for(s=(e=e.split("/")).length-1,y.nodeIdCompat&&w.test(e[s])&&(e[s]=e[s].replace(w,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),u=0;u<e.length;u++)if("."===(p=e[u]))e.splice(u,1),u-=1;else if(".."===p){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;0<u&&(e.splice(u-1,2),u-=2)}e=e.join("/")}if((h||g)&&f){for(u=(n=e.split("/")).length;0<u;u-=1){if(i=n.slice(0,u).join("/"),h)for(d=h.length;0<d;d-=1)if(r=(r=f[h.slice(0,d).join("/")])&&r[i]){o=r,a=u;break}if(o)break;!l&&g&&g[i]&&(l=g[i],c=u)}!o&&l&&(o=l,a=c),o&&(n.splice(0,a,o),e=n.join("/"))}return e}function A(t,n){return function(){var e=a.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),s.apply(h,e.concat([t,n]))}}function x(t){return function(e){m[t]=e}}function S(e){if(b(v,e)){var t=v[e];delete v[e],_[e]=!0,o.apply(h,t)}if(!b(m,e)&&!b(_,e))throw new Error("No "+e);return m[e]}function u(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function D(e){return e?u(e):[]}return e&&e.requirejs||(e?n=e:e={},m={},v={},y={},_={},r=Object.prototype.hasOwnProperty,a=[].slice,w=/\.js#x2F;,f=function(e,t){var n,i=u(e),r=i[0],o=t[1];return e=i[1],r&&(n=S(r=c(r,o))),r?e=n&&n.normalize?n.normalize(e,function(t){return function(e){return c(e,t)}}(o)):c(e,o):(r=(i=u(e=c(e,o)))[0],e=i[1],r&&(n=S(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},g={require:function(e){return A(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:function(e){return function(){return y&&y.config&&y.config[e]||{}}}(e)}}},o=function(e,t,n,i){var r,o,s,a,l,c,u,d=[],p=typeof n;if(c=D(i=i||e),"undefined"==p||"function"==p){for(t=!t.length&&n.length?["require","exports","module"]:t,l=0;l<t.length;l+=1)if("require"===(o=(a=f(t[l],c)).f))d[l]=g.require(e);else if("exports"===o)d[l]=g.exports(e),u=!0;else if("module"===o)r=d[l]=g.module(e);else if(b(m,o)||b(v,o)||b(_,o))d[l]=S(o);else{if(!a.p)throw new Error(e+" missing "+o);a.p.load(a.n,A(i,!0),x(o),{}),d[l]=m[o]}s=n?n.apply(m[e],d):void 0,e&&(r&&r.exports!==h&&r.exports!==m[e]?m[e]=r.exports:s===h&&u||(m[e]=s))}else e&&(m[e]=n)},t=n=s=function(e,t,n,i,r){if("string"==typeof e)return g[e]?g[e](t):S(f(e,D(t)).f);if(!e.splice){if((y=e).deps&&s(y.deps,y.callback),!t)return;t.splice?(e=t,t=n,n=null):e=h}return t=t||function(){},"function"==typeof n&&(n=i,i=r),i?o(h,e,t,n):setTimeout(function(){o(h,e,t,n)},4),s},s.config=function(e){return s(e)},t._defined=m,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),b(m,e)||b(v,e)||(v[e]=[e,t,n])}).amd={jQuery:!0},e.requirejs=t,e.require=n,e.define=i),e.define("almond",function(){}),e.define("jquery",[],function(){var e=d||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(o){var r={};function u(e){var t=e.prototype,n=[];for(var i in t){"function"==typeof t[i]&&"constructor"!==i&&n.push(i)}return n}r.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var r in t)n.call(t,r)&&(e[r]=t[r]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r.Decorate=function(i,r){var e=u(r),t=u(i);function o(){var e=Array.prototype.unshift,t=r.prototype.constructor.length,n=i.prototype.constructor;0<t&&(e.call(arguments,i.prototype.constructor),n=r.prototype.constructor),n.apply(this,arguments)}r.displayName=i.displayName,o.prototype=new function(){this.constructor=o};for(var n=0;n<t.length;n++){var s=t[n];o.prototype[s]=i.prototype[s]}function a(e){var t=function(){};e in o.prototype&&(t=o.prototype[e]);var n=r.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}}for(var l=0;l<e.length;l++){var c=e[l];o.prototype[c]=a(c)}return o};function e(){this.listeners={}}e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},r.Observable=e,r.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},r.bind=function(e,t){return function(){e.apply(t,arguments)}},r._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=e[t]),i=i[o]}delete e[t]}}return e},r.hasScroll=function(e,t){var n=o(t),i=t.style.overflowX,r=t.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||(n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth))},r.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},r.appendMany=function(e,t){if("1.7"===o.fn.jquery.substr(0,3)){var n=o();o.map(t,function(e){n=n.add(e)}),t=n}e.append(t)},r.__cache={};var n=0;return r.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++n),t=n.toString())),t},r.StoreData=function(e,t,n){var i=r.GetUniqueElementId(e);r.__cache[i]||(r.__cache[i]={}),r.__cache[i][t]=n},r.GetData=function(e,t){var n=r.GetUniqueElementId(e);return t?r.__cache[n]&&null!=r.__cache[n][t]?r.__cache[n][t]:o(e).data(t):r.__cache[n]},r.RemoveData=function(e){var t=r.GetUniqueElementId(e);null!=r.__cache[t]&&delete r.__cache[t],e.removeAttribute("data-select2-id")},r}),e.define("select2/results",["jquery","./utils"],function(h,f){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return f.Extend(i,f.Observable),i.prototype.render=function(){var e=h('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=h('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);n.append(t(i(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");0<t.length?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var t=this;this.data.current(function(e){var i=h.map(e,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var e=h(this),t=f.GetData(this,"data"),n=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<h.inArray(n,i)?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},i.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var t=document.createElement("li");t.className="select2-results__option";var n={role:"option","aria-selected":"false"},i=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=e.element&&i.call(e.element,":disabled")||null==e.element&&e.disabled)&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(t.id=e._resultId),e.title&&(t.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var o=n[r];t.setAttribute(r,o)}if(e.children){var s=h(t),a=document.createElement("strong");a.className="select2-results__group";h(a);this.template(e,a);for(var l=[],c=0;c<e.children.length;c++){var u=e.children[c],d=this.option(u);l.push(d)}var p=h("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(l),s.append(a),s.append(p)}else this.template(e,t);return f.StoreData(t,"data",e),t},i.prototype.bind=function(t,e){var l=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){l.clear(),l.append(e.data),t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on("results:append",function(e){l.append(e.data),t.isOpen()&&l.setClasses()}),t.on("query",function(e){l.hideMessages(),l.showLoading(e)}),t.on("select",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}),t.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=l.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=l.getHighlightedResults();if(0!==e.length){var t=f.GetData(e[0],"data");"true"==e.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var i=n-1;0===e.length&&(i=0);var r=t.eq(i);r.trigger("mouseenter");var o=l.$results.offset().top,s=r.offset().top,a=l.$results.scrollTop()+(s-o);0===i?l.$results.scrollTop(0):s-o<0&&l.$results.scrollTop(a)}}),t.on("results:next",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var i=t.eq(n);i.trigger("mouseenter");var r=l.$results.offset().top+l.$results.outerHeight(!1),o=i.offset().top+i.outerHeight(!1),s=l.$results.scrollTop()+o-r;0===n?l.$results.scrollTop(0):r<o&&l.$results.scrollTop(s)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){l.displayMessage(e)}),h.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=l.$results.scrollTop(),n=l.$results.get(0).scrollHeight-t+e.deltaY,i=0<e.deltaY&&t-e.deltaY<=0,r=e.deltaY<0&&n<=l.$results.height();i?(l.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var t=h(this),n=f.GetData(this,"data");"true"!==t.attr("aria-selected")?l.trigger("select",{originalEvent:e,data:n}):l.options.get("multiple")?l.trigger("unselect",{originalEvent:e,data:n}):l.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var t=f.GetData(this,"data");l.getHighlightedResults().removeClass("select2-results__option--highlighted"),l.trigger("results:focus",{data:t,element:h(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),o=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,t){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=n(e,t);null==r?t.style.display="none":"string"==typeof r?t.innerHTML=i(r):h(t).append(r)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(n,i,r){function o(e,t){this.$element=e,this.options=t,o.__super__.constructor.call(this)}return i.Extend(o,i.Observable),o.prototype.render=function(){var e=n('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=i.GetData(this.$element[0],"old-tabindex")?this._tabindex=i.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},o.prototype.bind=function(e,t){var n=this,i=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===r.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),e.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},o.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},o.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&i.GetData(this,"element").select2("close")})})},o.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},o.prototype.position=function(e,t){t.find(".selection").append(e)},o.prototype.destroy=function(){this._detachCloseHandler(this.container)},o.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},o}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i);var r=t.title||t.text;r?n.attr("title",r):n.removeAttr("title")}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(r,e,l){function n(e,t){n.__super__.constructor.apply(this,arguments)}return l.Extend(n,e),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},n.prototype.bind=function(e,t){var i=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){i.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!i.options.get("disabled")){var t=r(this).parent(),n=l.GetData(t[0],"data");i.trigger("unselect",{originalEvent:e,data:n})}})},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},n.prototype.selectionContainer=function(){return r('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n<e.length;n++){var i=e[n],r=this.selectionContainer(),o=this.display(i,r);r.append(o);var s=i.title||i.text;s&&r.attr("title",s),l.StoreData(r[0],"data",i),t.push(r)}var a=this.$selection.find(".select2-selection__rendered");l.appendMany(a,t)}},n}),e.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(r,i,a){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var i=a.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var o={data:i};if(this.trigger("clear",o),o.prevented)this.$element.val(r);else{for(var s=0;s<i.length;s++)if(o={data:i[s]},this.trigger("unselect",o),o.prevented)return void this.$element.val(r);this.$element.trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=i.DELETE&&t.which!=i.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){if(e.call(this,t),!(0<this.$selection.find(".select2-selection__placeholder").length||0===t.length)){var n=this.options.get("translations").get("removeAllItems"),i=r('<span class="select2-selection__clear" title="'+n()+'">&times;</span>');a.StoreData(i[0],"data",t),this.$selection.find(".select2-selection__rendered").prepend(i)}},e}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(i,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=i('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=t,this.$search=t.find("input");var n=e.call(this);return this._transferTabIndex(),n},e.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),t.on("open",function(){i.$search.attr("aria-controls",r),i.$search.trigger("focus")}),t.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),t.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),t.on("disable",function(){i.$search.prop("disabled",!0)}),t.on("focus",function(e){i.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){i.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){i._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===l.BACKSPACE&&""===i.$search.val()){var t=i.$searchContainer.prev(".select2-selection__choice");if(0<t.length){var n=a.GetData(t[0],"data");i.searchRemoveChoice(n),e.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(e){i.$search.val()&&e.stopPropagation()});var o=document.documentMode,s=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){s?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(s&&"input"===e.type)i.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&i.handleSearch(e)}})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").width():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},e}),e.define("select2/selection/eventRelay",["jquery"],function(s){function e(){}return e.prototype.bind=function(e,t,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],o=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){if(-1!==s.inArray(e,r)){t=t||{};var n=s.Event("select2:"+e,{params:t});i.$element.trigger(n),-1!==s.inArray(e,o)&&(t.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,n){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(e){if(!(e in i._cache)){var t=n(e);i._cache[e]=t}return new i(i._cache[e])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","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Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(i){function n(e,t){n.__super__.constructor.call(this)}return i.Extend(n,i.Observable),n.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(e,t){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(e,t){var n=e.id+"-result-";return n+=i.generateChars(4),null!=t.id?n+="-"+t.id.toString():n+="-"+i.generateChars(4),n},n}),e.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var n=[],i=this;this.$element.find(":selected").each(function(){var e=l(this),t=i.item(e);n.push(t)}),e(n)},n.prototype.select=function(r){var o=this;if(r.selected=!0,l(r.element).is("option"))return r.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(e){var t=[];(r=[r]).push.apply(r,e);for(var n=0;n<r.length;n++){var i=r[n].id;-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("change")});else{var e=r.id;this.$element.val(e),this.$element.trigger("change")}},n.prototype.unselect=function(r){var o=this;if(this.$element.prop("multiple")){if(r.selected=!1,l(r.element).is("option"))return r.element.selected=!1,void this.$element.trigger("change");this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n].id;i!==r.id&&-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("change")})}},n.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){a.RemoveData(this)})},n.prototype.query=function(i,e){var r=[],o=this;this.$element.children().each(function(){var e=l(this);if(e.is("option")||e.is("optgroup")){var t=o.item(e),n=o.matches(i,t);null!==n&&r.push(n)}}),e({results:r})},n.prototype.addOptions=function(e){a.appendMany(this.$element,e)},n.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var n=l(t),i=this._normalizeItem(e);return i.element=t,a.StoreData(t,"data",i),n},n.prototype.item=function(e){var t={};if(null!=(t=a.GetData(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var n=e.children("option"),i=[],r=0;r<n.length;r++){var o=l(n[r]),s=this.item(o);i.push(s)}t.children=i}return(t=this._normalizeItem(t)).element=e[0],a.StoreData(e[0],"data",t),t},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=l.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),l.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(e,f,g){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return f.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(n){var e=this.$element.find("option").filter(function(e,t){return t.value==n.id.toString()});0===e.length&&(e=this.option(n),this.addOptions(e)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(e){var t=this,n=this.$element.find("option"),i=n.map(function(){return t.item(g(this)).id}).get(),r=[];function o(e){return function(){return g(this).val()==e.id}}for(var s=0;s<e.length;s++){var a=this._normalizeItem(e[s]);if(0<=g.inArray(a.id,i)){var l=n.filter(o(a)),c=this.item(l),u=g.extend(!0,{},a,c),d=this.option(u);l.replaceWith(d)}else{var p=this.option(a);if(a.children){var h=this.convertToOptions(a.children);f.appendMany(p,h)}r.push(p)}}return r},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,o){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return o.extend({},e,{q:e.term})},transport:function(e,t,n){var i=o.ajax(e);return i.then(t),i.fail(n),i}};return o.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(n,i){var r=this;null!=this._request&&(o.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var t=o.extend({type:"GET"},this.ajaxOptions);function e(){var e=t.transport(t,function(e){var t=r.processResults(e,n);r.options.get("debug")&&window.console&&console.error&&(t&&t.results&&o.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),i(t)},function(){"status"in e&&(0===e.status||"0"===e.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=e}"function"==typeof t.url&&(t.url=t.url.call(this.$element,n)),"function"==typeof t.data&&(t.data=t.data.call(this.$element,n)),this.ajaxOptions.delay&&null!=n.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},n}),e.define("select2/data/tags",["jquery"],function(u){function e(e,t,n){var i=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var o=n.get("insertTag");if(void 0!==o&&(this.insertTag=o),e.call(this,t,n),u.isArray(i))for(var s=0;s<i.length;s++){var a=i[s],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(e,c,u){var d=this;this._removeOldTags(),null!=c.term&&null==c.page?e.call(this,c,function e(t,n){for(var i=t.results,r=0;r<i.length;r++){var o=i[r],s=null!=o.children&&!e({results:o.children},!0);if((o.text||"").toUpperCase()===(c.term||"").toUpperCase()||s)return!n&&(t.data=i,void u(t))}if(n)return!0;var a=d.createTag(c);if(null!=a){var l=d.option(a);l.attr("data-select2-tag",!0),d.addOptions([l]),d.insertTag(i,a)}t.results=i,u(t)}):e.call(this,c,u)},e.prototype.createTag=function(e,t){var n=u.trim(t.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||u(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(d){function e(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var r=this.tokenizer(t,this.options,function(e){var t=i._normalizeItem(e);if(!i.$element.find("option").filter(function(){return d(this).val()===t.id}).length){var n=i.option(t);n.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([n])}!function(e){i.trigger("select",{data:e})}(t)});r.term!==t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger("focus")),t.term=r.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,i){for(var r=n.get("tokenSeparators")||[],o=t.term,s=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};s<o.length;){var l=o[s];if(-1!==d.inArray(l,r)){var c=o.substr(0,s),u=a(d.extend({},t,{term:c}));null!=u?(i(u),o=o.substr(s+1)||"",s=0):s++}else s++}return{term:o}},e}),e.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(){i._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected(function(){e.call(i,t,n)})},e.prototype._checkIfMaximumSelected=function(e,n){var i=this;this.current(function(e){var t=null!=e?e.length:0;0<i.maximumSelectionLength&&t>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):n&&n()})},e}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(o,e){function t(){}return t.prototype.render=function(e){var t=e.call(this),n=o('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),t.prepend(n),t},t.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){o(this).off("keyup")}),this.$search.on("keyup input",function(e){i.handleSearch(e)}),t.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",r),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),t.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||i.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")})},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),e.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;0<=i;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",function(e){i.lastParams=e,i.loading=!0}),t.on("query:append",function(e){i.lastParams=e,i.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&e){var t=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50&&this.loadMore()}},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(f,a){function e(e,t,n){this.$dropdownParent=f(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=f("<span></span>"),n=e.call(this);return t.append(n),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},e.prototype._attachPositioningHandler=function(e,t){var n=this,i="scroll.select2."+t.id,r="resize.select2."+t.id,o="orientationchange.select2."+t.id,s=this.$container.parents().filter(a.hasScroll);s.each(function(){a.StoreData(this,"select2-scroll-position",{x:f(this).scrollLeft(),y:f(this).scrollTop()})}),s.on(i,function(e){var t=a.GetData(this,"select2-scroll-position");f(this).scrollTop(t.y)}),f(window).on(i+" "+r+" "+o,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,i="resize.select2."+t.id,r="orientationchange.select2."+t.id;this.$container.parents().filter(a.hasScroll).off(n),f(window).off(n+" "+i+" "+r)},e.prototype._positionDropdown=function(){var e=f(window),t=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var s=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=a<r.top-s,u=l>r.bottom+s,d={left:r.left,top:o.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h={top:0,left:0};(f.contains(document.body,p[0])||p[0].isConnected)&&(h=p.offset()),d.top-=h.top,d.left-=h.left,t||n||(i="below"),u||!c||t?!c&&u&&t&&(i="below"):i="above",("above"==i||t&&"below"!==i)&&(d.top=o.top-h.top-s),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(d)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=o.GetData(i[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(c,u,d,p,h,f,g,m,v,y,s,t,_,w,$,b,A,x,S,D,C,E,O,T,q,j,L,I,e){function n(){this.reset()}return n.prototype.apply=function(e){if(null==(e=c.extend(!0,{},this.defaults,e)).dataAdapter){if(null!=e.ajax?e.dataAdapter=$:null!=e.data?e.dataAdapter=w:e.dataAdapter=_,0<e.minimumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,x)),0<e.maximumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,S)),0<e.maximumSelectionLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,D)),e.tags&&(e.dataAdapter=y.Decorate(e.dataAdapter,b)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=y.Decorate(e.dataAdapter,A)),null!=e.query){var t=u(e.amdBase+"compat/query");e.dataAdapter=y.Decorate(e.dataAdapter,t)}if(null!=e.initSelection){var n=u(e.amdBase+"compat/initSelection");e.dataAdapter=y.Decorate(e.dataAdapter,n)}}if(null==e.resultsAdapter&&(e.resultsAdapter=d,null!=e.ajax&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,T)),null!=e.placeholder&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,O)),e.selectOnClose&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,L))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=C;else{var i=y.Decorate(C,E);e.dropdownAdapter=i}if(0!==e.minimumResultsForSearch&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,j)),e.closeOnSelect&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,I)),null!=e.dropdownCssClass||null!=e.dropdownCss||null!=e.adaptDropdownCssClass){var r=u(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=y.Decorate(e.dropdownAdapter,r)}e.dropdownAdapter=y.Decorate(e.dropdownAdapter,q)}if(null==e.selectionAdapter){if(e.multiple?e.selectionAdapter=h:e.selectionAdapter=p,null!=e.placeholder&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,f)),e.allowClear&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,g)),e.multiple&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,m)),null!=e.containerCssClass||null!=e.containerCss||null!=e.adaptContainerCssClass){var o=u(e.amdBase+"compat/containerCss");e.selectionAdapter=y.Decorate(e.selectionAdapter,o)}e.selectionAdapter=y.Decorate(e.selectionAdapter,v)}e.language=this._resolveLanguage(e.language),e.language.push("en");for(var s=[],a=0;a<e.language.length;a++){var l=e.language[a];-1===s.indexOf(l)&&s.push(l)}return e.language=s,e.translations=this._processTranslations(e.language,e.debug),e},n.prototype.reset=function(){function a(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:y.escapeMarkup,language:{},matcher:function e(t,n){if(""===c.trim(t.term))return n;if(n.children&&0<n.children.length){for(var i=c.extend(!0,{},n),r=n.children.length-1;0<=r;r--)null==e(t,n.children[r])&&i.children.splice(r,1);return 0<i.children.length?i:e(t,i)}var o=a(n.text).toUpperCase(),s=a(t.term).toUpperCase();return-1<o.indexOf(s)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},n.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,r=t.prop("lang"),o=t.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(o));return e.language=s,e},n.prototype._resolveLanguage=function(e){if(!e)return[];if(c.isEmptyObject(e))return[];if(c.isPlainObject(e))return[e];var t;t=c.isArray(e)?e:[e];for(var n=[],i=0;i<t.length;i++)if(n.push(t[i]),"string"==typeof t[i]&&0<t[i].indexOf("-")){var r=t[i].split("-")[0];n.push(r)}return n},n.prototype._processTranslations=function(e,t){for(var n=new s,i=0;i<e.length;i++){var r=new s,o=e[i];if("string"==typeof o)try{r=s.loadPath(o)}catch(e){try{o=this.defaults.amdLanguageBase+o,r=s.loadPath(o)}catch(e){t&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.')}}else r=c.isPlainObject(o)?new s(o):o;n.extend(r)}return n},n.prototype.set=function(e,t){var n={};n[c.camelCase(e)]=t;var i=y._convertData(n);c.extend(!0,this.defaults,i)},new n}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(i,d,r,p){function e(e,t){if(this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=r.applyFromElement(this.options,t)),this.options=r.apply(this.options),t&&t.is("input")){var n=i(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=p.Decorate(this.options.dataAdapter,n)}}return e.prototype.fromElement=function(e){var t=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),p.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),p.StoreData(e[0],"data",p.GetData(e[0],"select2Tags")),p.StoreData(e[0],"tags",!0)),p.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",p.GetData(e[0],"ajaxUrl")),p.StoreData(e[0],"ajax-Url",p.GetData(e[0],"ajaxUrl")));var n={};function i(e,t){return t.toUpperCase()}for(var r=0;r<e[0].attributes.length;r++){var o=e[0].attributes[r].name,s="data-";if(o.substr(0,s.length)==s){var a=o.substring(s.length),l=p.GetData(e[0],a);n[a.replace(/-([a-z])/g,i)]=l}}d.fn.jquery&&"1."==d.fn.jquery.substr(0,2)&&e[0].dataset&&(n=d.extend(!0,{},e[0].dataset,n));var c=d.extend(!0,{},p.GetData(e[0]),n);for(var u in c=p._convertData(c))-1<d.inArray(u,t)||(d.isPlainObject(this.options[u])?d.extend(this.options[u],c[u]):this.options[u]=c[u]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(r,c,u,i){var d=function(e,t){null!=u.GetData(e[0],"select2")&&u.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),t=t||{},this.options=new c(t,e),d.__super__.constructor.call(this);var n=e.attr("tabindex")||0;u.StoreData(e[0],"old-tabindex",n),e.attr("tabindex","-1");var i=this.options.get("dataAdapter");this.dataAdapter=new i(e,this.options);var r=this.render();this._placeContainer(r);var o=this.options.get("selectionAdapter");this.selection=new o(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var s=this.options.get("dropdownAdapter");this.dropdown=new s(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var a=this.options.get("resultsAdapter");this.results=new a(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){l.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),u.StoreData(e[0],"select2",this),e.data("select2",this)};return u.Extend(d,u.Observable),d.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+u.generateChars(2):u.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},d.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},d.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"!=t)return"computedstyle"!=t?t:window.getComputedStyle(e[0]).width;var o=e.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&1<=c.length)return c[1]}return null},d.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},d.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=u.bind(this._syncAttributes,this),this._syncS=u.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){r.each(e,t._syncA),r.each(e,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},d.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(e){n.focus(e)}),this.selection.on("*",function(e,t){-1===r.inArray(e,i)&&n.trigger(e,t)})},d.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(t){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(t,function(e){n.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){n.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;n.isOpen()?t===i.ESC||t===i.TAB||t===i.UP&&e.altKey?(n.close(),e.preventDefault()):t===i.ENTER?(n.trigger("results:select",{}),e.preventDefault()):t===i.SPACE&&e.ctrlKey?(n.trigger("results:toggle",{}),e.preventDefault()):t===i.UP?(n.trigger("results:previous",{}),e.preventDefault()):t===i.DOWN&&(n.trigger("results:next",{}),e.preventDefault()):(t===i.ENTER||t===i.SPACE||t===i.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},d.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},d.prototype._syncSubtree=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&0<t.addedNodes.length)for(var r=0;r<t.addedNodes.length;r++){t.addedNodes[r].selected&&(n=!0)}else t.removedNodes&&0<t.removedNodes.length&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})})}},d.prototype.trigger=function(e,t){var n=d.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var r=i[e],o={prevented:!1,name:e,args:t};if(n.call(this,r,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},d.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},d.prototype.open=function(){this.isOpen()||this.trigger("query",{})},d.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},d.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},d.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},d.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},d.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},d.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},d.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];r.isArray(t)&&(t=r.map(t,function(e){return e.toString()})),this.$element.val(t).trigger("change")},d.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",u.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),u.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},d.prototype.render=function(){var e=r('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),u.StoreData(e[0],"element",this.$element),e},d}),e.define("select2/compat/utils",["jquery"],function(s){return{syncCssClasses:function(e,t,n){var i,r,o=[];(i=s.trim(e.attr("class")))&&s((i=""+i).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&o.push(this)}),(i=s.trim(t.attr("class")))&&s((i=""+i).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(r=n(this))&&o.push(r)}),e.attr("class",o.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(s,a){function l(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("containerCssClass")||"";s.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptContainerCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}var o=this.options.get("containerCss")||{};return s.isFunction(o)&&(o=o(this.$element)),a.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(s,a){function l(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("dropdownCssClass")||"";s.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptDropdownCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}var o=this.options.get("dropdownCss")||{};return s.isFunction(o)&&(o=o(this.$element)),a.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/initSelection",["jquery"],function(i){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return e.prototype.current=function(e,t){var n=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,i.isArray(e)||(e=[e]),t(e)})},e}),e.define("select2/compat/inputData",["jquery","../utils"],function(s,i){function e(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return e.prototype.current=function(e,t){function i(e,t){var n=[];return e.selected||-1!==s.inArray(e.id,t)?(e.selected=!0,n.push(e)):e.selected=!1,e.children&&n.push.apply(n,i(e.children,t)),n}for(var n=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r];n.push.apply(n,i(o,this.$element.val().split(this._valueSeparator)))}t(n)},e.prototype.select=function(e,t){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+t.id,this.$element.val(n),this.$element.trigger("change")}else this.current(function(e){s.map(e,function(e){e.selected=!1})}),this.$element.val(t.id),this.$element.trigger("change")},e.prototype.unselect=function(e,r){var o=this;r.selected=!1,this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];r.id!=i.id&&t.push(i.id)}o.$element.val(t.join(o._valueSeparator)),o.$element.trigger("change")})},e.prototype.query=function(e,t,n){for(var i=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r],s=this.matches(t,o);null!==s&&i.push(s)}n({results:i})},e.prototype.addOptions=function(e,t){var n=s.map(t,function(e){return i.GetData(e[0],"data")});this._currentData.push.apply(this._currentData,n)},e}),e.define("select2/compat/matcher",["jquery"],function(s){return function(o){return function(e,t){var n=s.extend(!0,{},t);if(null==e.term||""===s.trim(e.term))return n;if(t.children){for(var i=t.children.length-1;0<=i;i--){var r=t.children[i];o(e.term,r.text,r)||n.children.splice(i,1)}if(0<n.children.length)return n}return o(e.term,t.text,t)?n:null}}}),e.define("select2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),e.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e}),e.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),e.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),l=function(p){var h,f,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],g=Array.prototype.slice;if(p.event.fixHooks)for(var n=e.length;n;)p.event.fixHooks[e[--n]]=p.event.mouseHooks;var m=p.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],i,!1);else this.onmousewheel=i;p.data(this,"mousewheel-line-height",m.getLineHeight(this)),p.data(this,"mousewheel-page-height",m.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],i,!1);else this.onmousewheel=null;p.removeData(this,"mousewheel-line-height"),p.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=p(e),n=t["offsetParent"in p.fn?"offsetParent":"parent"]();return n.length||(n=p("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return p(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function i(e){var t,n=e||window.event,i=g.call(arguments,1),r=0,o=0,s=0,a=0,l=0;if((e=p.event.fix(n)).type="mousewheel","detail"in n&&(s=-1*n.detail),"wheelDelta"in n&&(s=n.wheelDelta),"wheelDeltaY"in n&&(s=n.wheelDeltaY),"wheelDeltaX"in n&&(o=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(o=-1*s,s=0),r=0===s?o:s,"deltaY"in n&&(r=s=-1*n.deltaY),"deltaX"in n&&(o=n.deltaX,0===s&&(r=-1*o)),0!==s||0!==o){if(1===n.deltaMode){var c=p.data(this,"mousewheel-line-height");r*=c,s*=c,o*=c}else if(2===n.deltaMode){var u=p.data(this,"mousewheel-page-height");r*=u,s*=u,o*=u}if(t=Math.max(Math.abs(s),Math.abs(o)),(!f||t<f)&&y(n,f=t)&&(f/=40),y(n,t)&&(r/=40,o/=40,s/=40),r=Math[1<=r?"floor":"ceil"](r/f),o=Math[1<=o?"floor":"ceil"](o/f),s=Math[1<=s?"floor":"ceil"](s/f),m.settings.normalizeOffset&&this.getBoundingClientRect){var d=this.getBoundingClientRect();a=e.clientX-d.left,l=e.clientY-d.top}return e.deltaX=o,e.deltaY=s,e.deltaFactor=f,e.offsetX=a,e.offsetY=l,e.deltaMode=0,i.unshift(e,r,o,s),h&&clearTimeout(h),h=setTimeout(v,200),(p.event.dispatch||p.event.handle).apply(this,i)}}function v(){f=null}function y(e,t){return m.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}p.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof e.define&&e.define.amd?e.define("jquery-mousewheel",["jquery"],l):"object"==typeof exports?module.exports=l:l(d),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(r,e,o,t,s){if(null==r.fn.select2){var a=["open","close","destroy"];r.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=r.extend(!0,{},t);new o(r(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=s.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,i)}),-1<r.inArray(t,a)?this:n}}return null==r.fn.select2.defaults&&(r.fn.select2.defaults=t),o}),{define:e.define,require:e.require}}(),t=e.require("jquery.select2");return d.fn.select2.amd=e,t});