Admin Columns - Version 3.4.6

Version Description

Release Date: August 21st, 2019

  • [Improved] Search the list of available custom fields in the drop down with Select2
  • [Improved] Change the label for Custom Field column Excerpt to Text
  • [Improved] Don't open column settings when column refreshes
  • [Improved] Setting for adding a link to related comments display
Download this release

Release Info

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

Code changes from version 3.4.1 to 3.4.6

Files changed (109) hide show
  1. assets/css/ac-jquery-ui.css +5 -0
  2. assets/css/admin-page-addons.css +1 -1
  3. assets/css/admin-page-columns.css +1 -1
  4. assets/css/select2.css +1 -0
  5. assets/css/table.css +1 -1
  6. assets/images/ui-icons_444444_256x240.png +0 -0
  7. assets/images/ui-icons_555555_256x240.png +0 -0
  8. assets/images/ui-icons_777620_256x240.png +0 -0
  9. assets/images/ui-icons_777777_256x240.png +0 -0
  10. assets/images/ui-icons_cc0000_256x240.png +0 -0
  11. assets/images/ui-icons_ffffff_256x240.png +0 -0
  12. assets/js/admin-general.js +1 -1
  13. assets/js/admin-page-addons.js +1 -0
  14. assets/js/admin-page-columns.js +1 -1
  15. assets/js/admin-page-columns.js.map +1 -1
  16. assets/js/message-review.js +1 -1
  17. assets/js/notice-dismissible.js +1 -1
  18. assets/js/select2.js +325 -0
  19. assets/js/select2_conflict_fix.js +1 -0
  20. assets/js/table.js +1 -1
  21. classes/Admin/Page/Addons.php +15 -72
  22. classes/Admin/Page/Columns.php +69 -7
  23. classes/AdminColumns.php +19 -30
  24. classes/Capabilities.php +13 -16
  25. classes/Capabilities/Manage.php +18 -0
  26. classes/Column/Comment/ReplyTo.php +5 -0
  27. classes/Column/User/Registered.php +7 -1
  28. classes/DefaultColumns.php +28 -0
  29. classes/Helper/Arrays.php +52 -3
  30. classes/Helper/Select/Entities.php +23 -0
  31. classes/Helper/Select/Entities/CustomFields.php +51 -0
  32. classes/Helper/Select/Formatter.php +118 -0
  33. classes/Helper/Select/Formatter/NullFormatter.php +26 -0
  34. classes/Helper/Select/Group.php +75 -0
  35. classes/Helper/Select/Group/CustomField.php +20 -0
  36. classes/Helper/Select/Group/CustomField/MultiSite.php +56 -0
  37. classes/Helper/Select/MetaValuesFactory.php +71 -0
  38. classes/Helper/Select/Option.php +40 -0
  39. classes/Helper/Select/OptionGroup.php +54 -0
  40. classes/Helper/Select/Options.php +42 -0
  41. classes/Helper/Select/Options/Paginated.php +47 -0
  42. classes/Helper/Select/Paginated.php +22 -0
  43. classes/Helper/Select/Response.php +68 -0
  44. classes/Helper/Select/Value.php +14 -0
  45. classes/Helper/Select/Value/NullFormatter.php +13 -0
  46. classes/Helper/Strings.php +2 -0
  47. classes/ListScreen.php +22 -25
  48. classes/Meta/Query.php +2 -1
  49. classes/Plugin.php +9 -0
  50. classes/ScreenController.php +9 -3
  51. classes/Settings/Column/Comment.php +9 -4
  52. classes/Settings/Column/CommentLink.php +85 -0
  53. classes/Settings/Column/CustomField.php +38 -47
  54. classes/Settings/Column/CustomFieldType.php +13 -4
  55. classes/Settings/Column/MediaLink.php +86 -0
  56. classes/Settings/Column/Meta.php +1 -1
  57. classes/Storage/Timestamp.php +1 -7
  58. classes/Table/Screen.php +34 -24
  59. classes/Transient.php +5 -1
  60. codepress-admin-columns.php +6 -6
  61. languages/codepress-admin-columns-ar_AR.mo +0 -0
  62. languages/codepress-admin-columns-ar_AR.po +0 -1804
  63. languages/codepress-admin-columns-bg_BG.mo +0 -0
  64. languages/codepress-admin-columns-bg_BG.po +0 -0
  65. languages/codepress-admin-columns-bt_BR.mo +0 -0
  66. languages/codepress-admin-columns-bt_BR.po +0 -1792
  67. languages/codepress-admin-columns-da_DK.mo +0 -0
  68. languages/codepress-admin-columns-da_DK.po +0 -1792
  69. languages/codepress-admin-columns-de_DE.mo +0 -0
  70. languages/codepress-admin-columns-de_DE.po +0 -1792
  71. languages/codepress-admin-columns-en_NZ.mo +0 -0
  72. languages/codepress-admin-columns-en_NZ.po +0 -1792
  73. languages/codepress-admin-columns-es_ES.mo +0 -0
  74. languages/codepress-admin-columns-es_ES.po +0 -1792
  75. languages/codepress-admin-columns-fa_IR.mo +0 -0
  76. languages/codepress-admin-columns-fa_IR.po +0 -1789
  77. languages/codepress-admin-columns-fr_FR.mo +0 -0
  78. languages/codepress-admin-columns-fr_FR.po +0 -1792
  79. languages/codepress-admin-columns-he_IL.mo +0 -0
  80. languages/codepress-admin-columns-he_IL.po +0 -1792
  81. languages/codepress-admin-columns-hu_HU.mo +0 -0
  82. languages/codepress-admin-columns-hu_HU.po +0 -1792
  83. languages/codepress-admin-columns-it_IT.mo +0 -0
  84. languages/codepress-admin-columns-it_IT.po +0 -1792
  85. languages/codepress-admin-columns-ja_JA.mo +0 -0
  86. languages/codepress-admin-columns-ja_JA.po +0 -1794
  87. languages/codepress-admin-columns-nb_NO.mo +0 -0
  88. languages/codepress-admin-columns-nb_NO.po +0 -0
  89. languages/codepress-admin-columns-nl_NL.mo +0 -0
  90. languages/codepress-admin-columns-nl_NL.po +0 -1792
  91. languages/codepress-admin-columns-pl_PL.mo +0 -0
  92. languages/codepress-admin-columns-pl_PL.po +0 -1795
  93. languages/codepress-admin-columns-pt_PT.mo +0 -0
  94. languages/codepress-admin-columns-pt_PT.po +0 -0
  95. languages/codepress-admin-columns-ro_RO.mo +0 -0
  96. languages/codepress-admin-columns-ro_RO.po +0 -1795
  97. languages/codepress-admin-columns-ru_RU.mo +0 -0
  98. languages/codepress-admin-columns-ru_RU.po +0 -1795
  99. languages/codepress-admin-columns-sv_SE.mo +0 -0
  100. languages/codepress-admin-columns-sv_SE.po +0 -1792
  101. languages/codepress-admin-columns-tr_TR.mo +0 -0
  102. languages/codepress-admin-columns-tr_TR.po +0 -0
  103. languages/codepress-admin-columns-zh_CN.mo +0 -0
  104. languages/codepress-admin-columns-zh_CN.po +0 -1789
  105. languages/codepress-admin-columns.pot +92 -84
  106. readme.txt +35 -2
  107. templates/admin/edit-addon.php +1 -1
  108. templates/admin/modal-pro.php +2 -2
  109. templates/admin/tooltip-label.php +1 -1
assets/css/ac-jquery-ui.css ADDED
@@ -0,0 +1,5 @@
1
+ /*! jQuery UI - v1.11.4 - 2015-12-10
2
+ * http://jqueryui.com
3
+ * Includes: core.css, datepicker.css, theme.css
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
5
+ * Copyright jQuery Foundation and other contributors; Licensed MIT */.ac-jqui .ui-helper-hidden{display:none}.ac-jqui .ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ac-jqui .ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ac-jqui .ui-helper-clearfix:before,.ac-jqui .ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ac-jqui .ui-helper-clearfix:after{clear:both}.ac-jqui .ui-helper-clearfix{min-height:0}.ac-jqui .ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ac-jqui .ui-front{z-index:100}.ac-jqui .ui-state-disabled{cursor:default !important}.ac-jqui .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ac-jqui .ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ac-jqui .ui-datepicker{width:300px;display:none;padding:0}.ac-jqui .ui-datepicker .ui-datepicker-header{position:relative;padding:5px 20px}.ac-jqui .ui-datepicker .ui-datepicker-prev,.ac-jqui .ui-datepicker .ui-datepicker-next{position:absolute;top:50%;margin-top:-12px;width:25px;height:25px;background:transparent;border:none;color:#000;cursor:pointer;transition:all .2s}.ac-jqui .ui-datepicker .ui-datepicker-prev.ui-state-hover,.ac-jqui .ui-datepicker .ui-datepicker-next.ui-state-hover{background:transparent;border:none;opacity:.6}.ac-jqui .ui-datepicker .ui-datepicker-prev:before,.ac-jqui .ui-datepicker .ui-datepicker-next:before{font-family:Dashicons, sans-serif;content:"\f341";display:block;margin-top:3px}.ac-jqui .ui-datepicker .ui-datepicker-prev span,.ac-jqui .ui-datepicker .ui-datepicker-next span{display:none;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ac-jqui .ui-datepicker .ui-datepicker-prev{left:5px}.ac-jqui .ui-datepicker .ui-datepicker-prev:before{content:"\f341"}.ac-jqui .ui-datepicker .ui-datepicker-next{right:5px;text-align:right}.ac-jqui .ui-datepicker .ui-datepicker-next:before{content:"\f345"}.ac-jqui .ui-datepicker .ui-datepicker-title{margin:0;line-height:1.8em;text-align:center}.ac-jqui .ui-datepicker .ui-datepicker-title .ui-datepicker-month{padding-right:5px}.ac-jqui .ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ac-jqui .ui-datepicker .ui-datepicker-title select.ui-datepicker-month,.ac-jqui .ui-datepicker .ui-datepicker-title select.ui-datepicker-year{width:45%}.ac-jqui .ui-datepicker .ui-datepicker-title select.ui-datepicker-month{margin-right:10px}.ac-jqui .ui-datepicker table{width:calc(100% - 10px);font-size:.9em;border-collapse:collapse;margin:5px}.ac-jqui .ui-datepicker table th,.ac-jqui .ui-datepicker table td{padding:0;width:39px;height:35px;font-size:13px;font-weight:300}.ac-jqui .ui-datepicker table th{text-align:center;border:0;color:#999}.ac-jqui .ui-datepicker table td{border:0}.ac-jqui .ui-datepicker table td span,.ac-jqui .ui-datepicker table td a{display:block;line-height:28px;width:28px;text-align:right;text-decoration:none;border-radius:50%}.ac-jqui .ui-datepicker table td span:focus,.ac-jqui .ui-datepicker table td a:focus{outline:none;box-shadow:none}.ac-jqui .ui-datepicker table td.ui-state-disabled>*{cursor:not-allowed}.ac-jqui .ui-datepicker table td.ui-datepicker-today a.ui-state-default{background:#e2e2e2;color:#23282d}.ac-jqui .ui-datepicker table td .ui-state-default{background:#fff;border:1px solid #fff;text-align:center}.ac-jqui .ui-datepicker table td .ui-state-hover{background:#eee}.ac-jqui .ui-datepicker table td .ui-state-active{background:#0072AA;color:#fff}.ac-jqui .ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ac-jqui .ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ac-jqui .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ac-jqui .ui-datepicker.ui-datepicker-multi{width:auto}.ac-jqui .ui-datepicker-multi .ui-datepicker-group{float:left}.ac-jqui .ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ac-jqui .ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ac-jqui .ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ac-jqui .ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ac-jqui .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ac-jqui .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ac-jqui .ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ac-jqui .ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ac-jqui .ui-datepicker-rtl{direction:rtl}.ac-jqui .ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ac-jqui .ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ac-jqui .ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ac-jqui .ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ac-jqui .ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ac-jqui .ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ac-jqui .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ac-jqui .ui-datepicker-rtl .ui-datepicker-group{float:right}.ac-jqui .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ac-jqui .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ac-jqui .ui-widget{font-family:Arial, Helvetica, sans-serif;font-size:1em}.ac-jqui .ui-widget .ui-widget{font-size:1em}.ac-jqui .ui-widget input,.ac-jqui .ui-widget select,.ac-jqui .ui-widget textarea,.ac-jqui .ui-widget button{font-family:Arial, Helvetica, sans-serif;font-size:1em}.ac-jqui .ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ac-jqui .ui-widget-content a{color:#333}.ac-jqui .ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ac-jqui .ui-widget-header a{color:#333}.ac-jqui .ui-state-default,.ac-jqui .ui-widget-content .ui-state-default,.ac-jqui .ui-widget-header .ui-state-default{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ac-jqui .ui-state-default a,.ac-jqui .ui-state-default a:link,.ac-jqui .ui-state-default a:visited{color:#454545;text-decoration:none}.ac-jqui .ui-state-hover,.ac-jqui .ui-widget-content .ui-state-hover,.ac-jqui .ui-widget-header .ui-state-hover,.ac-jqui .ui-state-focus,.ac-jqui .ui-widget-content .ui-state-focus,.ac-jqui .ui-widget-header .ui-state-focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ac-jqui .ui-state-hover a,.ac-jqui .ui-state-hover a:hover,.ac-jqui .ui-state-hover a:link,.ac-jqui .ui-state-hover a:visited,.ac-jqui .ui-state-focus a,.ac-jqui .ui-state-focus a:hover,.ac-jqui .ui-state-focus a:link,.ac-jqui .ui-state-focus a:visited{color:#2b2b2b;text-decoration:none}.ac-jqui .ui-state-active,.ac-jqui .ui-widget-content .ui-state-active,.ac-jqui .ui-widget-header .ui-state-active{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ac-jqui .ui-state-active a,.ac-jqui .ui-state-active a:link,.ac-jqui .ui-state-active a:visited{color:#fff;text-decoration:none}.ac-jqui .ui-state-highlight,.ac-jqui .ui-widget-content .ui-state-highlight,.ac-jqui .ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ac-jqui .ui-state-highlight a,.ac-jqui .ui-widget-content .ui-state-highlight a,.ac-jqui .ui-widget-header .ui-state-highlight a{color:#777620}.ac-jqui .ui-state-error,.ac-jqui .ui-widget-content .ui-state-error,.ac-jqui .ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ac-jqui .ui-state-error a,.ac-jqui .ui-widget-content .ui-state-error a,.ac-jqui .ui-widget-header .ui-state-error a{color:#5f3f3f}.ac-jqui .ui-state-error-text,.ac-jqui .ui-widget-content .ui-state-error-text,.ac-jqui .ui-widget-header .ui-state-error-text{color:#5f3f3f}.ac-jqui .ui-priority-primary,.ac-jqui .ui-widget-content .ui-priority-primary,.ac-jqui .ui-widget-header .ui-priority-primary{font-weight:bold}.ac-jqui .ui-priority-secondary,.ac-jqui .ui-widget-content .ui-priority-secondary,.ac-jqui .ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ac-jqui .ui-state-disabled,.ac-jqui .ui-widget-content .ui-state-disabled,.ac-jqui .ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ac-jqui .ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ac-jqui .ui-icon{width:16px;height:16px}.ac-jqui .ui-icon,.ac-jqui .ui-widget-content .ui-icon{background-image:url("../images/ui-icons_444444_256x240.png")}.ac-jqui .ui-widget-header .ui-icon{background-image:url("../images/ui-icons_444444_256x240.png")}.ac-jqui .ui-state-default .ui-icon{background-image:url("../images/ui-icons_777777_256x240.png")}.ac-jqui .ui-state-hover .ui-icon,.ac-jqui .ui-state-focus .ui-icon{background-image:url("../images/ui-icons_555555_256x240.png")}.ac-jqui .ui-state-active .ui-icon{background-image:url("../images/ui-icons_ffffff_256x240.png")}.ac-jqui .ui-state-highlight .ui-icon{background-image:url("../images/ui-icons_777620_256x240.png")}.ac-jqui .ui-state-error .ui-icon,.ac-jqui .ui-state-error-text .ui-icon{background-image:url("../images/ui-icons_cc0000_256x240.png")}.ac-jqui .ui-icon-blank{background-position:16px 16px}.ac-jqui .ui-icon-carat-1-n{background-position:0 0}.ac-jqui .ui-icon-carat-1-ne{background-position:-16px 0}.ac-jqui .ui-icon-carat-1-e{background-position:-32px 0}.ac-jqui .ui-icon-carat-1-se{background-position:-48px 0}.ac-jqui .ui-icon-carat-1-s{background-position:-64px 0}.ac-jqui .ui-icon-carat-1-sw{background-position:-80px 0}.ac-jqui .ui-icon-carat-1-w{background-position:-96px 0}.ac-jqui .ui-icon-carat-1-nw{background-position:-112px 0}.ac-jqui .ui-icon-carat-2-n-s{background-position:-128px 0}.ac-jqui .ui-icon-carat-2-e-w{background-position:-144px 0}.ac-jqui .ui-icon-triangle-1-n{background-position:0 -16px}.ac-jqui .ui-icon-triangle-1-ne{background-position:-16px -16px}.ac-jqui .ui-icon-triangle-1-e{background-position:-32px -16px}.ac-jqui .ui-icon-triangle-1-se{background-position:-48px -16px}.ac-jqui .ui-icon-triangle-1-s{background-position:-64px -16px}.ac-jqui .ui-icon-triangle-1-sw{background-position:-80px -16px}.ac-jqui .ui-icon-triangle-1-w{background-position:-96px -16px}.ac-jqui .ui-icon-triangle-1-nw{background-position:-112px -16px}.ac-jqui .ui-icon-triangle-2-n-s{background-position:-128px -16px}.ac-jqui .ui-icon-triangle-2-e-w{background-position:-144px -16px}.ac-jqui .ui-icon-arrow-1-n{background-position:0 -32px}.ac-jqui .ui-icon-arrow-1-ne{background-position:-16px -32px}.ac-jqui .ui-icon-arrow-1-e{background-position:-32px -32px}.ac-jqui .ui-icon-arrow-1-se{background-position:-48px -32px}.ac-jqui .ui-icon-arrow-1-s{background-position:-64px -32px}.ac-jqui .ui-icon-arrow-1-sw{background-position:-80px -32px}.ac-jqui .ui-icon-arrow-1-w{background-position:-96px -32px}.ac-jqui .ui-icon-arrow-1-nw{background-position:-112px -32px}.ac-jqui .ui-icon-arrow-2-n-s{background-position:-128px -32px}.ac-jqui .ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ac-jqui .ui-icon-arrow-2-e-w{background-position:-160px -32px}.ac-jqui .ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ac-jqui .ui-icon-arrowstop-1-n{background-position:-192px -32px}.ac-jqui .ui-icon-arrowstop-1-e{background-position:-208px -32px}.ac-jqui .ui-icon-arrowstop-1-s{background-position:-224px -32px}.ac-jqui .ui-icon-arrowstop-1-w{background-position:-240px -32px}.ac-jqui .ui-icon-arrowthick-1-n{background-position:0 -48px}.ac-jqui .ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ac-jqui .ui-icon-arrowthick-1-e{background-position:-32px -48px}.ac-jqui .ui-icon-arrowthick-1-se{background-position:-48px -48px}.ac-jqui .ui-icon-arrowthick-1-s{background-position:-64px -48px}.ac-jqui .ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ac-jqui .ui-icon-arrowthick-1-w{background-position:-96px -48px}.ac-jqui .ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ac-jqui .ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ac-jqui .ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ac-jqui .ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ac-jqui .ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ac-jqui .ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ac-jqui .ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ac-jqui .ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ac-jqui .ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ac-jqui .ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ac-jqui .ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ac-jqui .ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ac-jqui .ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ac-jqui .ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ac-jqui .ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ac-jqui .ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ac-jqui .ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ac-jqui .ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ac-jqui .ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ac-jqui .ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ac-jqui .ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ac-jqui .ui-icon-arrow-4{background-position:0 -80px}.ac-jqui .ui-icon-arrow-4-diag{background-position:-16px -80px}.ac-jqui .ui-icon-extlink{background-position:-32px -80px}.ac-jqui .ui-icon-newwin{background-position:-48px -80px}.ac-jqui .ui-icon-refresh{background-position:-64px -80px}.ac-jqui .ui-icon-shuffle{background-position:-80px -80px}.ac-jqui .ui-icon-transfer-e-w{background-position:-96px -80px}.ac-jqui .ui-icon-transferthick-e-w{background-position:-112px -80px}.ac-jqui .ui-icon-folder-collapsed{background-position:0 -96px}.ac-jqui .ui-icon-folder-open{background-position:-16px -96px}.ac-jqui .ui-icon-document{background-position:-32px -96px}.ac-jqui .ui-icon-document-b{background-position:-48px -96px}.ac-jqui .ui-icon-note{background-position:-64px -96px}.ac-jqui .ui-icon-mail-closed{background-position:-80px -96px}.ac-jqui .ui-icon-mail-open{background-position:-96px -96px}.ac-jqui .ui-icon-suitcase{background-position:-112px -96px}.ac-jqui .ui-icon-comment{background-position:-128px -96px}.ac-jqui .ui-icon-person{background-position:-144px -96px}.ac-jqui .ui-icon-print{background-position:-160px -96px}.ac-jqui .ui-icon-trash{background-position:-176px -96px}.ac-jqui .ui-icon-locked{background-position:-192px -96px}.ac-jqui .ui-icon-unlocked{background-position:-208px -96px}.ac-jqui .ui-icon-bookmark{background-position:-224px -96px}.ac-jqui .ui-icon-tag{background-position:-240px -96px}.ac-jqui .ui-icon-home{background-position:0 -112px}.ac-jqui .ui-icon-flag{background-position:-16px -112px}.ac-jqui .ui-icon-calendar{background-position:-32px -112px}.ac-jqui .ui-icon-cart{background-position:-48px -112px}.ac-jqui .ui-icon-pencil{background-position:-64px -112px}.ac-jqui .ui-icon-clock{background-position:-80px -112px}.ac-jqui .ui-icon-disk{background-position:-96px -112px}.ac-jqui .ui-icon-calculator{background-position:-112px -112px}.ac-jqui .ui-icon-zoomin{background-position:-128px -112px}.ac-jqui .ui-icon-zoomout{background-position:-144px -112px}.ac-jqui .ui-icon-search{background-position:-160px -112px}.ac-jqui .ui-icon-wrench{background-position:-176px -112px}.ac-jqui .ui-icon-gear{background-position:-192px -112px}.ac-jqui .ui-icon-heart{background-position:-208px -112px}.ac-jqui .ui-icon-star{background-position:-224px -112px}.ac-jqui .ui-icon-link{background-position:-240px -112px}.ac-jqui .ui-icon-cancel{background-position:0 -128px}.ac-jqui .ui-icon-plus{background-position:-16px -128px}.ac-jqui .ui-icon-plusthick{background-position:-32px -128px}.ac-jqui .ui-icon-minus{background-position:-48px -128px}.ac-jqui .ui-icon-minusthick{background-position:-64px -128px}.ac-jqui .ui-icon-close{background-position:-80px -128px}.ac-jqui .ui-icon-closethick{background-position:-96px -128px}.ac-jqui .ui-icon-key{background-position:-112px -128px}.ac-jqui .ui-icon-lightbulb{background-position:-128px -128px}.ac-jqui .ui-icon-scissors{background-position:-144px -128px}.ac-jqui .ui-icon-clipboard{background-position:-160px -128px}.ac-jqui .ui-icon-copy{background-position:-176px -128px}.ac-jqui .ui-icon-contact{background-position:-192px -128px}.ac-jqui .ui-icon-image{background-position:-208px -128px}.ac-jqui .ui-icon-video{background-position:-224px -128px}.ac-jqui .ui-icon-script{background-position:-240px -128px}.ac-jqui .ui-icon-alert{background-position:0 -144px}.ac-jqui .ui-icon-info{background-position:-16px -144px}.ac-jqui .ui-icon-notice{background-position:-32px -144px}.ac-jqui .ui-icon-help{background-position:-48px -144px}.ac-jqui .ui-icon-check{background-position:-64px -144px}.ac-jqui .ui-icon-bullet{background-position:-80px -144px}.ac-jqui .ui-icon-radio-on{background-position:-96px -144px}.ac-jqui .ui-icon-radio-off{background-position:-112px -144px}.ac-jqui .ui-icon-pin-w{background-position:-128px -144px}.ac-jqui .ui-icon-pin-s{background-position:-144px -144px}.ac-jqui .ui-icon-play{background-position:0 -160px}.ac-jqui .ui-icon-pause{background-position:-16px -160px}.ac-jqui .ui-icon-seek-next{background-position:-32px -160px}.ac-jqui .ui-icon-seek-prev{background-position:-48px -160px}.ac-jqui .ui-icon-seek-end{background-position:-64px -160px}.ac-jqui .ui-icon-seek-start{background-position:-80px -160px}.ac-jqui .ui-icon-seek-first{background-position:-80px -160px}.ac-jqui .ui-icon-stop{background-position:-96px -160px}.ac-jqui .ui-icon-eject{background-position:-112px -160px}.ac-jqui .ui-icon-volume-off{background-position:-128px -160px}.ac-jqui .ui-icon-volume-on{background-position:-144px -160px}.ac-jqui .ui-icon-power{background-position:0 -176px}.ac-jqui .ui-icon-signal-diag{background-position:-16px -176px}.ac-jqui .ui-icon-signal{background-position:-32px -176px}.ac-jqui .ui-icon-battery-0{background-position:-48px -176px}.ac-jqui .ui-icon-battery-1{background-position:-64px -176px}.ac-jqui .ui-icon-battery-2{background-position:-80px -176px}.ac-jqui .ui-icon-battery-3{background-position:-96px -176px}.ac-jqui .ui-icon-circle-plus{background-position:0 -192px}.ac-jqui .ui-icon-circle-minus{background-position:-16px -192px}.ac-jqui .ui-icon-circle-close{background-position:-32px -192px}.ac-jqui .ui-icon-circle-triangle-e{background-position:-48px -192px}.ac-jqui .ui-icon-circle-triangle-s{background-position:-64px -192px}.ac-jqui .ui-icon-circle-triangle-w{background-position:-80px -192px}.ac-jqui .ui-icon-circle-triangle-n{background-position:-96px -192px}.ac-jqui .ui-icon-circle-arrow-e{background-position:-112px -192px}.ac-jqui .ui-icon-circle-arrow-s{background-position:-128px -192px}.ac-jqui .ui-icon-circle-arrow-w{background-position:-144px -192px}.ac-jqui .ui-icon-circle-arrow-n{background-position:-160px -192px}.ac-jqui .ui-icon-circle-zoomin{background-position:-176px -192px}.ac-jqui .ui-icon-circle-zoomout{background-position:-192px -192px}.ac-jqui .ui-icon-circle-check{background-position:-208px -192px}.ac-jqui .ui-icon-circlesmall-plus{background-position:0 -208px}.ac-jqui .ui-icon-circlesmall-minus{background-position:-16px -208px}.ac-jqui .ui-icon-circlesmall-close{background-position:-32px -208px}.ac-jqui .ui-icon-squaresmall-plus{background-position:-48px -208px}.ac-jqui .ui-icon-squaresmall-minus{background-position:-64px -208px}.ac-jqui .ui-icon-squaresmall-close{background-position:-80px -208px}.ac-jqui .ui-icon-grip-dotted-vertical{background-position:0 -224px}.ac-jqui .ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ac-jqui .ui-icon-grip-solid-vertical{background-position:-32px -224px}.ac-jqui .ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ac-jqui .ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ac-jqui .ui-icon-grip-diagonal-se{background-position:-80px -224px}.ac-jqui .ui-corner-all,.ac-jqui .ui-corner-top,.ac-jqui .ui-corner-left,.ac-jqui .ui-corner-tl{border-top-left-radius:3px}.ac-jqui .ui-corner-all,.ac-jqui .ui-corner-top,.ac-jqui .ui-corner-right,.ac-jqui .ui-corner-tr{border-top-right-radius:3px}.ac-jqui .ui-corner-all,.ac-jqui .ui-corner-bottom,.ac-jqui .ui-corner-left,.ac-jqui .ui-corner-bl{border-bottom-left-radius:3px}.ac-jqui .ui-corner-all,.ac-jqui .ui-corner-bottom,.ac-jqui .ui-corner-right,.ac-jqui .ui-corner-br{border-bottom-right-radius:3px}.ac-jqui .ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ac-jqui .ui-widget-shadow{margin:0 0 0 0;padding:5px;background:#666;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
assets/css/admin-page-addons.css CHANGED
@@ -1 +1 @@
1
- .ac-addon{display:inline-block;margin-right:16px;float:left}.ac-addon.group-default{float:none;clear:both;display:table}.ac-addon h2{border-bottom:1px solid #ccc;padding-bottom:10px}.ac-addon ul{overflow:hidden}.ac-addon ul li{width:200px;background:#FFF;float:left;margin-right:16px;margin-bottom:16px;border:1px solid #DDD;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,0.15);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.15);box-shadow:0 3px 10px 0 rgba(0,0,0,0.15)}.ac-addon ul li:last-child{margin-right:0}.ac-addon ul li:hover{-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);box-shadow:0 3px 10px 0 rgba(0,0,0,0.25)}.ac-addon ul li a{color:#444}.ac-addon ul li .addon-header{display:table;width:100%;height:125px;text-align:center;vertical-align:middle;border-top:1px solid #DDD;background:#0069a4;background:-moz-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);background:-webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #0069a4), color-stop(100%, #085079));background:-webkit-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);background:-o-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);background:-ms-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);background:radial-gradient(ellipse at center, #0069a4 0%, #085079 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$addon-color-lightblue', endColorstr='$addon-color-blue', GradientType=1)}.ac-addon ul li .addon-header .inner{display:table-cell;vertical-align:middle;padding:15px 20px}.ac-addon ul li .addon-header .inner h3{padding:0 16px;color:#FFF;line-height:150%}.ac-addon ul li .addon-header .inner img{display:inline-block;max-height:52px;max-width:100%}.ac-addon ul li .addon-notice{background-color:#fff8e5;margin:0;padding:15px}.ac-addon ul li .addon-notice a{font-weight:bold;text-decoration:none;color:#0073aa}.ac-addon ul li .addon-content{width:100%;padding:25px 15px;-moz-box-sizing:border-box;box-sizing:border-box;min-height:162px}.ac-addon ul li .addon-content>*:first-child{margin-top:0}.ac-addon ul li .addon-content>*:last-child{margin-bottom:0}.ac-addon ul li .addon-actions{background:#eee;border-top:1px solid #ddd;padding:8px;overflow:hidden}.ac-addon ul li .addon-actions span.active,.ac-addon ul li .addon-actions span.active:hover{display:inline-block;height:28px;line-height:28px;cursor:default;border-color:#69c471;color:#388f40;margin-left:8px}.ac-addon ul li .addon-actions span.active:before,.ac-addon ul li .addon-actions span.active:hover:before{content:"\f147";font-family:'dashicons', sans-serif;vertical-align:middle;font-size:17px;margin:-2px 3px 0 -5px}.ac-addon ul li.ac-addon-types .addon-header .inner img,.ac-addon ul li.ac-addon-buddypress .addon-header .inner img{max-height:68px}
1
+ .ac-addons{display:inline-block;margin-right:16px;float:left}.ac-addons.group-default{float:none;clear:both;display:table}.ac-addons h2{border-bottom:1px solid #ccc;padding-bottom:10px}.ac-addons ul{overflow:hidden}.ac-addons ul .ac-addon{width:200px;background:#FFF;float:left;margin-right:16px;margin-bottom:16px;border:1px solid #DDD;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,0.15);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.15);box-shadow:0 3px 10px 0 rgba(0,0,0,0.15)}.ac-addons ul .ac-addon:last-child{margin-right:0}.ac-addons ul .ac-addon:hover{-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);box-shadow:0 3px 10px 0 rgba(0,0,0,0.25)}.ac-addons ul .ac-addon a{color:#444}.ac-addons ul .ac-addon a.button-primary{color:#fff}.ac-addons ul .ac-addon .addon-header{display:table;width:100%;height:125px;text-align:center;vertical-align:middle;border-top:1px solid #DDD;background:#0069a4;background:-moz-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);background:-webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #0069a4), color-stop(100%, #085079));background:-webkit-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);background:-o-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);background:-ms-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);background:radial-gradient(ellipse at center, #0069a4 0%, #085079 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$addon-color-lightblue', endColorstr='$addon-color-blue', GradientType=1)}.ac-addons ul .ac-addon .addon-header .inner{display:table-cell;vertical-align:middle;padding:15px 20px}.ac-addons ul .ac-addon .addon-header .inner h3{padding:0 16px;color:#FFF;line-height:150%}.ac-addons ul .ac-addon .addon-header .inner img{display:inline-block;max-height:52px;max-width:100%}.ac-addons ul .ac-addon .addon-notice{background-color:#fff8e5;margin:0;padding:15px}.ac-addons ul .ac-addon .addon-notice a{font-weight:bold;text-decoration:none;color:#0073aa}.ac-addons ul .ac-addon .addon-content{width:100%;padding:25px 15px;-moz-box-sizing:border-box;box-sizing:border-box;min-height:162px}.ac-addons ul .ac-addon .addon-content>*:first-child{margin-top:0}.ac-addons ul .ac-addon .addon-content>*:last-child{margin-bottom:0}.ac-addons ul .ac-addon .addon-actions{background:#eee;border-top:1px solid #ddd;padding:8px;overflow:hidden}.ac-addons ul .ac-addon .addon-actions span.active,.ac-addons ul .ac-addon .addon-actions span.active:hover{display:inline-block;height:28px;line-height:28px;cursor:default;border-color:#69c471;color:#388f40;margin-left:8px}.ac-addons ul .ac-addon .addon-actions span.active:before,.ac-addons ul .ac-addon .addon-actions span.active:hover:before{content:"\f147";font-family:'dashicons', sans-serif;vertical-align:middle;font-size:17px;margin:-2px 3px 0 -5px}.ac-addons ul .ac-addon.ac-addon-types .addon-header .inner img,.ac-addons ul .ac-addon.ac-addon-buddypress .addon-header .inner img{max-height:68px}
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%}.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-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}.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 #dedede;border-left:none;color:#505050}.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}.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}
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%}.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}.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 #dedede;border-left:none;color:#505050}.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}
assets/css/select2.css ADDED
@@ -0,0 +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{padding:4px;width:100%;box-sizing:border-box}.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:#ddd}.select2-container--acs2 .select2-selection--single{background-color:#fff;border:1px solid #ddd;border-radius:4px}.select2-container--acs2 .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.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:#eee}.select2-container--acs2 .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.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__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-block{display:none}.ac-more-link-hide{cursor:pointer}.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+.row-actions>span a{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+.row-actions>span a: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;margin-right:-8px}.column-actions .cpac_use_icons+.hidden+.row-actions>span a,.column-actions .cpac_use_icons+.row-actions>span a{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+.row-actions>span a: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.inline a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.untrash a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unspam a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.reply a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a,.column-actions .cpac_use_icons+.row-actions>span.edit a,.column-actions .cpac_use_icons+.row-actions>span.inline a,.column-actions .cpac_use_icons+.row-actions>span.trash a,.column-actions .cpac_use_icons+.row-actions>span.view a,.column-actions .cpac_use_icons+.row-actions>span.quickedit a,.column-actions .cpac_use_icons+.row-actions>span.approve a,.column-actions .cpac_use_icons+.row-actions>span.unapprove a,.column-actions .cpac_use_icons+.row-actions>span.spam a,.column-actions .cpac_use_icons+.row-actions>span.untrash a,.column-actions .cpac_use_icons+.row-actions>span.unspam a,.column-actions .cpac_use_icons+.row-actions>span.reply a,.column-actions .cpac_use_icons+.row-actions>span.delete a,.column-actions .cpac_use_icons+.row-actions>span.backend a,.column-actions .cpac_use_icons+.row-actions>span.visit a,.column-actions .cpac_use_icons+.row-actions>span.deactivate a,.column-actions .cpac_use_icons+.row-actions>span.archive a,.column-actions .cpac_use_icons+.row-actions>span.unarchive a,.column-actions .cpac_use_icons+.row-actions>span.activate a,.column-actions .cpac_use_icons+.row-actions>span.download a{text-indent:-3000px}.column-actions .cpac_use_icons+.hidden+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.quickedit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.spam a:before,.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+.hidden+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.hidden+.row-actions>span.download a:before,.column-actions .cpac_use_icons+.row-actions>span.edit a:before,.column-actions .cpac_use_icons+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.row-actions>span.trash a:before,.column-actions .cpac_use_icons+.row-actions>span.view a:before,.column-actions .cpac_use_icons+.row-actions>span.quickedit a:before,.column-actions .cpac_use_icons+.row-actions>span.approve a:before,.column-actions .cpac_use_icons+.row-actions>span.unapprove a:before,.column-actions .cpac_use_icons+.row-actions>span.spam a:before,.column-actions .cpac_use_icons+.row-actions>span.untrash a:before,.column-actions .cpac_use_icons+.row-actions>span.unspam a:before,.column-actions .cpac_use_icons+.row-actions>span.reply a:before,.column-actions .cpac_use_icons+.row-actions>span.delete a:before,.column-actions .cpac_use_icons+.row-actions>span.backend a:before,.column-actions .cpac_use_icons+.row-actions>span.visit a:before,.column-actions .cpac_use_icons+.row-actions>span.deactivate a:before,.column-actions .cpac_use_icons+.row-actions>span.archive a:before,.column-actions .cpac_use_icons+.row-actions>span.unarchive a:before,.column-actions .cpac_use_icons+.row-actions>span.activate a:before,.column-actions .cpac_use_icons+.row-actions>span.download a: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.quickedit a:before,.column-actions .cpac_use_icons+.row-actions>span.inline a:before,.column-actions .cpac_use_icons+.row-actions>span.quickedit a: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}@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-block{display:none}.ac-more-link-hide{cursor:pointer}.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}
assets/images/ui-icons_444444_256x240.png ADDED
Binary file
assets/images/ui-icons_555555_256x240.png ADDED
Binary file
assets/images/ui-icons_777620_256x240.png ADDED
Binary file
assets/images/ui-icons_777777_256x240.png ADDED
Binary file
assets/images/ui-icons_cc0000_256x240.png ADDED
Binary file
assets/images/ui-icons_ffffff_256x240.png ADDED
Binary file
assets/js/admin-general.js CHANGED
@@ -1 +1 @@
1
- !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=68)}({68:function(t,e,n){"use strict";jQuery(document).ready(function(t){if(0===t("#cpac").length)return!1;!function(t){t(".ac-pointer").each(function(){!function(t){var e=t,n=jQuery,r=e.attr("rel"),o=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"===o&&(c={at:"right middle",my:"left middle",edge:"left"});"left"===o&&(c={at:"left middle",my:"right middle",edge:"right"});e.pointer({content:n("#"+r).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")})}(t(this))}),t(".ac-wp-pointer").hover(function(){t(this).addClass("hover")},function(){t(this).removeClass("hover"),t(".ac-pointer").trigger("close")})}(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)})}});
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))}});
assets/js/admin-page-addons.js ADDED
@@ -0,0 +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)}});
assets/js/admin-page-columns.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=69)}([function(e,t,n){var i=n(26)("wks"),r=n(12),o=n(1).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?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(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var i=n(15),r=n(39)(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(28)("find")},function(e,t,n){var i=n(6),r=n(20);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(9),r=n(32),o=n(33),a=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(1),r=n(5),o=n(11),a=n(12)("src"),u=Function.toString,c=(""+u).split("toString");n(10).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var s="function"==typeof n;s&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(s&&(o(n,a)||r(n,a,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:u?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[a]||u.call(this)})},function(e,t,n){var i=n(3);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(38);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){for(var i=n(29),r=n(30),o=n(8),a=n(1),u=n(5),c=n(19),s=n(0),l=s("iterator"),f=s("toStringTag"),d=c.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},v=r(h),p=0;p<v.length;p++){var m,g=v[p],y=h[g],b=a[g],_=b&&b.prototype;if(_&&(_[l]||u(_,l,d),_[f]||u(_,f,g),c[g]=d,y))for(m in i)_[m]||o(_,m,i[m],!0)}},function(e,t,n){var i=n(1),r=n(10),o=n(5),a=n(8),u=n(13),c=function(e,t,n){var s,l,f,d,h=e&c.F,v=e&c.G,p=e&c.S,m=e&c.P,g=e&c.B,y=v?i:p?i[t]||(i[t]={}):(i[t]||{}).prototype,b=v?r:r[t]||(r[t]={}),_=b.prototype||(b.prototype={});for(s in v&&(n=t),n)f=((l=!h&&y&&void 0!==y[s])?y:n)[s],d=g&&l?u(f,i):m&&"function"==typeof f?u(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&o(b,s,d),m&&_[s]!=f&&(_[s]=f)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(18);e.exports=function(e){return Object(i(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports={}},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(25),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t,n){var i=n(24),r=n(18);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(3),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(16);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(10),r=n(1),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},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){"use strict";var i=n(28),r=n(44),o=n(19),a=n(22);e.exports=n(45)(Array,"Array",function(e,t){this._t=a(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,n){var i=n(47),r=n(34);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(26)("keys"),r=n(12);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){e.exports=!n(2)&&!n(7)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(3);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(6).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){"use strict";var i=function(e){return e&&e.__esModule?e:{default:e}}(n(43));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}();e.exports=o},function(e,t,n){var i=n(6).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){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(13),r=n(24),o=n(17),a=n(21),u=n(40);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,l=4==e,f=6==e,d=5==e||f,h=t||u;return function(t,u,v){for(var p,m,g=o(t),y=r(g),b=i(u,v,3),_=a(y.length),k=0,C=n?h(t,_):c?h(t,0):void 0;_>k;k++)if((d||k in y)&&(m=b(p=y[k],k,g),e))if(n)C[k]=m;else if(m)switch(e){case 3:return!0;case 5:return p;case 6:return k;case 2:C.push(p)}else if(l)return!1;return f?-1:s||l?l:C}}},function(e,t,n){var i=n(41);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(3),r=n(42),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(16);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){"use strict";n(14);var i=function(e){return e&&e.__esModule?e:{default:e}}(n(36));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.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){"use strict";var i=n(27),r=n(15),o=n(8),a=n(5),u=n(19),c=n(51),s=n(35),l=n(56),f=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,v,p,m,g){c(n,t,v);var y,b,_,k=function(e){if(!d&&e in j)return j[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",x="values"==p,w=!1,j=e.prototype,S=j[f]||j["@@iterator"]||p&&j[p],E=S||k(p),A=p?x?k("entries"):E:void 0,O="Array"==t&&j.entries||S;if(O&&(_=l(O.call(new e)))!==Object.prototype&&_.next&&(s(_,C,!0),i||"function"==typeof _[f]||a(_,f,h)),x&&S&&"values"!==S.name&&(w=!0,E=function(){return S.call(this)}),i&&!g||!d&&!w&&j[f]||a(j,f,E),u[t]=E,u[C]=h,p)if(y={values:x?E:k("values"),keys:m?E:k("keys"),entries:A},g)for(b in y)b in j||o(j,b,y[b]);else r(r.P+r.F*(d||w),t,y);return y}},function(e,t,n){var i=n(9),r=n(52),o=n(34),a=n(31)("IE_PROTO"),u=function(){},c=function(){var e,t=n(23)("iframe"),i=o.length;for(t.style.display="none",n(55).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c.prototype[o[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=i(e),n=new u,u.prototype=null,n[a]=e):n=c(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(11),r=n(22),o=n(53)(!1),a=n(31)("IE_PROTO");e.exports=function(e,t){var n,u=r(e),c=0,s=[];for(n in u)n!=a&&i(u,n)&&s.push(n);for(;t.length>c;)i(u,n=t[c++])&&(~o(s,n)||s.push(n));return s}},function(e,t,n){var i=n(17),r=n(30);n(57)("keys",function(){return function(e){return r(i(e))}})},function(e,t,n){n(50)("replace",2,function(e,t,n){return[function(i,r){"use strict";var o=e(this),a=void 0==i?void 0:i[t];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},n]})},function(e,t,n){"use strict";var i=n(5),r=n(8),o=n(7),a=n(18),u=n(0);e.exports=function(e,t,n){var c=u(e),s=n(a,c,""[e]),l=s[0],f=s[1];o(function(){var t={};return t[c]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,l),i(RegExp.prototype,c,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,n){"use strict";var i=n(46),r=n(20),o=n(35),a={};n(5)(a,n(0)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(6),r=n(9),o=n(30);e.exports=n(2)?Object.defineProperties:function(e,t){r(e);for(var n,a=o(t),u=a.length,c=0;u>c;)i.f(e,n=a[c++],t[n]);return e}},function(e,t,n){var i=n(22),r=n(21),o=n(54);e.exports=function(e){return function(t,n,a){var u,c=i(t),s=r(c.length),l=o(a,s);if(e&&n!=n){for(;s>l;)if((u=c[l++])!=u)return!0}else for(;s>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var i=n(25),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(1).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(11),r=n(17),o=n(31)("IE_PROTO"),a=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?a:null}},function(e,t,n){var i=n(15),r=n(10),o=n(7);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],a={};a[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",a)}},,,,,,,,,,,,function(e,t,n){e.exports=n(70)},function(e,t,n){"use strict";var i=x(n(71)),r=x(n(36)),o=x(n(73)),a=x(n(43)),u=x(n(74)),c=x(n(75)),s=x(n(76)),l=x(n(77)),f=x(n(78)),d=x(n(79)),h=x(n(80)),v=x(n(81)),p=x(n(82)),m=x(n(83)),g=x(n(84)),y=x(n(85)),b=x(n(86)),_=x(n(87)),k=x(n(88)),C=x(n(89));function x(e){return e&&e.__esModule?e:{default:e}}var w=$=n(90);AC.Column=new o.default,AdminColumns.Column=AC.Column,w(document).on("AC_Form_Loaded",function(){AdminColumns.Column.registerEvent("toggle",s.default).registerEvent("remove",l.default).registerEvent("clone",f.default).registerEvent("refresh",d.default).registerEvent("type_selector",h.default).registerEvent("indicator",v.default).registerEvent("label",p.default.label).registerEvent("label_setting",p.default.setting).registerEvent("addons",m.default).registerSetting("date",b.default).registerSetting("image_size",g.default).registerSetting("pro",_.default).registerSetting("sub_setting_toggle",y.default).registerSetting("width",k.default).registerSetting("label",C.default)}),w(document).ready(function(){AC.Form=new i.default("#cpac .ac-columns form"),r.default.init().register(new a.default(document.querySelector("#ac-modal-pro")),"pro"),(new u.default).init(),new c.default(".sidebox#direct-feedback")})},function(e,t,n){"use strict";n(37),n(4),n(29),n(48),n(14);var i=function(e){return e&&e.__esModule?e:{default:e}}(n(72));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=jQuery(t),this.$container=jQuery("#cpac .ac-admin"),this.columns={},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(),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 e=this,t=[];return Object.keys(e.columns).forEach(function(n){var i=e.columns[n];i.isOriginal()&&t.push(i.type)}),t}},{key:"bindFormEvents",value:function(){var e=this,t=jQuery(".sidebox a.submit, .column-footer a.submit");t.on("click",function(){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:"submitForm",value:function(){var e=this,t=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(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(e){}),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-boxes").before(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:"_addColumnToForm",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.columns[e.name]=e,this.$form.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(29),n(48),n(14),n(49),n(4),n(37);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=t,this.el=t[0],this.settings=[],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:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:150;this.$el.hasClass("opened")?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)}},{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)}},{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,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);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,list_screen:AC.list_screen,layout:AC.layout,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.open(),jQuery(document).trigger("AC_Column_Refresh",[e])}}})}},{key:"create",value:function(){return this.initNewInstance(),this.bindEvents(),jQuery(document).trigger("AC_Column_Created",[self]),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=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),this.events={},this.settings={},this.incremental_name=0}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"registerSetting",value:function(e,t){var n="s_"+e;return this.settings[n]&&console.error("Setting key already exists: "+e),this.settings[n]=t,this}},{key:"registerEvent",value:function(e,t){var n="e_"+e;return this.settings[n]&&console.error("Event key already exists: "+n),this.events[n]=t,this}},{key:"getNewIncementalName",value:function(){var e=this.incremental_name;return this.incremental_name++,e}}]),e}();e.exports=r},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){var e=jQuery;e("#ac_list_screen").on("change",function(){e(".view-link").hide(),e(this).parents("form").submit(),e(this).prop("disabled",!0).next(".spinner").css("display","inline-block")})}}]),e}();e.exports=r},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}n(4);var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$el=jQuery(t),this.init()}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"init",value:function(){var e=this.$el;e.find("#feedback-choice a.no").click(function(t){t.preventDefault(),e.find("#feedback-choice").slideUp(),e.find("#feedback-support").slideDown()}),e.find("#feedback-choice a.yes").click(function(t){t.preventDefault(),e.find("#feedback-choice").slideUp(),e.find("#feedback-rate").slideDown()})}}]),e}();e.exports=r},function(e,t,n){"use strict";n(4);e.exports=function(e){e.$el.find('[data-toggle="column"]').click(function(t){t.preventDefault(),e.toggle()}).css("cursor","pointer")}},function(e,t,n){"use strict";n(37),n(4);e.exports=function(e){e.$el.find(".remove-button").click(function(t){t.preventDefault(),AC.Form.removeColumn(e.name)})}},function(e,t,n){"use strict";n(4);e.exports=function(e){e.$el.find(".clone-button").click(function(t){t.preventDefault(),e.isOriginal()||AC.Form.cloneColumn(e.$el)})}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery;e.$el.find('[data-refresh="column"]').on("change",function(){t(document).trigger("AC.column.prerefresh",e.$el),e.$el.addClass("loading"),setTimeout(function(){e.refresh().always(function(){e.$el.removeClass("loading")})},200)})}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery;e.$el.find("select.ac-setting-input_type").change(function(){e.$el.addClass("loading"),e.switchToType(t(this).val()).always(function(){e.$el.removeClass("loading"),AC.Form.reindexColumns()})})}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=e.$el;t.find(".ac-column-header [data-indicator-toggle]").each(function(){var e=jQuery,n=e(this),i=e(this).data("setting"),r=t.find(".ac-column-setting[data-setting="+i+"]").find(".col-input:first .ac-setting-input:first input[type=radio]");n.unbind("click").on("click",function(i){i.preventDefault(),t.hasClass("disabled")||(n.toggleClass("on"),e(this).hasClass("on")?r.filter("[value=on]").prop("checked",!0).trigger("click").trigger("change"):r.filter("[value=off]").prop("checked",!0).trigger("click").trigger("change"))}),r.on("change",function(){t.hasClass("disabled")||("on"===r.filter(":checked").val()?n.addClass("on"):n.removeClass("on"))})})}},function(e,t,n){"use strict";n(4);e.exports={label:function(e){var t=e.$el;t.find('select[data-label="update"]').change(function(){var e=t.find("input.ac-setting-input_label"),n=jQuery(this).find("option:selected").text();e.val(n),e.trigger("change")}),setTimeout(function(){var e=t.find(".column_label .toggle");jQuery.trim(e.html())&&e.width()<1&&e.html(t.find(".column_type .inner").html())},50)},setting:function(e){var t=e.$el;t.find(".ac-column-setting--label input").bind("keyup change",function(){var e=jQuery(this).val();jQuery(this).closest(".ac-column").find("td.column_label .inner > a.toggle").html(e)}).trigger("change"),t.find(".ac-column-body .col-label .label").hover(function(){jQuery(this).parents(".col-label").find("div.tooltip").show()},function(){jQuery(this).parents(".col-label").find("div.tooltip").hide()})}}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery,n=e.$el;n.find("[data-trigger] label").on("click",function(){var e=t(this).closest("td.input").data("trigger"),i=t("input",this).val(),r=n.find('[data-indicator-id="'+e+'"]').removeClass("on");"on"===i&&r.addClass("on");var o=n.find('[data-handle="'+e+'"]').addClass("hide");"on"===i&&o.removeClass("hide")}),n.find("[data-trigger]").each(function(){var e=t(this).data("trigger"),i=n.find('[data-handle="'+e+'"]').addClass("hide");"on"===t("input:checked",this).val()&&i.removeClass("hide")})}},function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.column=t,this.setting=t.$el[0].querySelector(".ac-column-setting--image"),this.setting&&(this.field=this.setting.querySelector(".ac-setting-input select"),this.initState(),this.bindEvents())}return function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(e,[{key:"getValue",value:function(){return this.field.value}},{key:"bindEvents",value:function(){var e=this;this.field.addEventListener("change",function(t){e.initState()})}},{key:"initState",value:function(){"cpac-custom"===this.getValue()?this.showSubsettings():this.hideSubsettings()}},{key:"hideSubsettings",value:function(){for(var e=this.setting.querySelectorAll(".ac-column-setting"),t=0;t<e.length;++t)e[t].style.display="none"}},{key:"showSubsettings",value:function(){for(var e=this.setting.querySelectorAll(".ac-column-setting"),t=0;t<e.length;++t)e[t].style.display="table"}},{key:"setValue",value:function(e){return this.field.value=e,this.trigger(this.field,"change"),this}},{key:"setWidth",value:function(e){var t=this.setting.querySelector('.ac-column-setting [name*="image_size_w"]');return t.value=e,this.trigger(t,"change"),this}},{key:"setHeight",value:function(e){var t=this.setting.querySelector('.ac-column-setting [name*="image_size_h"]');return t.value=e,this.trigger(t,"change"),this}},{key:"setSize",value:function(e,t){return this.setWidth(e),this.setHeight(t),this}},{key:"trigger",value:function(e,t){return e.dispatchEvent(new Event(t)),this}}]),e}();e.exports=function(e){e.settings.image=new r(e)}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery,n={value_show:"on",subfield:".ac-column-setting"};function i(e,t){var i=t.filter(":checked").val(),r=e.find(n.subfield);n.value_show===i?r.show():r.hide()}e.$el.find(".ac-column-setting--filter,.ac-column-setting--sort,.ac-column-setting--edit").each(function(){var e=t(this),n=t(this).find('.ac-setting-input input[type="radio"]');i(e,n),n.on("change",function(){i(e,n)})})}},function(e,t,n){"use strict";n(4);e.exports=function(e){var t=jQuery;e.$el.find(".ac-column-setting--date").each(function(){var e=t(this),n=e.find("input.custom"),i=e.find(".ac-setting-input-date__custom"),r=e.find(".ac-setting-input-date__value"),o=e.find(".ac-setting-input-date__example"),a=e.find("input[type=radio]:checked"),u=e.find(".help-msg");e.find("input[type=radio]").on("change",function(){var e=t(this),n=e.closest("label"),a=n.find("code").text(),c=n.find(".ac-setting-input-date__more").html();a&&i.val(a).trigger("change"),e.hasClass("diff")&&(i.val(""),o.text("")),i.prop("disabled",!0),e.hasClass("custom")&&(e.val(i.val()),i.prop("disabled",!1),u.show()),u.hide(),c&&u.html(c).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("")}),a.trigger("change"),0===a.length&&n.trigger("click")})}},function(e,t,n){"use strict";n(4);e.exports=function(e){e.$el.find(".ac-column-setting--pro").each(function(){var e=jQuery(this);e.find("input").on("click",function(t){t.preventDefault(),e.find("[data-ac-open-modal]").trigger("click")})})}},function(e,t,n){"use strict";n(49),n(4),jQuery.fn.column_width_slider=function(){var e=jQuery,t=e(this).find(".ac-setting-input-width"),n=t.find(".description input"),i=t.find(".unit-select input").filter(":checked").val(),r=n.val(),o=t.find(".width-slider"),a=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),a.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";n(14);var i=o(n(36)),r=o(n(43));function o(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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&&a(e.prototype,t),n&&a(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 u(e)}},function(e,t){e.exports=jQuery}]);
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}]);
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/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/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/_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.regexp.replace.js","webpack:///./node_modules/core-js/modules/web.dom.iterable.js","webpack:///external \"jQuery\""],"names":["jQuery","quot;,"require","AC","Column","Initiator","AdminColumns","document","on","registerEvent","EventToggle","EventRemove","EventClone","EventRefresh","EventTypeSelector","EventIndicator","EventLabel","label","setting","EventAddons","registerSetting","SettingDate","SettingImageSize","SettingPro","SettingSubSettingToggle","SettingWidth","SettingLabel","ready","Form","Modals","init","register","Modal","querySelector","Menu","Feedback","$el","el","settings","_type","data","hasClass","addClass","removeClass","temp_column_name","getNewIncementalName","original_column_name","name","find","each","i","v","$input","attr","replace","incremental_column_name","column","Object","keys","events","forEach","key","isBound","bind","bindSettings","trigger","remove","duration","self","animate","opacity","height","destroy","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","state","val","additional","click","e","preventDefault","isOriginal","cloneColumn","indicator","$indicator","$setting","unbind","toggleClass","filter","prop","change","$label","field_label","text","setTimeout","column_label","trim","width","settingLabel","hover","parents","hide","refresh","always","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","fail","attr_class","$msg","stop","before","_addColumnToForm","create","append","scrollTop","offset","top","incremental_name","k","console","event","oldName","submit","next","date","$radio_custom","$input_custom","$input_value","$example_custom","$selected","$help_msg","$input_container","date_format","description","$custom_value","done","length","Image","field","initState","addEventListener","getValue","showSubsettings","hideSubsettings","subsetting","querySelectorAll","style","display","setWidth","setHeight","dispatchEvent","Event","image","Label","iconpicker","_dashicon","modal","initValue","createRange","createContextualFragment","dashicon","classList","cls","indexOf","icon","parentElement","add","setIconSelection","dataset","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","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,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA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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,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;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,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","/**\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\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( '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} );","class 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\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\ttoggle( duration = 150 ) {\r\n\t\tif ( this.$el.hasClass( 'opened' ) ) {\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}\r\n\r\n\topen( duration = 0 ) {\r\n\t\tthis.$el.addClass( 'opened' ).find( '.ac-column-body' ).slideDown( duration );\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\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_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', [ self ] );\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\t\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} );\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} );\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}\n\t\telse {\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\t// We choose not to notify the user of errors, because the settings will have\n\t\t\t// been saved correctly despite of PHP notices/errors from plugin or themes.\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;","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.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;","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","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","// @@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","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/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,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;;;;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;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\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":""}
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=91)}([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){n.exports=!r(7)(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){"use strict";var e=r(15),o=r(39)(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){var e=r(6),o=r(20);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(9),o=r(32),i=r(33),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,r){var e=r(1),o=r(5),i=r(11),u=r(12)("src"),c=Function.toString,f=(""+c).split("toString");r(10).inspectSource=function(n){return c.call(n)},(n.exports=function(n,t,r,c){var a="function"==typeof r;a&&(i(r,"name")||o(r,"name",t)),n[t]!==r&&(a&&(i(r,u)||o(r,u,n[t]?""+n[t]:f.join(String(t)))),n===e?n[t]=r:c?n[t]?n[t]=r:o(n,t,r):(delete n[t],o(n,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(n,t,r){var e=r(3);n.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},function(n,t){var r=n.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(n,t){var r={}.hasOwnProperty;n.exports=function(n,t){return r.call(n,t)}},function(n,t){var r=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(38);n.exports=function(n,t,r){if(e(n),void 0===t)return n;switch(r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,e){return n.call(t,r,e)};case 3:return function(r,e,o){return n.call(t,r,e,o)}}return function(){return n.apply(t,arguments)}}},,function(n,t,r){var e=r(1),o=r(10),i=r(5),u=r(8),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){var r={}.toString;n.exports=function(n){return r.call(n).slice(8,-1)}},function(n,t,r){var e=r(18);n.exports=function(n){return Object(e(n))}},function(n,t){n.exports=function(n){if(void 0==n)throw TypeError("Can't call method on "+n);return 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(25),o=Math.min;n.exports=function(n){return n>0?o(e(n),9007199254740991):0}},,function(n,t,r){var e=r(3),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(16);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},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(10),o=r(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(n.exports=function(n,t){return i[n]||(i[n]=void 0!==t?t:{})})("versions",[]).push({version:e.version,mode:r(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(2)&&!r(7)(function(){return 7!=Object.defineProperty(r(23)("div"),"a",{get:function(){return 7}}).a})},function(n,t,r){var e=r(3);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(24),i=r(17),u=r(21),c=r(40);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(41);n.exports=function(n,t){return new(e(n))(t)}},function(n,t,r){var e=r(3),o=r(42),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(16);n.exports=Array.isArray||function(n){return"Array"==e(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,r){"use strict";r(4),jQuery(function(n){n(document).on("click","a.hide-review-notice-soft",function(t){t.preventDefault();var r=n(this).closest(".ac-notice");r.find(".info").slideUp(),r.find(".help").slideDown(),n.post(ajaxurl,r.data("dismissible-callback"))}),n(document).on("click","a.hide-review-notice",function(t){t.preventDefault(),n(this).closest(".ac-notice").find(".notice-dismiss").trigger("click")})})}]);
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")})})}]);
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=92)}({92: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=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)})})}});
assets/js/select2.js ADDED
@@ -0,0 +1,325 @@
1
+ 'use strict';var _typeof=typeof Symbol==='function'&&typeof Symbol.iterator==='symbol'?function(obj){return typeof obj}:function(obj){return obj&&typeof Symbol==='function'&&obj.constructor===Symbol&&obj!==Symbol.prototype?'symbol':typeof obj};/*!
2
+ * Select2 4.0.5
3
+ * https://select2.github.io
4
+ *
5
+ * Released under the MIT license
6
+ * https://github.com/select2/select2/blob/master/LICENSE.md
7
+ */(function(factory){if(typeof define==='function'&&define.amd){// AMD. Register as an anonymous module.
8
+ define(['jquery'],factory)}else if((typeof module==='undefined'?'undefined':_typeof(module))==='object'&&module.exports){// Node/CommonJS
9
+ module.exports=function(root,jQuery){if(jQuery===undefined){// require('jQuery') returns a factory that requires window to
10
+ // build a jQuery instance, we normalize how we use modules
11
+ // that require this pattern but the window provided is a noop
12
+ // if it's defined (how jquery works)
13
+ if(typeof window!=='undefined'){jQuery=require('jquery')}else{jQuery=require('jquery')(root)}}factory(jQuery);return jQuery}}else{// Browser globals
14
+ factory(jQuery)}})(function(jQuery){// This is needed so we can catch the AMD loader configuration and use it
15
+ // The inner file should be wrapped (by `banner.start.js`) in a function that
16
+ // returns the AMD loader references.
17
+ var S2=function(){// Restore the Select2 AMD loader so it can be used
18
+ // Needed mostly in the language files, where the loader is not inserted
19
+ if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd){var S2=jQuery.fn.select2.amd}var S2;(function(){if(!S2||!S2.requirejs){if(!S2){S2={}}else{require=S2}/**
20
+ * @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
21
+ * Released under MIT license, http://github.com/requirejs/almond/LICENSE
22
+ *///Going sloppy to avoid 'use strict' string cost, but strict practices should
23
+ //be followed.
24
+ /*global setTimeout: false */var requirejs,require,define;(function(undef){var main,_req,makeMap,handlers,defined={},waiting={},config={},defining={},hasOwn=Object.prototype.hasOwnProperty,aps=[].slice,jsSuffixRegExp=/\.js#x2F;;function hasProp(obj,prop){return hasOwn.call(obj,prop)}/**
25
+ * Given a relative module name, like ./something, normalize it to
26
+ * a real name that can be mapped to a path.
27
+ * @param {String} name the relative name
28
+ * @param {String} baseName a real name that the name arg is relative
29
+ * to.
30
+ * @returns {String} normalized name
31
+ */function normalize(name,baseName){var nameParts,nameSegment,mapValue,foundMap,lastIndex,foundI,foundStarMap,starI,i,j,part,normalizedBaseParts,baseParts=baseName&&baseName.split('/'),map=config.map,starMap=map&&map['*']||{};//Adjust any relative paths.
32
+ if(name){name=name.split('/');lastIndex=name.length-1;// If wanting node ID compatibility, strip .js from end
33
+ // of IDs. Have to do this here, and not in nameToUrl
34
+ // because node allows either .js or non .js to map
35
+ // to same file.
36
+ if(config.nodeIdCompat&&jsSuffixRegExp.test(name[lastIndex])){name[lastIndex]=name[lastIndex].replace(jsSuffixRegExp,'')}// Starts with a '.' so need the baseName
37
+ if(name[0].charAt(0)==='.'&&baseParts){//Convert baseName to array, and lop off the last part,
38
+ //so that . matches that 'directory' and not name of the baseName's
39
+ //module. For instance, baseName of 'one/two/three', maps to
40
+ //'one/two/three.js', but we want the directory, 'one/two' for
41
+ //this normalization.
42
+ normalizedBaseParts=baseParts.slice(0,baseParts.length-1);name=normalizedBaseParts.concat(name)}//start trimDots
43
+ for(i=0;i<name.length;i++){part=name[i];if(part==='.'){name.splice(i,1);i-=1}else if(part==='..'){// If at the start, or previous value is still ..,
44
+ // keep them so that when converted to a path it may
45
+ // still work when converted to a path, even though
46
+ // as an ID it is less than ideal. In larger point
47
+ // releases, may be better to just kick out an error.
48
+ if(i===0||i===1&&name[2]==='..'||name[i-1]==='..'){continue}else if(i>0){name.splice(i-1,2);i-=2}}}//end trimDots
49
+ name=name.join('/')}//Apply map config if available.
50
+ if((baseParts||starMap)&&map){nameParts=name.split('/');for(i=nameParts.length;i>0;i-=1){nameSegment=nameParts.slice(0,i).join('/');if(baseParts){//Find the longest baseName segment match in the config.
51
+ //So, do joins on the biggest to smallest lengths of baseParts.
52
+ for(j=baseParts.length;j>0;j-=1){mapValue=map[baseParts.slice(0,j).join('/')];//baseName segment has config, find if it has one for
53
+ //this name.
54
+ if(mapValue){mapValue=mapValue[nameSegment];if(mapValue){//Match, update name to the new value.
55
+ foundMap=mapValue;foundI=i;break}}}}if(foundMap){break}//Check for a star map match, but just hold on to it,
56
+ //if there is a shorter segment match later in a matching
57
+ //config, then favor over this star map.
58
+ if(!foundStarMap&&starMap&&starMap[nameSegment]){foundStarMap=starMap[nameSegment];starI=i}}if(!foundMap&&foundStarMap){foundMap=foundStarMap;foundI=starI}if(foundMap){nameParts.splice(0,foundI,foundMap);name=nameParts.join('/')}}return name}function makeRequire(relName,forceSync){return function(){//A version of a require function that passes a moduleName
59
+ //value for items that may need to
60
+ //look up paths relative to the moduleName
61
+ var args=aps.call(arguments,0);//If first arg is not require('string'), and there is only
62
+ //one arg, it is the array form without a callback. Insert
63
+ //a null so that the following concat is correct.
64
+ if(typeof args[0]!=='string'&&args.length===1){args.push(null)}return _req.apply(undef,args.concat([relName,forceSync]))}}function makeNormalize(relName){return function(name){return normalize(name,relName)}}function makeLoad(depName){return function(value){defined[depName]=value}}function callDep(name){if(hasProp(waiting,name)){var args=waiting[name];delete waiting[name];defining[name]=true;main.apply(undef,args)}if(!hasProp(defined,name)&&!hasProp(defining,name)){throw new Error('No '+name)}return defined[name]}//Turns a plugin!resource to [plugin, resource]
65
+ //with the plugin being undefined if the name
66
+ //did not have a plugin prefix.
67
+ function splitPrefix(name){var prefix,index=name?name.indexOf('!'):-1;if(index>-1){prefix=name.substring(0,index);name=name.substring(index+1,name.length)}return[prefix,name]}//Creates a parts array for a relName where first part is plugin ID,
68
+ //second part is resource ID. Assumes relName has already been normalized.
69
+ function makeRelParts(relName){return relName?splitPrefix(relName):[]}/**
70
+ * Makes a name map, normalizing the name, and using a plugin
71
+ * for normalization if necessary. Grabs a ref to plugin
72
+ * too, as an optimization.
73
+ */makeMap=function makeMap(name,relParts){var plugin,parts=splitPrefix(name),prefix=parts[0],relResourceName=relParts[1];name=parts[1];if(prefix){prefix=normalize(prefix,relResourceName);plugin=callDep(prefix)}//Normalize according
74
+ if(prefix){if(plugin&&plugin.normalize){name=plugin.normalize(name,makeNormalize(relResourceName))}else{name=normalize(name,relResourceName)}}else{name=normalize(name,relResourceName);parts=splitPrefix(name);prefix=parts[0];name=parts[1];if(prefix){plugin=callDep(prefix)}}//Using ridiculous property names for space reasons
75
+ return{f:prefix?prefix+'!'+name:name,//fullName
76
+ n:name,pr:prefix,p:plugin}};function makeConfig(name){return function(){return config&&config.config&&config.config[name]||{}}}handlers={require:function require(name){return makeRequire(name)},exports:function exports(name){var e=defined[name];if(typeof e!=='undefined'){return e}else{return defined[name]={}}},module:function module(name){return{id:name,uri:'',exports:defined[name],config:makeConfig(name)}}};main=function main(name,deps,callback,relName){var cjsModule,depName,ret,map,i,relParts,args=[],callbackType=typeof callback==='undefined'?'undefined':_typeof(callback),usingExports;//Use name if no relName
77
+ relName=relName||name;relParts=makeRelParts(relName);//Call the callback to define the module, if necessary.
78
+ if(callbackType==='undefined'||callbackType==='function'){//Pull out the defined dependencies and pass the ordered
79
+ //values to the callback.
80
+ //Default to [require, exports, module] if no deps
81
+ deps=!deps.length&&callback.length?['require','exports','module']:deps;for(i=0;i<deps.length;i+=1){map=makeMap(deps[i],relParts);depName=map.f;//Fast path CommonJS standard dependencies.
82
+ if(depName==='require'){args[i]=handlers.require(name)}else if(depName==='exports'){//CommonJS module spec 1.1
83
+ args[i]=handlers.exports(name);usingExports=true}else if(depName==='module'){//CommonJS module spec 1.1
84
+ cjsModule=args[i]=handlers.module(name)}else if(hasProp(defined,depName)||hasProp(waiting,depName)||hasProp(defining,depName)){args[i]=callDep(depName)}else if(map.p){map.p.load(map.n,makeRequire(relName,true),makeLoad(depName),{});args[i]=defined[depName]}else{throw new Error(name+' missing '+depName)}}ret=callback?callback.apply(defined[name],args):undefined;if(name){//If setting exports via "module" is in play,
85
+ //favor that over return value and exports. After that,
86
+ //favor a non-undefined return value over exports use.
87
+ if(cjsModule&&cjsModule.exports!==undef&&cjsModule.exports!==defined[name]){defined[name]=cjsModule.exports}else if(ret!==undef||!usingExports){//Use the return value from the function.
88
+ defined[name]=ret}}}else if(name){//May just be an object definition for the module. Only
89
+ //worry about defining if have a module name.
90
+ defined[name]=callback}};requirejs=require=_req=function req(deps,callback,relName,forceSync,alt){if(typeof deps==='string'){if(handlers[deps]){//callback in this case is really relName
91
+ return handlers[deps](callback)}//Just return the module wanted. In this scenario, the
92
+ //deps arg is the module name, and second arg (if passed)
93
+ //is just the relName.
94
+ //Normalize module name, if it contains . or ..
95
+ return callDep(makeMap(deps,makeRelParts(callback)).f)}else if(!deps.splice){//deps is a config object, not an array.
96
+ config=deps;if(config.deps){_req(config.deps,config.callback)}if(!callback){return}if(callback.splice){//callback is an array, which means it is a dependency list.
97
+ //Adjust args if there are dependencies
98
+ deps=callback;callback=relName;relName=null}else{deps=undef}}//Support require(['a'])
99
+ callback=callback||function(){};//If relName is a function, it is an errback handler,
100
+ //so remove it.
101
+ if(typeof relName==='function'){relName=forceSync;forceSync=alt}//Simulate async callback;
102
+ if(forceSync){main(undef,deps,callback,relName)}else{//Using a non-zero value because of concern for what old browsers
103
+ //do, and latest browsers "upgrade" to 4 if lower value is used:
104
+ //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout:
105
+ //If want a value immediately, use require('id') instead -- something
106
+ //that works in almond on the global level, but not guaranteed and
107
+ //unlikely to work in other AMD implementations.
108
+ setTimeout(function(){main(undef,deps,callback,relName)},4)}return _req};/**
109
+ * Just drops the config on the floor, but returns req in case
110
+ * the config return value is used.
111
+ */_req.config=function(cfg){return _req(cfg)};/**
112
+ * Expose module registry for debugging and tooling
113
+ */requirejs._defined=defined;define=function define(name,deps,callback){if(typeof name!=='string'){throw new Error('See almond README: incorrect module build, no module name')}//This module may not have dependencies
114
+ if(!deps.splice){//deps is not an array, so probably means
115
+ //an object literal or factory function for
116
+ //the value. Adjust args.
117
+ callback=deps;deps=[]}if(!hasProp(defined,name)&&!hasProp(waiting,name)){waiting[name]=[name,deps,callback]}};define.amd={jQuery:true}})();S2.requirejs=requirejs;S2.require=require;S2.define=define}})();S2.define('almond',function(){});/* global jQuery:false, $:false */S2.define('jquery',[],function(){var _$=jQuery||$;if(_$==null&&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.')}return _$});S2.define('select2/utils',['jquery'],function($){var Utils={};Utils.Extend=function(ChildClass,SuperClass){var __hasProp={}.hasOwnProperty;function BaseConstructor(){this.constructor=ChildClass}for(var key in SuperClass){if(__hasProp.call(SuperClass,key)){ChildClass[key]=SuperClass[key]}}BaseConstructor.prototype=SuperClass.prototype;ChildClass.prototype=new BaseConstructor;ChildClass.__super__=SuperClass.prototype;return ChildClass};function getMethods(theClass){var proto=theClass.prototype;var methods=[];for(var methodName in proto){var m=proto[methodName];if(typeof m!=='function'){continue}if(methodName==='constructor'){continue}methods.push(methodName)}return methods}Utils.Decorate=function(SuperClass,DecoratorClass){var decoratedMethods=getMethods(DecoratorClass);var superMethods=getMethods(SuperClass);function DecoratedClass(){var unshift=Array.prototype.unshift;var argCount=DecoratorClass.prototype.constructor.length;var calledConstructor=SuperClass.prototype.constructor;if(argCount>0){unshift.call(arguments,SuperClass.prototype.constructor);calledConstructor=DecoratorClass.prototype.constructor}calledConstructor.apply(this,arguments)}DecoratorClass.displayName=SuperClass.displayName;function ctr(){this.constructor=DecoratedClass}DecoratedClass.prototype=new ctr;for(var m=0;m<superMethods.length;m++){var superMethod=superMethods[m];DecoratedClass.prototype[superMethod]=SuperClass.prototype[superMethod]}var calledMethod=function calledMethod(methodName){// Stub out the original method if it's not decorating an actual method
118
+ var originalMethod=function originalMethod(){};if(methodName in DecoratedClass.prototype){originalMethod=DecoratedClass.prototype[methodName]}var decoratedMethod=DecoratorClass.prototype[methodName];return function(){var unshift=Array.prototype.unshift;unshift.call(arguments,originalMethod);return decoratedMethod.apply(this,arguments)}};for(var d=0;d<decoratedMethods.length;d++){var decoratedMethod=decoratedMethods[d];DecoratedClass.prototype[decoratedMethod]=calledMethod(decoratedMethod)}return DecoratedClass};var Observable=function Observable(){this.listeners={}};Observable.prototype.on=function(event,callback){this.listeners=this.listeners||{};if(event in this.listeners){this.listeners[event].push(callback)}else{this.listeners[event]=[callback]}};Observable.prototype.trigger=function(event){var slice=Array.prototype.slice;var params=slice.call(arguments,1);this.listeners=this.listeners||{};// Params should always come in as an array
119
+ if(params==null){params=[]}// If there are no arguments to the event, use a temporary object
120
+ if(params.length===0){params.push({})}// Set the `_type` of the first object to the event
121
+ params[0]._type=event;if(event in this.listeners){this.invoke(this.listeners[event],slice.call(arguments,1))}if('*'in this.listeners){this.invoke(this.listeners['*'],arguments)}};Observable.prototype.invoke=function(listeners,params){for(var i=0,len=listeners.length;i<len;i++){listeners[i].apply(this,params)}};Utils.Observable=Observable;Utils.generateChars=function(length){var chars='';for(var i=0;i<length;i++){var randomChar=Math.floor(Math.random()*36);chars+=randomChar.toString(36)}return chars};Utils.bind=function(func,context){return function(){func.apply(context,arguments)}};Utils._convertData=function(data){for(var originalKey in data){var keys=originalKey.split('-');var dataLevel=data;if(keys.length===1){continue}for(var k=0;k<keys.length;k++){var key=keys[k];// Lowercase the first letter
122
+ // By default, dash-separated becomes camelCase
123
+ key=key.substring(0,1).toLowerCase()+key.substring(1);if(!(key in dataLevel)){dataLevel[key]={}}if(k==keys.length-1){dataLevel[key]=data[originalKey]}dataLevel=dataLevel[key]}delete data[originalKey]}return data};Utils.hasScroll=function(index,el){// Adapted from the function created by @ShadowScripter
124
+ // and adapted by @BillBarry on the Stack Exchange Code Review website.
125
+ // The original code can be found at
126
+ // http://codereview.stackexchange.com/q/13338
127
+ // and was designed to be used with the Sizzle selector engine.
128
+ var $el=$(el);var overflowX=el.style.overflowX;var overflowY=el.style.overflowY;//Check both x and y declarations
129
+ if(overflowX===overflowY&&(overflowY==='hidden'||overflowY==='visible')){return false}if(overflowX==='scroll'||overflowY==='scroll'){return true}return $el.innerHeight()<el.scrollHeight||$el.innerWidth()<el.scrollWidth};Utils.escapeMarkup=function(markup){var replaceMap={'\\':'&#92;','&':'&amp;','<':'&lt;','>':'&gt;','"':'&quot;','\'':'&#39;','/':'&#47;'};// Do not try to escape the markup if it's not a string
130
+ if(typeof markup!=='string'){return markup}return String(markup).replace(/[&<>"'\/\\]/g,function(match){return replaceMap[match]})};// Append an array of jQuery nodes to a given element.
131
+ Utils.appendMany=function($element,$nodes){// jQuery 1.7.x does not support $.fn.append() with an array
132
+ // Fall back to a jQuery object collection using $.fn.add()
133
+ if($.fn.jquery.substr(0,3)==='1.7'){var $jqNodes=$();$.map($nodes,function(node){$jqNodes=$jqNodes.add(node)});$nodes=$jqNodes}$element.append($nodes)};return Utils});S2.define('select2/results',['jquery','./utils'],function($,Utils){function Results($element,options,dataAdapter){this.$element=$element;this.data=dataAdapter;this.options=options;Results.__super__.constructor.call(this)}Utils.Extend(Results,Utils.Observable);Results.prototype.render=function(){var $results=$('<ul class="select2-results__options" role="tree"></ul>');if(this.options.get('multiple')){$results.attr('aria-multiselectable','true')}this.$results=$results;return $results};Results.prototype.clear=function(){this.$results.empty()};Results.prototype.displayMessage=function(params){var escapeMarkup=this.options.get('escapeMarkup');this.clear();this.hideLoading();var $message=$('<li role="treeitem" aria-live="assertive"'+' class="select2-results__option"></li>');var message=this.options.get('translations').get(params.message);$message.append(escapeMarkup(message(params.args)));$message[0].className+=' select2-results__message';this.$results.append($message)};Results.prototype.hideMessages=function(){this.$results.find('.select2-results__message').remove()};Results.prototype.append=function(data){this.hideLoading();var $options=[];if(data.results==null||data.results.length===0){if(this.$results.children().length===0){this.trigger('results:message',{message:'noResults'})}return}data.results=this.sort(data.results);for(var d=0;d<data.results.length;d++){var item=data.results[d];var $option=this.option(item);$options.push($option)}this.$results.append($options)};Results.prototype.position=function($results,$dropdown){var $resultsContainer=$dropdown.find('.select2-results');$resultsContainer.append($results)};Results.prototype.sort=function(data){var sorter=this.options.get('sorter');return sorter(data)};Results.prototype.highlightFirstItem=function(){var $options=this.$results.find('.select2-results__option[aria-selected]');var $selected=$options.filter('[aria-selected=true]');// Check if there are any selected options
134
+ if($selected.length>0){// If there are selected options, highlight the first
135
+ $selected.first().trigger('mouseenter')}else{// If there are no selected options, highlight the first option
136
+ // in the dropdown
137
+ $options.first().trigger('mouseenter')}this.ensureHighlightVisible()};Results.prototype.setClasses=function(){var self=this;this.data.current(function(selected){var selectedIds=$.map(selected,function(s){return s.id.toString()});var $options=self.$results.find('.select2-results__option[aria-selected]');$options.each(function(){var $option=$(this);var item=$.data(this,'data');// id needs to be converted to a string when comparing
138
+ var id=''+item.id;if(item.element!=null&&item.element.selected||item.element==null&&$.inArray(id,selectedIds)>-1){$option.attr('aria-selected','true')}else{$option.attr('aria-selected','false')}})})};Results.prototype.showLoading=function(params){this.hideLoading();var loadingMore=this.options.get('translations').get('searching');var loading={disabled:true,loading:true,text:loadingMore(params)};var $loading=this.option(loading);$loading.className+=' loading-results';this.$results.prepend($loading)};Results.prototype.hideLoading=function(){this.$results.find('.loading-results').remove()};Results.prototype.option=function(data){var option=document.createElement('li');option.className='select2-results__option';var attrs={'role':'treeitem','aria-selected':'false'};if(data.disabled){delete attrs['aria-selected'];attrs['aria-disabled']='true'}if(data.id==null){delete attrs['aria-selected']}if(data._resultId!=null){option.id=data._resultId}if(data.title){option.title=data.title}if(data.children){attrs.role='group';attrs['aria-label']=data.text;delete attrs['aria-selected']}for(var attr in attrs){var val=attrs[attr];option.setAttribute(attr,val)}if(data.children){var $option=$(option);var label=document.createElement('strong');label.className='select2-results__group';var $label=$(label);this.template(data,label);var $children=[];for(var c=0;c<data.children.length;c++){var child=data.children[c];var $child=this.option(child);$children.push($child)}var $childrenContainer=$('<ul></ul>',{'class':'select2-results__options select2-results__options--nested'});$childrenContainer.append($children);$option.append(label);$option.append($childrenContainer)}else{this.template(data,option)}$.data(option,'data',data);return option};Results.prototype.bind=function(container,$container){var self=this;var id=container.id+'-results';this.$results.attr('id',id);container.on('results:all',function(params){self.clear();self.append(params.data);if(container.isOpen()){self.setClasses();self.highlightFirstItem()}});container.on('results:append',function(params){self.append(params.data);if(container.isOpen()){self.setClasses()}});container.on('query',function(params){self.hideMessages();self.showLoading(params)});container.on('select',function(){if(!container.isOpen()){return}self.setClasses();self.highlightFirstItem()});container.on('unselect',function(){if(!container.isOpen()){return}self.setClasses();self.highlightFirstItem()});container.on('open',function(){// When the dropdown is open, aria-expended="true"
139
+ self.$results.attr('aria-expanded','true');self.$results.attr('aria-hidden','false');self.setClasses();self.ensureHighlightVisible()});container.on('close',function(){// When the dropdown is closed, aria-expended="false"
140
+ self.$results.attr('aria-expanded','false');self.$results.attr('aria-hidden','true');self.$results.removeAttr('aria-activedescendant')});container.on('results:toggle',function(){var $highlighted=self.getHighlightedResults();if($highlighted.length===0){return}$highlighted.trigger('mouseup')});container.on('results:select',function(){var $highlighted=self.getHighlightedResults();if($highlighted.length===0){return}var data=$highlighted.data('data');if($highlighted.attr('aria-selected')=='true'){self.trigger('close',{})}else{self.trigger('select',{data:data})}});container.on('results:previous',function(){var $highlighted=self.getHighlightedResults();var $options=self.$results.find('[aria-selected]');var currentIndex=$options.index($highlighted);// If we are already at te top, don't move further
141
+ if(currentIndex===0){return}var nextIndex=currentIndex-1;// If none are highlighted, highlight the first
142
+ if($highlighted.length===0){nextIndex=0}var $next=$options.eq(nextIndex);$next.trigger('mouseenter');var currentOffset=self.$results.offset().top;var nextTop=$next.offset().top;var nextOffset=self.$results.scrollTop()+(nextTop-currentOffset);if(nextIndex===0){self.$results.scrollTop(0)}else if(nextTop-currentOffset<0){self.$results.scrollTop(nextOffset)}});container.on('results:next',function(){var $highlighted=self.getHighlightedResults();var $options=self.$results.find('[aria-selected]');var currentIndex=$options.index($highlighted);var nextIndex=currentIndex+1;// If we are at the last option, stay there
143
+ if(nextIndex>=$options.length){return}var $next=$options.eq(nextIndex);$next.trigger('mouseenter');var currentOffset=self.$results.offset().top+self.$results.outerHeight(false);var nextBottom=$next.offset().top+$next.outerHeight(false);var nextOffset=self.$results.scrollTop()+nextBottom-currentOffset;if(nextIndex===0){self.$results.scrollTop(0)}else if(nextBottom>currentOffset){self.$results.scrollTop(nextOffset)}});container.on('results:focus',function(params){params.element.addClass('select2-results__option--highlighted')});container.on('results:message',function(params){self.displayMessage(params)});if($.fn.mousewheel){this.$results.on('mousewheel',function(e){var top=self.$results.scrollTop();var bottom=self.$results.get(0).scrollHeight-top+e.deltaY;var isAtTop=e.deltaY>0&&top-e.deltaY<=0;var isAtBottom=e.deltaY<0&&bottom<=self.$results.height();if(isAtTop){self.$results.scrollTop(0);e.preventDefault();e.stopPropagation()}else if(isAtBottom){self.$results.scrollTop(self.$results.get(0).scrollHeight-self.$results.height());e.preventDefault();e.stopPropagation()}})}this.$results.on('mouseup','.select2-results__option[aria-selected]',function(evt){var $this=$(this);var data=$this.data('data');if($this.attr('aria-selected')==='true'){if(self.options.get('multiple')){self.trigger('unselect',{originalEvent:evt,data:data})}else{self.trigger('close',{})}return}self.trigger('select',{originalEvent:evt,data:data})});this.$results.on('mouseenter','.select2-results__option[aria-selected]',function(evt){var data=$(this).data('data');self.getHighlightedResults().removeClass('select2-results__option--highlighted');self.trigger('results:focus',{data:data,element:$(this)})})};Results.prototype.getHighlightedResults=function(){var $highlighted=this.$results.find('.select2-results__option--highlighted');return $highlighted};Results.prototype.destroy=function(){this.$results.remove()};Results.prototype.ensureHighlightVisible=function(){var $highlighted=this.getHighlightedResults();if($highlighted.length===0){return}var $options=this.$results.find('[aria-selected]');var currentIndex=$options.index($highlighted);var currentOffset=this.$results.offset().top;var nextTop=$highlighted.offset().top;var nextOffset=this.$results.scrollTop()+(nextTop-currentOffset);var offsetDelta=nextTop-currentOffset;nextOffset-=$highlighted.outerHeight(false)*2;if(currentIndex<=2){this.$results.scrollTop(0)}else if(offsetDelta>this.$results.outerHeight()||offsetDelta<0){this.$results.scrollTop(nextOffset)}};Results.prototype.template=function(result,container){var template=this.options.get('templateResult');var escapeMarkup=this.options.get('escapeMarkup');var content=template(result,container);if(content==null){container.style.display='none'}else if(typeof content==='string'){container.innerHTML=escapeMarkup(content)}else{$(container).append(content)}};return Results});S2.define('select2/keys',[],function(){var KEYS={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};return KEYS});S2.define('select2/selection/base',['jquery','../utils','../keys'],function($,Utils,KEYS){function BaseSelection($element,options){this.$element=$element;this.options=options;BaseSelection.__super__.constructor.call(this)}Utils.Extend(BaseSelection,Utils.Observable);BaseSelection.prototype.render=function(){var $selection=$('<span class="select2-selection" role="combobox" '+' aria-haspopup="true" aria-expanded="false">'+'</span>');this._tabindex=0;if(this.$element.data('old-tabindex')!=null){this._tabindex=this.$element.data('old-tabindex')}else if(this.$element.attr('tabindex')!=null){this._tabindex=this.$element.attr('tabindex')}$selection.attr('title',this.$element.attr('title'));$selection.attr('tabindex',this._tabindex);this.$selection=$selection;return $selection};BaseSelection.prototype.bind=function(container,$container){var self=this;var id=container.id+'-container';var resultsId=container.id+'-results';this.container=container;this.$selection.on('focus',function(evt){self.trigger('focus',evt)});this.$selection.on('blur',function(evt){self._handleBlur(evt)});this.$selection.on('keydown',function(evt){self.trigger('keypress',evt);if(evt.which===KEYS.SPACE){evt.preventDefault()}});container.on('results:focus',function(params){self.$selection.attr('aria-activedescendant',params.data._resultId)});container.on('selection:update',function(params){self.update(params.data)});container.on('open',function(){// When the dropdown is open, aria-expanded="true"
144
+ self.$selection.attr('aria-expanded','true');self.$selection.attr('aria-owns',resultsId);self._attachCloseHandler(container)});container.on('close',function(){// When the dropdown is closed, aria-expanded="false"
145
+ self.$selection.attr('aria-expanded','false');self.$selection.removeAttr('aria-activedescendant');self.$selection.removeAttr('aria-owns');self.$selection.focus();self._detachCloseHandler(container)});container.on('enable',function(){self.$selection.attr('tabindex',self._tabindex)});container.on('disable',function(){self.$selection.attr('tabindex','-1')})};BaseSelection.prototype._handleBlur=function(evt){var self=this;// This needs to be delayed as the active element is the body when the tab
146
+ // key is pressed, possibly along with others.
147
+ window.setTimeout(function(){// Don't trigger `blur` if the focus is still in the selection
148
+ if(document.activeElement==self.$selection[0]||$.contains(self.$selection[0],document.activeElement)){return}self.trigger('blur',evt)},1)};BaseSelection.prototype._attachCloseHandler=function(container){var self=this;$(document.body).on('mousedown.select2.'+container.id,function(e){var $target=$(e.target);var $select=$target.closest('.select2');var $all=$('.select2.select2-container--open');$all.each(function(){var $this=$(this);if(this==$select[0]){return}var $element=$this.data('element');$element.select2('close')})})};BaseSelection.prototype._detachCloseHandler=function(container){$(document.body).off('mousedown.select2.'+container.id)};BaseSelection.prototype.position=function($selection,$container){var $selectionContainer=$container.find('.selection');$selectionContainer.append($selection)};BaseSelection.prototype.destroy=function(){this._detachCloseHandler(this.container)};BaseSelection.prototype.update=function(data){throw new Error('The `update` method must be defined in child classes.')};return BaseSelection});S2.define('select2/selection/single',['jquery','./base','../utils','../keys'],function($,BaseSelection,Utils,KEYS){function SingleSelection(){SingleSelection.__super__.constructor.apply(this,arguments)}Utils.Extend(SingleSelection,BaseSelection);SingleSelection.prototype.render=function(){var $selection=SingleSelection.__super__.render.call(this);$selection.addClass('select2-selection--single');$selection.html('<span class="select2-selection__rendered"></span>'+'<span class="select2-selection__arrow" role="presentation">'+'<b role="presentation"></b>'+'</span>');return $selection};SingleSelection.prototype.bind=function(container,$container){var self=this;SingleSelection.__super__.bind.apply(this,arguments);var id=container.id+'-container';this.$selection.find('.select2-selection__rendered').attr('id',id);this.$selection.attr('aria-labelledby',id);this.$selection.on('mousedown',function(evt){// Only respond to left clicks
149
+ if(evt.which!==1){return}self.trigger('toggle',{originalEvent:evt})});this.$selection.on('focus',function(evt){// User focuses on the container
150
+ });this.$selection.on('blur',function(evt){// User exits the container
151
+ });container.on('focus',function(evt){if(!container.isOpen()){self.$selection.focus()}});container.on('selection:update',function(params){self.update(params.data)})};SingleSelection.prototype.clear=function(){this.$selection.find('.select2-selection__rendered').empty()};SingleSelection.prototype.display=function(data,container){var template=this.options.get('templateSelection');var escapeMarkup=this.options.get('escapeMarkup');return escapeMarkup(template(data,container))};SingleSelection.prototype.selectionContainer=function(){return $('<span></span>')};SingleSelection.prototype.update=function(data){if(data.length===0){this.clear();return}var selection=data[0];var $rendered=this.$selection.find('.select2-selection__rendered');var formatted=this.display(selection,$rendered);$rendered.empty().append(formatted);$rendered.prop('title',selection.title||selection.text)};return SingleSelection});S2.define('select2/selection/multiple',['jquery','./base','../utils'],function($,BaseSelection,Utils){function MultipleSelection($element,options){MultipleSelection.__super__.constructor.apply(this,arguments)}Utils.Extend(MultipleSelection,BaseSelection);MultipleSelection.prototype.render=function(){var $selection=MultipleSelection.__super__.render.call(this);$selection.addClass('select2-selection--multiple');$selection.html('<ul class="select2-selection__rendered"></ul>');return $selection};MultipleSelection.prototype.bind=function(container,$container){var self=this;MultipleSelection.__super__.bind.apply(this,arguments);this.$selection.on('click',function(evt){self.trigger('toggle',{originalEvent:evt})});this.$selection.on('click','.select2-selection__choice__remove',function(evt){// Ignore the event if it is disabled
152
+ if(self.options.get('disabled')){return}var $remove=$(this);var $selection=$remove.parent();var data=$selection.data('data');self.trigger('unselect',{originalEvent:evt,data:data})})};MultipleSelection.prototype.clear=function(){this.$selection.find('.select2-selection__rendered').empty()};MultipleSelection.prototype.display=function(data,container){var template=this.options.get('templateSelection');var escapeMarkup=this.options.get('escapeMarkup');return escapeMarkup(template(data,container))};MultipleSelection.prototype.selectionContainer=function(){var $container=$('<li class="select2-selection__choice">'+'<span class="select2-selection__choice__remove" role="presentation">'+'&times;'+'</span>'+'</li>');return $container};MultipleSelection.prototype.update=function(data){this.clear();if(data.length===0){return}var $selections=[];for(var d=0;d<data.length;d++){var selection=data[d];var $selection=this.selectionContainer();var formatted=this.display(selection,$selection);$selection.append(formatted);$selection.prop('title',selection.title||selection.text);$selection.data('data',selection);$selections.push($selection)}var $rendered=this.$selection.find('.select2-selection__rendered');Utils.appendMany($rendered,$selections)};return MultipleSelection});S2.define('select2/selection/placeholder',['../utils'],function(Utils){function Placeholder(decorated,$element,options){this.placeholder=this.normalizePlaceholder(options.get('placeholder'));decorated.call(this,$element,options)}Placeholder.prototype.normalizePlaceholder=function(_,placeholder){if(typeof placeholder==='string'){placeholder={id:'',text:placeholder}}return placeholder};Placeholder.prototype.createPlaceholder=function(decorated,placeholder){var $placeholder=this.selectionContainer();$placeholder.html(this.display(placeholder));$placeholder.addClass('select2-selection__placeholder').removeClass('select2-selection__choice');return $placeholder};Placeholder.prototype.update=function(decorated,data){var singlePlaceholder=data.length==1&&data[0].id!=this.placeholder.id;var multipleSelections=data.length>1;if(multipleSelections||singlePlaceholder){return decorated.call(this,data)}this.clear();var $placeholder=this.createPlaceholder(this.placeholder);this.$selection.find('.select2-selection__rendered').append($placeholder)};return Placeholder});S2.define('select2/selection/allowClear',['jquery','../keys'],function($,KEYS){function AllowClear(){}AllowClear.prototype.bind=function(decorated,container,$container){var self=this;decorated.call(this,container,$container);if(this.placeholder==null){if(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(evt){self._handleClear(evt)});container.on('keypress',function(evt){self._handleKeyboardClear(evt,container)})};AllowClear.prototype._handleClear=function(_,evt){// Ignore the event if it is disabled
153
+ if(this.options.get('disabled')){return}var $clear=this.$selection.find('.select2-selection__clear');// Ignore the event if nothing has been selected
154
+ if($clear.length===0){return}evt.stopPropagation();var data=$clear.data('data');for(var d=0;d<data.length;d++){var unselectData={data:data[d]};// Trigger the `unselect` event, so people can prevent it from being
155
+ // cleared.
156
+ this.trigger('unselect',unselectData);// If the event was prevented, don't clear it out.
157
+ if(unselectData.prevented){return}}this.$element.val(this.placeholder.id).trigger('change');this.trigger('toggle',{})};AllowClear.prototype._handleKeyboardClear=function(_,evt,container){if(container.isOpen()){return}if(evt.which==KEYS.DELETE||evt.which==KEYS.BACKSPACE){this._handleClear(evt)}};AllowClear.prototype.update=function(decorated,data){decorated.call(this,data);if(this.$selection.find('.select2-selection__placeholder').length>0||data.length===0){return}var $remove=$('<span class="select2-selection__clear">'+'&times;'+'</span>');$remove.data('data',data);this.$selection.find('.select2-selection__rendered').prepend($remove)};return AllowClear});S2.define('select2/selection/search',['jquery','../utils','../keys'],function($,Utils,KEYS){function Search(decorated,$element,options){decorated.call(this,$element,options)}Search.prototype.render=function(decorated){var $search=$('<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="textbox" aria-autocomplete="list" />'+'</li>');this.$searchContainer=$search;this.$search=$search.find('input');var $rendered=decorated.call(this);this._transferTabIndex();return $rendered};Search.prototype.bind=function(decorated,container,$container){var self=this;decorated.call(this,container,$container);container.on('open',function(){self.$search.trigger('focus')});container.on('close',function(){self.$search.val('');self.$search.removeAttr('aria-activedescendant');self.$search.trigger('focus')});container.on('enable',function(){self.$search.prop('disabled',false);self._transferTabIndex()});container.on('disable',function(){self.$search.prop('disabled',true)});container.on('focus',function(evt){self.$search.trigger('focus')});container.on('results:focus',function(params){self.$search.attr('aria-activedescendant',params.id)});this.$selection.on('focusin','.select2-search--inline',function(evt){self.trigger('focus',evt)});this.$selection.on('focusout','.select2-search--inline',function(evt){self._handleBlur(evt)});this.$selection.on('keydown','.select2-search--inline',function(evt){evt.stopPropagation();self.trigger('keypress',evt);self._keyUpPrevented=evt.isDefaultPrevented();var key=evt.which;if(key===KEYS.BACKSPACE&&self.$search.val()===''){var $previousChoice=self.$searchContainer.prev('.select2-selection__choice');if($previousChoice.length>0){var item=$previousChoice.data('data');self.searchRemoveChoice(item);evt.preventDefault()}}});// Try to detect the IE version should the `documentMode` property that
158
+ // is stored on the document. This is only implemented in IE and is
159
+ // slightly cleaner than doing a user agent check.
160
+ // This property is not available in Edge, but Edge also doesn't have
161
+ // this bug.
162
+ var msie=document.documentMode;var disableInputEvents=msie&&msie<=11;// Workaround for browsers which do not support the `input` event
163
+ // This will prevent double-triggering of events for browsers which support
164
+ // both the `keyup` and `input` events.
165
+ this.$selection.on('input.searchcheck','.select2-search--inline',function(evt){// IE will trigger the `input` event when a placeholder is used on a
166
+ // search box. To get around this issue, we are forced to ignore all
167
+ // `input` events in IE and keep using `keyup`.
168
+ if(disableInputEvents){self.$selection.off('input.search input.searchcheck');return}// Unbind the duplicated `keyup` event
169
+ self.$selection.off('keyup.search')});this.$selection.on('keyup.search input.search','.select2-search--inline',function(evt){// IE will trigger the `input` event when a placeholder is used on a
170
+ // search box. To get around this issue, we are forced to ignore all
171
+ // `input` events in IE and keep using `keyup`.
172
+ if(disableInputEvents&&evt.type==='input'){self.$selection.off('input.search input.searchcheck');return}var key=evt.which;// We can freely ignore events from modifier keys
173
+ if(key==KEYS.SHIFT||key==KEYS.CTRL||key==KEYS.ALT){return}// Tabbing will be handled during the `keydown` phase
174
+ if(key==KEYS.TAB){return}self.handleSearch(evt)})};/**
175
+ * This method will transfer the tabindex attribute from the rendered
176
+ * selection to the search box. This allows for the search box to be used as
177
+ * the primary focus instead of the selection container.
178
+ *
179
+ * @private
180
+ */Search.prototype._transferTabIndex=function(decorated){this.$search.attr('tabindex',this.$selection.attr('tabindex'));this.$selection.attr('tabindex','-1')};Search.prototype.createPlaceholder=function(decorated,placeholder){this.$search.attr('placeholder',placeholder.text)};Search.prototype.update=function(decorated,data){var searchHadFocus=this.$search[0]==document.activeElement;this.$search.attr('placeholder','');decorated.call(this,data);this.$selection.find('.select2-selection__rendered').append(this.$searchContainer);this.resizeSearch();if(searchHadFocus){this.$search.focus()}};Search.prototype.handleSearch=function(){this.resizeSearch();if(!this._keyUpPrevented){var input=this.$search.val();this.trigger('query',{term:input})}this._keyUpPrevented=false};Search.prototype.searchRemoveChoice=function(decorated,item){this.trigger('unselect',{data:item});this.$search.val(item.text);this.handleSearch()};Search.prototype.resizeSearch=function(){this.$search.css('width','25px');var width='';if(this.$search.attr('placeholder')!==''){width=this.$selection.find('.select2-selection__rendered').innerWidth()}else{var minimumWidth=this.$search.val().length+1;width=minimumWidth*0.75+'em'}this.$search.css('width',width)};return Search});S2.define('select2/selection/eventRelay',['jquery'],function($){function EventRelay(){}EventRelay.prototype.bind=function(decorated,container,$container){var self=this;var relayEvents=['open','opening','close','closing','select','selecting','unselect','unselecting'];var preventableEvents=['opening','closing','selecting','unselecting'];decorated.call(this,container,$container);container.on('*',function(name,params){// Ignore events that should not be relayed
181
+ if($.inArray(name,relayEvents)===-1){return}// The parameters should always be an object
182
+ params=params||{};// Generate the jQuery event for the Select2 event
183
+ var evt=$.Event('select2:'+name,{params:params});self.$element.trigger(evt);// Only handle preventable events if it was one
184
+ if($.inArray(name,preventableEvents)===-1){return}params.prevented=evt.isDefaultPrevented()})};return EventRelay});S2.define('select2/translation',['jquery','require'],function($,require){function Translation(dict){this.dict=dict||{}}Translation.prototype.all=function(){return this.dict};Translation.prototype.get=function(key){return this.dict[key]};Translation.prototype.extend=function(translation){this.dict=$.extend({},translation.all(),this.dict)};// Static functions
185
+ Translation._cache={};Translation.loadPath=function(path){if(!(path in Translation._cache)){var translations=require(path);Translation._cache[path]=translations}return new Translation(Translation._cache[path])};return Translation});S2.define('select2/diacritics',[],function(){var diacritics={'\u24B6':'A','\uFF21':'A','\xC0':'A','\xC1':'A','\xC2':'A','\u1EA6':'A','\u1EA4':'A','\u1EAA':'A','\u1EA8':'A','\xC3':'A','\u0100':'A','\u0102':'A','\u1EB0':'A','\u1EAE':'A','\u1EB4':'A','\u1EB2':'A','\u0226':'A','\u01E0':'A','\xC4':'A','\u01DE':'A','\u1EA2':'A','\xC5':'A','\u01FA':'A','\u01CD':'A','\u0200':'A','\u0202':'A','\u1EA0':'A','\u1EAC':'A','\u1EB6':'A','\u1E00':'A','\u0104':'A','\u023A':'A','\u2C6F':'A','\uA732':'AA','\xC6':'AE','\u01FC':'AE','\u01E2':'AE','\uA734':'AO','\uA736':'AU','\uA738':'AV','\uA73A':'AV','\uA73C':'AY','\u24B7':'B','\uFF22':'B','\u1E02':'B','\u1E04':'B','\u1E06':'B','\u0243':'B','\u0182':'B','\u0181':'B','\u24B8':'C','\uFF23':'C','\u0106':'C','\u0108':'C','\u010A':'C','\u010C':'C','\xC7':'C','\u1E08':'C','\u0187':'C','\u023B':'C','\uA73E':'C','\u24B9':'D','\uFF24':'D','\u1E0A':'D','\u010E':'D','\u1E0C':'D','\u1E10':'D','\u1E12':'D','\u1E0E':'D','\u0110':'D','\u018B':'D','\u018A':'D','\u0189':'D','\uA779':'D','\u01F1':'DZ','\u01C4':'DZ','\u01F2':'Dz','\u01C5':'Dz','\u24BA':'E','\uFF25':'E','\xC8':'E','\xC9':'E','\xCA':'E','\u1EC0':'E','\u1EBE':'E','\u1EC4':'E','\u1EC2':'E','\u1EBC':'E','\u0112':'E','\u1E14':'E','\u1E16':'E','\u0114':'E','\u0116':'E','\xCB':'E','\u1EBA':'E','\u011A':'E','\u0204':'E','\u0206':'E','\u1EB8':'E','\u1EC6':'E','\u0228':'E','\u1E1C':'E','\u0118':'E','\u1E18':'E','\u1E1A':'E','\u0190':'E','\u018E':'E','\u24BB':'F','\uFF26':'F','\u1E1E':'F','\u0191':'F','\uA77B':'F','\u24BC':'G','\uFF27':'G','\u01F4':'G','\u011C':'G','\u1E20':'G','\u011E':'G','\u0120':'G','\u01E6':'G','\u0122':'G','\u01E4':'G','\u0193':'G','\uA7A0':'G','\uA77D':'G','\uA77E':'G','\u24BD':'H','\uFF28':'H','\u0124':'H','\u1E22':'H','\u1E26':'H','\u021E':'H','\u1E24':'H','\u1E28':'H','\u1E2A':'H','\u0126':'H','\u2C67':'H','\u2C75':'H','\uA78D':'H','\u24BE':'I','\uFF29':'I','\xCC':'I','\xCD':'I','\xCE':'I','\u0128':'I','\u012A':'I','\u012C':'I','\u0130':'I','\xCF':'I','\u1E2E':'I','\u1EC8':'I','\u01CF':'I','\u0208':'I','\u020A':'I','\u1ECA':'I','\u012E':'I','\u1E2C':'I','\u0197':'I','\u24BF':'J','\uFF2A':'J','\u0134':'J','\u0248':'J','\u24C0':'K','\uFF2B':'K','\u1E30':'K','\u01E8':'K','\u1E32':'K','\u0136':'K','\u1E34':'K','\u0198':'K','\u2C69':'K','\uA740':'K','\uA742':'K','\uA744':'K','\uA7A2':'K','\u24C1':'L','\uFF2C':'L','\u013F':'L','\u0139':'L','\u013D':'L','\u1E36':'L','\u1E38':'L','\u013B':'L','\u1E3C':'L','\u1E3A':'L','\u0141':'L','\u023D':'L','\u2C62':'L','\u2C60':'L','\uA748':'L','\uA746':'L','\uA780':'L','\u01C7':'LJ','\u01C8':'Lj','\u24C2':'M','\uFF2D':'M','\u1E3E':'M','\u1E40':'M','\u1E42':'M','\u2C6E':'M','\u019C':'M','\u24C3':'N','\uFF2E':'N','\u01F8':'N','\u0143':'N','\xD1':'N','\u1E44':'N','\u0147':'N','\u1E46':'N','\u0145':'N','\u1E4A':'N','\u1E48':'N','\u0220':'N','\u019D':'N','\uA790':'N','\uA7A4':'N','\u01CA':'NJ','\u01CB':'Nj','\u24C4':'O','\uFF2F':'O','\xD2':'O','\xD3':'O','\xD4':'O','\u1ED2':'O','\u1ED0':'O','\u1ED6':'O','\u1ED4':'O','\xD5':'O','\u1E4C':'O','\u022C':'O','\u1E4E':'O','\u014C':'O','\u1E50':'O','\u1E52':'O','\u014E':'O','\u022E':'O','\u0230':'O','\xD6':'O','\u022A':'O','\u1ECE':'O','\u0150':'O','\u01D1':'O','\u020C':'O','\u020E':'O','\u01A0':'O','\u1EDC':'O','\u1EDA':'O','\u1EE0':'O','\u1EDE':'O','\u1EE2':'O','\u1ECC':'O','\u1ED8':'O','\u01EA':'O','\u01EC':'O','\xD8':'O','\u01FE':'O','\u0186':'O','\u019F':'O','\uA74A':'O','\uA74C':'O','\u01A2':'OI','\uA74E':'OO','\u0222':'OU','\u24C5':'P','\uFF30':'P','\u1E54':'P','\u1E56':'P','\u01A4':'P','\u2C63':'P','\uA750':'P','\uA752':'P','\uA754':'P','\u24C6':'Q','\uFF31':'Q','\uA756':'Q','\uA758':'Q','\u024A':'Q','\u24C7':'R','\uFF32':'R','\u0154':'R','\u1E58':'R','\u0158':'R','\u0210':'R','\u0212':'R','\u1E5A':'R','\u1E5C':'R','\u0156':'R','\u1E5E':'R','\u024C':'R','\u2C64':'R','\uA75A':'R','\uA7A6':'R','\uA782':'R','\u24C8':'S','\uFF33':'S','\u1E9E':'S','\u015A':'S','\u1E64':'S','\u015C':'S','\u1E60':'S','\u0160':'S','\u1E66':'S','\u1E62':'S','\u1E68':'S','\u0218':'S','\u015E':'S','\u2C7E':'S','\uA7A8':'S','\uA784':'S','\u24C9':'T','\uFF34':'T','\u1E6A':'T','\u0164':'T','\u1E6C':'T','\u021A':'T','\u0162':'T','\u1E70':'T','\u1E6E':'T','\u0166':'T','\u01AC':'T','\u01AE':'T','\u023E':'T','\uA786':'T','\uA728':'TZ','\u24CA':'U','\uFF35':'U','\xD9':'U','\xDA':'U','\xDB':'U','\u0168':'U','\u1E78':'U','\u016A':'U','\u1E7A':'U','\u016C':'U','\xDC':'U','\u01DB':'U','\u01D7':'U','\u01D5':'U','\u01D9':'U','\u1EE6':'U','\u016E':'U','\u0170':'U','\u01D3':'U','\u0214':'U','\u0216':'U','\u01AF':'U','\u1EEA':'U','\u1EE8':'U','\u1EEE':'U','\u1EEC':'U','\u1EF0':'U','\u1EE4':'U','\u1E72':'U','\u0172':'U','\u1E76':'U','\u1E74':'U','\u0244':'U','\u24CB':'V','\uFF36':'V','\u1E7C':'V','\u1E7E':'V','\u01B2':'V','\uA75E':'V','\u0245':'V','\uA760':'VY','\u24CC':'W','\uFF37':'W','\u1E80':'W','\u1E82':'W','\u0174':'W','\u1E86':'W','\u1E84':'W','\u1E88':'W','\u2C72':'W','\u24CD':'X','\uFF38':'X','\u1E8A':'X','\u1E8C':'X','\u24CE':'Y','\uFF39':'Y','\u1EF2':'Y','\xDD':'Y','\u0176':'Y','\u1EF8':'Y','\u0232':'Y','\u1E8E':'Y','\u0178':'Y','\u1EF6':'Y','\u1EF4':'Y','\u01B3':'Y','\u024E':'Y','\u1EFE':'Y','\u24CF':'Z','\uFF3A':'Z','\u0179':'Z','\u1E90':'Z','\u017B':'Z','\u017D':'Z','\u1E92':'Z','\u1E94':'Z','\u01B5':'Z','\u0224':'Z','\u2C7F':'Z','\u2C6B':'Z','\uA762':'Z','\u24D0':'a','\uFF41':'a','\u1E9A':'a','\xE0':'a','\xE1':'a','\xE2':'a','\u1EA7':'a','\u1EA5':'a','\u1EAB':'a','\u1EA9':'a','\xE3':'a','\u0101':'a','\u0103':'a','\u1EB1':'a','\u1EAF':'a','\u1EB5':'a','\u1EB3':'a','\u0227':'a','\u01E1':'a','\xE4':'a','\u01DF':'a','\u1EA3':'a','\xE5':'a','\u01FB':'a','\u01CE':'a','\u0201':'a','\u0203':'a','\u1EA1':'a','\u1EAD':'a','\u1EB7':'a','\u1E01':'a','\u0105':'a','\u2C65':'a','\u0250':'a','\uA733':'aa','\xE6':'ae','\u01FD':'ae','\u01E3':'ae','\uA735':'ao','\uA737':'au','\uA739':'av','\uA73B':'av','\uA73D':'ay','\u24D1':'b','\uFF42':'b','\u1E03':'b','\u1E05':'b','\u1E07':'b','\u0180':'b','\u0183':'b','\u0253':'b','\u24D2':'c','\uFF43':'c','\u0107':'c','\u0109':'c','\u010B':'c','\u010D':'c','\xE7':'c','\u1E09':'c','\u0188':'c','\u023C':'c','\uA73F':'c','\u2184':'c','\u24D3':'d','\uFF44':'d','\u1E0B':'d','\u010F':'d','\u1E0D':'d','\u1E11':'d','\u1E13':'d','\u1E0F':'d','\u0111':'d','\u018C':'d','\u0256':'d','\u0257':'d','\uA77A':'d','\u01F3':'dz','\u01C6':'dz','\u24D4':'e','\uFF45':'e','\xE8':'e','\xE9':'e','\xEA':'e','\u1EC1':'e','\u1EBF':'e','\u1EC5':'e','\u1EC3':'e','\u1EBD':'e','\u0113':'e','\u1E15':'e','\u1E17':'e','\u0115':'e','\u0117':'e','\xEB':'e','\u1EBB':'e','\u011B':'e','\u0205':'e','\u0207':'e','\u1EB9':'e','\u1EC7':'e','\u0229':'e','\u1E1D':'e','\u0119':'e','\u1E19':'e','\u1E1B':'e','\u0247':'e','\u025B':'e','\u01DD':'e','\u24D5':'f','\uFF46':'f','\u1E1F':'f','\u0192':'f','\uA77C':'f','\u24D6':'g','\uFF47':'g','\u01F5':'g','\u011D':'g','\u1E21':'g','\u011F':'g','\u0121':'g','\u01E7':'g','\u0123':'g','\u01E5':'g','\u0260':'g','\uA7A1':'g','\u1D79':'g','\uA77F':'g','\u24D7':'h','\uFF48':'h','\u0125':'h','\u1E23':'h','\u1E27':'h','\u021F':'h','\u1E25':'h','\u1E29':'h','\u1E2B':'h','\u1E96':'h','\u0127':'h','\u2C68':'h','\u2C76':'h','\u0265':'h','\u0195':'hv','\u24D8':'i','\uFF49':'i','\xEC':'i','\xED':'i','\xEE':'i','\u0129':'i','\u012B':'i','\u012D':'i','\xEF':'i','\u1E2F':'i','\u1EC9':'i','\u01D0':'i','\u0209':'i','\u020B':'i','\u1ECB':'i','\u012F':'i','\u1E2D':'i','\u0268':'i','\u0131':'i','\u24D9':'j','\uFF4A':'j','\u0135':'j','\u01F0':'j','\u0249':'j','\u24DA':'k','\uFF4B':'k','\u1E31':'k','\u01E9':'k','\u1E33':'k','\u0137':'k','\u1E35':'k','\u0199':'k','\u2C6A':'k','\uA741':'k','\uA743':'k','\uA745':'k','\uA7A3':'k','\u24DB':'l','\uFF4C':'l','\u0140':'l','\u013A':'l','\u013E':'l','\u1E37':'l','\u1E39':'l','\u013C':'l','\u1E3D':'l','\u1E3B':'l','\u017F':'l','\u0142':'l','\u019A':'l','\u026B':'l','\u2C61':'l','\uA749':'l','\uA781':'l','\uA747':'l','\u01C9':'lj','\u24DC':'m','\uFF4D':'m','\u1E3F':'m','\u1E41':'m','\u1E43':'m','\u0271':'m','\u026F':'m','\u24DD':'n','\uFF4E':'n','\u01F9':'n','\u0144':'n','\xF1':'n','\u1E45':'n','\u0148':'n','\u1E47':'n','\u0146':'n','\u1E4B':'n','\u1E49':'n','\u019E':'n','\u0272':'n','\u0149':'n','\uA791':'n','\uA7A5':'n','\u01CC':'nj','\u24DE':'o','\uFF4F':'o','\xF2':'o','\xF3':'o','\xF4':'o','\u1ED3':'o','\u1ED1':'o','\u1ED7':'o','\u1ED5':'o','\xF5':'o','\u1E4D':'o','\u022D':'o','\u1E4F':'o','\u014D':'o','\u1E51':'o','\u1E53':'o','\u014F':'o','\u022F':'o','\u0231':'o','\xF6':'o','\u022B':'o','\u1ECF':'o','\u0151':'o','\u01D2':'o','\u020D':'o','\u020F':'o','\u01A1':'o','\u1EDD':'o','\u1EDB':'o','\u1EE1':'o','\u1EDF':'o','\u1EE3':'o','\u1ECD':'o','\u1ED9':'o','\u01EB':'o','\u01ED':'o','\xF8':'o','\u01FF':'o','\u0254':'o','\uA74B':'o','\uA74D':'o','\u0275':'o','\u01A3':'oi','\u0223':'ou','\uA74F':'oo','\u24DF':'p','\uFF50':'p','\u1E55':'p','\u1E57':'p','\u01A5':'p','\u1D7D':'p','\uA751':'p','\uA753':'p','\uA755':'p','\u24E0':'q','\uFF51':'q','\u024B':'q','\uA757':'q','\uA759':'q','\u24E1':'r','\uFF52':'r','\u0155':'r','\u1E59':'r','\u0159':'r','\u0211':'r','\u0213':'r','\u1E5B':'r','\u1E5D':'r','\u0157':'r','\u1E5F':'r','\u024D':'r','\u027D':'r','\uA75B':'r','\uA7A7':'r','\uA783':'r','\u24E2':'s','\uFF53':'s','\xDF':'s','\u015B':'s','\u1E65':'s','\u015D':'s','\u1E61':'s','\u0161':'s','\u1E67':'s','\u1E63':'s','\u1E69':'s','\u0219':'s','\u015F':'s','\u023F':'s','\uA7A9':'s','\uA785':'s','\u1E9B':'s','\u24E3':'t','\uFF54':'t','\u1E6B':'t','\u1E97':'t','\u0165':'t','\u1E6D':'t','\u021B':'t','\u0163':'t','\u1E71':'t','\u1E6F':'t','\u0167':'t','\u01AD':'t','\u0288':'t','\u2C66':'t','\uA787':'t','\uA729':'tz','\u24E4':'u','\uFF55':'u','\xF9':'u','\xFA':'u','\xFB':'u','\u0169':'u','\u1E79':'u','\u016B':'u','\u1E7B':'u','\u016D':'u','\xFC':'u','\u01DC':'u','\u01D8':'u','\u01D6':'u','\u01DA':'u','\u1EE7':'u','\u016F':'u','\u0171':'u','\u01D4':'u','\u0215':'u','\u0217':'u','\u01B0':'u','\u1EEB':'u','\u1EE9':'u','\u1EEF':'u','\u1EED':'u','\u1EF1':'u','\u1EE5':'u','\u1E73':'u','\u0173':'u','\u1E77':'u','\u1E75':'u','\u0289':'u','\u24E5':'v','\uFF56':'v','\u1E7D':'v','\u1E7F':'v','\u028B':'v','\uA75F':'v','\u028C':'v','\uA761':'vy','\u24E6':'w','\uFF57':'w','\u1E81':'w','\u1E83':'w','\u0175':'w','\u1E87':'w','\u1E85':'w','\u1E98':'w','\u1E89':'w','\u2C73':'w','\u24E7':'x','\uFF58':'x','\u1E8B':'x','\u1E8D':'x','\u24E8':'y','\uFF59':'y','\u1EF3':'y','\xFD':'y','\u0177':'y','\u1EF9':'y','\u0233':'y','\u1E8F':'y','\xFF':'y','\u1EF7':'y','\u1E99':'y','\u1EF5':'y','\u01B4':'y','\u024F':'y','\u1EFF':'y','\u24E9':'z','\uFF5A':'z','\u017A':'z','\u1E91':'z','\u017C':'z','\u017E':'z','\u1E93':'z','\u1E95':'z','\u01B6':'z','\u0225':'z','\u0240':'z','\u2C6C':'z','\uA763':'z','\u0386':'\u0391','\u0388':'\u0395','\u0389':'\u0397','\u038A':'\u0399','\u03AA':'\u0399','\u038C':'\u039F','\u038E':'\u03A5','\u03AB':'\u03A5','\u038F':'\u03A9','\u03AC':'\u03B1','\u03AD':'\u03B5','\u03AE':'\u03B7','\u03AF':'\u03B9','\u03CA':'\u03B9','\u0390':'\u03B9','\u03CC':'\u03BF','\u03CD':'\u03C5','\u03CB':'\u03C5','\u03B0':'\u03C5','\u03C9':'\u03C9','\u03C2':'\u03C3'};return diacritics});S2.define('select2/data/base',['../utils'],function(Utils){function BaseAdapter($element,options){BaseAdapter.__super__.constructor.call(this)}Utils.Extend(BaseAdapter,Utils.Observable);BaseAdapter.prototype.current=function(callback){throw new Error('The `current` method must be defined in child classes.')};BaseAdapter.prototype.query=function(params,callback){throw new Error('The `query` method must be defined in child classes.')};BaseAdapter.prototype.bind=function(container,$container){// Can be implemented in subclasses
186
+ };BaseAdapter.prototype.destroy=function(){// Can be implemented in subclasses
187
+ };BaseAdapter.prototype.generateResultId=function(container,data){var id=container.id+'-result-';id+=Utils.generateChars(4);if(data.id!=null){id+='-'+data.id.toString()}else{id+='-'+Utils.generateChars(4)}return id};return BaseAdapter});S2.define('select2/data/select',['./base','../utils','jquery'],function(BaseAdapter,Utils,$){function SelectAdapter($element,options){this.$element=$element;this.options=options;SelectAdapter.__super__.constructor.call(this)}Utils.Extend(SelectAdapter,BaseAdapter);SelectAdapter.prototype.current=function(callback){var data=[];var self=this;this.$element.find(':selected').each(function(){var $option=$(this);var option=self.item($option);data.push(option)});callback(data)};SelectAdapter.prototype.select=function(data){var self=this;data.selected=true;// If data.element is a DOM node, use it instead
188
+ if($(data.element).is('option')){data.element.selected=true;this.$element.trigger('change');return}if(this.$element.prop('multiple')){this.current(function(currentData){var val=[];data=[data];data.push.apply(data,currentData);for(var d=0;d<data.length;d++){var id=data[d].id;if($.inArray(id,val)===-1){val.push(id)}}self.$element.val(val);self.$element.trigger('change')})}else{var val=data.id;this.$element.val(val);this.$element.trigger('change')}};SelectAdapter.prototype.unselect=function(data){var self=this;if(!this.$element.prop('multiple')){return}data.selected=false;if($(data.element).is('option')){data.element.selected=false;this.$element.trigger('change');return}this.current(function(currentData){var val=[];for(var d=0;d<currentData.length;d++){var id=currentData[d].id;if(id!==data.id&&$.inArray(id,val)===-1){val.push(id)}}self.$element.val(val);self.$element.trigger('change')})};SelectAdapter.prototype.bind=function(container,$container){var self=this;this.container=container;container.on('select',function(params){self.select(params.data)});container.on('unselect',function(params){self.unselect(params.data)})};SelectAdapter.prototype.destroy=function(){// Remove anything added to child elements
189
+ this.$element.find('*').each(function(){// Remove any custom data set by Select2
190
+ $.removeData(this,'data')})};SelectAdapter.prototype.query=function(params,callback){var data=[];var self=this;var $options=this.$element.children();$options.each(function(){var $option=$(this);if(!$option.is('option')&&!$option.is('optgroup')){return}var option=self.item($option);var matches=self.matches(params,option);if(matches!==null){data.push(matches)}});callback({results:data})};SelectAdapter.prototype.addOptions=function($options){Utils.appendMany(this.$element,$options)};SelectAdapter.prototype.option=function(data){var option;if(data.children){option=document.createElement('optgroup');option.label=data.text}else{option=document.createElement('option');if(option.textContent!==undefined){option.textContent=data.text}else{option.innerText=data.text}}if(data.id!==undefined){option.value=data.id}if(data.disabled){option.disabled=true}if(data.selected){option.selected=true}if(data.title){option.title=data.title}var $option=$(option);var normalizedData=this._normalizeItem(data);normalizedData.element=option;// Override the option's data with the combined data
191
+ $.data(option,'data',normalizedData);return $option};SelectAdapter.prototype.item=function($option){var data={};data=$.data($option[0],'data');if(data!=null){return data}if($option.is('option')){data={id:$option.val(),text:$option.text(),disabled:$option.prop('disabled'),selected:$option.prop('selected'),title:$option.prop('title')}}else if($option.is('optgroup')){data={text:$option.prop('label'),children:[],title:$option.prop('title')};var $children=$option.children('option');var children=[];for(var c=0;c<$children.length;c++){var $child=$($children[c]);var child=this.item($child);children.push(child)}data.children=children}data=this._normalizeItem(data);data.element=$option[0];$.data($option[0],'data',data);return data};SelectAdapter.prototype._normalizeItem=function(item){if(!$.isPlainObject(item)){item={id:item,text:item}}item=$.extend({},{text:''},item);var defaults={selected:false,disabled:false};if(item.id!=null){item.id=item.id.toString()}if(item.text!=null){item.text=item.text.toString()}if(item._resultId==null&&item.id&&this.container!=null){item._resultId=this.generateResultId(this.container,item)}return $.extend({},defaults,item)};SelectAdapter.prototype.matches=function(params,data){var matcher=this.options.get('matcher');return matcher(params,data)};return SelectAdapter});S2.define('select2/data/array',['./select','../utils','jquery'],function(SelectAdapter,Utils,$){function ArrayAdapter($element,options){var data=options.get('data')||[];ArrayAdapter.__super__.constructor.call(this,$element,options);this.addOptions(this.convertToOptions(data))}Utils.Extend(ArrayAdapter,SelectAdapter);ArrayAdapter.prototype.select=function(data){var $option=this.$element.find('option').filter(function(i,elm){return elm.value==data.id.toString()});if($option.length===0){$option=this.option(data);this.addOptions($option)}ArrayAdapter.__super__.select.call(this,data)};ArrayAdapter.prototype.convertToOptions=function(data){var self=this;var $existing=this.$element.find('option');var existingIds=$existing.map(function(){return self.item($(this)).id}).get();var $options=[];// Filter out all items except for the one passed in the argument
192
+ function onlyItem(item){return function(){return $(this).val()==item.id}}for(var d=0;d<data.length;d++){var item=this._normalizeItem(data[d]);// Skip items which were pre-loaded, only merge the data
193
+ if($.inArray(item.id,existingIds)>=0){var $existingOption=$existing.filter(onlyItem(item));var existingData=this.item($existingOption);var newData=$.extend(true,{},item,existingData);var $newOption=this.option(newData);$existingOption.replaceWith($newOption);continue}var $option=this.option(item);if(item.children){var $children=this.convertToOptions(item.children);Utils.appendMany($option,$children)}$options.push($option)}return $options};return ArrayAdapter});S2.define('select2/data/ajax',['./array','../utils','jquery'],function(ArrayAdapter,Utils,$){function AjaxAdapter($element,options){this.ajaxOptions=this._applyDefaults(options.get('ajax'));if(this.ajaxOptions.processResults!=null){this.processResults=this.ajaxOptions.processResults}AjaxAdapter.__super__.constructor.call(this,$element,options)}Utils.Extend(AjaxAdapter,ArrayAdapter);AjaxAdapter.prototype._applyDefaults=function(options){var defaults={data:function data(params){return $.extend({},params,{q:params.term})},transport:function transport(params,success,failure){var $request=$.ajax(params);$request.then(success);$request.fail(failure);return $request}};return $.extend({},defaults,options,true)};AjaxAdapter.prototype.processResults=function(results){return results};AjaxAdapter.prototype.query=function(params,callback){var matches=[];var self=this;if(this._request!=null){// JSONP requests cannot always be aborted
194
+ if($.isFunction(this._request.abort)){this._request.abort()}this._request=null}var options=$.extend({type:'GET'},this.ajaxOptions);if(typeof options.url==='function'){options.url=options.url.call(this.$element,params)}if(typeof options.data==='function'){options.data=options.data.call(this.$element,params)}function request(){var $request=options.transport(options,function(data){var results=self.processResults(data,params);if(self.options.get('debug')&&window.console&&console.error){// Check to make sure that the response included a `results` key.
195
+ if(!results||!results.results||!$.isArray(results.results)){console.error('Select2: The AJAX results did not return an array in the '+'`results` key of the response.')}}callback(results)},function(){// Attempt to detect if a request was aborted
196
+ // Only works if the transport exposes a status property
197
+ if($request.status&&$request.status==='0'){return}self.trigger('results:message',{message:'errorLoading'})});self._request=$request}if(this.ajaxOptions.delay&&params.term!=null){if(this._queryTimeout){window.clearTimeout(this._queryTimeout)}this._queryTimeout=window.setTimeout(request,this.ajaxOptions.delay)}else{request()}};return AjaxAdapter});S2.define('select2/data/tags',['jquery'],function($){function Tags(decorated,$element,options){var tags=options.get('tags');var createTag=options.get('createTag');if(createTag!==undefined){this.createTag=createTag}var insertTag=options.get('insertTag');if(insertTag!==undefined){this.insertTag=insertTag}decorated.call(this,$element,options);if($.isArray(tags)){for(var t=0;t<tags.length;t++){var tag=tags[t];var item=this._normalizeItem(tag);var $option=this.option(item);this.$element.append($option)}}}Tags.prototype.query=function(decorated,params,callback){var self=this;this._removeOldTags();if(params.term==null||params.page!=null){decorated.call(this,params,callback);return}function wrapper(obj,child){var data=obj.results;for(var i=0;i<data.length;i++){var option=data[i];var checkChildren=option.children!=null&&!wrapper({results:option.children},true);var optionText=(option.text||'').toUpperCase();var paramsTerm=(params.term||'').toUpperCase();var checkText=optionText===paramsTerm;if(checkText||checkChildren){if(child){return false}obj.data=data;callback(obj);return}}if(child){return true}var tag=self.createTag(params);if(tag!=null){var $option=self.option(tag);$option.attr('data-select2-tag',true);self.addOptions([$option]);self.insertTag(data,tag)}obj.results=data;callback(obj)}decorated.call(this,params,wrapper)};Tags.prototype.createTag=function(decorated,params){var term=$.trim(params.term);if(term===''){return null}return{id:term,text:term}};Tags.prototype.insertTag=function(_,data,tag){data.unshift(tag)};Tags.prototype._removeOldTags=function(_){var tag=this._lastTag;var $options=this.$element.find('option[data-select2-tag]');$options.each(function(){if(this.selected){return}$(this).remove()})};return Tags});S2.define('select2/data/tokenizer',['jquery'],function($){function Tokenizer(decorated,$element,options){var tokenizer=options.get('tokenizer');if(tokenizer!==undefined){this.tokenizer=tokenizer}decorated.call(this,$element,options)}Tokenizer.prototype.bind=function(decorated,container,$container){decorated.call(this,container,$container);this.$search=container.dropdown.$search||container.selection.$search||$container.find('.select2-search__field')};Tokenizer.prototype.query=function(decorated,params,callback){var self=this;function createAndSelect(data){// Normalize the data object so we can use it for checks
198
+ var item=self._normalizeItem(data);// Check if the data object already exists as a tag
199
+ // Select it if it doesn't
200
+ var $existingOptions=self.$element.find('option').filter(function(){return $(this).val()===item.id});// If an existing option wasn't found for it, create the option
201
+ if(!$existingOptions.length){var $option=self.option(item);$option.attr('data-select2-tag',true);self._removeOldTags();self.addOptions([$option])}// Select the item, now that we know there is an option for it
202
+ select(item)}function select(data){self.trigger('select',{data:data})}params.term=params.term||'';var tokenData=this.tokenizer(params,this.options,createAndSelect);if(tokenData.term!==params.term){// Replace the search term if we have the search box
203
+ if(this.$search.length){this.$search.val(tokenData.term);this.$search.focus()}params.term=tokenData.term}decorated.call(this,params,callback)};Tokenizer.prototype.tokenizer=function(_,params,options,callback){var separators=options.get('tokenSeparators')||[];var term=params.term;var i=0;var createTag=this.createTag||function(params){return{id:params.term,text:params.term}};while(i<term.length){var termChar=term[i];if($.inArray(termChar,separators)===-1){i++;continue}var part=term.substr(0,i);var partParams=$.extend({},params,{term:part});var data=createTag(partParams);if(data==null){i++;continue}callback(data);// Reset the term to not include the tokenized portion
204
+ term=term.substr(i+1)||'';i=0}return{term:term}};return Tokenizer});S2.define('select2/data/minimumInputLength',[],function(){function MinimumInputLength(decorated,$e,options){this.minimumInputLength=options.get('minimumInputLength');decorated.call(this,$e,options)}MinimumInputLength.prototype.query=function(decorated,params,callback){params.term=params.term||'';if(params.term.length<this.minimumInputLength){this.trigger('results:message',{message:'inputTooShort',args:{minimum:this.minimumInputLength,input:params.term,params:params}});return}decorated.call(this,params,callback)};return MinimumInputLength});S2.define('select2/data/maximumInputLength',[],function(){function MaximumInputLength(decorated,$e,options){this.maximumInputLength=options.get('maximumInputLength');decorated.call(this,$e,options)}MaximumInputLength.prototype.query=function(decorated,params,callback){params.term=params.term||'';if(this.maximumInputLength>0&&params.term.length>this.maximumInputLength){this.trigger('results:message',{message:'inputTooLong',args:{maximum:this.maximumInputLength,input:params.term,params:params}});return}decorated.call(this,params,callback)};return MaximumInputLength});S2.define('select2/data/maximumSelectionLength',[],function(){function MaximumSelectionLength(decorated,$e,options){this.maximumSelectionLength=options.get('maximumSelectionLength');decorated.call(this,$e,options)}MaximumSelectionLength.prototype.query=function(decorated,params,callback){var self=this;this.current(function(currentData){var count=currentData!=null?currentData.length:0;if(self.maximumSelectionLength>0&&count>=self.maximumSelectionLength){self.trigger('results:message',{message:'maximumSelected',args:{maximum:self.maximumSelectionLength}});return}decorated.call(self,params,callback)})};return MaximumSelectionLength});S2.define('select2/dropdown',['jquery','./utils'],function($,Utils){function Dropdown($element,options){this.$element=$element;this.options=options;Dropdown.__super__.constructor.call(this)}Utils.Extend(Dropdown,Utils.Observable);Dropdown.prototype.render=function(){var $dropdown=$('<span class="select2-dropdown">'+'<span class="select2-results"></span>'+'</span>');$dropdown.attr('dir',this.options.get('dir'));this.$dropdown=$dropdown;return $dropdown};Dropdown.prototype.bind=function(){// Should be implemented in subclasses
205
+ };Dropdown.prototype.position=function($dropdown,$container){// Should be implmented in subclasses
206
+ };Dropdown.prototype.destroy=function(){// Remove the dropdown from the DOM
207
+ this.$dropdown.remove()};return Dropdown});S2.define('select2/dropdown/search',['jquery','../utils'],function($,Utils){function Search(){}Search.prototype.render=function(decorated){var $rendered=decorated.call(this);var $search=$('<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="textbox" />'+'</span>');this.$searchContainer=$search;this.$search=$search.find('input');$rendered.prepend($search);return $rendered};Search.prototype.bind=function(decorated,container,$container){var self=this;decorated.call(this,container,$container);this.$search.on('keydown',function(evt){self.trigger('keypress',evt);self._keyUpPrevented=evt.isDefaultPrevented()});// Workaround for browsers which do not support the `input` event
208
+ // This will prevent double-triggering of events for browsers which support
209
+ // both the `keyup` and `input` events.
210
+ this.$search.on('input',function(evt){// Unbind the duplicated `keyup` event
211
+ $(this).off('keyup')});this.$search.on('keyup input',function(evt){self.handleSearch(evt)});container.on('open',function(){self.$search.attr('tabindex',0);self.$search.focus();window.setTimeout(function(){self.$search.focus()},0)});container.on('close',function(){self.$search.attr('tabindex',-1);self.$search.val('')});container.on('focus',function(){if(!container.isOpen()){self.$search.focus()}});container.on('results:all',function(params){if(params.query.term==null||params.query.term===''){var showSearch=self.showSearch(params);if(showSearch){self.$searchContainer.removeClass('select2-search--hide')}else{self.$searchContainer.addClass('select2-search--hide')}}})};Search.prototype.handleSearch=function(evt){if(!this._keyUpPrevented){var input=this.$search.val();this.trigger('query',{term:input})}this._keyUpPrevented=false};Search.prototype.showSearch=function(_,params){return true};return Search});S2.define('select2/dropdown/hidePlaceholder',[],function(){function HidePlaceholder(decorated,$element,options,dataAdapter){this.placeholder=this.normalizePlaceholder(options.get('placeholder'));decorated.call(this,$element,options,dataAdapter)}HidePlaceholder.prototype.append=function(decorated,data){data.results=this.removePlaceholder(data.results);decorated.call(this,data)};HidePlaceholder.prototype.normalizePlaceholder=function(_,placeholder){if(typeof placeholder==='string'){placeholder={id:'',text:placeholder}}return placeholder};HidePlaceholder.prototype.removePlaceholder=function(_,data){var modifiedData=data.slice(0);for(var d=data.length-1;d>=0;d--){var item=data[d];if(this.placeholder.id===item.id){modifiedData.splice(d,1)}}return modifiedData};return HidePlaceholder});S2.define('select2/dropdown/infiniteScroll',['jquery'],function($){function InfiniteScroll(decorated,$element,options,dataAdapter){this.lastParams={};decorated.call(this,$element,options,dataAdapter);this.$loadingMore=this.createLoadingMore();this.loading=false}InfiniteScroll.prototype.append=function(decorated,data){this.$loadingMore.remove();this.loading=false;decorated.call(this,data);if(this.showLoadingMore(data)){this.$results.append(this.$loadingMore)}};InfiniteScroll.prototype.bind=function(decorated,container,$container){var self=this;decorated.call(this,container,$container);container.on('query',function(params){self.lastParams=params;self.loading=true});container.on('query:append',function(params){self.lastParams=params;self.loading=true});this.$results.on('scroll',function(){var isLoadMoreVisible=$.contains(document.documentElement,self.$loadingMore[0]);if(self.loading||!isLoadMoreVisible){return}var currentOffset=self.$results.offset().top+self.$results.outerHeight(false);var loadingMoreOffset=self.$loadingMore.offset().top+self.$loadingMore.outerHeight(false);if(currentOffset+50>=loadingMoreOffset){self.loadMore()}})};InfiniteScroll.prototype.loadMore=function(){this.loading=true;var params=$.extend({},{page:1},this.lastParams);params.page++;this.trigger('query:append',params)};InfiniteScroll.prototype.showLoadingMore=function(_,data){return data.pagination&&data.pagination.more};InfiniteScroll.prototype.createLoadingMore=function(){var $option=$('<li '+'class="select2-results__option select2-results__option--load-more"'+'role="treeitem" aria-disabled="true"></li>');var message=this.options.get('translations').get('loadingMore');$option.html(message(this.lastParams));return $option};return InfiniteScroll});S2.define('select2/dropdown/attachBody',['jquery','../utils'],function($,Utils){function AttachBody(decorated,$element,options){this.$dropdownParent=options.get('dropdownParent')||$(document.body);decorated.call(this,$element,options)}AttachBody.prototype.bind=function(decorated,container,$container){var self=this;var setupResultsEvents=false;decorated.call(this,container,$container);container.on('open',function(){self._showDropdown();self._attachPositioningHandler(container);if(!setupResultsEvents){setupResultsEvents=true;container.on('results:all',function(){self._positionDropdown();self._resizeDropdown()});container.on('results:append',function(){self._positionDropdown();self._resizeDropdown()})}});container.on('close',function(){self._hideDropdown();self._detachPositioningHandler(container)});this.$dropdownContainer.on('mousedown',function(evt){evt.stopPropagation()})};AttachBody.prototype.destroy=function(decorated){decorated.call(this);this.$dropdownContainer.remove()};AttachBody.prototype.position=function(decorated,$dropdown,$container){// Clone all of the container classes
212
+ $dropdown.attr('class',$container.attr('class'));$dropdown.removeClass('select2');$dropdown.addClass('select2-container--open');$dropdown.css({position:'absolute',top:-999999});this.$container=$container};AttachBody.prototype.render=function(decorated){var $container=$('<span></span>');var $dropdown=decorated.call(this);$container.append($dropdown);this.$dropdownContainer=$container;return $container};AttachBody.prototype._hideDropdown=function(decorated){this.$dropdownContainer.detach()};AttachBody.prototype._attachPositioningHandler=function(decorated,container){var self=this;var scrollEvent='scroll.select2.'+container.id;var resizeEvent='resize.select2.'+container.id;var orientationEvent='orientationchange.select2.'+container.id;var $watchers=this.$container.parents().filter(Utils.hasScroll);$watchers.each(function(){$(this).data('select2-scroll-position',{x:$(this).scrollLeft(),y:$(this).scrollTop()})});$watchers.on(scrollEvent,function(ev){var position=$(this).data('select2-scroll-position');$(this).scrollTop(position.y)});$(window).on(scrollEvent+' '+resizeEvent+' '+orientationEvent,function(e){self._positionDropdown();self._resizeDropdown()})};AttachBody.prototype._detachPositioningHandler=function(decorated,container){var scrollEvent='scroll.select2.'+container.id;var resizeEvent='resize.select2.'+container.id;var orientationEvent='orientationchange.select2.'+container.id;var $watchers=this.$container.parents().filter(Utils.hasScroll);$watchers.off(scrollEvent);$(window).off(scrollEvent+' '+resizeEvent+' '+orientationEvent)};AttachBody.prototype._positionDropdown=function(){var $window=$(window);var isCurrentlyAbove=this.$dropdown.hasClass('select2-dropdown--above');var isCurrentlyBelow=this.$dropdown.hasClass('select2-dropdown--below');var newDirection=null;var offset=this.$container.offset();offset.bottom=offset.top+this.$container.outerHeight(false);var container={height:this.$container.outerHeight(false)};container.top=offset.top;container.bottom=offset.top+container.height;var dropdown={height:this.$dropdown.outerHeight(false)};var viewport={top:$window.scrollTop(),bottom:$window.scrollTop()+$window.height()};var enoughRoomAbove=viewport.top<offset.top-dropdown.height;var enoughRoomBelow=viewport.bottom>offset.bottom+dropdown.height;var css={left:offset.left,top:container.bottom};// Determine what the parent element is to use for calciulating the offset
213
+ var $offsetParent=this.$dropdownParent;// For statically positoned elements, we need to get the element
214
+ // that is determining the offset
215
+ if($offsetParent.css('position')==='static'){$offsetParent=$offsetParent.offsetParent()}var parentOffset=$offsetParent.offset();css.top-=parentOffset.top;css.left-=parentOffset.left;if(!isCurrentlyAbove&&!isCurrentlyBelow){newDirection='below'}if(!enoughRoomBelow&&enoughRoomAbove&&!isCurrentlyAbove){newDirection='above'}else if(!enoughRoomAbove&&enoughRoomBelow&&isCurrentlyAbove){newDirection='below'}if(newDirection=='above'||isCurrentlyAbove&&newDirection!=='below'){css.top=container.top-parentOffset.top-dropdown.height}if(newDirection!=null){this.$dropdown.removeClass('select2-dropdown--below select2-dropdown--above').addClass('select2-dropdown--'+newDirection);this.$container.removeClass('select2-container--below select2-container--above').addClass('select2-container--'+newDirection)}this.$dropdownContainer.css(css)};AttachBody.prototype._resizeDropdown=function(){var css={width:this.$container.outerWidth(false)+'px'};if(this.options.get('dropdownAutoWidth')){css.minWidth=css.width;css.position='relative';css.width='auto'}this.$dropdown.css(css)};AttachBody.prototype._showDropdown=function(decorated){this.$dropdownContainer.appendTo(this.$dropdownParent);this._positionDropdown();this._resizeDropdown()};return AttachBody});S2.define('select2/dropdown/minimumResultsForSearch',[],function(){function countResults(data){var count=0;for(var d=0;d<data.length;d++){var item=data[d];if(item.children){count+=countResults(item.children)}else{count++}}return count}function MinimumResultsForSearch(decorated,$element,options,dataAdapter){this.minimumResultsForSearch=options.get('minimumResultsForSearch');if(this.minimumResultsForSearch<0){this.minimumResultsForSearch=Infinity}decorated.call(this,$element,options,dataAdapter)}MinimumResultsForSearch.prototype.showSearch=function(decorated,params){if(countResults(params.data.results)<this.minimumResultsForSearch){return false}return decorated.call(this,params)};return MinimumResultsForSearch});S2.define('select2/dropdown/selectOnClose',[],function(){function SelectOnClose(){}SelectOnClose.prototype.bind=function(decorated,container,$container){var self=this;decorated.call(this,container,$container);container.on('close',function(params){self._handleSelectOnClose(params)})};SelectOnClose.prototype._handleSelectOnClose=function(_,params){if(params&&params.originalSelect2Event!=null){var event=params.originalSelect2Event;// Don't select an item if the close event was triggered from a select or
216
+ // unselect event
217
+ if(event._type==='select'||event._type==='unselect'){return}}var $highlightedResults=this.getHighlightedResults();// Only select highlighted results
218
+ if($highlightedResults.length<1){return}var data=$highlightedResults.data('data');// Don't re-select already selected resulte
219
+ if(data.element!=null&&data.element.selected||data.element==null&&data.selected){return}this.trigger('select',{data:data})};return SelectOnClose});S2.define('select2/dropdown/closeOnSelect',[],function(){function CloseOnSelect(){}CloseOnSelect.prototype.bind=function(decorated,container,$container){var self=this;decorated.call(this,container,$container);container.on('select',function(evt){self._selectTriggered(evt)});container.on('unselect',function(evt){self._selectTriggered(evt)})};CloseOnSelect.prototype._selectTriggered=function(_,evt){var originalEvent=evt.originalEvent;// Don't close if the control key is being held
220
+ if(originalEvent&&originalEvent.ctrlKey){return}this.trigger('close',{originalEvent:originalEvent,originalSelect2Event:evt})};return CloseOnSelect});S2.define('select2/i18n/en',[],function(){// English
221
+ return{errorLoading:function errorLoading(){return'The results could not be loaded.'},inputTooLong:function inputTooLong(args){var overChars=args.input.length-args.maximum;var message='Please delete '+overChars+' character';if(overChars!=1){message+='s'}return message},inputTooShort:function inputTooShort(args){var remainingChars=args.minimum-args.input.length;var message='Please enter '+remainingChars+' or more characters';return message},loadingMore:function loadingMore(){return'Loading more results\u2026'},maximumSelected:function maximumSelected(args){var message='You can only select '+args.maximum+' item';if(args.maximum!=1){message+='s'}return message},noResults:function noResults(){return'No results found'},searching:function searching(){return'Searching\u2026'}}});S2.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($,require,ResultsList,SingleSelection,MultipleSelection,Placeholder,AllowClear,SelectionSearch,EventRelay,Utils,Translation,DIACRITICS,SelectData,ArrayData,AjaxData,Tags,Tokenizer,MinimumInputLength,MaximumInputLength,MaximumSelectionLength,Dropdown,DropdownSearch,HidePlaceholder,InfiniteScroll,AttachBody,MinimumResultsForSearch,SelectOnClose,CloseOnSelect,EnglishTranslation){function Defaults(){this.reset()}Defaults.prototype.apply=function(options){options=$.extend(true,{},this.defaults,options);if(options.dataAdapter==null){if(options.ajax!=null){options.dataAdapter=AjaxData}else if(options.data!=null){options.dataAdapter=ArrayData}else{options.dataAdapter=SelectData}if(options.minimumInputLength>0){options.dataAdapter=Utils.Decorate(options.dataAdapter,MinimumInputLength)}if(options.maximumInputLength>0){options.dataAdapter=Utils.Decorate(options.dataAdapter,MaximumInputLength)}if(options.maximumSelectionLength>0){options.dataAdapter=Utils.Decorate(options.dataAdapter,MaximumSelectionLength)}if(options.tags){options.dataAdapter=Utils.Decorate(options.dataAdapter,Tags)}if(options.tokenSeparators!=null||options.tokenizer!=null){options.dataAdapter=Utils.Decorate(options.dataAdapter,Tokenizer)}if(options.query!=null){var Query=require(options.amdBase+'compat/query');options.dataAdapter=Utils.Decorate(options.dataAdapter,Query)}if(options.initSelection!=null){var InitSelection=require(options.amdBase+'compat/initSelection');options.dataAdapter=Utils.Decorate(options.dataAdapter,InitSelection)}}if(options.resultsAdapter==null){options.resultsAdapter=ResultsList;if(options.ajax!=null){options.resultsAdapter=Utils.Decorate(options.resultsAdapter,InfiniteScroll)}if(options.placeholder!=null){options.resultsAdapter=Utils.Decorate(options.resultsAdapter,HidePlaceholder)}if(options.selectOnClose){options.resultsAdapter=Utils.Decorate(options.resultsAdapter,SelectOnClose)}}if(options.dropdownAdapter==null){if(options.multiple){options.dropdownAdapter=Dropdown}else{var SearchableDropdown=Utils.Decorate(Dropdown,DropdownSearch);options.dropdownAdapter=SearchableDropdown}if(options.minimumResultsForSearch!==0){options.dropdownAdapter=Utils.Decorate(options.dropdownAdapter,MinimumResultsForSearch)}if(options.closeOnSelect){options.dropdownAdapter=Utils.Decorate(options.dropdownAdapter,CloseOnSelect)}if(options.dropdownCssClass!=null||options.dropdownCss!=null||options.adaptDropdownCssClass!=null){var DropdownCSS=require(options.amdBase+'compat/dropdownCss');options.dropdownAdapter=Utils.Decorate(options.dropdownAdapter,DropdownCSS)}options.dropdownAdapter=Utils.Decorate(options.dropdownAdapter,AttachBody)}if(options.selectionAdapter==null){if(options.multiple){options.selectionAdapter=MultipleSelection}else{options.selectionAdapter=SingleSelection}// Add the placeholder mixin if a placeholder was specified
222
+ if(options.placeholder!=null){options.selectionAdapter=Utils.Decorate(options.selectionAdapter,Placeholder)}if(options.allowClear){options.selectionAdapter=Utils.Decorate(options.selectionAdapter,AllowClear)}if(options.multiple){options.selectionAdapter=Utils.Decorate(options.selectionAdapter,SelectionSearch)}if(options.containerCssClass!=null||options.containerCss!=null||options.adaptContainerCssClass!=null){var ContainerCSS=require(options.amdBase+'compat/containerCss');options.selectionAdapter=Utils.Decorate(options.selectionAdapter,ContainerCSS)}options.selectionAdapter=Utils.Decorate(options.selectionAdapter,EventRelay)}if(typeof options.language==='string'){// Check if the language is specified with a region
223
+ if(options.language.indexOf('-')>0){// Extract the region information if it is included
224
+ var languageParts=options.language.split('-');var baseLanguage=languageParts[0];options.language=[options.language,baseLanguage]}else{options.language=[options.language]}}if($.isArray(options.language)){var languages=new Translation;options.language.push('en');var languageNames=options.language;for(var l=0;l<languageNames.length;l++){var name=languageNames[l];var language={};try{// Try to load it with the original name
225
+ language=Translation.loadPath(name)}catch(e){try{// If we couldn't load it, check if it wasn't the full path
226
+ name=this.defaults.amdLanguageBase+name;language=Translation.loadPath(name)}catch(ex){// The translation could not be loaded at all. Sometimes this is
227
+ // because of a configuration problem, other times this can be
228
+ // because of how Select2 helps load all possible translation files.
229
+ if(options.debug&&window.console&&console.warn){console.warn('Select2: The language file for "'+name+'" could not be '+'automatically loaded. A fallback will be used instead.')}continue}}languages.extend(language)}options.translations=languages}else{var baseTranslation=Translation.loadPath(this.defaults.amdLanguageBase+'en');var customTranslation=new Translation(options.language);customTranslation.extend(baseTranslation);options.translations=customTranslation}return options};Defaults.prototype.reset=function(){function stripDiacritics(text){// Used 'uni range + named function' from http://jsperf.com/diacritics/18
230
+ function match(a){return DIACRITICS[a]||a}return text.replace(/[^\u0000-\u007E]/g,match)}function matcher(params,data){// Always return the object if there is nothing to compare
231
+ if($.trim(params.term)===''){return data}// Do a recursive check for options with children
232
+ if(data.children&&data.children.length>0){// Clone the data object if there are children
233
+ // This is required as we modify the object to remove any non-matches
234
+ var match=$.extend(true,{},data);// Check each child of the option
235
+ for(var c=data.children.length-1;c>=0;c--){var child=data.children[c];var matches=matcher(params,child);// If there wasn't a match, remove the object in the array
236
+ if(matches==null){match.children.splice(c,1)}}// If any children matched, return the new object
237
+ if(match.children.length>0){return match}// If there were no matching children, check just the plain object
238
+ return matcher(params,match)}var original=stripDiacritics(data.text).toUpperCase();var term=stripDiacritics(params.term).toUpperCase();// Check if the text contains the term
239
+ if(original.indexOf(term)>-1){return data}// If it doesn't contain the term, don't return anything
240
+ return null}this.defaults={amdBase:'./',amdLanguageBase:'./i18n/',closeOnSelect:true,debug:false,dropdownAutoWidth:false,escapeMarkup:Utils.escapeMarkup,language:EnglishTranslation,matcher:matcher,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:false,sorter:function sorter(data){return data},templateResult:function templateResult(result){return result.text},templateSelection:function templateSelection(selection){return selection.text},theme:'default',width:'resolve'}};Defaults.prototype.set=function(key,value){var camelKey=$.camelCase(key);var data={};data[camelKey]=value;var convertedData=Utils._convertData(data);$.extend(this.defaults,convertedData)};var defaults=new Defaults;return defaults});S2.define('select2/options',['require','jquery','./defaults','./utils'],function(require,$,Defaults,Utils){function Options(options,$element){this.options=options;if($element!=null){this.fromElement($element)}this.options=Defaults.apply(this.options);if($element&&$element.is('input')){var InputCompat=require(this.get('amdBase')+'compat/inputData');this.options.dataAdapter=Utils.Decorate(this.options.dataAdapter,InputCompat)}}Options.prototype.fromElement=function($e){var excludedData=['select2'];if(this.options.multiple==null){this.options.multiple=$e.prop('multiple')}if(this.options.disabled==null){this.options.disabled=$e.prop('disabled')}if(this.options.language==null){if($e.prop('lang')){this.options.language=$e.prop('lang').toLowerCase()}else if($e.closest('[lang]').prop('lang')){this.options.language=$e.closest('[lang]').prop('lang')}}if(this.options.dir==null){if($e.prop('dir')){this.options.dir=$e.prop('dir')}else if($e.closest('[dir]').prop('dir')){this.options.dir=$e.closest('[dir]').prop('dir')}else{this.options.dir='ltr'}}$e.prop('disabled',this.options.disabled);$e.prop('multiple',this.options.multiple);if($e.data('select2Tags')){if(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.')}$e.data('data',$e.data('select2Tags'));$e.data('tags',true)}if($e.data('ajaxUrl')){if(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',$e.data('ajaxUrl'));$e.data('ajax--url',$e.data('ajaxUrl'))}var dataset={};// Prefer the element's `dataset` attribute if it exists
241
+ // jQuery 1.x does not correctly handle data attributes with multiple dashes
242
+ if($.fn.jquery&&$.fn.jquery.substr(0,2)=='1.'&&$e[0].dataset){dataset=$.extend(true,{},$e[0].dataset,$e.data())}else{dataset=$e.data()}var data=$.extend(true,{},dataset);data=Utils._convertData(data);for(var key in data){if($.inArray(key,excludedData)>-1){continue}if($.isPlainObject(this.options[key])){$.extend(this.options[key],data[key])}else{this.options[key]=data[key]}}return this};Options.prototype.get=function(key){return this.options[key]};Options.prototype.set=function(key,val){this.options[key]=val};return Options});S2.define('select2/core',['jquery','./options','./utils','./keys'],function($,Options,Utils,KEYS){var Select2=function Select2($element,options){if($element.data('select2')!=null){$element.data('select2').destroy()}this.$element=$element;this.id=this._generateId($element);options=options||{};this.options=new Options(options,$element);Select2.__super__.constructor.call(this);// Set up the tabindex
243
+ var tabindex=$element.attr('tabindex')||0;$element.data('old-tabindex',tabindex);$element.attr('tabindex','-1');// Set up containers and adapters
244
+ var DataAdapter=this.options.get('dataAdapter');this.dataAdapter=new DataAdapter($element,this.options);var $container=this.render();this._placeContainer($container);var SelectionAdapter=this.options.get('selectionAdapter');this.selection=new SelectionAdapter($element,this.options);this.$selection=this.selection.render();this.selection.position(this.$selection,$container);var DropdownAdapter=this.options.get('dropdownAdapter');this.dropdown=new DropdownAdapter($element,this.options);this.$dropdown=this.dropdown.render();this.dropdown.position(this.$dropdown,$container);var ResultsAdapter=this.options.get('resultsAdapter');this.results=new ResultsAdapter($element,this.options,this.dataAdapter);this.$results=this.results.render();this.results.position(this.$results,this.$dropdown);// Bind events
245
+ var self=this;// Bind the container to all of the adapters
246
+ this._bindAdapters();// Register any DOM event handlers
247
+ this._registerDomEvents();// Register any internal event handlers
248
+ this._registerDataEvents();this._registerSelectionEvents();this._registerDropdownEvents();this._registerResultsEvents();this._registerEvents();// Set the initial state
249
+ this.dataAdapter.current(function(initialData){self.trigger('selection:update',{data:initialData})});// Hide the original select
250
+ $element.addClass('select2-hidden-accessible');$element.attr('aria-hidden','true');// Synchronize any monitored attributes
251
+ this._syncAttributes();$element.data('select2',this)};Utils.Extend(Select2,Utils.Observable);Select2.prototype._generateId=function($element){var id='';if($element.attr('id')!=null){id=$element.attr('id')}else if($element.attr('name')!=null){id=$element.attr('name')+'-'+Utils.generateChars(2)}else{id=Utils.generateChars(4)}id=id.replace(/(:|\.|\[|\]|,)/g,'');id='select2-'+id;return id};Select2.prototype._placeContainer=function($container){$container.insertAfter(this.$element);var width=this._resolveWidth(this.$element,this.options.get('width'));if(width!=null){$container.css('width',width)}};Select2.prototype._resolveWidth=function($element,method){var WIDTH=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if(method=='resolve'){var styleWidth=this._resolveWidth($element,'style');if(styleWidth!=null){return styleWidth}return this._resolveWidth($element,'element')}if(method=='element'){var elementWidth=$element.outerWidth(false);if(elementWidth<=0){return'auto'}return elementWidth+'px'}if(method=='style'){var style=$element.attr('style');if(typeof style!=='string'){return null}var attrs=style.split(';');for(var i=0,l=attrs.length;i<l;i=i+1){var attr=attrs[i].replace(/\s/g,'');var matches=attr.match(WIDTH);if(matches!==null&&matches.length>=1){return matches[1]}}return null}return method};Select2.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)};Select2.prototype._registerDomEvents=function(){var self=this;this.$element.on('change.select2',function(){self.dataAdapter.current(function(data){self.trigger('selection:update',{data:data})})});this.$element.on('focus.select2',function(evt){self.trigger('focus',evt)});this._syncA=Utils.bind(this._syncAttributes,this);this._syncS=Utils.bind(this._syncSubtree,this);if(this.$element[0].attachEvent){this.$element[0].attachEvent('onpropertychange',this._syncA)}var observer=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(observer!=null){this._observer=new observer(function(mutations){$.each(mutations,self._syncA);$.each(mutations,self._syncS)});this._observer.observe(this.$element[0],{attributes:true,childList:true,subtree:false})}else if(this.$element[0].addEventListener){this.$element[0].addEventListener('DOMAttrModified',self._syncA,false);this.$element[0].addEventListener('DOMNodeInserted',self._syncS,false);this.$element[0].addEventListener('DOMNodeRemoved',self._syncS,false)}};Select2.prototype._registerDataEvents=function(){var self=this;this.dataAdapter.on('*',function(name,params){self.trigger(name,params)})};Select2.prototype._registerSelectionEvents=function(){var self=this;var nonRelayEvents=['toggle','focus'];this.selection.on('toggle',function(){self.toggleDropdown()});this.selection.on('focus',function(params){self.focus(params)});this.selection.on('*',function(name,params){if($.inArray(name,nonRelayEvents)!==-1){return}self.trigger(name,params)})};Select2.prototype._registerDropdownEvents=function(){var self=this;this.dropdown.on('*',function(name,params){self.trigger(name,params)})};Select2.prototype._registerResultsEvents=function(){var self=this;this.results.on('*',function(name,params){self.trigger(name,params)})};Select2.prototype._registerEvents=function(){var self=this;this.on('open',function(){self.$container.addClass('select2-container--open')});this.on('close',function(){self.$container.removeClass('select2-container--open')});this.on('enable',function(){self.$container.removeClass('select2-container--disabled')});this.on('disable',function(){self.$container.addClass('select2-container--disabled')});this.on('blur',function(){self.$container.removeClass('select2-container--focus')});this.on('query',function(params){if(!self.isOpen()){self.trigger('open',{})}this.dataAdapter.query(params,function(data){self.trigger('results:all',{data:data,query:params})})});this.on('query:append',function(params){this.dataAdapter.query(params,function(data){self.trigger('results:append',{data:data,query:params})})});this.on('keypress',function(evt){var key=evt.which;if(self.isOpen()){if(key===KEYS.ESC||key===KEYS.TAB||key===KEYS.UP&&evt.altKey){self.close();evt.preventDefault()}else if(key===KEYS.ENTER){self.trigger('results:select',{});evt.preventDefault()}else if(key===KEYS.SPACE&&evt.ctrlKey){self.trigger('results:toggle',{});evt.preventDefault()}else if(key===KEYS.UP){self.trigger('results:previous',{});evt.preventDefault()}else if(key===KEYS.DOWN){self.trigger('results:next',{});evt.preventDefault()}}else{if(key===KEYS.ENTER||key===KEYS.SPACE||key===KEYS.DOWN&&evt.altKey){self.open();evt.preventDefault()}}})};Select2.prototype._syncAttributes=function(){this.options.set('disabled',this.$element.prop('disabled'));if(this.options.get('disabled')){if(this.isOpen()){this.close()}this.trigger('disable',{})}else{this.trigger('enable',{})}};Select2.prototype._syncSubtree=function(evt,mutations){var changed=false;var self=this;// Ignore any mutation events raised for elements that aren't options or
252
+ // optgroups. This handles the case when the select element is destroyed
253
+ if(evt&&evt.target&&evt.target.nodeName!=='OPTION'&&evt.target.nodeName!=='OPTGROUP'){return}if(!mutations){// If mutation events aren't supported, then we can only assume that the
254
+ // change affected the selections
255
+ changed=true}else if(mutations.addedNodes&&mutations.addedNodes.length>0){for(var n=0;n<mutations.addedNodes.length;n++){var node=mutations.addedNodes[n];if(node.selected){changed=true}}}else if(mutations.removedNodes&&mutations.removedNodes.length>0){changed=true}// Only re-pull the data if we think there is a change
256
+ if(changed){this.dataAdapter.current(function(currentData){self.trigger('selection:update',{data:currentData})})}};/**
257
+ * Override the trigger method to automatically trigger pre-events when
258
+ * there are events that can be prevented.
259
+ */Select2.prototype.trigger=function(name,args){var actualTrigger=Select2.__super__.trigger;var preTriggerMap={'open':'opening','close':'closing','select':'selecting','unselect':'unselecting'};if(args===undefined){args={}}if(name in preTriggerMap){var preTriggerName=preTriggerMap[name];var preTriggerArgs={prevented:false,name:name,args:args};actualTrigger.call(this,preTriggerName,preTriggerArgs);if(preTriggerArgs.prevented){args.prevented=true;return}}actualTrigger.call(this,name,args)};Select2.prototype.toggleDropdown=function(){if(this.options.get('disabled')){return}if(this.isOpen()){this.close()}else{this.open()}};Select2.prototype.open=function(){if(this.isOpen()){return}this.trigger('query',{})};Select2.prototype.close=function(){if(!this.isOpen()){return}this.trigger('close',{})};Select2.prototype.isOpen=function(){return this.$container.hasClass('select2-container--open')};Select2.prototype.hasFocus=function(){return this.$container.hasClass('select2-container--focus')};Select2.prototype.focus=function(data){// No need to re-trigger focus events if we are already focused
260
+ if(this.hasFocus()){return}this.$container.addClass('select2-container--focus');this.trigger('focus',{})};Select2.prototype.enable=function(args){if(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.')}if(args==null||args.length===0){args=[true]}var disabled=!args[0];this.$element.prop('disabled',disabled)};Select2.prototype.data=function(){if(this.options.get('debug')&&arguments.length>0&&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 data=[];this.dataAdapter.current(function(currentData){data=currentData});return data};Select2.prototype.val=function(args){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.')}if(args==null||args.length===0){return this.$element.val()}var newVal=args[0];if($.isArray(newVal)){newVal=$.map(newVal,function(obj){return obj.toString()})}this.$element.val(newVal).trigger('change')};Select2.prototype.destroy=function(){this.$container.remove();if(this.$element[0].detachEvent){this.$element[0].detachEvent('onpropertychange',this._syncA)}if(this._observer!=null){this._observer.disconnect();this._observer=null}else if(this.$element[0].removeEventListener){this.$element[0].removeEventListener('DOMAttrModified',this._syncA,false);this.$element[0].removeEventListener('DOMNodeInserted',this._syncS,false);this.$element[0].removeEventListener('DOMNodeRemoved',this._syncS,false)}this._syncA=null;this._syncS=null;this.$element.off('.select2');this.$element.attr('tabindex',this.$element.data('old-tabindex'));this.$element.removeClass('select2-hidden-accessible');this.$element.attr('aria-hidden','false');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};Select2.prototype.render=function(){var $container=$('<span class="select2 select2-container">'+'<span class="selection"></span>'+'<span class="dropdown-wrapper" aria-hidden="true"></span>'+'</span>');$container.attr('dir',this.options.get('dir'));this.$container=$container;this.$container.addClass('select2-container--'+this.options.get('theme'));$container.data('element',this.$element);return $container};return Select2});S2.define('select2/compat/utils',['jquery'],function($){function syncCssClasses($dest,$src,adapter){var classes,replacements=[],adapted;classes=$.trim($dest.attr('class'));if(classes){classes=''+classes;// for IE which returns object
261
+ $(classes.split(/\s+/)).each(function(){// Save all Select2 classes
262
+ if(this.indexOf('select2-')===0){replacements.push(this)}})}classes=$.trim($src.attr('class'));if(classes){classes=''+classes;// for IE which returns object
263
+ $(classes.split(/\s+/)).each(function(){// Only adapt non-Select2 classes
264
+ if(this.indexOf('select2-')!==0){adapted=adapter(this);if(adapted!=null){replacements.push(adapted)}}})}$dest.attr('class',replacements.join(' '))}return{syncCssClasses:syncCssClasses}});S2.define('select2/compat/containerCss',['jquery','./utils'],function($,CompatUtils){// No-op CSS adapter that discards all classes by default
265
+ function _containerAdapter(clazz){return null}function ContainerCSS(){}ContainerCSS.prototype.render=function(decorated){var $container=decorated.call(this);var containerCssClass=this.options.get('containerCssClass')||'';if($.isFunction(containerCssClass)){containerCssClass=containerCssClass(this.$element)}var containerCssAdapter=this.options.get('adaptContainerCssClass');containerCssAdapter=containerCssAdapter||_containerAdapter;if(containerCssClass.indexOf(':all:')!==-1){containerCssClass=containerCssClass.replace(':all:','');var _cssAdapter=containerCssAdapter;containerCssAdapter=function containerCssAdapter(clazz){var adapted=_cssAdapter(clazz);if(adapted!=null){// Append the old one along with the adapted one
266
+ return adapted+' '+clazz}return clazz}}var containerCss=this.options.get('containerCss')||{};if($.isFunction(containerCss)){containerCss=containerCss(this.$element)}CompatUtils.syncCssClasses($container,this.$element,containerCssAdapter);$container.css(containerCss);$container.addClass(containerCssClass);return $container};return ContainerCSS});S2.define('select2/compat/dropdownCss',['jquery','./utils'],function($,CompatUtils){// No-op CSS adapter that discards all classes by default
267
+ function _dropdownAdapter(clazz){return null}function DropdownCSS(){}DropdownCSS.prototype.render=function(decorated){var $dropdown=decorated.call(this);var dropdownCssClass=this.options.get('dropdownCssClass')||'';if($.isFunction(dropdownCssClass)){dropdownCssClass=dropdownCssClass(this.$element)}var dropdownCssAdapter=this.options.get('adaptDropdownCssClass');dropdownCssAdapter=dropdownCssAdapter||_dropdownAdapter;if(dropdownCssClass.indexOf(':all:')!==-1){dropdownCssClass=dropdownCssClass.replace(':all:','');var _cssAdapter=dropdownCssAdapter;dropdownCssAdapter=function dropdownCssAdapter(clazz){var adapted=_cssAdapter(clazz);if(adapted!=null){// Append the old one along with the adapted one
268
+ return adapted+' '+clazz}return clazz}}var dropdownCss=this.options.get('dropdownCss')||{};if($.isFunction(dropdownCss)){dropdownCss=dropdownCss(this.$element)}CompatUtils.syncCssClasses($dropdown,this.$element,dropdownCssAdapter);$dropdown.css(dropdownCss);$dropdown.addClass(dropdownCssClass);return $dropdown};return DropdownCSS});S2.define('select2/compat/initSelection',['jquery'],function($){function InitSelection(decorated,$element,options){if(options.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=options.get('initSelection');this._isInitialized=false;decorated.call(this,$element,options)}InitSelection.prototype.current=function(decorated,callback){var self=this;if(this._isInitialized){decorated.call(this,callback);return}this.initSelection.call(null,this.$element,function(data){self._isInitialized=true;if(!$.isArray(data)){data=[data]}callback(data)})};return InitSelection});S2.define('select2/compat/inputData',['jquery'],function($){function InputData(decorated,$element,options){this._currentData=[];this._valueSeparator=options.get('valueSeparator')||',';if($element.prop('type')==='hidden'){if(options.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.')}}decorated.call(this,$element,options)}InputData.prototype.current=function(_,callback){function getSelected(data,selectedIds){var selected=[];if(data.selected||$.inArray(data.id,selectedIds)!==-1){data.selected=true;selected.push(data)}else{data.selected=false}if(data.children){selected.push.apply(selected,getSelected(data.children,selectedIds))}return selected}var selected=[];for(var d=0;d<this._currentData.length;d++){var data=this._currentData[d];selected.push.apply(selected,getSelected(data,this.$element.val().split(this._valueSeparator)))}callback(selected)};InputData.prototype.select=function(_,data){if(!this.options.get('multiple')){this.current(function(allData){$.map(allData,function(data){data.selected=false})});this.$element.val(data.id);this.$element.trigger('change')}else{var value=this.$element.val();value+=this._valueSeparator+data.id;this.$element.val(value);this.$element.trigger('change')}};InputData.prototype.unselect=function(_,data){var self=this;data.selected=false;this.current(function(allData){var values=[];for(var d=0;d<allData.length;d++){var item=allData[d];if(data.id==item.id){continue}values.push(item.id)}self.$element.val(values.join(self._valueSeparator));self.$element.trigger('change')})};InputData.prototype.query=function(_,params,callback){var results=[];for(var d=0;d<this._currentData.length;d++){var data=this._currentData[d];var matches=this.matches(params,data);if(matches!==null){results.push(matches)}}callback({results:results})};InputData.prototype.addOptions=function(_,$options){var options=$.map($options,function($option){return $.data($option[0],'data')});this._currentData.push.apply(this._currentData,options)};return InputData});S2.define('select2/compat/matcher',['jquery'],function($){function oldMatcher(matcher){function wrappedMatcher(params,data){var match=$.extend(true,{},data);if(params.term==null||$.trim(params.term)===''){return match}if(data.children){for(var c=data.children.length-1;c>=0;c--){var child=data.children[c];// Check if the child object matches
269
+ // The old matcher returned a boolean true or false
270
+ var doesMatch=matcher(params.term,child.text,child);// If the child didn't match, pop it off
271
+ if(!doesMatch){match.children.splice(c,1)}}if(match.children.length>0){return match}}if(matcher(params.term,data.text,data)){return match}return null}return wrappedMatcher}return oldMatcher});S2.define('select2/compat/query',[],function(){function Query(decorated,$element,options){if(options.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.')}decorated.call(this,$element,options)}Query.prototype.query=function(_,params,callback){params.callback=callback;var query=this.options.get('query');query.call(null,params)};return Query});S2.define('select2/dropdown/attachContainer',[],function(){function AttachContainer(decorated,$element,options){decorated.call(this,$element,options)}AttachContainer.prototype.position=function(decorated,$dropdown,$container){var $dropdownContainer=$container.find('.dropdown-wrapper');$dropdownContainer.append($dropdown);$dropdown.addClass('select2-dropdown--below');$container.addClass('select2-container--below')};return AttachContainer});S2.define('select2/dropdown/stopPropagation',[],function(){function StopPropagation(){}StopPropagation.prototype.bind=function(decorated,container,$container){decorated.call(this,container,$container);var stoppedEvents=['blur','change','click','dblclick','focus','focusin','focusout','input','keydown','keyup','keypress','mousedown','mouseenter','mouseleave','mousemove','mouseover','mouseup','search','touchend','touchstart'];this.$dropdown.on(stoppedEvents.join(' '),function(evt){evt.stopPropagation()})};return StopPropagation});S2.define('select2/selection/stopPropagation',[],function(){function StopPropagation(){}StopPropagation.prototype.bind=function(decorated,container,$container){decorated.call(this,container,$container);var stoppedEvents=['blur','change','click','dblclick','focus','focusin','focusout','input','keydown','keyup','keypress','mousedown','mouseenter','mouseleave','mousemove','mouseover','mouseup','search','touchend','touchstart'];this.$selection.on(stoppedEvents.join(' '),function(evt){evt.stopPropagation()})};return StopPropagation});/*!
272
+ * jQuery Mousewheel 3.1.13
273
+ *
274
+ * Copyright jQuery Foundation and other contributors
275
+ * Released under the MIT license
276
+ * http://jquery.org/license
277
+ */(function(factory){if(typeof S2.define==='function'&&S2.define.amd){// AMD. Register as an anonymous module.
278
+ S2.define('jquery-mousewheel',['jquery'],factory)}else if((typeof exports==='undefined'?'undefined':_typeof(exports))==='object'){// Node/CommonJS style for Browserify
279
+ module.exports=factory}else{// Browser globals
280
+ factory(jQuery)}})(function($){var toFix=['wheel','mousewheel','DOMMouseScroll','MozMousePixelScroll'],toBind='onwheel'in document||document.documentMode>=9?['wheel']:['mousewheel','DomMouseScroll','MozMousePixelScroll'],slice=Array.prototype.slice,nullLowestDeltaTimeout,lowestDelta;if($.event.fixHooks){for(var i=toFix.length;i;){$.event.fixHooks[toFix[--i]]=$.event.mouseHooks}}var special=$.event.special.mousewheel={version:'3.1.12',setup:function setup(){if(this.addEventListener){for(var i=toBind.length;i;){this.addEventListener(toBind[--i],handler,false)}}else{this.onmousewheel=handler}// Store the line height and page height for this particular element
281
+ $.data(this,'mousewheel-line-height',special.getLineHeight(this));$.data(this,'mousewheel-page-height',special.getPageHeight(this))},teardown:function teardown(){if(this.removeEventListener){for(var i=toBind.length;i;){this.removeEventListener(toBind[--i],handler,false)}}else{this.onmousewheel=null}// Clean up the data we added to the element
282
+ $.removeData(this,'mousewheel-line-height');$.removeData(this,'mousewheel-page-height')},getLineHeight:function getLineHeight(elem){var $elem=$(elem),$parent=$elem['offsetParent'in $.fn?'offsetParent':'parent']();if(!$parent.length){$parent=$('body')}return parseInt($parent.css('fontSize'),10)||parseInt($elem.css('fontSize'),10)||16},getPageHeight:function getPageHeight(elem){return $(elem).height()},settings:{adjustOldDeltas:true,// see shouldAdjustOldDeltas() below
283
+ normalizeOffset:true// calls getBoundingClientRect for each event
284
+ }};$.fn.extend({mousewheel:function mousewheel(fn){return fn?this.bind('mousewheel',fn):this.trigger('mousewheel')},unmousewheel:function unmousewheel(fn){return this.unbind('mousewheel',fn)}});function handler(event){var orgEvent=event||window.event,args=slice.call(arguments,1),delta=0,deltaX=0,deltaY=0,absDelta=0,offsetX=0,offsetY=0;event=$.event.fix(orgEvent);event.type='mousewheel';// Old school scrollwheel delta
285
+ if('detail'in orgEvent){deltaY=orgEvent.detail*-1}if('wheelDelta'in orgEvent){deltaY=orgEvent.wheelDelta}if('wheelDeltaY'in orgEvent){deltaY=orgEvent.wheelDeltaY}if('wheelDeltaX'in orgEvent){deltaX=orgEvent.wheelDeltaX*-1}// Firefox < 17 horizontal scrolling related to DOMMouseScroll event
286
+ if('axis'in orgEvent&&orgEvent.axis===orgEvent.HORIZONTAL_AXIS){deltaX=deltaY*-1;deltaY=0}// Set delta to be deltaY or deltaX if deltaY is 0 for backwards compatabilitiy
287
+ delta=deltaY===0?deltaX:deltaY;// New school wheel delta (wheel event)
288
+ if('deltaY'in orgEvent){deltaY=orgEvent.deltaY*-1;delta=deltaY}if('deltaX'in orgEvent){deltaX=orgEvent.deltaX;if(deltaY===0){delta=deltaX*-1}}// No change actually happened, no reason to go any further
289
+ if(deltaY===0&&deltaX===0){return}// Need to convert lines and pages to pixels if we aren't already in pixels
290
+ // There are three delta modes:
291
+ // * deltaMode 0 is by pixels, nothing to do
292
+ // * deltaMode 1 is by lines
293
+ // * deltaMode 2 is by pages
294
+ if(orgEvent.deltaMode===1){var lineHeight=$.data(this,'mousewheel-line-height');delta*=lineHeight;deltaY*=lineHeight;deltaX*=lineHeight}else if(orgEvent.deltaMode===2){var pageHeight=$.data(this,'mousewheel-page-height');delta*=pageHeight;deltaY*=pageHeight;deltaX*=pageHeight}// Store lowest absolute delta to normalize the delta values
295
+ absDelta=Math.max(Math.abs(deltaY),Math.abs(deltaX));if(!lowestDelta||absDelta<lowestDelta){lowestDelta=absDelta;// Adjust older deltas if necessary
296
+ if(shouldAdjustOldDeltas(orgEvent,absDelta)){lowestDelta/=40}}// Adjust older deltas if necessary
297
+ if(shouldAdjustOldDeltas(orgEvent,absDelta)){// Divide all the things by 40!
298
+ delta/=40;deltaX/=40;deltaY/=40}// Get a whole, normalized value for the deltas
299
+ delta=Math[delta>=1?'floor':'ceil'](delta/lowestDelta);deltaX=Math[deltaX>=1?'floor':'ceil'](deltaX/lowestDelta);deltaY=Math[deltaY>=1?'floor':'ceil'](deltaY/lowestDelta);// Normalise offsetX and offsetY properties
300
+ if(special.settings.normalizeOffset&&this.getBoundingClientRect){var boundingRect=this.getBoundingClientRect();offsetX=event.clientX-boundingRect.left;offsetY=event.clientY-boundingRect.top}// Add information to the event object
301
+ event.deltaX=deltaX;event.deltaY=deltaY;event.deltaFactor=lowestDelta;event.offsetX=offsetX;event.offsetY=offsetY;// Go ahead and set deltaMode to 0 since we converted to pixels
302
+ // Although this is a little odd since we overwrite the deltaX/Y
303
+ // properties with normalized deltas.
304
+ event.deltaMode=0;// Add event and delta to the front of the arguments
305
+ args.unshift(event,delta,deltaX,deltaY);// Clearout lowestDelta after sometime to better
306
+ // handle multiple device types that give different
307
+ // a different lowestDelta
308
+ // Ex: trackpad = 3 and mouse wheel = 120
309
+ if(nullLowestDeltaTimeout){clearTimeout(nullLowestDeltaTimeout)}nullLowestDeltaTimeout=setTimeout(nullLowestDelta,200);return($.event.dispatch||$.event.handle).apply(this,args)}function nullLowestDelta(){lowestDelta=null}function shouldAdjustOldDeltas(orgEvent,absDelta){// If this is an older event and the delta is divisable by 120,
310
+ // then we are assuming that the browser is treating this as an
311
+ // older mouse wheel event and that we should divide the deltas
312
+ // by 40 to try and get a more usable deltaFactor.
313
+ // Side note, this actually impacts the reported scroll distance
314
+ // in older browsers and can cause scrolling to be slower than native.
315
+ // Turn this off by setting $.event.special.mousewheel.settings.adjustOldDeltas to false.
316
+ return special.settings.adjustOldDeltas&&orgEvent.type==='mousewheel'&&absDelta%120===0}});S2.define('jquery.select2',['jquery','jquery-mousewheel','./select2/core','./select2/defaults'],function($,_,Select2,Defaults){if($.fn.select2==null){// All methods that should return the element
317
+ var thisMethods=['open','close','destroy'];$.fn.select2=function(options){options=options||{};if((typeof options==='undefined'?'undefined':_typeof(options))==='object'){this.each(function(){var instanceOptions=$.extend(true,{},options);var instance=new Select2($(this),instanceOptions)});return this}else if(typeof options==='string'){var ret;var args=Array.prototype.slice.call(arguments,1);this.each(function(){var instance=$(this).data('select2');if(instance==null&&window.console&&console.error){console.error('The select2(\''+options+'\') method was called on an '+'element that is not using Select2.')}ret=instance[options].apply(instance,args)});// Check if we should be returning `this`
318
+ if($.inArray(options,thisMethods)>-1){return this}return ret}else{throw new Error('Invalid arguments for Select2: '+options)}}}if($.fn.select2.defaults==null){$.fn.select2.defaults=Defaults}return Select2});// Return the AMD loader configuration so it can be used outside of this file
319
+ return{define:S2.define,require:S2.require}}();// Autoload the jQuery bindings
320
+ // We know that all of the modules exist above this, so we're safe
321
+ var select2=S2.require('jquery.select2');// Hold the AMD module references on the jQuery function that was just loaded
322
+ // This allows Select2 to use the internal loader outside of this file, such
323
+ // as in the language files.
324
+ jQuery.fn.select2.amd=S2;// Return the Select2 instance for anyone who is importing it.
325
+ return select2});
assets/js/select2_conflict_fix.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";AC.select2=jQuery.fn.select2;jQuery.fn.ac_select2=jQuery.fn.select2;
assets/js/table.js CHANGED
@@ -1 +1 @@
1
- !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=93)}([function(t,e,n){var r=n(26)("wks"),o=n(12),i=n(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){t.exports=!n(7)(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){"use strict";var r=n(15),o=n(39)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(28)("find")},function(t,e,n){var r=n(6),o=n(20);t.exports=n(2)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(9),o=n(32),i=n(33),u=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(1),o=n(5),i=n(11),u=n(12)("src"),a=Function.toString,c=(""+a).split("toString");n(10).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,u)||o(n,u,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(38);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){for(var r=n(29),o=n(30),i=n(8),u=n(1),a=n(5),c=n(19),s=n(0),l=s("iterator"),f=s("toStringTag"),p=c.Array,v={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(v),h=0;h<d.length;h++){var y,g=d[h],m=v[g],b=u[g],_=b&&b.prototype;if(_&&(_[l]||a(_,l,p),_[f]||a(_,f,g),c[g]=p,m))for(y in r)_[y]||i(_,y,r[y],!0)}},function(t,e,n){var r=n(1),o=n(10),i=n(5),u=n(8),a=n(13),c=function(t,e,n){var s,l,f,p,v=t&c.F,d=t&c.G,h=t&c.S,y=t&c.P,g=t&c.B,m=d?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});for(s in d&&(n=e),n)f=((l=!v&&m&&void 0!==m[s])?m:n)[s],p=g&&l?a(f,r):y&&"function"==typeof f?a(Function.call,f):f,m&&u(m,s,f,t&c.U),b[s]!=f&&i(b,s,p),y&&_[s]!=f&&(_[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(18);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(25),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(24),o=n(18);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(3),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(16);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(10),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var r=n(0)("unscopables"),o=Array.prototype;void 0==o[r]&&n(5)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";var r=n(28),o=n(44),i=n(19),u=n(22);t.exports=n(45)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(47),o=n(34);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(26)("keys"),o=n(12);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){t.exports=!n(2)&&!n(7)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(6).f,o=n(11),i=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(n(43));function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modals=[],this.number=1}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"register",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e||(e="m"+this.number),this.modals[e]=t,this.number++,t}},{key:"get",value:function(t){return!!this.modals[t]&&this.modals[t]}}],[{key:"init",value:function(){return void 0===AdminColumns.Modals&&(AdminColumns.Modals=new this,AdminColumns.Modals._abstract={modal:r.default}),AdminColumns.Modals}}]),t}();t.exports=i},function(t,e,n){var r=n(6).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(2)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(13),o=n(24),i=n(17),u=n(21),a=n(40);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,l=4==t,f=6==t,p=5==t||f,v=e||a;return function(e,a,d){for(var h,y,g=i(e),m=o(g),b=r(a,d,3),_=u(m.length),x=0,w=n?v(e,_):c?v(e,0):void 0;_>x;x++)if((p||x in m)&&(y=b(h=m[x],x,g),t))if(n)w[x]=y;else if(y)switch(t){case 3:return!0;case 5:return h;case 6:return x;case 2:w.push(h)}else if(l)return!1;return f?-1:s||l?l:w}}},function(t,e,n){var r=n(41);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(3),o=n(42),i=n(0)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(16);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";n(14);var r=function(t){return t&&t.__esModule?t:{default:t}}(n(36));function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e&&(this.el=e,this.dialog=e.querySelector(".ac-modal__dialog"),this.initEvents())}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"initEvents",value:function(){var e=this,n=this;document.addEventListener("keydown",function(t){var n=event.key;e.isOpen()&&"Escape"===n&&e.close()});var r=this.el.querySelectorAll('[data-dismiss="modal"], .ac-modal__dialog__close');r.length>0&&r.forEach(function(t){t.addEventListener("click",function(t){t.preventDefault(),n.close()})}),this.el.addEventListener("click",function(){n.close()}),this.el.querySelector(".ac-modal__dialog").addEventListener("click",function(t){t.stopPropagation()}),void 0===document.querySelector("body").dataset.ac_modal_init&&(t.initGlobalEvents(),document.querySelector("body").dataset.ac_modal_init=1),this.el.AC_MODAL=n}},{key:"isOpen",value:function(){return this.el.classList.contains("-active")}},{key:"close",value:function(){this.onClose(),this.el.classList.remove("-active")}},{key:"open",value:function(){this.onOpen(),this.el.classList.add("-active")}},{key:"destroy",value:function(){this.el.remove()}},{key:"onClose",value:function(){}},{key:"onOpen",value:function(){}}],[{key:"initGlobalEvents",value:function(){jQuery(document).on("click","[data-ac-open-modal]",function(t){t.preventDefault();var e=t.target.dataset.acOpenModal,n=document.querySelector(e);n&&n.AC_MODAL&&n.AC_MODAL.open()}),jQuery(document).on("click","[data-ac-modal]",function(t){t.preventDefault();var e=jQuery(this).data("ac-modal");r.default.init().get(e)&&r.default.init().get(e).open()})}}]),t}();t.exports=i},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(27),o=n(15),i=n(8),u=n(5),a=n(19),c=n(51),s=n(35),l=n(56),f=n(0)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,e,n,d,h,y,g){c(n,e,d);var m,b,_,x=function(t){if(!p&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",k="values"==h,E=!1,C=t.prototype,j=C[f]||C["@@iterator"]||h&&C[h],O=j||x(h),S=h?k?x("entries"):O:void 0,T="Array"==e&&C.entries||j;if(T&&(_=l(T.call(new t)))!==Object.prototype&&_.next&&(s(_,w,!0),r||"function"==typeof _[f]||u(_,f,v)),k&&j&&"values"!==j.name&&(E=!0,O=function(){return j.call(this)}),r&&!g||!p&&!E&&C[f]||u(C,f,O),a[e]=O,a[w]=v,h)if(m={values:k?O:x("values"),keys:y?O:x("keys"),entries:S},g)for(b in m)b in C||i(C,b,m[b]);else o(o.P+o.F*(p||E),e,m);return m}},function(t,e,n){var r=n(9),o=n(52),i=n(34),u=n(31)("IE_PROTO"),a=function(){},c=function(){var t,e=n(23)("iframe"),r=i.length;for(e.style.display="none",n(55).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(11),o=n(22),i=n(53)(!1),u=n(31)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,s=[];for(n in a)n!=u&&r(a,n)&&s.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(17),o=n(30);n(57)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){n(50)("replace",2,function(t,e,n){return[function(r,o){"use strict";var i=t(this),u=void 0==r?void 0:r[e];return void 0!==u?u.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,n){"use strict";var r=n(5),o=n(8),i=n(7),u=n(18),a=n(0);t.exports=function(t,e,n){var c=a(t),s=n(u,c,""[t]),l=s[0],f=s[1];i(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,l),r(RegExp.prototype,c,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){"use strict";var r=n(46),o=n(20),i=n(35),u={};n(5)(u,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(6),o=n(9),i=n(30);t.exports=n(2)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),a=u.length,c=0;a>c;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){var r=n(22),o=n(21),i=n(54);t.exports=function(t){return function(e,n,u){var a,c=r(e),s=o(c.length),l=i(u,s);if(t&&n!=n){for(;s>l;)if((a=c[l++])!=a)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(25),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(11),o=n(17),i=n(31)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(15),o=n(10),i=n(7);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e,n){"use strict";var r=n(9);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(3),o=n(16),i=n(0)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){"use strict";var r=n(101),o=n(66);t.exports=n(106)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){var r=n(8);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(13),o=n(102),i=n(103),u=n(9),a=n(21),c=n(104),s={},l={};(e=t.exports=function(t,e,n,f,p){var v,d,h,y,g=p?function(){return t}:c(t),m=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(v=a(t.length);v>b;b++)if((y=e?m(u(d=t[b])[0],d[1]):m(t[b]))===s||y===l)return y}else for(h=g.call(t);!(d=h.next()).done;)if((y=o(h,m,d.value,e))===s||y===l)return y}).BREAK=s,e.RETURN=l},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(2),u=n(0)("species");t.exports=function(t){var e=r[t];i&&e&&!e[u]&&o.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(12)("meta"),o=n(3),i=n(11),u=n(6).f,a=0,c=Object.isExtensible||function(){return!0},s=!n(7)(function(){return c(Object.preventExtensions({}))}),l=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return s&&f.NEED&&c(t)&&!i(t,r)&&l(t),t}}},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(3),o=n(108).set;t.exports=function(t,e,n){var i,u=e.constructor;return u!==n&&"function"==typeof u&&(i=u.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";(function(t){n(4);var e=u(n(95)),r=u(n(117)),o=u(n(36)),i=u(n(118));function u(t){return t&&t.__esModule?t:{default:t}}function a(t){t(".ac-more-link-show").click(function(e){e.preventDefault(),t(this).hide().closest("td").find(".ac-show-more-block").show()}),t(".ac-more-link-hide").click(function(e){e.preventDefault();var n=t(this).closest("td");n.find(".ac-more-link-show").show(),n.find(".ac-show-more-block").hide()})}function c(t,e){t(e).each(function(){var e=t(this);e.find(".cpac_use_icons").length>0&&e.addClass("cpac_use_icons")}),t(e).find(".cpac_use_icons + .hidden + .row-actions > span").each(function(){var e=t(this).find("a");e.attr("data-ac-tip",e.text()).addClass("ac-tip")})}o.default.init(),jQuery(document).ready(function(t){!function(t){t(document).ajaxComplete(function(e,n){var r=document.implementation.createHTMLDocument("quickeditevents"),o=t("<div>",r);if(o.append(n.responseText),1===o.find("tr.iedit").length){var i=o.find("tr.iedit").attr("id");t("tr#"+i).trigger("updated",{id:i})}})}(t),c(t,t(".column-actions")),a(t),function(t){t(".ac-toggle-box-link").click(function(e){e.preventDefault(),t(this).next(".ac-toggle-box-contents").toggle()})}(t),function(t){var e=function(e){e.preventDefault(),t(this).next(".ac-toggle-box-contents-ajax").toggle()};t("a[data-ajax-populate=1]").bind("click",function n(r){r.preventDefault();var o=t(this),i={action:"ac_get_column_value",list_screen:AC.list_screen,layout:AC.layout,column:o.data("column"),pk:o.attr("data-item-id"),_ajax_nonce:AC.ajax_nonce};o.addClass("loading"),t.post(ajaxurl,i,function(r){r&&(o.after('<div class="ac-toggle-box-contents-ajax">'+r+"</div>"),o.unbind("click",n).bind("click",e),t(o.parent("td")).trigger("ajax_column_value_ready"),AdminColumns.Tooltips.init())}).always(function(){o.removeClass("loading")})})}(t),function(t){t(".row-actions a").qtip({content:{text:function(){return t(this).text()}},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}(t);var e=document.querySelector(AC.table_id);e&&(ac_load_table(e.parentElement),AdminColumns.ScreenOptionsColumns=new i.default(AdminColumns.Table.Columns)),AdminColumns.Tooltips=new r.default,t(".wp-list-table").on("updated","tr",function(){AdminColumns.Table.addCellClasses(),c(t,t(this).find(".column-actions")),a(t)})}),t.ac_load_table=function(t){AdminColumns.Table=new e.default(t),AC.Table=AdminColumns.Table},function(){if("function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t}()}).call(this,n(94))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(96),n(14);var r=s(n(97)),o=s(n(98)),i=s(n(111)),u=s(n(112)),a=s(n(113)),c=s(n(116));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.Helper=a.default,this.Columns=new i.default(e),this.Cells=new o.default,this.Actions=new r.default("ac-table-actions"),this.Selection=new c.default(this),this._ids=[],this.init()}return function(t,e,n){e&&l(t.prototype,e),n&&l(t,n)}(t,[{key:"init",value:function(){this._initTable(),this.addCellClasses(),document.dispatchEvent(new CustomEvent("AC_Table_Ready",{detail:{self:this}}))}},{key:"updateRow",value:function(t){var e=this._getIDFromRow(t);t.dataset.id=e,this._setCellsForRow(t,e)}},{key:"addCellClasses",value:function(){var t=this;this.Columns.getColumnNames().forEach(function(e){var n=t.Columns.get(e).type;t.Cells.getByName(e).forEach(function(t){t.el.classList.add(n)})})}},{key:"_initTable",value:function(){for(var t=this.el.getElementsByTagName("tbody")[0].getElementsByTagName("tr"),e=0;e<t.length;e++){var n=t[e],r=this._getIDFromRow(n);this._ids.push(r),this.updateRow(n)}}},{key:"_setCellsForRow",value:function(t){var e=this,n=this._getIDFromRow(t);this.Columns.getColumnNames().forEach(function(r){var o=t.querySelector(".column-".concat(r));if(o){var i=new u.default(n,r,o);e.Cells.add(n,i),e._addColumnCellMethods(i)}})}},{key:"_addColumnCellMethods",value:function(t){t.el.getCell=function(){return t}}},{key:"_getIDFromRow",value:function(t){var e=t.id,n=e.split("-"),r=n[n.length-1];if(t.classList.contains("no-items"))return 0;if(!r){var o=t.querySelector(".check-column input[type=checkbox]");o&&(r=(n=(e=o.id).split("_"))[n.length-1])}if(!r){var i=t.parentElement.querySelector(".edit a");if(i){var u=i.getAttribute("href");u&&(r=this.Helper.getParamFromUrl("id",u))}}return r}},{key:"getRowCellByName",value:function(t,e){return t.querySelector(".column-".concat(e))}}],[{key:"getTable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?t(this.el):this.el}}]),t}();e.default=f},function(t,e,n){n(50)("split",2,function(t,e,r){"use strict";var o=n(59),i=r,u=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var a=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,c,s,l,f,p=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,h=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,v+"g");for(a||(r=new RegExp("^"+y.source+"$(?!\\s)",v));(c=y.exec(n))&&!((s=c.index+c[0].length)>d&&(p.push(n.slice(d,c.index)),!a&&c.length>1&&c[0].replace(r,function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(c[f]=void 0)}),c.length>1&&c.index<n.length&&u.apply(p,c.slice(1)),l=c[0].length,d=s,p.length>=h));)y.lastIndex===c.index&&y.lastIndex++;return d===n.length?!l&&y.test("")||p.push(""):p.push(n.slice(d)),p.length>h?p.slice(0,h):p}}else"0".split(void 0,0).length&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),u=void 0==n?void 0:n[e];return void 0!==u?u.call(n,i,o):r.call(String(i),n,o)},r]})},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(4);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.container=document.getElementById(e),this.buttons=this.container.querySelector(".ac-table-actions-buttons"),this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){var t=this;this.dropDownEvents(),jQuery(this.container).on("update",function(){t.refresh()}).insertAfter(jQuery(".tablenav.top .actions:last")).addClass("-init").trigger("update")}},{key:"refresh",value:function(){var t=jQuery(this.buttons);t.find("> a").removeClass("last"),t.find("> a:visible:last").addClass("last")}},{key:"dropDownEvents",value:function(){jQuery(this.buttons).on("click","[data-dropdown]",function(){var t=jQuery(this);t.toggleClass("-open"),t.hasClass("-open")?t[0].dispatchEvent(new CustomEvent("open")):t[0].dispatchEvent(new CustomEvent("closed"))})}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(99),n(14),n(29),n(60);var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._cells=new Map}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"add",value:function(t,e){this._cells.has(t)||this._cells.set(t,new Map),this._cells.get(t).set(e.getName(),e)}},{key:"getByID",value:function(t){var e=[],n=t.toString();return this._cells.has(n)?(this._cells.get(t.toString()).forEach(function(t){e.push(t)}),e):e}},{key:"getAll",value:function(){var t=[];return this._cells.forEach(function(e){e.forEach(function(e){t.push(e)})}),t}},{key:"getByName",value:function(t){var e=[];return this._cells.forEach(function(n){n.forEach(function(n,r){t===r&&e.push(n)})}),e}},{key:"get",value:function(t,e){var n=this._cells.get(t.toString());return!!n&&n.get(e)}}]),t}();e.default=o},function(t,e,n){"use strict";n(100);var r=n(9),o=n(58),i=n(2),u=/./.toString,a=function(t){n(8)(RegExp.prototype,"toString",t,!0)};n(7)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?a(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=u.name&&a(function(){return u.call(this)})},function(t,e,n){n(2)&&"g"!=/./g.flags&&n(6).f(RegExp.prototype,"flags",{configurable:!0,get:n(58)})},function(t,e,n){"use strict";var r=n(6).f,o=n(46),i=n(61),u=n(13),a=n(62),c=n(63),s=n(45),l=n(44),f=n(64),p=n(2),v=n(65).fastKey,d=n(66),h=p?"_s":"size",y=function(t,e){var n,r=v(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){a(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,void 0!=r&&c(r,n,t[s],t)});return i(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var n=d(this,e),r=y(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[h]--}return!!r},forEach:function(t){d(this,e);for(var n,r=u(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!y(d(this,e),t)}}),p&&r(l.prototype,"size",{get:function(){return d(this,e)[h]}}),l},def:function(t,e,n){var r,o,i=y(t,e);return i?i.v=n:(t._l=i={i:o=v(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[h]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,e,n){s(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?l(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){var r=n(9);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(19),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(105),o=n(0)("iterator"),i=n(19);t.exports=n(10).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(16),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){"use strict";var r=n(1),o=n(15),i=n(8),u=n(61),a=n(65),c=n(63),s=n(62),l=n(3),f=n(7),p=n(107),v=n(35),d=n(67);t.exports=function(t,e,n,h,y,g){var m=r[t],b=m,_=y?"set":"add",x=b&&b.prototype,w={},k=function(t){var e=x[t];i(x,t,"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||x.forEach&&!f(function(){(new b).entries().next()}))){var E=new b,C=E[_](g?{}:-0,1)!=E,j=f(function(){E.has(1)}),O=p(function(t){new b(t)}),S=!g&&f(function(){for(var t=new b,e=5;e--;)t[_](e,e);return!t.has(-0)});O||((b=e(function(e,n){s(e,b,t);var r=d(new m,e,b);return void 0!=n&&c(n,y,r[_],r),r})).prototype=x,x.constructor=b),(j||S)&&(k("delete"),k("has"),y&&k("get")),(S||C)&&k(_),g&&x.clear&&delete x.clear}else b=h.getConstructor(e,t,y,_),u(b.prototype,n),a.NEED=!0;return v(b,t),w[t]=b,o(o.G+o.W+o.F*(b!=m),w),g||h.setStrong(b,t,y),b}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(3),o=n(9),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(13)(Function.call,n(109).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){var r=n(110),o=n(20),i=n(22),u=n(33),a=n(11),c=n(32),s=Object.getOwnPropertyDescriptor;e.f=n(2)?s:function(t,e){if(t=i(t),e=u(e,!0),c)try{return s(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(48),n(14),n(29),n(60);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.table=e,this._columns={},this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){for(var t=this.table.querySelector("thead").querySelectorAll("th"),e=0;e<t.length;e++){var n={};n.name=t[e].id,n.type=AC.column_types[n.name],n.label=this.sanitizeLabel(t[e]),this._columns[t[e].id]=n}}},{key:"getColumns",value:function(){return this._columns}},{key:"getColumnsMap",value:function(){var t=new Map,e=this.getColumns();return Object.keys(e).forEach(function(n){t.set(n,e[n])}),t}},{key:"getColumnNames",value:function(){return Object.keys(this._columns)}},{key:"get",value:function(t){return!!this._columns[t]&&this._columns[t]}},{key:"sanitizeLabel",value:function(t){var e=t.querySelector("a"),n=t.innerHTML;if(e){var r=e.getElementsByTagName("span");r.length>0&&(n=r[0].innerHTML)}return n}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._object_id=e,this._column_name=n,this.el=r}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"getObjectID",value:function(){return this._object_id}},{key:"getName",value:function(){return this._column_name}},{key:"getElement",value:function(){return this.el}},{key:"getRow",value:function(){return this.el.parentElement}},{key:"getSettings",value:function(){return AdminColumns.Table.Columns.get(this.getName())}},{key:"setValue",value:function(t){return this.getElement().innerHTML=t,this}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(114),n(49);var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,null,[{key:"getParamFromUrl",value:function(t,e){if(!e)return null;t=t.replace(/[\[\]]/g,"\\amp;");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}}]),t}();e.default=o},function(t,e,n){var r=n(1),o=n(67),i=n(6).f,u=n(115).f,a=n(59),c=n(58),s=r.RegExp,l=s,f=s.prototype,p=/a/g,v=/a/g,d=new s(p)!==p;if(n(2)&&(!d||n(7)(function(){return v[n(0)("match")]=!1,s(p)!=p||s(v)==v||"/a/i"!=s(p,"i")}))){s=function(t,e){var n=this instanceof s,r=a(t),i=void 0===e;return!n&&r&&t.constructor===s&&i?t:o(d?new l(r&&!i?t.source:t,e):l((r=t instanceof s)?t.source:t,r&&i?c.call(t):e),n?this:f,s)};for(var h=function(t){t in s||i(s,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},y=u(l),g=0;y.length>g;)h(y[g++]);f.constructor=s,s.prototype=f,n(8)(r,"RegExp",s)}n(64)("RegExp")},function(t,e,n){var r=n(47),o=n(34).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(14);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.Table=e}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"getIDs",value:function(){var t=[],e=this.Table.el.querySelectorAll("tbody th.check-column input[type=checkbox]:checked");if(0===e.length)return t;for(var n=0;n<e.length;n++)t.push(e[n].value);return t}},{key:"getSelectedCells",value:function(t){var e=this,n=this.getIDs();if(0===n.length)return!1;var r=[];return n.forEach(function(n){var o=e.table.Cells.get(n,t);o&&r.push(o)}),r}},{key:"getCount",value:function(){return this.getIDs().length}},{key:"isAllSelected",value:function(){return!!this.Table.el.querySelector("thead #cb input:checked")}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.isEnabled=void 0!==jQuery.fn.qtip,this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){this.isEnabled?jQuery("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}):console.log("Tooltips not loaded!")}}]),t}();t.exports=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(37),n(14);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.columns=e,e.getColumnNames().forEach(function(n){var r=e.get(n),o=t.getInputByName(r.name);if(o&&0===o.parentElement.textContent.length){var i=document.createElement("span");i.innerHTML=r.label,o.parentElement.appendChild(i)}})}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,null,[{key:"getInputByName",value:function(t){var e=document.querySelector("input[name='".concat(t,"-hide']"));return e||!1}}]),t}();e.default=o}]);
1
+ !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=107)}([function(t,e,n){var r=n(26)("wks"),o=n(12),i=n(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){"use strict";var r=n(15),o=n(38)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(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 r=n(7),o=n(20);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(1),o=n(5),i=n(11),u=n(12)("src"),a=Function.toString,c=(""+a).split("toString");n(9).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,u)||o(n,u,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(10),o=n(32),i=n(33),u=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(37);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(1),o=n(9),i=n(5),u=n(6),a=n(13),c=function(t,e,n){var s,l,f,p,v=t&c.F,d=t&c.G,h=t&c.S,y=t&c.P,g=t&c.B,m=d?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});for(s in d&&(n=e),n)f=((l=!v&&m&&void 0!==m[s])?m:n)[s],p=g&&l?a(f,r):y&&"function"==typeof f?a(Function.call,f):f,m&&u(m,s,f,t&c.U),b[s]!=f&&i(b,s,p),y&&_[s]!=f&&(_[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(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 r=n(22),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(25),o=n(16);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(4),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(9),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var r=n(0)("unscopables"),o=Array.prototype;void 0==o[r]&&n(5)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";var r=n(28),o=n(48),i=n(18),u=n(23);t.exports=n(44)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(50),o=n(34);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(26)("keys"),o=n(12);t.exports=function(t){return r[t]||(r[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 r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(7).f,o=n(11),i=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(n(47));function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modals=[],this.number=1}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"register",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e||(e="m"+this.number),this.modals[e]=t,this.number++,t}},{key:"get",value:function(t){return!!this.modals[t]&&this.modals[t]}}],[{key:"init",value:function(){return void 0===AdminColumns.Modals&&(AdminColumns.Modals=new this,AdminColumns.Modals._abstract={modal:r.default}),AdminColumns.Modals}}]),t}();t.exports=i},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(13),o=n(25),i=n(17),u=n(21),a=n(39);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,l=4==t,f=6==t,p=5==t||f,v=e||a;return function(e,a,d){for(var h,y,g=i(e),m=o(g),b=r(a,d,3),_=u(m.length),w=0,x=n?v(e,_):c?v(e,0):void 0;_>w;w++)if((p||w in m)&&(y=b(h=m[w],w,g),t))if(n)x[w]=y;else if(y)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:x.push(h)}else if(l)return!1;return f?-1:s||l?l:x}}},function(t,e,n){var r=n(40);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(4),o=n(41),i=n(0)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(14);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(7).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(3)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){for(var r=n(29),o=n(30),i=n(6),u=n(1),a=n(5),c=n(18),s=n(0),l=s("iterator"),f=s("toStringTag"),p=c.Array,v={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(v),h=0;h<d.length;h++){var y,g=d[h],m=v[g],b=u[g],_=b&&b.prototype;if(_&&(_[l]||a(_,l,p),_[f]||a(_,f,g),c[g]=p,m))for(y in r)_[y]||i(_,y,r[y],!0)}},function(t,e,n){"use strict";var r=n(27),o=n(15),i=n(6),u=n(5),a=n(18),c=n(54),s=n(35),l=n(59),f=n(0)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,e,n,d,h,y,g){c(n,e,d);var m,b,_,w=function(t){if(!p&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",k="values"==h,C=!1,E=t.prototype,j=E[f]||E["@@iterator"]||h&&E[h],S=j||w(h),O=h?k?w("entries"):S:void 0,T="Array"==e&&E.entries||j;if(T&&(_=l(T.call(new t)))!==Object.prototype&&_.next&&(s(_,x,!0),r||"function"==typeof _[f]||u(_,f,v)),k&&j&&"values"!==j.name&&(C=!0,S=function(){return j.call(this)}),r&&!g||!p&&!C&&E[f]||u(E,f,S),a[e]=S,a[x]=v,h)if(m={values:k?S:w("values"),keys:y?S:w("keys"),entries:O},g)for(b in m)b in E||i(E,b,m[b]);else o(o.P+o.F*(p||C),e,m);return m}},function(t,e,n){"use strict";var r=n(51),o={};o[n(0)("toStringTag")]="z",o+""!="[object z]"&&n(6)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){n(53)("replace",2,function(t,e,n){return[function(r,o){"use strict";var i=t(this),u=void 0==r?void 0:r[e];return void 0!==u?u.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,n){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(n(36));function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e&&(this.el=e,this.dialog=e.querySelector(".ac-modal__dialog"),this.initEvents())}return function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(t,[{key:"initEvents",value:function(){var e=this,n=this;document.addEventListener("keydown",function(t){var n=event.key;e.isOpen()&&"Escape"===n&&e.close()});var r=this.el.querySelectorAll('[data-dismiss="modal"], .ac-modal__dialog__close');r.length>0&&r.forEach(function(t){t.addEventListener("click",function(t){t.preventDefault(),n.close()})}),this.el.addEventListener("click",function(){n.close()}),this.el.querySelector(".ac-modal__dialog").addEventListener("click",function(t){t.stopPropagation()}),void 0===document.querySelector("body").dataset.ac_modal_init&&(t.initGlobalEvents(),document.querySelector("body").dataset.ac_modal_init=1),this.el.AC_MODAL=n}},{key:"isOpen",value:function(){return this.el.classList.contains("-active")}},{key:"close",value:function(){this.onClose(),this.el.classList.remove("-active")}},{key:"open",value:function(){this.onOpen(),this.el.removeAttribute("style"),this.el.classList.add("-active")}},{key:"destroy",value:function(){this.el.remove()}},{key:"onClose",value:function(){}},{key:"onOpen",value:function(){}}],[{key:"initGlobalEvents",value:function(){jQuery(document).on("click","[data-ac-open-modal]",function(t){t.preventDefault();var e=t.target.dataset.acOpenModal,n=document.querySelector(e);n&&n.AC_MODAL&&n.AC_MODAL.open()}),jQuery(document).on("click","[data-ac-modal]",function(t){t.preventDefault();var e=jQuery(this).data("ac-modal");r.default.init().get(e)&&r.default.init().get(e).open()})}}]),t}();t.exports=i},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(10),o=n(55),i=n(34),u=n(31)("IE_PROTO"),a=function(){},c=function(){var t,e=n(24)("iframe"),r=i.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(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(11),o=n(23),i=n(56)(!1),u=n(31)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,s=[];for(n in a)n!=u&&r(a,n)&&s.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(14),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(17),o=n(30);n(60)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){"use strict";var r=n(5),o=n(6),i=n(8),u=n(16),a=n(0);t.exports=function(t,e,n){var c=a(t),s=n(u,c,""[t]),l=s[0],f=s[1];i(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,l),r(RegExp.prototype,c,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){"use strict";var r=n(49),o=n(20),i=n(35),u={};n(5)(u,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(7),o=n(10),i=n(30);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),a=u.length,c=0;a>c;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){var r=n(23),o=n(21),i=n(57);t.exports=function(t){return function(e,n,u){var a,c=r(e),s=o(c.length),l=i(u,s);if(t&&n!=n){for(;s>l;)if((a=c[l++])!=a)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(22),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(11),o=n(17),i=n(31)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(15),o=n(9),i=n(8);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},,,function(t,e,n){"use strict";var r=n(10);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(4),o=n(14),i=n(0)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){"use strict";var r=n(114)(!0);n(44)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(115),o=n(72);t.exports=n(119)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){var r=n(6);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(13),o=n(116),i=n(117),u=n(10),a=n(21),c=n(118),s={},l={};(e=t.exports=function(t,e,n,f,p){var v,d,h,y,g=p?function(){return t}:c(t),m=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(v=a(t.length);v>b;b++)if((y=e?m(u(d=t[b])[0],d[1]):m(t[b]))===s||y===l)return y}else for(h=g.call(t);!(d=h.next()).done;)if((y=o(h,m,d.value,e))===s||y===l)return y}).BREAK=s,e.RETURN=l},function(t,e,n){"use strict";var r=n(1),o=n(7),i=n(3),u=n(0)("species");t.exports=function(t){var e=r[t];i&&e&&!e[u]&&o.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(12)("meta"),o=n(4),i=n(11),u=n(7).f,a=0,c=Object.isExtensible||function(){return!0},s=!n(8)(function(){return c(Object.preventExtensions({}))}),l=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return s&&f.NEED&&c(t)&&!i(t,r)&&l(t),t}}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(4),o=n(121).set;t.exports=function(t,e,n){var i,u=e.constructor;return u!==n&&"function"==typeof u&&(i=u.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";(function(t){n(2);var e=u(n(108)),r=u(n(130)),o=u(n(36)),i=u(n(131));function u(t){return t&&t.__esModule?t:{default:t}}function a(t){t(".ac-more-link-show").click(function(e){e.preventDefault(),t(this).hide().closest("td").find(".ac-show-more-block").show()}),t(".ac-more-link-hide").click(function(e){e.preventDefault();var n=t(this).closest("td");n.find(".ac-more-link-show").show(),n.find(".ac-show-more-block").hide()})}function c(t,e){t(e).each(function(){var e=t(this);e.find(".cpac_use_icons").length>0&&e.addClass("cpac_use_icons")}),t(e).find(".cpac_use_icons + .hidden + .row-actions > span").each(function(){var e=t(this).find("a");e.attr("data-ac-tip",e.text()).addClass("ac-tip")})}t.AdminColumns="undefined"!=typeof AdminColumns?AdminColumns:{},o.default.init(),jQuery(document).ready(function(t){!function(t){t(document).ajaxComplete(function(e,n){var r=document.implementation.createHTMLDocument("quickeditevents"),o=t("<div>",r);if(o.append(n.responseText),1===o.find("tr.iedit").length){var i=o.find("tr.iedit").attr("id");t("tr#"+i).trigger("updated",{id:i})}})}(t),c(t,t(".column-actions")),a(t),function(t){t(".ac-toggle-box-link").click(function(e){e.preventDefault(),t(this).next(".ac-toggle-box-contents").toggle()})}(t),function(t){var e=function(e){e.preventDefault(),t(this).next(".ac-toggle-box-contents-ajax").toggle()};t("a[data-ajax-populate=1]").bind("click",function n(r){r.preventDefault();var o=t(this),i={action:"ac_get_column_value",list_screen:AC.list_screen,layout:AC.layout,column:o.data("column"),pk:o.attr("data-item-id"),_ajax_nonce:AC.ajax_nonce};o.addClass("loading"),t.post(ajaxurl,i,function(r){r&&(o.after('<div class="ac-toggle-box-contents-ajax">'+r+"</div>"),o.unbind("click",n).bind("click",e),t(o.parent("td")).trigger("ajax_column_value_ready"),AdminColumns.Tooltips.init())}).always(function(){o.removeClass("loading")})})}(t),function(t){t(".row-actions a").qtip({content:{text:function(){return t(this).text()}},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}(t);var e=document.querySelector(AC.table_id);e&&(ac_load_table(e.parentElement),AdminColumns.ScreenOptionsColumns=new i.default(AdminColumns.Table.Columns)),AdminColumns.Tooltips=new r.default,t(".wp-list-table").on("updated","tr",function(){AdminColumns.Table.addCellClasses(),c(t,t(this).find(".column-actions")),a(t)})}),t.ac_load_table=function(t){AdminColumns.Table=new e.default(t),AC.Table=AdminColumns.Table},function(){if("function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t}()}).call(this,n(19))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(109),n(46);var r=s(n(110)),o=s(n(111)),i=s(n(124)),u=s(n(125)),a=s(n(126)),c=s(n(129));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.Helper=a.default,this.Columns=new i.default(e),this.Cells=new o.default,this.Actions=new r.default("ac-table-actions"),this.Selection=new c.default(this),this._ids=[],this.init()}return function(t,e,n){e&&l(t.prototype,e),n&&l(t,n)}(t,[{key:"init",value:function(){this._initTable(),this.addCellClasses(),document.dispatchEvent(new CustomEvent("AC_Table_Ready",{detail:{table:this}}))}},{key:"updateRow",value:function(t){var e=this._getIDFromRow(t);t.dataset.id=e,this._setCellsForRow(t,e)}},{key:"addCellClasses",value:function(){var t=this;this.Columns.getColumnNames().forEach(function(e){var n=t.Columns.get(e).type;t.Cells.getByName(e).forEach(function(t){t.el.classList.add(n)})})}},{key:"_initTable",value:function(){for(var t=this.el.getElementsByTagName("tbody")[0].getElementsByTagName("tr"),e=0;e<t.length;e++){var n=t[e],r=this._getIDFromRow(n);this._ids.push(r),this.updateRow(n)}}},{key:"_setCellsForRow",value:function(t){var e=this,n=this._getIDFromRow(t);this.Columns.getColumnNames().forEach(function(r){var o=r.replace(/\./g,"\\."),i=t.querySelector(".column-"+o);if(i){var a=new u.default(n,r,i);e.Cells.add(n,a),e._addColumnCellMethods(a)}})}},{key:"_addColumnCellMethods",value:function(t){t.el.getCell=function(){return t}}},{key:"_getIDFromRow",value:function(t){var e=t.id,n=e.split(/[_,\-]+/),r=n[n.length-1];if(t.classList.contains("no-items"))return 0;if(!r){var o=t.querySelector(".check-column input[type=checkbox]");o&&(r=(n=(e=o.id).split("_"))[n.length-1])}if(!r){var i=t.parentElement.querySelector(".edit a");if(i){var u=i.getAttribute("href");u&&(r=this.Helper.getParamFromUrl("id",u))}}return t.dataset.id=r,document.dispatchEvent(new CustomEvent("AC_Table_Row_Id",{detail:{row:t}})),t.dataset.id}},{key:"getRowCellByName",value:function(t,e){return t.querySelector(".column-".concat(e))}}],[{key:"getTable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?t(this.el):this.el}}]),t}();e.default=f},function(t,e,n){n(53)("split",2,function(t,e,r){"use strict";var o=n(64),i=r,u=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var a=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,c,s,l,f,p=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,h=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,v+"g");for(a||(r=new RegExp("^"+y.source+"$(?!\\s)",v));(c=y.exec(n))&&!((s=c.index+c[0].length)>d&&(p.push(n.slice(d,c.index)),!a&&c.length>1&&c[0].replace(r,function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(c[f]=void 0)}),c.length>1&&c.index<n.length&&u.apply(p,c.slice(1)),l=c[0].length,d=s,p.length>=h));)y.lastIndex===c.index&&y.lastIndex++;return d===n.length?!l&&y.test("")||p.push(""):p.push(n.slice(d)),p.length>h?p.slice(0,h):p}}else"0".split(void 0,0).length&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),u=void 0==n?void 0:n[e];return void 0!==u?u.call(n,i,o):r.call(String(i),n,o)},r]})},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(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.container=document.getElementById(e),this.buttons=this.container.querySelector(".ac-table-actions-buttons"),this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){var t=this;this.dropDownEvents(),jQuery(this.container).on("update",function(){t.refresh()}).insertAfter(jQuery(".tablenav.top .actions:last")).addClass("-init").trigger("update")}},{key:"refresh",value:function(){var t=jQuery(this.buttons);t.find("> a").removeClass("last"),t.find("> a:visible:last").addClass("last")}},{key:"dropDownEvents",value:function(){jQuery(this.buttons).on("click","[data-dropdown]",function(){var t=jQuery(this);t.toggleClass("-open"),t.hasClass("-open")?t[0].dispatchEvent(new CustomEvent("open")):t[0].dispatchEvent(new CustomEvent("closed"))})}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(112),n(43),n(29),n(45),n(65),n(66);var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._cells=new Map}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"add",value:function(t,e){this._cells.has(t)||this._cells.set(t,new Map),this._cells.get(t).set(e.getName(),e)}},{key:"getByID",value:function(t){var e=[],n=t.toString();return this._cells.has(n)?(this._cells.get(t.toString()).forEach(function(t){e.push(t)}),e):e}},{key:"getAll",value:function(){var t=[];return this._cells.forEach(function(e){e.forEach(function(e){t.push(e)})}),t}},{key:"getByName",value:function(t){var e=[];return this._cells.forEach(function(n){n.forEach(function(n,r){t===r&&e.push(n)})}),e}},{key:"get",value:function(t,e){var n=this._cells.get(t.toString());return!!n&&n.get(e)}}]),t}();e.default=o},function(t,e,n){"use strict";n(113);var r=n(10),o=n(63),i=n(3),u=/./.toString,a=function(t){n(6)(RegExp.prototype,"toString",t,!0)};n(8)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?a(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=u.name&&a(function(){return u.call(this)})},function(t,e,n){n(3)&&"g"!=/./g.flags&&n(7).f(RegExp.prototype,"flags",{configurable:!0,get:n(63)})},function(t,e,n){var r=n(22),o=n(16);t.exports=function(t){return function(e,n){var i,u,a=String(o(e)),c=r(n),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(7).f,o=n(49),i=n(67),u=n(13),a=n(68),c=n(69),s=n(44),l=n(48),f=n(70),p=n(3),v=n(71).fastKey,d=n(72),h=p?"_s":"size",y=function(t,e){var n,r=v(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){a(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,void 0!=r&&c(r,n,t[s],t)});return i(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var n=d(this,e),r=y(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[h]--}return!!r},forEach:function(t){d(this,e);for(var n,r=u(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!y(d(this,e),t)}}),p&&r(l.prototype,"size",{get:function(){return d(this,e)[h]}}),l},def:function(t,e,n){var r,o,i=y(t,e);return i?i.v=n:(t._l=i={i:o=v(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[h]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,e,n){s(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?l(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(18),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(51),o=n(0)("iterator"),i=n(18);t.exports=n(9).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(1),o=n(15),i=n(6),u=n(67),a=n(71),c=n(69),s=n(68),l=n(4),f=n(8),p=n(120),v=n(35),d=n(73);t.exports=function(t,e,n,h,y,g){var m=r[t],b=m,_=y?"set":"add",w=b&&b.prototype,x={},k=function(t){var e=w[t];i(w,t,"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||w.forEach&&!f(function(){(new b).entries().next()}))){var C=new b,E=C[_](g?{}:-0,1)!=C,j=f(function(){C.has(1)}),S=p(function(t){new b(t)}),O=!g&&f(function(){for(var t=new b,e=5;e--;)t[_](e,e);return!t.has(-0)});S||((b=e(function(e,n){s(e,b,t);var r=d(new m,e,b);return void 0!=n&&c(n,y,r[_],r),r})).prototype=w,w.constructor=b),(j||O)&&(k("delete"),k("has"),y&&k("get")),(O||E)&&k(_),g&&w.clear&&delete w.clear}else b=h.getConstructor(e,t,y,_),u(b.prototype,n),a.NEED=!0;return v(b,t),x[t]=b,o(o.G+o.W+o.F*(b!=m),x),g||h.setStrong(b,t,y),b}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(4),o=n(10),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(13)(Function.call,n(122).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){var r=n(123),o=n(20),i=n(23),u=n(33),a=n(11),c=n(32),s=Object.getOwnPropertyDescriptor;e.f=n(3)?s:function(t,e){if(t=i(t),e=u(e,!0),c)try{return s(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(52),n(43),n(29),n(45),n(65),n(66);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.table=e,this._columns={},this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){for(var t=this.table.querySelector("thead").querySelectorAll("th"),e=0;e<t.length;e++){var n={};n.name=t[e].id,n.type=AC.column_types[n.name],n.label=this.sanitizeLabel(t[e]),this._columns[t[e].id]=n}}},{key:"getColumns",value:function(){return this._columns}},{key:"getColumnsMap",value:function(){var t=new Map,e=this.getColumns();return Object.keys(e).forEach(function(n){t.set(n,e[n])}),t}},{key:"getColumnNames",value:function(){return Object.keys(this._columns)}},{key:"get",value:function(t){return!!this._columns[t]&&this._columns[t]}},{key:"sanitizeLabel",value:function(t){var e=t.querySelector("a"),n=t.innerHTML;if(e){var r=e.getElementsByTagName("span");r.length>0&&(n=r[0].innerHTML)}return n}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._object_id=e,this._column_name=n,this.el=r}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"getObjectID",value:function(){return this._object_id}},{key:"getName",value:function(){return this._column_name}},{key:"getElement",value:function(){return this.el}},{key:"getRow",value:function(){return this.el.parentElement}},{key:"getSettings",value:function(){return AdminColumns.Table.Columns.get(this.getName())}},{key:"setValue",value:function(t){return this.getElement().innerHTML=t,this}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(127),n(46);var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,null,[{key:"getParamFromUrl",value:function(t,e){if(!e)return null;t=t.replace(/[\[\]]/g,"\\amp;");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}}]),t}();e.default=o},function(t,e,n){var r=n(1),o=n(73),i=n(7).f,u=n(128).f,a=n(64),c=n(63),s=r.RegExp,l=s,f=s.prototype,p=/a/g,v=/a/g,d=new s(p)!==p;if(n(3)&&(!d||n(8)(function(){return v[n(0)("match")]=!1,s(p)!=p||s(v)==v||"/a/i"!=s(p,"i")}))){s=function(t,e){var n=this instanceof s,r=a(t),i=void 0===e;return!n&&r&&t.constructor===s&&i?t:o(d?new l(r&&!i?t.source:t,e):l((r=t instanceof s)?t.source:t,r&&i?c.call(t):e),n?this:f,s)};for(var h=function(t){t in s||i(s,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},y=u(l),g=0;y.length>g;)h(y[g++]);f.constructor=s,s.prototype=f,n(6)(r,"RegExp",s)}n(70)("RegExp")},function(t,e,n){var r=n(50),o=n(34).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.Table=e}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"getIDs",value:function(){var t=[],e=this.Table.el.querySelectorAll("tbody th.check-column input[type=checkbox]:checked");if(0===e.length)return t;for(var n=0;n<e.length;n++)t.push(e[n].value);return t}},{key:"getSelectedCells",value:function(t){var e=this,n=this.getIDs();if(0===n.length)return!1;var r=[];return n.forEach(function(n){var o=e.table.Cells.get(n,t);o&&r.push(o)}),r}},{key:"getCount",value:function(){return this.getIDs().length}},{key:"isAllSelected",value:function(){return!!this.Table.el.querySelector("thead #cb input:checked")}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.isEnabled=void 0!==jQuery.fn.qtip,this.init()}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,[{key:"init",value:function(){this.isEnabled?jQuery("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}}):console.log("Tooltips not loaded!")}}]),t}();t.exports=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(42);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.columns=e,e.getColumnNames().forEach(function(n){var r=e.get(n),o=t.getInputByName(r.name);if(o&&0===o.parentElement.textContent.length){var i=document.createElement("span");i.innerHTML=r.label,o.parentElement.appendChild(i)}})}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(t,null,[{key:"getInputByName",value:function(t){var e=document.querySelector("input[name='".concat(t,"-hide']"));return e||!1}}]),t}();e.default=o}]);
classes/Admin/Page/Addons.php CHANGED
@@ -10,10 +10,8 @@ use AC\PluginInformation;
10
class Addons extends Page
11
implements AC\Registrable {
12
13
- const NAME = 'addons';
14
-
15
public function __construct() {
16
- parent::__construct( self::NAME, __( 'Add-ons', 'codepress-admin-columns' ) );
17
}
18
19
/**
@@ -21,7 +19,6 @@ class Addons extends Page
21
*/
22
public function register() {
23
$this->handle_request();
24
- $this->handle_install_request();
25
$this->page_notices();
26
27
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
@@ -131,15 +128,17 @@ class Addons extends Page
131
);
132
}
133
134
- private function get_link() {
135
- return ac_get_admin_url( $this->get_slug() );
136
- }
137
-
138
/**
139
* Admin scripts
140
*/
141
public function admin_scripts() {
142
wp_enqueue_style( 'ac-admin-page-addons', AC()->get_url() . 'assets/css/admin-page-addons.css', array(), AC()->get_version() );
143
}
144
145
/**
@@ -156,57 +155,10 @@ class Addons extends Page
156
$notice->register();
157
}
158
159
- /**
160
- * Handles the installation of the add-on
161
- * @since 2.2
162
- */
163
- public function handle_install_request() {
164
- if ( ! wp_verify_nonce( filter_input( INPUT_GET, '_wpnonce' ), 'install-ac-addon' ) ) {
165
- return;
166
- }
167
-
168
- $dirname = filter_input( INPUT_GET, 'plugin' );
169
-
170
- if ( ! $dirname ) {
171
- return;
172
- }
173
-
174
- if ( ! ac_is_pro_active() ) {
175
- $this->register_notice( __( 'You need Admin Columns Pro.', 'codepress-admin-columns' ), Notice::ERROR );
176
-
177
- return;
178
- }
179
-
180
- $integration = AC\IntegrationFactory::create_by_dirname( $dirname );
181
-
182
- if ( ! $integration ) {
183
- $this->register_notice( __( 'Addon does not exist.', 'codepress-admin-columns' ), Notice::ERROR );
184
-
185
- return;
186
- }
187
-
188
- $error_message = apply_filters( 'ac/addons/install_request/maybe_error', false, $integration->get_slug() );
189
-
190
- if ( $error_message ) {
191
- $this->register_notice( $error_message, Notice::ERROR );
192
-
193
- return;
194
- }
195
-
196
- $install_url = add_query_arg( array(
197
- 'action' => 'install-plugin',
198
- 'plugin' => $integration->get_slug(),
199
- 'ac-redirect' => true,
200
- ), wp_nonce_url( self_admin_url( 'update.php' ), 'install-plugin_' . $integration->get_slug() ) );
201
-
202
- wp_redirect( $install_url );
203
- exit;
204
- }
205
-
206
/**
207
* Addons are grouped into addon groups by providing the group an addon belongs to.
208
- * @since 2.2
209
* @return array Available addon groups ([group_name] => [label])
210
*/
211
public function get_addon_groups() {
212
$addon_groups = array(
@@ -217,9 +169,10 @@ class Addons extends Page
217
218
/**
219
* Filter the addon groups
220
- * @since 2.2
221
*
222
* @param array $addon_groups Available addon groups ([group_name] => [label])
223
*/
224
return apply_filters( 'ac/addons/groups', $addon_groups );
225
}
@@ -250,8 +203,8 @@ class Addons extends Page
250
251
/**
252
* Group a list of add-ons
253
- * @since 3.0
254
* @return array A list of addons per group: [group_name] => (array) [group_addons], where [group_addons] is an array ([addon_name] => (array) [addon_details])
255
*/
256
private function get_grouped_addons() {
257
$active = array();
@@ -336,18 +289,6 @@ class Addons extends Page
336
), wp_nonce_url( admin_url( 'plugins.php' ), $action . '-plugin_' . $basename ) );
337
}
338
339
- /**
340
- * @param string $slug
341
- *
342
- * @return string
343
- */
344
- private function get_plugin_install_url( $slug ) {
345
- return add_query_arg( array(
346
- 'action' => 'install',
347
- 'plugin' => $slug,
348
- ), wp_nonce_url( $this->get_link(), 'install-ac-addon' ) );
349
- } <