Hustle – Pop-Ups, Slide-ins and Email Opt-ins - Version 4.7.1.0

Version Description

  • Fix incompatibility with ACF Pro plugin
  • Fix issue that made rules inaccessible (not clickable in editor)
  • Fix several PHP warnings and notices
Download this release

Release Info

Developer stracker.phil
Plugin Icon 128x128 Hustle – Pop-Ups, Slide-ins and Email Opt-ins
Version 4.7.1.0
Comparing to
See all releases

Code changes from version 4.7.0.7 to 4.7.1.0

Files changed (77) hide show
  1. changelog.txt +17 -0
  2. css/animate.css +2733 -0
  3. css/animate.min.css +11 -0
  4. css/popup-admin.css +52 -2
  5. css/popup-admin.min.css +2 -2
  6. css/vendor/animate.scss +3159 -0
  7. inc/addons/class-popup-addon-anonymous.php +47 -1
  8. inc/class-popup-admin.php +19 -3
  9. inc/class-popup-base.php +145 -48
  10. inc/class-popup-database.php +24 -23
  11. inc/class-popup-item.php +9 -5
  12. inc/class-popup-posttype.php +1 -1
  13. inc/class-popup-public.php +134 -34
  14. inc/class-popup-rule.php +10 -4
  15. inc/config-defaults.php +1 -1
  16. inc/external/wdev-frash/README.md +42 -0
  17. inc/external/wdev-frash/admin.css +180 -0
  18. inc/external/wdev-frash/admin.js +131 -0
  19. inc/external/wdev-frash/module.php +457 -0
  20. inc/external/wpmu-lib/changelog.txt +17 -0
  21. inc/external/wpmu-lib/core.php +2 -2
  22. inc/external/wpmu-lib/css/fontawesome.2.min.css +1 -1
  23. inc/external/wpmu-lib/css/jquery-ui.wpmui.2.min.css +1 -1
  24. inc/external/wpmu-lib/css/select2.2.min.css +1 -1
  25. inc/external/wpmu-lib/css/wpmu-card-list.2.css +65 -0
  26. inc/external/wpmu-lib/css/wpmu-card-list.2.min.css +2 -2
  27. inc/external/wpmu-lib/css/wpmu-html.2.css +118 -6
  28. inc/external/wpmu-lib/css/wpmu-html.2.min.css +2 -2
  29. inc/external/wpmu-lib/css/wpmu-ui.2.css +77 -5
  30. inc/external/wpmu-lib/css/wpmu-ui.2.min.css +2 -2
  31. inc/external/wpmu-lib/css/wpmu-vnav.2.min.css +1 -1
  32. inc/external/wpmu-lib/inc/class-thelib-array.php +1 -1
  33. inc/external/wpmu-lib/inc/class-thelib-core.php +77 -3
  34. inc/external/wpmu-lib/inc/class-thelib-debug.php +11 -5
  35. inc/external/wpmu-lib/inc/class-thelib-html.php +83 -43
  36. inc/external/wpmu-lib/inc/class-thelib-net.php +1 -1
  37. inc/external/wpmu-lib/inc/class-thelib-session.php +1 -1
  38. inc/external/wpmu-lib/inc/class-thelib-ui.php +32 -8
  39. inc/external/wpmu-lib/inc/class-thelib-updates.php +1 -1
  40. inc/external/wpmu-lib/inc/class-thelib.php +1 -1
  41. inc/external/wpmu-lib/js/select2.2.js +1 -1
  42. inc/external/wpmu-lib/js/select2.2.min.js +1 -1
  43. inc/external/wpmu-lib/js/tiny-scrollbar.2.js +1 -1
  44. inc/external/wpmu-lib/js/tiny-scrollbar.2.min.js +1 -1
  45. inc/external/wpmu-lib/js/wpmu-card-list.2.js +1 -1
  46. inc/external/wpmu-lib/js/wpmu-card-list.2.min.js +1 -1
  47. inc/external/wpmu-lib/js/wpmu-ui.2.js +290 -9
  48. inc/external/wpmu-lib/js/wpmu-ui.2.min.js +2 -2
  49. inc/external/wpmu-lib/js/wpmu-vnav.2.js +1 -1
  50. inc/external/wpmu-lib/js/wpmu-vnav.2.min.js +1 -1
  51. inc/external/wpmu-lib/view/list.php +3 -1
  52. inc/rules/class-popup-rule-datetime.php +16 -0
  53. inc/rules/class-popup-rule-popup.php +6 -3
  54. inc/rules/class-popup-rule-protectedcontent.php +7 -4
  55. inc/rules/class-popup-rule-referrer.php +9 -5
  56. inc/rules/class-popup-rule-url.php +5 -6
  57. js/ace.js +1 -1
  58. js/ace.min.js +1 -1
  59. js/popup-admin.js +1 -1
  60. js/popup-admin.min.js +1 -1
  61. js/public.js +44 -2
  62. js/public.min.js +2 -2
  63. js/theme-chrome.js +1 -1
  64. js/theme-chrome.min.js +1 -1
  65. js/worker-css.js +1 -1
  66. js/worker-css.min.js +1 -1
  67. lang/{popover-en_EN.mo → popover-en_US.mo} +0 -0
  68. lang/{popover-en_EN.po → popover-en_US.po} +0 -0
  69. popover.php +17 -4
  70. readme.txt +16 -2
  71. views/info-shortcodes.php +7 -0
  72. views/meta-appearance.php +43 -48
  73. views/meta-behavior.php +30 -30
  74. views/meta-customcss.php +3 -19
  75. views/meta-rules.php +1 -1
  76. views/meta-submitdiv.php +4 -2
  77. views/settings.php +1 -0
changelog.txt CHANGED
@@ -4,6 +4,23 @@ Author: Barry (Incsub), Marko Miljus (Incsub), Philipp Stracker (Incsub)
4
  Change Log:
5
  ----------------------------------------------------------------------
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  4.7.0.7
8
  ----------------------------------------------------------------------
9
  - Add a link target option for CTA Button (use _blank to open CTA in new tab)
4
  Change Log:
5
  ----------------------------------------------------------------------
6
 
7
+ 4.7.1.0
8
+ ----------------------------------------------------------------------
9
+ - Add new rules: Show on date, Hide on date
10
+ - Fix incompatibility with ACF Pro plugin
11
+ - Fix issue that made rules inaccessible (not clickable in editor)
12
+ - Fix several PHP warnings and notices
13
+
14
+ 4.7.0.9
15
+ ----------------------------------------------------------------------
16
+ We added a lot of PRO features to the free version:
17
+ - Free version can activate up to 3 PopUps at the same time!
18
+ - Free version can now use the custom CSS editor for PopUps!
19
+ - Free version now suppors PopUp Animations!
20
+ - Free version can use all Form Submit actions!
21
+ - Free version unlocked the Color options for PopUps!
22
+ - Small code improvements to avoid PHP notices
23
+
24
  4.7.0.7
25
  ----------------------------------------------------------------------
26
  - Add a link target option for CTA Button (use _blank to open CTA in new tab)
css/animate.css ADDED
@@ -0,0 +1,2733 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ Animate.css - http://daneden.me/animate
3
+ Licensed under the MIT license - http://opensource.org/licenses/MIT
4
+
5
+ Copyright (c) 2014 Daniel Eden
6
+ https://raw.githubusercontent.com/daneden/animate.css/master/animate.css
7
+ */
8
+ .animated {
9
+ -webkit-animation-duration: 1s;
10
+ animation-duration: 1s;
11
+ -webkit-animation-fill-mode: both;
12
+ animation-fill-mode: both;
13
+ }
14
+
15
+ .animated.infinite {
16
+ -webkit-animation-iteration-count: infinite;
17
+ animation-iteration-count: infinite;
18
+ }
19
+
20
+ .animated.hinge {
21
+ -webkit-animation-duration: 2s;
22
+ animation-duration: 2s;
23
+ }
24
+
25
+ @-webkit-keyframes bounce {
26
+ 0%, 20%, 53%, 80%, 100% {
27
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
28
+ -webkit-transform: translate3d(0, 0, 0);
29
+ transform: translate3d(0, 0, 0);
30
+ }
31
+ 40%, 43% {
32
+ transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
33
+ -webkit-transform: translate3d(0, -30px, 0);
34
+ transform: translate3d(0, -30px, 0);
35
+ }
36
+ 70% {
37
+ transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
38
+ -webkit-transform: translate3d(0, -15px, 0);
39
+ transform: translate3d(0, -15px, 0);
40
+ }
41
+ 90% {
42
+ -webkit-transform: translate3d(0, -4px, 0);
43
+ transform: translate3d(0, -4px, 0);
44
+ }
45
+ }
46
+ @keyframes bounce {
47
+ 0%, 20%, 53%, 80%, 100% {
48
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
49
+ -webkit-transform: translate3d(0, 0, 0);
50
+ transform: translate3d(0, 0, 0);
51
+ }
52
+ 40%, 43% {
53
+ transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
54
+ -webkit-transform: translate3d(0, -30px, 0);
55
+ transform: translate3d(0, -30px, 0);
56
+ }
57
+ 70% {
58
+ transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
59
+ -webkit-transform: translate3d(0, -15px, 0);
60
+ transform: translate3d(0, -15px, 0);
61
+ }
62
+ 90% {
63
+ -webkit-transform: translate3d(0, -4px, 0);
64
+ transform: translate3d(0, -4px, 0);
65
+ }
66
+ }
67
+ .bounce {
68
+ -webkit-animation-name: bounce;
69
+ animation-name: bounce;
70
+ -webkit-transform-origin: center bottom;
71
+ -ms-transform-origin: center bottom;
72
+ transform-origin: center bottom;
73
+ }
74
+
75
+ @-webkit-keyframes flash {
76
+ 0%, 50%, 100% {
77
+ opacity: 1;
78
+ }
79
+ 25%, 75% {
80
+ opacity: 0;
81
+ }
82
+ }
83
+ @keyframes flash {
84
+ 0%, 50%, 100% {
85
+ opacity: 1;
86
+ }
87
+ 25%, 75% {
88
+ opacity: 0;
89
+ }
90
+ }
91
+ .flash {
92
+ -webkit-animation-name: flash;
93
+ animation-name: flash;
94
+ }
95
+
96
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
97
+ @-webkit-keyframes pulse {
98
+ 0% {
99
+ -webkit-transform: scale3d(1, 1, 1);
100
+ transform: scale3d(1, 1, 1);
101
+ }
102
+ 50% {
103
+ -webkit-transform: scale3d(1.05, 1.05, 1.05);
104
+ transform: scale3d(1.05, 1.05, 1.05);
105
+ }
106
+ 100% {
107
+ -webkit-transform: scale3d(1, 1, 1);
108
+ transform: scale3d(1, 1, 1);
109
+ }
110
+ }
111
+ @keyframes pulse {
112
+ 0% {
113
+ -webkit-transform: scale3d(1, 1, 1);
114
+ transform: scale3d(1, 1, 1);
115
+ }
116
+ 50% {
117
+ -webkit-transform: scale3d(1.05, 1.05, 1.05);
118
+ transform: scale3d(1.05, 1.05, 1.05);
119
+ }
120
+ 100% {
121
+ -webkit-transform: scale3d(1, 1, 1);
122
+ transform: scale3d(1, 1, 1);
123
+ }
124
+ }
125
+ .pulse {
126
+ -webkit-animation-name: pulse;
127
+ animation-name: pulse;
128
+ }
129
+
130
+ @-webkit-keyframes rubberBand {
131
+ 0% {
132
+ -webkit-transform: scale3d(1, 1, 1);
133
+ transform: scale3d(1, 1, 1);
134
+ }
135
+ 30% {
136
+ -webkit-transform: scale3d(1.25, 0.75, 1);
137
+ transform: scale3d(1.25, 0.75, 1);
138
+ }
139
+ 40% {
140
+ -webkit-transform: scale3d(0.75, 1.25, 1);
141
+ transform: scale3d(0.75, 1.25, 1);
142
+ }
143
+ 50% {
144
+ -webkit-transform: scale3d(1.15, 0.85, 1);
145
+ transform: scale3d(1.15, 0.85, 1);
146
+ }
147
+ 65% {
148
+ -webkit-transform: scale3d(0.95, 1.05, 1);
149
+ transform: scale3d(0.95, 1.05, 1);
150
+ }
151
+ 75% {
152
+ -webkit-transform: scale3d(1.05, 0.95, 1);
153
+ transform: scale3d(1.05, 0.95, 1);
154
+ }
155
+ 100% {
156
+ -webkit-transform: scale3d(1, 1, 1);
157
+ transform: scale3d(1, 1, 1);
158
+ }
159
+ }
160
+ @keyframes rubberBand {
161
+ 0% {
162
+ -webkit-transform: scale3d(1, 1, 1);
163
+ transform: scale3d(1, 1, 1);
164
+ }
165
+ 30% {
166
+ -webkit-transform: scale3d(1.25, 0.75, 1);
167
+ transform: scale3d(1.25, 0.75, 1);
168
+ }
169
+ 40% {
170
+ -webkit-transform: scale3d(0.75, 1.25, 1);
171
+ transform: scale3d(0.75, 1.25, 1);
172
+ }
173
+ 50% {
174
+ -webkit-transform: scale3d(1.15, 0.85, 1);
175
+ transform: scale3d(1.15, 0.85, 1);
176
+ }
177
+ 65% {
178
+ -webkit-transform: scale3d(0.95, 1.05, 1);
179
+ transform: scale3d(0.95, 1.05, 1);
180
+ }
181
+ 75% {
182
+ -webkit-transform: scale3d(1.05, 0.95, 1);
183
+ transform: scale3d(1.05, 0.95, 1);
184
+ }
185
+ 100% {
186
+ -webkit-transform: scale3d(1, 1, 1);
187
+ transform: scale3d(1, 1, 1);
188
+ }
189
+ }
190
+ .rubberBand {
191
+ -webkit-animation-name: rubberBand;
192
+ animation-name: rubberBand;
193
+ }
194
+
195
+ @-webkit-keyframes shake {
196
+ 0%, 100% {
197
+ -webkit-transform: translate3d(0, 0, 0);
198
+ transform: translate3d(0, 0, 0);
199
+ }
200
+ 10%, 30%, 50%, 70%, 90% {
201
+ -webkit-transform: translate3d(-10px, 0, 0);
202
+ transform: translate3d(-10px, 0, 0);
203
+ }
204
+ 20%, 40%, 60%, 80% {
205
+ -webkit-transform: translate3d(10px, 0, 0);
206
+ transform: translate3d(10px, 0, 0);
207
+ }
208
+ }
209
+ @keyframes shake {
210
+ 0%, 100% {
211
+ -webkit-transform: translate3d(0, 0, 0);
212
+ transform: translate3d(0, 0, 0);
213
+ }
214
+ 10%, 30%, 50%, 70%, 90% {
215
+ -webkit-transform: translate3d(-10px, 0, 0);
216
+ transform: translate3d(-10px, 0, 0);
217
+ }
218
+ 20%, 40%, 60%, 80% {
219
+ -webkit-transform: translate3d(10px, 0, 0);
220
+ transform: translate3d(10px, 0, 0);
221
+ }
222
+ }
223
+ .shake {
224
+ -webkit-animation-name: shake;
225
+ animation-name: shake;
226
+ }
227
+
228
+ @-webkit-keyframes swing {
229
+ 20% {
230
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
231
+ transform: rotate3d(0, 0, 1, 15deg);
232
+ }
233
+ 40% {
234
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
235
+ transform: rotate3d(0, 0, 1, -10deg);
236
+ }
237
+ 60% {
238
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
239
+ transform: rotate3d(0, 0, 1, 5deg);
240
+ }
241
+ 80% {
242
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
243
+ transform: rotate3d(0, 0, 1, -5deg);
244
+ }
245
+ 100% {
246
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
247
+ transform: rotate3d(0, 0, 1, 0deg);
248
+ }
249
+ }
250
+ @keyframes swing {
251
+ 20% {
252
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
253
+ transform: rotate3d(0, 0, 1, 15deg);
254
+ }
255
+ 40% {
256
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
257
+ transform: rotate3d(0, 0, 1, -10deg);
258
+ }
259
+ 60% {
260
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
261
+ transform: rotate3d(0, 0, 1, 5deg);
262
+ }
263
+ 80% {
264
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
265
+ transform: rotate3d(0, 0, 1, -5deg);
266
+ }
267
+ 100% {
268
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
269
+ transform: rotate3d(0, 0, 1, 0deg);
270
+ }
271
+ }
272
+ .swing {
273
+ -webkit-transform-origin: top center;
274
+ -ms-transform-origin: top center;
275
+ transform-origin: top center;
276
+ -webkit-animation-name: swing;
277
+ animation-name: swing;
278
+ }
279
+
280
+ @-webkit-keyframes tada {
281
+ 0% {
282
+ -webkit-transform: scale3d(1, 1, 1);
283
+ transform: scale3d(1, 1, 1);
284
+ }
285
+ 10%, 20% {
286
+ -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
287
+ transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
288
+ }
289
+ 30%, 50%, 70%, 90% {
290
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
291
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
292
+ }
293
+ 40%, 60%, 80% {
294
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
295
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
296
+ }
297
+ 100% {
298
+ -webkit-transform: scale3d(1, 1, 1);
299
+ transform: scale3d(1, 1, 1);
300
+ }
301
+ }
302
+ @keyframes tada {
303
+ 0% {
304
+ -webkit-transform: scale3d(1, 1, 1);
305
+ transform: scale3d(1, 1, 1);
306
+ }
307
+ 10%, 20% {
308
+ -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
309
+ transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
310
+ }
311
+ 30%, 50%, 70%, 90% {
312
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
313
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
314
+ }
315
+ 40%, 60%, 80% {
316
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
317
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
318
+ }
319
+ 100% {
320
+ -webkit-transform: scale3d(1, 1, 1);
321
+ transform: scale3d(1, 1, 1);
322
+ }
323
+ }
324
+ .tada {
325
+ -webkit-animation-name: tada;
326
+ animation-name: tada;
327
+ }
328
+
329
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
330
+ @-webkit-keyframes wobble {
331
+ 0% {
332
+ -webkit-transform: none;
333
+ transform: none;
334
+ }
335
+ 15% {
336
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
337
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
338
+ }
339
+ 30% {
340
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
341
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
342
+ }
343
+ 45% {
344
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
345
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
346
+ }
347
+ 60% {
348
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
349
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
350
+ }
351
+ 75% {
352
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
353
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
354
+ }
355
+ 100% {
356
+ -webkit-transform: none;
357
+ transform: none;
358
+ }
359
+ }
360
+ @keyframes wobble {
361
+ 0% {
362
+ -webkit-transform: none;
363
+ transform: none;
364
+ }
365
+ 15% {
366
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
367
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
368
+ }
369
+ 30% {
370
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
371
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
372
+ }
373
+ 45% {
374
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
375
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
376
+ }
377
+ 60% {
378
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
379
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
380
+ }
381
+ 75% {
382
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
383
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
384
+ }
385
+ 100% {
386
+ -webkit-transform: none;
387
+ transform: none;
388
+ }
389
+ }
390
+ .wobble {
391
+ -webkit-animation-name: wobble;
392
+ animation-name: wobble;
393
+ }
394
+
395
+ @-webkit-keyframes bounceIn {
396
+ 0%, 20%, 40%, 60%, 80%, 100% {
397
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
398
+ }
399
+ 0% {
400
+ opacity: 0;
401
+ -webkit-transform: scale3d(0.3, 0.3, 0.3);
402
+ transform: scale3d(0.3, 0.3, 0.3);
403
+ }
404
+ 20% {
405
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
406
+ transform: scale3d(1.1, 1.1, 1.1);
407
+ }
408
+ 40% {
409
+ -webkit-transform: scale3d(0.9, 0.9, 0.9);
410
+ transform: scale3d(0.9, 0.9, 0.9);
411
+ }
412
+ 60% {
413
+ opacity: 1;
414
+ -webkit-transform: scale3d(1.03, 1.03, 1.03);
415
+ transform: scale3d(1.03, 1.03, 1.03);
416
+ }
417
+ 80% {
418
+ -webkit-transform: scale3d(0.97, 0.97, 0.97);
419
+ transform: scale3d(0.97, 0.97, 0.97);
420
+ }
421
+ 100% {
422
+ opacity: 1;
423
+ -webkit-transform: scale3d(1, 1, 1);
424
+ transform: scale3d(1, 1, 1);
425
+ }
426
+ }
427
+ @keyframes bounceIn {
428
+ 0%, 20%, 40%, 60%, 80%, 100% {
429
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
430
+ }
431
+ 0% {
432
+ opacity: 0;
433
+ -webkit-transform: scale3d(0.3, 0.3, 0.3);
434
+ transform: scale3d(0.3, 0.3, 0.3);
435
+ }
436
+ 20% {
437
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
438
+ transform: scale3d(1.1, 1.1, 1.1);
439
+ }
440
+ 40% {
441
+ -webkit-transform: scale3d(0.9, 0.9, 0.9);
442
+ transform: scale3d(0.9, 0.9, 0.9);
443
+ }
444
+ 60% {
445
+ opacity: 1;
446
+ -webkit-transform: scale3d(1.03, 1.03, 1.03);
447
+ transform: scale3d(1.03, 1.03, 1.03);
448
+ }
449
+ 80% {
450
+ -webkit-transform: scale3d(0.97, 0.97, 0.97);
451
+ transform: scale3d(0.97, 0.97, 0.97);
452
+ }
453
+ 100% {
454
+ opacity: 1;
455
+ -webkit-transform: scale3d(1, 1, 1);
456
+ transform: scale3d(1, 1, 1);
457
+ }
458
+ }
459
+ .bounceIn {
460
+ -webkit-animation-name: bounceIn;
461
+ animation-name: bounceIn;
462
+ -webkit-animation-duration: .75s;
463
+ animation-duration: .75s;
464
+ }
465
+
466
+ @-webkit-keyframes bounceInDown {
467
+ 0%, 60%, 75%, 90%, 100% {
468
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
469
+ }
470
+ 0% {
471
+ opacity: 0;
472
+ -webkit-transform: translate3d(0, -3000px, 0);
473
+ transform: translate3d(0, -3000px, 0);
474
+ }
475
+ 60% {
476
+ opacity: 1;
477
+ -webkit-transform: translate3d(0, 25px, 0);
478
+ transform: translate3d(0, 25px, 0);
479
+ }
480
+ 75% {
481
+ -webkit-transform: translate3d(0, -10px, 0);
482
+ transform: translate3d(0, -10px, 0);
483
+ }
484
+ 90% {
485
+ -webkit-transform: translate3d(0, 5px, 0);
486
+ transform: translate3d(0, 5px, 0);
487
+ }
488
+ 100% {
489
+ -webkit-transform: none;
490
+ transform: none;
491
+ }
492
+ }
493
+ @keyframes bounceInDown {
494
+ 0%, 60%, 75%, 90%, 100% {
495
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
496
+ }
497
+ 0% {
498
+ opacity: 0;
499
+ -webkit-transform: translate3d(0, -3000px, 0);
500
+ transform: translate3d(0, -3000px, 0);
501
+ }
502
+ 60% {
503
+ opacity: 1;
504
+ -webkit-transform: translate3d(0, 25px, 0);
505
+ transform: translate3d(0, 25px, 0);
506
+ }
507
+ 75% {
508
+ -webkit-transform: translate3d(0, -10px, 0);
509
+ transform: translate3d(0, -10px, 0);
510
+ }
511
+ 90% {
512
+ -webkit-transform: translate3d(0, 5px, 0);
513
+ transform: translate3d(0, 5px, 0);
514
+ }
515
+ 100% {
516
+ -webkit-transform: none;
517
+ transform: none;
518
+ }
519
+ }
520
+ .bounceInDown {
521
+ -webkit-animation-name: bounceInDown;
522
+ animation-name: bounceInDown;
523
+ }
524
+
525
+ @-webkit-keyframes bounceInLeft {
526
+ 0%, 60%, 75%, 90%, 100% {
527
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
528
+ }
529
+ 0% {
530
+ opacity: 0;
531
+ -webkit-transform: translate3d(-3000px, 0, 0);
532
+ transform: translate3d(-3000px, 0, 0);
533
+ }
534
+ 60% {
535
+ opacity: 1;
536
+ -webkit-transform: translate3d(25px, 0, 0);
537
+ transform: translate3d(25px, 0, 0);
538
+ }
539
+ 75% {
540
+ -webkit-transform: translate3d(-10px, 0, 0);
541
+ transform: translate3d(-10px, 0, 0);
542
+ }
543
+ 90% {
544
+ -webkit-transform: translate3d(5px, 0, 0);
545
+ transform: translate3d(5px, 0, 0);
546
+ }
547
+ 100% {
548
+ -webkit-transform: none;
549
+ transform: none;
550
+ }
551
+ }
552
+ @keyframes bounceInLeft {
553
+ 0%, 60%, 75%, 90%, 100% {
554
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
555
+ }
556
+ 0% {
557
+ opacity: 0;
558
+ -webkit-transform: translate3d(-3000px, 0, 0);
559
+ transform: translate3d(-3000px, 0, 0);
560
+ }
561
+ 60% {
562
+ opacity: 1;
563
+ -webkit-transform: translate3d(25px, 0, 0);
564
+ transform: translate3d(25px, 0, 0);
565
+ }
566
+ 75% {
567
+ -webkit-transform: translate3d(-10px, 0, 0);
568
+ transform: translate3d(-10px, 0, 0);
569
+ }
570
+ 90% {
571
+ -webkit-transform: translate3d(5px, 0, 0);
572
+ transform: translate3d(5px, 0, 0);
573
+ }
574
+ 100% {
575
+ -webkit-transform: none;
576
+ transform: none;
577
+ }
578
+ }
579
+ .bounceInLeft {
580
+ -webkit-animation-name: bounceInLeft;
581
+ animation-name: bounceInLeft;
582
+ }
583
+
584
+ @-webkit-keyframes bounceInRight {
585
+ 0%, 60%, 75%, 90%, 100% {
586
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
587
+ }
588
+ 0% {
589
+ opacity: 0;
590
+ -webkit-transform: translate3d(3000px, 0, 0);
591
+ transform: translate3d(3000px, 0, 0);
592
+ }
593
+ 60% {
594
+ opacity: 1;
595
+ -webkit-transform: translate3d(-25px, 0, 0);
596
+ transform: translate3d(-25px, 0, 0);
597
+ }
598
+ 75% {
599
+ -webkit-transform: translate3d(10px, 0, 0);
600
+ transform: translate3d(10px, 0, 0);
601
+ }
602
+ 90% {
603
+ -webkit-transform: translate3d(-5px, 0, 0);
604
+ transform: translate3d(-5px, 0, 0);
605
+ }
606
+ 100% {
607
+ -webkit-transform: none;
608
+ transform: none;
609
+ }
610
+ }
611
+ @keyframes bounceInRight {
612
+ 0%, 60%, 75%, 90%, 100% {
613
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
614
+ }
615
+ 0% {
616
+ opacity: 0;
617
+ -webkit-transform: translate3d(3000px, 0, 0);
618
+ transform: translate3d(3000px, 0, 0);
619
+ }
620
+ 60% {
621
+ opacity: 1;
622
+ -webkit-transform: translate3d(-25px, 0, 0);
623
+ transform: translate3d(-25px, 0, 0);
624
+ }
625
+ 75% {
626
+ -webkit-transform: translate3d(10px, 0, 0);
627
+ transform: translate3d(10px, 0, 0);
628
+ }
629
+ 90% {
630
+ -webkit-transform: translate3d(-5px, 0, 0);
631
+ transform: translate3d(-5px, 0, 0);
632
+ }
633
+ 100% {
634
+ -webkit-transform: none;
635
+ transform: none;
636
+ }
637
+ }
638
+ .bounceInRight {
639
+ -webkit-animation-name: bounceInRight;
640
+ animation-name: bounceInRight;
641
+ }
642
+
643
+ @-webkit-keyframes bounceInUp {
644
+ 0%, 60%, 75%, 90%, 100% {
645
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
646
+ }
647
+ 0% {
648
+ opacity: 0;
649
+ -webkit-transform: translate3d(0, 3000px, 0);
650
+ transform: translate3d(0, 3000px, 0);
651
+ }
652
+ 60% {
653
+ opacity: 1;
654
+ -webkit-transform: translate3d(0, -20px, 0);
655
+ transform: translate3d(0, -20px, 0);
656
+ }
657
+ 75% {
658
+ -webkit-transform: translate3d(0, 10px, 0);
659
+ transform: translate3d(0, 10px, 0);
660
+ }
661
+ 90% {
662
+ -webkit-transform: translate3d(0, -5px, 0);
663
+ transform: translate3d(0, -5px, 0);
664
+ }
665
+ 100% {
666
+ -webkit-transform: translate3d(0, 0, 0);
667
+ transform: translate3d(0, 0, 0);
668
+ }
669
+ }
670
+ @keyframes bounceInUp {
671
+ 0%, 60%, 75%, 90%, 100% {
672
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
673
+ }
674
+ 0% {
675
+ opacity: 0;
676
+ -webkit-transform: translate3d(0, 3000px, 0);
677
+ transform: translate3d(0, 3000px, 0);
678
+ }
679
+ 60% {
680
+ opacity: 1;
681
+ -webkit-transform: translate3d(0, -20px, 0);
682
+ transform: translate3d(0, -20px, 0);
683
+ }
684
+ 75% {
685
+ -webkit-transform: translate3d(0, 10px, 0);
686
+ transform: translate3d(0, 10px, 0);
687
+ }
688
+ 90% {
689
+ -webkit-transform: translate3d(0, -5px, 0);
690
+ transform: translate3d(0, -5px, 0);
691
+ }
692
+ 100% {
693
+ -webkit-transform: translate3d(0, 0, 0);
694
+ transform: translate3d(0, 0, 0);
695
+ }
696
+ }
697
+ .bounceInUp {
698
+ -webkit-animation-name: bounceInUp;
699
+ animation-name: bounceInUp;
700
+ }
701
+
702
+ @-webkit-keyframes bounceOut {
703
+ 20% {
704
+ -webkit-transform: scale3d(0.9, 0.9, 0.9);
705
+ transform: scale3d(0.9, 0.9, 0.9);
706
+ }
707
+ 50%, 55% {
708
+ opacity: 1;
709
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
710
+ transform: scale3d(1.1, 1.1, 1.1);
711
+ }
712
+ 100% {
713
+ opacity: 0;
714
+ -webkit-transform: scale3d(0.3, 0.3, 0.3);
715
+ transform: scale3d(0.3, 0.3, 0.3);
716
+ }
717
+ }
718
+ @keyframes bounceOut {
719
+ 20% {
720
+ -webkit-transform: scale3d(0.9, 0.9, 0.9);
721
+ transform: scale3d(0.9, 0.9, 0.9);
722
+ }
723
+ 50%, 55% {
724
+ opacity: 1;
725
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
726
+ transform: scale3d(1.1, 1.1, 1.1);
727
+ }
728
+ 100% {
729
+ opacity: 0;
730
+ -webkit-transform: scale3d(0.3, 0.3, 0.3);
731
+ transform: scale3d(0.3, 0.3, 0.3);
732
+ }
733
+ }
734
+ .bounceOut {
735
+ -webkit-animation-name: bounceOut;
736
+ animation-name: bounceOut;
737
+ -webkit-animation-duration: .75s;
738
+ animation-duration: .75s;
739
+ }
740
+
741
+ @-webkit-keyframes bounceOutDown {
742
+ 20% {
743
+ -webkit-transform: translate3d(0, 10px, 0);
744
+ transform: translate3d(0, 10px, 0);
745
+ }
746
+ 40%, 45% {
747
+ opacity: 1;
748
+ -webkit-transform: translate3d(0, -20px, 0);
749
+ transform: translate3d(0, -20px, 0);
750
+ }
751
+ 100% {
752
+ opacity: 0;
753
+ -webkit-transform: translate3d(0, 2000px, 0);
754
+ transform: translate3d(0, 2000px, 0);
755
+ }
756
+ }
757
+ @keyframes bounceOutDown {
758
+ 20% {
759
+ -webkit-transform: translate3d(0, 10px, 0);
760
+ transform: translate3d(0, 10px, 0);
761
+ }
762
+ 40%, 45% {
763
+ opacity: 1;
764
+ -webkit-transform: translate3d(0, -20px, 0);
765
+ transform: translate3d(0, -20px, 0);
766
+ }
767
+ 100% {
768
+ opacity: 0;
769
+ -webkit-transform: translate3d(0, 2000px, 0);
770
+ transform: translate3d(0, 2000px, 0);
771
+ }
772
+ }
773
+ .bounceOutDown {
774
+ -webkit-animation-name: bounceOutDown;
775
+ animation-name: bounceOutDown;
776
+ }
777
+
778
+ @-webkit-keyframes bounceOutLeft {
779
+ 20% {
780
+ opacity: 1;
781
+ -webkit-transform: translate3d(20px, 0, 0);
782
+ transform: translate3d(20px, 0, 0);
783
+ }
784
+ 100% {
785
+ opacity: 0;
786
+ -webkit-transform: translate3d(-2000px, 0, 0);
787
+ transform: translate3d(-2000px, 0, 0);
788
+ }
789
+ }
790
+ @keyframes bounceOutLeft {
791
+ 20% {
792
+ opacity: 1;
793
+ -webkit-transform: translate3d(20px, 0, 0);
794
+ transform: translate3d(20px, 0, 0);
795
+ }
796
+ 100% {
797
+ opacity: 0;
798
+ -webkit-transform: translate3d(-2000px, 0, 0);
799
+ transform: translate3d(-2000px, 0, 0);
800
+ }
801
+ }
802
+ .bounceOutLeft {
803
+ -webkit-animation-name: bounceOutLeft;
804
+ animation-name: bounceOutLeft;
805
+ }
806
+
807
+ @-webkit-keyframes bounceOutRight {
808
+ 20% {
809
+ opacity: 1;
810
+ -webkit-transform: translate3d(-20px, 0, 0);
811
+ transform: translate3d(-20px, 0, 0);
812
+ }
813
+ 100% {
814
+ opacity: 0;
815
+ -webkit-transform: translate3d(2000px, 0, 0);
816
+ transform: translate3d(2000px, 0, 0);
817
+ }
818
+ }
819
+ @keyframes bounceOutRight {
820
+ 20% {
821
+ opacity: 1;
822
+ -webkit-transform: translate3d(-20px, 0, 0);
823
+ transform: translate3d(-20px, 0, 0);
824
+ }
825
+ 100% {
826
+ opacity: 0;
827
+ -webkit-transform: translate3d(2000px, 0, 0);
828
+ transform: translate3d(2000px, 0, 0);
829
+ }
830
+ }
831
+ .bounceOutRight {
832
+ -webkit-animation-name: bounceOutRight;
833
+ animation-name: bounceOutRight;
834
+ }
835
+
836
+ @-webkit-keyframes bounceOutUp {
837
+ 20% {
838
+ -webkit-transform: translate3d(0, -10px, 0);
839
+ transform: translate3d(0, -10px, 0);
840
+ }
841
+ 40%, 45% {
842
+ opacity: 1;
843
+ -webkit-transform: translate3d(0, 20px, 0);
844
+ transform: translate3d(0, 20px, 0);
845
+ }
846
+ 100% {
847
+ opacity: 0;
848
+ -webkit-transform: translate3d(0, -2000px, 0);
849
+ transform: translate3d(0, -2000px, 0);
850
+ }
851
+ }
852
+ @keyframes bounceOutUp {
853
+ 20% {
854
+ -webkit-transform: translate3d(0, -10px, 0);
855
+ transform: translate3d(0, -10px, 0);
856
+ }
857
+ 40%, 45% {
858
+ opacity: 1;
859
+ -webkit-transform: translate3d(0, 20px, 0);
860
+ transform: translate3d(0, 20px, 0);
861
+ }
862
+ 100% {
863
+ opacity: 0;
864
+ -webkit-transform: translate3d(0, -2000px, 0);
865
+ transform: translate3d(0, -2000px, 0);
866
+ }
867
+ }
868
+ .bounceOutUp {
869
+ -webkit-animation-name: bounceOutUp;
870
+ animation-name: bounceOutUp;
871
+ }
872
+
873
+ @-webkit-keyframes fadeIn {
874
+ 0% {
875
+ opacity: 0;
876
+ }
877
+ 100% {
878
+ opacity: 1;
879
+ }
880
+ }
881
+ @keyframes fadeIn {
882
+ 0% {
883
+ opacity: 0;
884
+ }
885
+ 100% {
886
+ opacity: 1;
887
+ }
888
+ }
889
+ .fadeIn {
890
+ -webkit-animation-name: fadeIn;
891
+ animation-name: fadeIn;
892
+ }
893
+
894
+ @-webkit-keyframes fadeInDown {
895
+ 0% {
896
+ opacity: 0;
897
+ -webkit-transform: translate3d(0, -100%, 0);
898
+ transform: translate3d(0, -100%, 0);
899
+ }
900
+ 100% {
901
+ opacity: 1;
902
+ -webkit-transform: none;
903
+ transform: none;
904
+ }
905
+ }
906
+ @keyframes fadeInDown {
907
+ 0% {
908
+ opacity: 0;
909
+ -webkit-transform: translate3d(0, -100%, 0);
910
+ transform: translate3d(0, -100%, 0);
911
+ }
912
+ 100% {
913
+ opacity: 1;
914
+ -webkit-transform: none;
915
+ transform: none;
916
+ }
917
+ }
918
+ .fadeInDown {
919
+ -webkit-animation-name: fadeInDown;
920
+ animation-name: fadeInDown;
921
+ }
922
+
923
+ @-webkit-keyframes fadeInDownBig {
924
+ 0% {
925
+ opacity: 0;
926
+ -webkit-transform: translate3d(0, -2000px, 0);
927
+ transform: translate3d(0, -2000px, 0);
928
+ }
929
+ 100% {
930
+ opacity: 1;
931
+ -webkit-transform: none;
932
+ transform: none;
933
+ }
934
+ }
935
+ @keyframes fadeInDownBig {
936
+ 0% {
937
+ opacity: 0;
938
+ -webkit-transform: translate3d(0, -2000px, 0);
939
+ transform: translate3d(0, -2000px, 0);
940
+ }
941
+ 100% {
942
+ opacity: 1;
943
+ -webkit-transform: none;
944
+ transform: none;
945
+ }
946
+ }
947
+ .fadeInDownBig {
948
+ -webkit-animation-name: fadeInDownBig;
949
+ animation-name: fadeInDownBig;
950
+ }
951
+
952
+ @-webkit-keyframes fadeInLeft {
953
+ 0% {
954
+ opacity: 0;
955
+ -webkit-transform: translate3d(-100%, 0, 0);
956
+ transform: translate3d(-100%, 0, 0);
957
+ }
958
+ 100% {
959
+ opacity: 1;
960
+ -webkit-transform: none;
961
+ transform: none;
962
+ }
963
+ }
964
+ @keyframes fadeInLeft {
965
+ 0% {
966
+ opacity: 0;
967
+ -webkit-transform: translate3d(-100%, 0, 0);
968
+ transform: translate3d(-100%, 0, 0);
969
+ }
970
+ 100% {
971
+ opacity: 1;
972
+ -webkit-transform: none;
973
+ transform: none;
974
+ }
975
+ }
976
+ .fadeInLeft {
977
+ -webkit-animation-name: fadeInLeft;
978
+ animation-name: fadeInLeft;
979
+ }
980
+
981
+ @-webkit-keyframes fadeInLeftBig {
982
+ 0% {
983
+ opacity: 0;
984
+ -webkit-transform: translate3d(-2000px, 0, 0);
985
+ transform: translate3d(-2000px, 0, 0);
986
+ }
987
+ 100% {
988
+ opacity: 1;
989
+ -webkit-transform: none;
990
+ transform: none;
991
+ }
992
+ }
993
+ @keyframes fadeInLeftBig {
994
+ 0% {
995
+ opacity: 0;
996
+ -webkit-transform: translate3d(-2000px, 0, 0);
997
+ transform: translate3d(-2000px, 0, 0);
998
+ }
999
+ 100% {
1000
+ opacity: 1;
1001
+ -webkit-transform: none;
1002
+ transform: none;
1003
+ }
1004
+ }
1005
+ .fadeInLeftBig {
1006
+ -webkit-animation-name: fadeInLeftBig;
1007
+ animation-name: fadeInLeftBig;
1008
+ }
1009
+
1010
+ @-webkit-keyframes fadeInRight {
1011
+ 0% {
1012
+ opacity: 0;
1013
+ -webkit-transform: translate3d(100%, 0, 0);
1014
+ transform: translate3d(100%, 0, 0);
1015
+ }
1016
+ 100% {
1017
+ opacity: 1;
1018
+ -webkit-transform: none;
1019
+ transform: none;
1020
+ }
1021
+ }
1022
+ @keyframes fadeInRight {
1023
+ 0% {
1024
+ opacity: 0;
1025
+ -webkit-transform: translate3d(100%, 0, 0);
1026
+ transform: translate3d(100%, 0, 0);
1027
+ }
1028
+ 100% {
1029
+ opacity: 1;
1030
+ -webkit-transform: none;
1031
+ transform: none;
1032
+ }
1033
+ }
1034
+ .fadeInRight {
1035
+ -webkit-animation-name: fadeInRight;
1036
+ animation-name: fadeInRight;
1037
+ }
1038
+
1039
+ @-webkit-keyframes fadeInRightBig {
1040
+ 0% {
1041
+ opacity: 0;
1042
+ -webkit-transform: translate3d(2000px, 0, 0);
1043
+ transform: translate3d(2000px, 0, 0);
1044
+ }
1045
+ 100% {
1046
+ opacity: 1;
1047
+ -webkit-transform: none;
1048
+ transform: none;
1049
+ }
1050
+ }
1051
+ @keyframes fadeInRightBig {
1052
+ 0% {
1053
+ opacity: 0;
1054
+ -webkit-transform: translate3d(2000px, 0, 0);
1055
+ transform: translate3d(2000px, 0, 0);
1056
+ }
1057
+ 100% {
1058
+ opacity: 1;
1059
+ -webkit-transform: none;
1060
+ transform: none;
1061
+ }
1062
+ }
1063
+ .fadeInRightBig {
1064
+ -webkit-animation-name: fadeInRightBig;
1065
+ animation-name: fadeInRightBig;
1066
+ }
1067
+
1068
+ @-webkit-keyframes fadeInUp {
1069
+ 0% {
1070
+ opacity: 0;
1071
+ -webkit-transform: translate3d(0, 100%, 0);
1072
+ transform: translate3d(0, 100%, 0);
1073
+ }
1074
+ 100% {
1075
+ opacity: 1;
1076
+ -webkit-transform: none;
1077
+ transform: none;
1078
+ }
1079
+ }
1080
+ @keyframes fadeInUp {
1081
+ 0% {
1082
+ opacity: 0;
1083
+ -webkit-transform: translate3d(0, 100%, 0);
1084
+ transform: translate3d(0, 100%, 0);
1085
+ }
1086
+ 100% {
1087
+ opacity: 1;
1088
+ -webkit-transform: none;
1089
+ transform: none;
1090
+ }
1091
+ }
1092
+ .fadeInUp {
1093
+ -webkit-animation-name: fadeInUp;
1094
+ animation-name: fadeInUp;
1095
+ }
1096
+
1097
+ @-webkit-keyframes fadeInUpBig {
1098
+ 0% {
1099
+ opacity: 0;
1100
+ -webkit-transform: translate3d(0, 2000px, 0);
1101
+ transform: translate3d(0, 2000px, 0);
1102
+ }
1103
+ 100% {
1104
+ opacity: 1;
1105
+ -webkit-transform: none;
1106
+ transform: none;
1107
+ }
1108
+ }
1109
+ @keyframes fadeInUpBig {
1110
+ 0% {
1111
+ opacity: 0;
1112
+ -webkit-transform: translate3d(0, 2000px, 0);
1113
+ transform: translate3d(0, 2000px, 0);
1114
+ }
1115
+ 100% {
1116
+ opacity: 1;
1117
+ -webkit-transform: none;
1118
+ transform: none;
1119
+ }
1120
+ }
1121
+ .fadeInUpBig {
1122
+ -webkit-animation-name: fadeInUpBig;
1123
+ animation-name: fadeInUpBig;
1124
+ }
1125
+
1126
+ @-webkit-keyframes fadeOut {
1127
+ 0% {
1128
+ opacity: 1;
1129
+ }
1130
+ 100% {
1131
+ opacity: 0;
1132
+ }
1133
+ }
1134
+ @keyframes fadeOut {
1135
+ 0% {
1136
+ opacity: 1;
1137
+ }
1138
+ 100% {
1139
+ opacity: 0;
1140
+ }
1141
+ }
1142
+ .fadeOut {
1143
+ -webkit-animation-name: fadeOut;
1144
+ animation-name: fadeOut;
1145
+ }
1146
+
1147
+ @-webkit-keyframes fadeOutDown {
1148
+ 0% {
1149
+ opacity: 1;
1150
+ }
1151
+ 100% {
1152
+ opacity: 0;
1153
+ -webkit-transform: translate3d(0, 100%, 0);
1154
+ transform: translate3d(0, 100%, 0);
1155
+ }
1156
+ }
1157
+ @keyframes fadeOutDown {
1158
+ 0% {
1159
+ opacity: 1;
1160
+ }
1161
+ 100% {
1162
+ opacity: 0;
1163
+ -webkit-transform: translate3d(0, 100%, 0);
1164
+ transform: translate3d(0, 100%, 0);
1165
+ }
1166
+ }
1167
+ .fadeOutDown {
1168
+ -webkit-animation-name: fadeOutDown;
1169
+ animation-name: fadeOutDown;
1170
+ }
1171
+
1172
+ @-webkit-keyframes fadeOutDownBig {
1173
+ 0% {
1174
+ opacity: 1;
1175
+ }
1176
+ 100% {
1177
+ opacity: 0;
1178
+ -webkit-transform: translate3d(0, 2000px, 0);
1179
+ transform: translate3d(0, 2000px, 0);
1180
+ }
1181
+ }
1182
+ @keyframes fadeOutDownBig {
1183
+ 0% {
1184
+ opacity: 1;
1185
+ }
1186
+ 100% {
1187
+ opacity: 0;
1188
+ -webkit-transform: translate3d(0, 2000px, 0);
1189
+ transform: translate3d(0, 2000px, 0);
1190
+ }
1191
+ }
1192
+ .fadeOutDownBig {
1193
+ -webkit-animation-name: fadeOutDownBig;
1194
+ animation-name: fadeOutDownBig;
1195
+ }
1196
+
1197
+ @-webkit-keyframes fadeOutLeft {
1198
+ 0% {
1199
+ opacity: 1;
1200
+ }
1201
+ 100% {
1202
+ opacity: 0;
1203
+ -webkit-transform: translate3d(-100%, 0, 0);
1204
+ transform: translate3d(-100%, 0, 0);
1205
+ }
1206
+ }
1207
+ @keyframes fadeOutLeft {
1208
+ 0% {
1209
+ opacity: 1;
1210
+ }
1211
+ 100% {
1212
+ opacity: 0;
1213
+ -webkit-transform: translate3d(-100%, 0, 0);
1214
+ transform: translate3d(-100%, 0, 0);
1215
+ }
1216
+ }
1217
+ .fadeOutLeft {
1218
+ -webkit-animation-name: fadeOutLeft;
1219
+ animation-name: fadeOutLeft;
1220
+ }
1221
+
1222
+ @-webkit-keyframes fadeOutLeftBig {
1223
+ 0% {
1224
+ opacity: 1;
1225
+ }
1226
+ 100% {
1227
+ opacity: 0;
1228
+ -webkit-transform: translate3d(-2000px, 0, 0);
1229
+ transform: translate3d(-2000px, 0, 0);
1230
+ }
1231
+ }
1232
+ @keyframes fadeOutLeftBig {
1233
+ 0% {
1234
+ opacity: 1;
1235
+ }
1236
+ 100% {
1237
+ opacity: 0;
1238
+ -webkit-transform: translate3d(-2000px, 0, 0);
1239
+ transform: translate3d(-2000px, 0, 0);
1240
+ }
1241
+ }
1242
+ .fadeOutLeftBig {
1243
+ -webkit-animation-name: fadeOutLeftBig;
1244
+ animation-name: fadeOutLeftBig;
1245
+ }
1246
+
1247
+ @-webkit-keyframes fadeOutRight {
1248
+ 0% {
1249
+ opacity: 1;
1250
+ }
1251
+ 100% {
1252
+ opacity: 0;
1253
+ -webkit-transform: translate3d(100%, 0, 0);
1254
+ transform: translate3d(100%, 0, 0);
1255
+ }
1256
+ }
1257
+ @keyframes fadeOutRight {
1258
+ 0% {
1259
+ opacity: 1;
1260
+ }
1261
+ 100% {
1262
+ opacity: 0;
1263
+ -webkit-transform: translate3d(100%, 0, 0);
1264
+ transform: translate3d(100%, 0, 0);
1265
+ }
1266
+ }
1267
+ .fadeOutRight {
1268
+ -webkit-animation-name: fadeOutRight;
1269
+ animation-name: fadeOutRight;
1270
+ }
1271
+
1272
+ @-webkit-keyframes fadeOutRightBig {
1273
+ 0% {
1274
+ opacity: 1;
1275
+ }
1276
+ 100% {
1277
+ opacity: 0;
1278
+ -webkit-transform: translate3d(2000px, 0, 0);
1279
+ transform: translate3d(2000px, 0, 0);
1280
+ }
1281
+ }
1282
+ @keyframes fadeOutRightBig {
1283
+ 0% {
1284
+ opacity: 1;
1285
+ }
1286
+ 100% {
1287
+ opacity: 0;
1288
+ -webkit-transform: translate3d(2000px, 0, 0);
1289
+ transform: translate3d(2000px, 0, 0);
1290
+ }
1291
+ }
1292
+ .fadeOutRightBig {
1293
+ -webkit-animation-name: fadeOutRightBig;
1294
+ animation-name: fadeOutRightBig;
1295
+ }
1296
+
1297
+ @-webkit-keyframes fadeOutUp {
1298
+ 0% {
1299
+ opacity: 1;
1300
+ }
1301
+ 100% {
1302
+ opacity: 0;
1303
+ -webkit-transform: translate3d(0, -100%, 0);
1304
+ transform: translate3d(0, -100%, 0);
1305
+ }
1306
+ }
1307
+ @keyframes fadeOutUp {
1308
+ 0% {
1309
+ opacity: 1;
1310
+ }
1311
+ 100% {
1312
+ opacity: 0;
1313
+ -webkit-transform: translate3d(0, -100%, 0);
1314
+ transform: translate3d(0, -100%, 0);
1315
+ }
1316
+ }
1317
+ .fadeOutUp {
1318
+ -webkit-animation-name: fadeOutUp;
1319
+ animation-name: fadeOutUp;
1320
+ }
1321
+
1322
+ @-webkit-keyframes fadeOutUpBig {
1323
+ 0% {
1324
+ opacity: 1;
1325
+ }
1326
+ 100% {
1327
+ opacity: 0;
1328
+ -webkit-transform: translate3d(0, -2000px, 0);
1329
+ transform: translate3d(0, -2000px, 0);
1330
+ }
1331
+ }
1332
+ @keyframes fadeOutUpBig {
1333
+ 0% {
1334
+ opacity: 1;
1335
+ }
1336
+ 100% {
1337
+ opacity: 0;
1338
+ -webkit-transform: translate3d(0, -2000px, 0);
1339
+ transform: translate3d(0, -2000px, 0);
1340
+ }
1341
+ }
1342
+ .fadeOutUpBig {
1343
+ -webkit-animation-name: fadeOutUpBig;
1344
+ animation-name: fadeOutUpBig;
1345
+ }
1346
+
1347
+ @-webkit-keyframes flip {
1348
+ 0% {
1349
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1350
+ transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1351
+ -webkit-animation-timing-function: ease-out;
1352
+ animation-timing-function: ease-out;
1353
+ }
1354
+ 40% {
1355
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1356
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1357
+ -webkit-animation-timing-function: ease-out;
1358
+ animation-timing-function: ease-out;
1359
+ }
1360
+ 50% {
1361
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1362
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1363
+ -webkit-animation-timing-function: ease-in;
1364
+ animation-timing-function: ease-in;
1365
+ }
1366
+ 80% {
1367
+ -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
1368
+ transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
1369
+ -webkit-animation-timing-function: ease-in;
1370
+ animation-timing-function: ease-in;
1371
+ }
1372
+ 100% {
1373
+ -webkit-transform: perspective(400px);
1374
+ transform: perspective(400px);
1375
+ -webkit-animation-timing-function: ease-in;
1376
+ animation-timing-function: ease-in;
1377
+ }
1378
+ }
1379
+ @keyframes flip {
1380
+ 0% {
1381
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1382
+ transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1383
+ -webkit-animation-timing-function: ease-out;
1384
+ animation-timing-function: ease-out;
1385
+ }
1386
+ 40% {
1387
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1388
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1389
+ -webkit-animation-timing-function: ease-out;
1390
+ animation-timing-function: ease-out;
1391
+ }
1392
+ 50% {
1393
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1394
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1395
+ -webkit-animation-timing-function: ease-in;
1396
+ animation-timing-function: ease-in;
1397
+ }
1398
+ 80% {
1399
+ -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
1400
+ transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
1401
+ -webkit-animation-timing-function: ease-in;
1402
+ animation-timing-function: ease-in;
1403
+ }
1404
+ 100% {
1405
+ -webkit-transform: perspective(400px);
1406
+ transform: perspective(400px);
1407
+ -webkit-animation-timing-function: ease-in;
1408
+ animation-timing-function: ease-in;
1409
+ }
1410
+ }
1411
+ .animated.flip {
1412
+ -webkit-backface-visibility: visible;
1413
+ backface-visibility: visible;
1414
+ -webkit-animation-name: flip;
1415
+ animation-name: flip;
1416
+ }
1417
+
1418
+ @-webkit-keyframes flipInX {
1419
+ 0% {
1420
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1421
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1422
+ transition-timing-function: ease-in;
1423
+ opacity: 0;
1424
+ }
1425
+ 40% {
1426
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1427
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1428
+ transition-timing-function: ease-in;
1429
+ }
1430
+ 60% {
1431
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1432
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1433
+ opacity: 1;
1434
+ }
1435
+ 80% {
1436
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1437
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1438
+ }
1439
+ 100% {
1440
+ -webkit-transform: perspective(400px);
1441
+ transform: perspective(400px);
1442
+ }
1443
+ }
1444
+ @keyframes flipInX {
1445
+ 0% {
1446
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1447
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1448
+ transition-timing-function: ease-in;
1449
+ opacity: 0;
1450
+ }
1451
+ 40% {
1452
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1453
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1454
+ transition-timing-function: ease-in;
1455
+ }
1456
+ 60% {
1457
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1458
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1459
+ opacity: 1;
1460
+ }
1461
+ 80% {
1462
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1463
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1464
+ }
1465
+ 100% {
1466
+ -webkit-transform: perspective(400px);
1467
+ transform: perspective(400px);
1468
+ }
1469
+ }
1470
+ .flipInX {
1471
+ -webkit-backface-visibility: visible !important;
1472
+ backface-visibility: visible !important;
1473
+ -webkit-animation-name: flipInX;
1474
+ animation-name: flipInX;
1475
+ }
1476
+
1477
+ @-webkit-keyframes flipInY {
1478
+ 0% {
1479
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1480
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1481
+ transition-timing-function: ease-in;
1482
+ opacity: 0;
1483
+ }
1484
+ 40% {
1485
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1486
+ transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1487
+ transition-timing-function: ease-in;
1488
+ }
1489
+ 60% {
1490
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1491
+ transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1492
+ opacity: 1;
1493
+ }
1494
+ 80% {
1495
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1496
+ transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1497
+ }
1498
+ 100% {
1499
+ -webkit-transform: perspective(400px);
1500
+ transform: perspective(400px);
1501
+ }
1502
+ }
1503
+ @keyframes flipInY {
1504
+ 0% {
1505
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1506
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1507
+ transition-timing-function: ease-in;
1508
+ opacity: 0;
1509
+ }
1510
+ 40% {
1511
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1512
+ transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1513
+ transition-timing-function: ease-in;
1514
+ }
1515
+ 60% {
1516
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1517
+ transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1518
+ opacity: 1;
1519
+ }
1520
+ 80% {
1521
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1522
+ transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1523
+ }
1524
+ 100% {
1525
+ -webkit-transform: perspective(400px);
1526
+ transform: perspective(400px);
1527
+ }
1528
+ }
1529
+ .flipInY {
1530
+ -webkit-backface-visibility: visible !important;
1531
+ backface-visibility: visible !important;
1532
+ -webkit-animation-name: flipInY;
1533
+ animation-name: flipInY;
1534
+ }
1535
+
1536
+ @-webkit-keyframes flipOutX {
1537
+ 0% {
1538
+ -webkit-transform: perspective(400px);
1539
+ transform: perspective(400px);
1540
+ }
1541
+ 30% {
1542
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1543
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1544
+ opacity: 1;
1545
+ }
1546
+ 100% {
1547
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1548
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1549
+ opacity: 0;
1550
+ }
1551
+ }
1552
+ @keyframes flipOutX {
1553
+ 0% {
1554
+ -webkit-transform: perspective(400px);
1555
+ transform: perspective(400px);
1556
+ }
1557
+ 30% {
1558
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1559
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1560
+ opacity: 1;
1561
+ }
1562
+ 100% {
1563
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1564
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1565
+ opacity: 0;
1566
+ }
1567
+ }
1568
+ .flipOutX {
1569
+ -webkit-animation-name: flipOutX;
1570
+ animation-name: flipOutX;
1571
+ -webkit-animation-duration: .75s;
1572
+ animation-duration: .75s;
1573
+ -webkit-backface-visibility: visible !important;
1574
+ backface-visibility: visible !important;
1575
+ }
1576
+
1577
+ @-webkit-keyframes flipOutY {
1578
+ 0% {
1579
+ -webkit-transform: perspective(400px);
1580
+ transform: perspective(400px);
1581
+ }
1582
+ 30% {
1583
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1584
+ transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1585
+ opacity: 1;
1586
+ }
1587
+ 100% {
1588
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1589
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1590
+ opacity: 0;
1591
+ }
1592
+ }
1593
+ @keyframes flipOutY {
1594
+ 0% {
1595
+ -webkit-transform: perspective(400px);
1596
+ transform: perspective(400px);
1597
+ }
1598
+ 30% {
1599
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1600
+ transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1601
+ opacity: 1;
1602
+ }
1603
+ 100% {
1604
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1605
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1606
+ opacity: 0;
1607
+ }
1608
+ }
1609
+ .flipOutY {
1610
+ -webkit-backface-visibility: visible !important;
1611
+ backface-visibility: visible !important;
1612
+ -webkit-animation-name: flipOutY;
1613
+ animation-name: flipOutY;
1614
+ -webkit-animation-duration: .75s;
1615
+ animation-duration: .75s;
1616
+ }
1617
+
1618
+ @-webkit-keyframes lightSpeedIn {
1619
+ 0% {
1620
+ -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
1621
+ transform: translate3d(100%, 0, 0) skewX(-30deg);
1622
+ opacity: 0;
1623
+ }
1624
+ 60% {
1625
+ -webkit-transform: skewX(20deg);
1626
+ transform: skewX(20deg);
1627
+ opacity: 1;
1628
+ }
1629
+ 80% {
1630
+ -webkit-transform: skewX(-5deg);
1631
+ transform: skewX(-5deg);
1632
+ opacity: 1;
1633
+ }
1634
+ 100% {
1635
+ -webkit-transform: none;
1636
+ transform: none;
1637
+ opacity: 1;
1638
+ }
1639
+ }
1640
+ @keyframes lightSpeedIn {
1641
+ 0% {
1642
+ -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
1643
+ transform: translate3d(100%, 0, 0) skewX(-30deg);
1644
+ opacity: 0;
1645
+ }
1646
+ 60% {
1647
+ -webkit-transform: skewX(20deg);
1648
+ transform: skewX(20deg);
1649
+ opacity: 1;
1650
+ }
1651
+ 80% {
1652
+ -webkit-transform: skewX(-5deg);
1653
+ transform: skewX(-5deg);
1654
+ opacity: 1;
1655
+ }
1656
+ 100% {
1657
+ -webkit-transform: none;
1658
+ transform: none;
1659
+ opacity: 1;
1660
+ }
1661
+ }
1662
+ .lightSpeedIn {
1663
+ -webkit-animation-name: lightSpeedIn;
1664
+ animation-name: lightSpeedIn;
1665
+ -webkit-animation-timing-function: ease-out;
1666
+ animation-timing-function: ease-out;
1667
+ }
1668
+
1669
+ @-webkit-keyframes lightSpeedOut {
1670
+ 0% {
1671
+ opacity: 1;
1672
+ }
1673
+ 100% {
1674
+ -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
1675
+ transform: translate3d(100%, 0, 0) skewX(30deg);
1676
+ opacity: 0;
1677
+ }
1678
+ }
1679
+ @keyframes lightSpeedOut {
1680
+ 0% {
1681
+ opacity: 1;
1682
+ }
1683
+ 100% {
1684
+ -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
1685
+ transform: translate3d(100%, 0, 0) skewX(30deg);
1686
+ opacity: 0;
1687
+ }
1688
+ }
1689
+ .lightSpeedOut {
1690
+ -webkit-animation-name: lightSpeedOut;
1691
+ animation-name: lightSpeedOut;
1692
+ -webkit-animation-timing-function: ease-in;
1693
+ animation-timing-function: ease-in;
1694
+ }
1695
+
1696
+ @-webkit-keyframes rotateIn {
1697
+ 0% {
1698
+ -webkit-transform-origin: center;
1699
+ transform-origin: center;
1700
+ -webkit-transform: rotate3d(0, 0, 1, -200deg);
1701
+ transform: rotate3d(0, 0, 1, -200deg);
1702
+ opacity: 0;
1703
+ }
1704
+ 100% {
1705
+ -webkit-transform-origin: center;
1706
+ transform-origin: center;
1707
+ -webkit-transform: none;
1708
+ transform: none;
1709
+ opacity: 1;
1710
+ }
1711
+ }
1712
+ @keyframes rotateIn {
1713
+ 0% {
1714
+ -webkit-transform-origin: center;
1715
+ transform-origin: center;
1716
+ -webkit-transform: rotate3d(0, 0, 1, -200deg);
1717
+ transform: rotate3d(0, 0, 1, -200deg);
1718
+ opacity: 0;
1719
+ }
1720
+ 100% {
1721
+ -webkit-transform-origin: center;
1722
+ transform-origin: center;
1723
+ -webkit-transform: none;
1724
+ transform: none;
1725
+ opacity: 1;
1726
+ }
1727
+ }
1728
+ .rotateIn {
1729
+ -webkit-animation-name: rotateIn;
1730
+ animation-name: rotateIn;
1731
+ }
1732
+
1733
+ @-webkit-keyframes rotateInDownLeft {
1734
+ 0% {
1735
+ -webkit-transform-origin: left bottom;
1736
+ transform-origin: left bottom;
1737
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
1738
+ transform: rotate3d(0, 0, 1, -45deg);
1739
+ opacity: 0;
1740
+ }
1741
+ 100% {
1742
+ -webkit-transform-origin: left bottom;
1743
+ transform-origin: left bottom;
1744
+ -webkit-transform: none;
1745
+ transform: none;
1746
+ opacity: 1;
1747
+ }
1748
+ }
1749
+ @keyframes rotateInDownLeft {
1750
+ 0% {
1751
+ -webkit-transform-origin: left bottom;
1752
+ transform-origin: left bottom;
1753
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
1754
+ transform: rotate3d(0, 0, 1, -45deg);
1755
+ opacity: 0;
1756
+ }
1757
+ 100% {
1758
+ -webkit-transform-origin: left bottom;
1759
+ transform-origin: left bottom;
1760
+ -webkit-transform: none;
1761
+ transform: none;
1762
+ opacity: 1;
1763
+ }
1764
+ }
1765
+ .rotateInDownLeft {
1766
+ -webkit-animation-name: rotateInDownLeft;
1767
+ animation-name: rotateInDownLeft;
1768
+ }
1769
+
1770
+ @-webkit-keyframes rotateInDownRight {
1771
+ 0% {
1772
+ -webkit-transform-origin: right bottom;
1773
+ transform-origin: right bottom;
1774
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
1775
+ transform: rotate3d(0, 0, 1, 45deg);
1776
+ opacity: 0;
1777
+ }
1778
+ 100% {
1779
+ -webkit-transform-origin: right bottom;
1780
+ transform-origin: right bottom;
1781
+ -webkit-transform: none;
1782
+ transform: none;
1783
+ opacity: 1;
1784
+ }
1785
+ }
1786
+ @keyframes rotateInDownRight {
1787
+ 0% {
1788
+ -webkit-transform-origin: right bottom;
1789
+ transform-origin: right bottom;
1790
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
1791
+ transform: rotate3d(0, 0, 1, 45deg);
1792
+ opacity: 0;
1793
+ }
1794
+ 100% {
1795
+ -webkit-transform-origin: right bottom;
1796
+ transform-origin: right bottom;
1797
+ -webkit-transform: none;
1798
+ transform: none;
1799
+ opacity: 1;
1800
+ }
1801
+ }
1802
+ .rotateInDownRight {
1803
+ -webkit-animation-name: rotateInDownRight;
1804
+ animation-name: rotateInDownRight;
1805
+ }
1806
+
1807
+ @-webkit-keyframes rotateInUpLeft {
1808
+ 0% {
1809
+ -webkit-transform-origin: left bottom;
1810
+ transform-origin: left bottom;
1811
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
1812
+ transform: rotate3d(0, 0, 1, 45deg);
1813
+ opacity: 0;
1814
+ }
1815
+ 100% {
1816
+ -webkit-transform-origin: left bottom;
1817
+ transform-origin: left bottom;
1818
+ -webkit-transform: none;
1819
+ transform: none;
1820
+ opacity: 1;
1821
+ }
1822
+ }
1823
+ @keyframes rotateInUpLeft {
1824
+ 0% {
1825
+ -webkit-transform-origin: left bottom;
1826
+ transform-origin: left bottom;
1827
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
1828
+ transform: rotate3d(0, 0, 1, 45deg);
1829
+ opacity: 0;
1830
+ }
1831
+ 100% {
1832
+ -webkit-transform-origin: left bottom;
1833
+ transform-origin: left bottom;
1834
+ -webkit-transform: none;
1835
+ transform: none;
1836
+ opacity: 1;
1837
+ }
1838
+ }
1839
+ .rotateInUpLeft {
1840
+ -webkit-animation-name: rotateInUpLeft;
1841
+ animation-name: rotateInUpLeft;
1842
+ }
1843
+
1844
+ @-webkit-keyframes rotateInUpRight {
1845
+ 0% {
1846
+ -webkit-transform-origin: right bottom;
1847
+ transform-origin: right bottom;
1848
+ -webkit-transform: rotate3d(0, 0, 1, -90deg);
1849
+ transform: rotate3d(0, 0, 1, -90deg);
1850
+ opacity: 0;
1851
+ }
1852
+ 100% {
1853
+ -webkit-transform-origin: right bottom;
1854
+ transform-origin: right bottom;
1855
+ -webkit-transform: none;
1856
+ transform: none;
1857
+ opacity: 1;
1858
+ }
1859
+ }
1860
+ @keyframes rotateInUpRight {
1861
+ 0% {
1862
+ -webkit-transform-origin: right bottom;
1863
+ transform-origin: right bottom;
1864
+ -webkit-transform: rotate3d(0, 0, 1, -90deg);
1865
+ transform: rotate3d(0, 0, 1, -90deg);
1866
+ opacity: 0;
1867
+ }
1868
+ 100% {
1869
+ -webkit-transform-origin: right bottom;
1870
+ transform-origin: right bottom;
1871
+ -webkit-transform: none;
1872
+ transform: none;
1873
+ opacity: 1;
1874
+ }
1875
+ }
1876
+ .rotateInUpRight {
1877
+ -webkit-animation-name: rotateInUpRight;
1878
+ animation-name: rotateInUpRight;
1879
+ }
1880
+
1881
+ @-webkit-keyframes rotateOut {
1882
+ 0% {
1883
+ -webkit-transform-origin: center;
1884
+ transform-origin: center;
1885
+ opacity: 1;
1886
+ }
1887
+ 100% {
1888
+ -webkit-transform-origin: center;
1889
+ transform-origin: center;
1890
+ -webkit-transform: rotate3d(0, 0, 1, 200deg);
1891
+ transform: rotate3d(0, 0, 1, 200deg);
1892
+ opacity: 0;
1893
+ }
1894
+ }
1895
+ @keyframes rotateOut {
1896
+ 0% {
1897
+ -webkit-transform-origin: center;
1898
+ transform-origin: center;
1899
+ opacity: 1;
1900
+ }
1901
+ 100% {
1902
+ -webkit-transform-origin: center;
1903
+ transform-origin: center;
1904
+ -webkit-transform: rotate3d(0, 0, 1, 200deg);
1905
+ transform: rotate3d(0, 0, 1, 200deg);
1906
+ opacity: 0;
1907
+ }
1908
+ }
1909
+ .rotateOut {
1910
+ -webkit-animation-name: rotateOut;
1911
+ animation-name: rotateOut;
1912
+ }
1913
+
1914
+ @-webkit-keyframes rotateOutDownLeft {
1915
+ 0% {
1916
+ -webkit-transform-origin: left bottom;
1917
+ transform-origin: left bottom;
1918
+ opacity: 1;
1919
+ }
1920
+ 100% {
1921
+ -webkit-transform-origin: left bottom;
1922
+ transform-origin: left bottom;
1923
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
1924
+ transform: rotate3d(0, 0, 1, 45deg);
1925
+ opacity: 0;
1926
+ }
1927
+ }
1928
+ @keyframes rotateOutDownLeft {
1929
+ 0% {
1930
+ -webkit-transform-origin: left bottom;
1931
+ transform-origin: left bottom;
1932
+ opacity: 1;
1933
+ }
1934
+ 100% {
1935
+ -webkit-transform-origin: left bottom;
1936
+ transform-origin: left bottom;
1937
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
1938
+ transform: rotate3d(0, 0, 1, 45deg);
1939
+ opacity: 0;
1940
+ }
1941
+ }
1942
+ .rotateOutDownLeft {
1943
+ -webkit-animation-name: rotateOutDownLeft;
1944
+ animation-name: rotateOutDownLeft;
1945
+ }
1946
+
1947
+ @-webkit-keyframes rotateOutDownRight {
1948
+ 0% {
1949
+ -webkit-transform-origin: right bottom;
1950
+ transform-origin: right bottom;
1951
+ opacity: 1;
1952
+ }
1953
+ 100% {
1954
+ -webkit-transform-origin: right bottom;
1955
+ transform-origin: right bottom;
1956
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
1957
+ transform: rotate3d(0, 0, 1, -45deg);
1958
+ opacity: 0;
1959
+ }
1960
+ }
1961
+ @keyframes rotateOutDownRight {
1962
+ 0% {
1963
+ -webkit-transform-origin: right bottom;
1964
+ transform-origin: right bottom;
1965
+ opacity: 1;
1966
+ }
1967
+ 100% {
1968
+ -webkit-transform-origin: right bottom;
1969
+ transform-origin: right bottom;
1970
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
1971
+ transform: rotate3d(0, 0, 1, -45deg);
1972
+ opacity: 0;
1973
+ }
1974
+ }
1975
+ .rotateOutDownRight {
1976
+ -webkit-animation-name: rotateOutDownRight;
1977
+ animation-name: rotateOutDownRight;
1978
+ }
1979
+
1980
+ @-webkit-keyframes rotateOutUpLeft {
1981
+ 0% {
1982
+ -webkit-transform-origin: left bottom;
1983
+ transform-origin: left bottom;
1984
+ opacity: 1;
1985
+ }
1986
+ 100% {
1987
+ -webkit-transform-origin: left bottom;
1988
+ transform-origin: left bottom;
1989
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
1990
+ transform: rotate3d(0, 0, 1, -45deg);
1991
+ opacity: 0;
1992
+ }
1993
+ }
1994
+ @keyframes rotateOutUpLeft {
1995
+ 0% {
1996
+ -webkit-transform-origin: left bottom;
1997
+ transform-origin: left bottom;
1998
+ opacity: 1;
1999
+ }
2000
+ 100% {
2001
+ -webkit-transform-origin: left bottom;
2002
+ transform-origin: left bottom;
2003
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2004
+ transform: rotate3d(0, 0, 1, -45deg);
2005
+ opacity: 0;
2006
+ }
2007
+ }
2008
+ .rotateOutUpLeft {
2009
+ -webkit-animation-name: rotateOutUpLeft;
2010
+ animation-name: rotateOutUpLeft;
2011
+ }
2012
+
2013
+ @-webkit-keyframes rotateOutUpRight {
2014
+ 0% {
2015
+ -webkit-transform-origin: right bottom;
2016
+ transform-origin: right bottom;
2017
+ opacity: 1;
2018
+ }
2019
+ 100% {
2020
+ -webkit-transform-origin: right bottom;
2021
+ transform-origin: right bottom;
2022
+ -webkit-transform: rotate3d(0, 0, 1, 90deg);
2023
+ transform: rotate3d(0, 0, 1, 90deg);
2024
+ opacity: 0;
2025
+ }
2026
+ }
2027
+ @keyframes rotateOutUpRight {
2028
+ 0% {
2029
+ -webkit-transform-origin: right bottom;
2030
+ transform-origin: right bottom;
2031
+ opacity: 1;
2032
+ }
2033
+ 100% {
2034
+ -webkit-transform-origin: right bottom;
2035
+ transform-origin: right bottom;
2036
+ -webkit-transform: rotate3d(0, 0, 1, 90deg);
2037
+ transform: rotate3d(0, 0, 1, 90deg);
2038
+ opacity: 0;
2039
+ }
2040
+ }
2041
+ .rotateOutUpRight {
2042
+ -webkit-animation-name: rotateOutUpRight;
2043
+ animation-name: rotateOutUpRight;
2044
+ }
2045
+
2046
+ @-webkit-keyframes hinge {
2047
+ 0% {
2048
+ -webkit-transform-origin: top left;
2049
+ transform-origin: top left;
2050
+ -webkit-animation-timing-function: ease-in-out;
2051
+ animation-timing-function: ease-in-out;
2052
+ }
2053
+ 20%, 60% {
2054
+ -webkit-transform: rotate3d(0, 0, 1, 80deg);
2055
+ transform: rotate3d(0, 0, 1, 80deg);
2056
+ -webkit-transform-origin: top left;
2057
+ transform-origin: top left;
2058
+ -webkit-animation-timing-function: ease-in-out;
2059
+ animation-timing-function: ease-in-out;
2060
+ }
2061
+ 40%, 80% {
2062
+ -webkit-transform: rotate3d(0, 0, 1, 60deg);
2063
+ transform: rotate3d(0, 0, 1, 60deg);
2064
+ -webkit-transform-origin: top left;
2065
+ transform-origin: top left;
2066
+ -webkit-animation-timing-function: ease-in-out;
2067
+ animation-timing-function: ease-in-out;
2068
+ opacity: 1;
2069
+ }
2070
+ 100% {
2071
+ -webkit-transform: translate3d(0, 700px, 0);
2072
+ transform: translate3d(0, 700px, 0);
2073
+ opacity: 0;
2074
+ }
2075
+ }
2076
+ @keyframes hinge {
2077
+ 0% {
2078
+ -webkit-transform-origin: top left;
2079
+ transform-origin: top left;
2080
+ -webkit-animation-timing-function: ease-in-out;
2081
+ animation-timing-function: ease-in-out;
2082
+ }
2083
+ 20%, 60% {
2084
+ -webkit-transform: rotate3d(0, 0, 1, 80deg);
2085
+ transform: rotate3d(0, 0, 1, 80deg);
2086
+ -webkit-transform-origin: top left;
2087
+ transform-origin: top left;
2088
+ -webkit-animation-timing-function: ease-in-out;
2089
+ animation-timing-function: ease-in-out;
2090
+ }
2091
+ 40%, 80% {
2092
+ -webkit-transform: rotate3d(0, 0, 1, 60deg);
2093
+ transform: rotate3d(0, 0, 1, 60deg);
2094
+ -webkit-transform-origin: top left;
2095
+ transform-origin: top left;
2096
+ -webkit-animation-timing-function: ease-in-out;
2097
+ animation-timing-function: ease-in-out;
2098
+ opacity: 1;
2099
+ }
2100
+ 100% {
2101
+ -webkit-transform: translate3d(0, 700px, 0);
2102
+ transform: translate3d(0, 700px, 0);
2103
+ opacity: 0;
2104
+ }
2105
+ }
2106
+ .hinge {
2107
+ -webkit-animation-name: hinge;
2108
+ animation-name: hinge;
2109
+ }
2110
+
2111
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
2112
+ @-webkit-keyframes rollIn {
2113
+ 0% {
2114
+ opacity: 0;
2115
+ -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2116
+ transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2117
+ }
2118
+ 100% {
2119
+ opacity: 1;
2120
+ -webkit-transform: none;
2121
+ transform: none;
2122
+ }
2123
+ }
2124
+ @keyframes rollIn {
2125
+ 0% {
2126
+ opacity: 0;
2127
+ -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2128
+ transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2129
+ }
2130
+ 100% {
2131
+ opacity: 1;
2132
+ -webkit-transform: none;
2133
+ transform: none;
2134
+ }
2135
+ }
2136
+ .rollIn {
2137
+ -webkit-animation-name: rollIn;
2138
+ animation-name: rollIn;
2139
+ }
2140
+
2141
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
2142
+ @-webkit-keyframes rollOut {
2143
+ 0% {
2144
+ opacity: 1;
2145
+ }
2146
+ 100% {
2147
+ opacity: 0;
2148
+ -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2149
+ transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2150
+ }
2151
+ }
2152
+ @keyframes rollOut {
2153
+ 0% {
2154
+ opacity: 1;
2155
+ }
2156
+ 100% {
2157
+ opacity: 0;
2158
+ -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2159
+ transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2160
+ }
2161
+ }
2162
+ .rollOut {
2163
+ -webkit-animation-name: rollOut;
2164
+ animation-name: rollOut;
2165
+ }
2166
+
2167
+ @-webkit-keyframes zoomIn {
2168
+ 0% {
2169
+ opacity: 0;
2170
+ -webkit-transform: scale3d(0.3, 0.3, 0.3);
2171
+ transform: scale3d(0.3, 0.3, 0.3);
2172
+ }
2173
+ 50% {
2174
+ opacity: 1;
2175
+ }
2176
+ }
2177
+ @keyframes zoomIn {
2178
+ 0% {
2179
+ opacity: 0;
2180
+ -webkit-transform: scale3d(0.3, 0.3, 0.3);
2181
+ transform: scale3d(0.3, 0.3, 0.3);
2182
+ }
2183
+ 50% {
2184
+ opacity: 1;
2185
+ }
2186
+ }
2187
+ .zoomIn {
2188
+ -webkit-animation-name: zoomIn;
2189
+ animation-name: zoomIn;
2190
+ }
2191
+
2192
+ @-webkit-keyframes zoomInDown {
2193
+ 0% {
2194
+ opacity: 0;
2195
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
2196
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
2197
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2198
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2199
+ }
2200
+ 60% {
2201
+ opacity: 1;
2202
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
2203
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
2204
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2205
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2206
+ }
2207
+ }
2208
+ @keyframes zoomInDown {
2209
+ 0% {
2210
+ opacity: 0;
2211
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
2212
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
2213
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2214
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2215
+ }
2216
+ 60% {
2217
+ opacity: 1;
2218
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
2219
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
2220
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2221
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2222
+ }
2223
+ }
2224
+ .zoomInDown {
2225
+ -webkit-animation-name: zoomInDown;
2226
+ animation-name: zoomInDown;
2227
+ }
2228
+
2229
+ @-webkit-keyframes zoomInLeft {
2230
+ 0% {
2231
+ opacity: 0;
2232
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
2233
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
2234
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2235
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2236
+ }
2237
+ 60% {
2238
+ opacity: 1;
2239
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
2240
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
2241
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2242
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2243
+ }
2244
+ }
2245
+ @keyframes zoomInLeft {
2246
+ 0% {
2247
+ opacity: 0;
2248
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
2249
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
2250
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2251
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2252
+ }
2253
+ 60% {
2254
+ opacity: 1;
2255
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
2256
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
2257
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2258
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2259
+ }
2260
+ }
2261
+ .zoomInLeft {
2262
+ -webkit-animation-name: zoomInLeft;
2263
+ animation-name: zoomInLeft;
2264
+ }
2265
+
2266
+ @-webkit-keyframes zoomInRight {
2267
+ 0% {
2268
+ opacity: 0;
2269
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
2270
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
2271
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2272
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2273
+ }
2274
+ 60% {
2275
+ opacity: 1;
2276
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
2277
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
2278
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2279
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2280
+ }
2281
+ }
2282
+ @keyframes zoomInRight {
2283
+ 0% {
2284
+ opacity: 0;
2285
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
2286
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
2287
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2288
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2289
+ }
2290
+ 60% {
2291
+ opacity: 1;
2292
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
2293
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
2294
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2295
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2296
+ }
2297
+ }
2298
+ .zoomInRight {
2299
+ -webkit-animation-name: zoomInRight;
2300
+ animation-name: zoomInRight;
2301
+ }
2302
+
2303
+ @-webkit-keyframes zoomInUp {
2304
+ 0% {
2305
+ opacity: 0;
2306
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
2307
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
2308
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2309
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2310
+ }
2311
+ 60% {
2312
+ opacity: 1;
2313
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
2314
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
2315
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2316
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2317
+ }
2318
+ }
2319
+ @keyframes zoomInUp {
2320
+ 0% {
2321
+ opacity: 0;
2322
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
2323
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
2324
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2325
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2326
+ }
2327
+ 60% {
2328
+ opacity: 1;
2329
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
2330
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
2331
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2332
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2333
+ }
2334
+ }
2335
+ .zoomInUp {
2336
+ -webkit-animation-name: zoomInUp;
2337
+ animation-name: zoomInUp;
2338
+ }
2339
+
2340
+ @-webkit-keyframes zoomOut {
2341
+ 0% {
2342
+ opacity: 1;
2343
+ }
2344
+ 50% {
2345
+ opacity: 0;
2346
+ -webkit-transform: scale3d(0.3, 0.3, 0.3);
2347
+ transform: scale3d(0.3, 0.3, 0.3);
2348
+ }
2349
+ 100% {
2350
+ opacity: 0;
2351
+ }
2352
+ }
2353
+ @keyframes zoomOut {
2354
+ 0% {
2355
+ opacity: 1;
2356
+ }
2357
+ 50% {
2358
+ opacity: 0;
2359
+ -webkit-transform: scale3d(0.3, 0.3, 0.3);
2360
+ transform: scale3d(0.3, 0.3, 0.3);
2361
+ }
2362
+ 100% {
2363
+ opacity: 0;
2364
+ }
2365
+ }
2366
+ .zoomOut {
2367
+ -webkit-animation-name: zoomOut;
2368
+ animation-name: zoomOut;
2369
+ }
2370
+
2371
+ @-webkit-keyframes zoomOutDown {
2372
+ 40% {
2373
+ opacity: 1;
2374
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
2375
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
2376
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2377
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2378
+ }
2379
+ 100% {
2380
+ opacity: 0;
2381
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
2382
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
2383
+ -webkit-transform-origin: center bottom;
2384
+ transform-origin: center bottom;
2385
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2386
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2387
+ }
2388
+ }
2389
+ @keyframes zoomOutDown {
2390
+ 40% {
2391
+ opacity: 1;
2392
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
2393
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
2394
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2395
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2396
+ }
2397
+ 100% {
2398
+ opacity: 0;
2399
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
2400
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
2401
+ -webkit-transform-origin: center bottom;
2402
+ transform-origin: center bottom;
2403
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2404
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2405
+ }
2406
+ }
2407
+ .zoomOutDown {
2408
+ -webkit-animation-name: zoomOutDown;
2409
+ animation-name: zoomOutDown;
2410
+ }
2411
+
2412
+ @-webkit-keyframes zoomOutLeft {
2413
+ 40% {
2414
+ opacity: 1;
2415
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
2416
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
2417
+ }
2418
+ 100% {
2419
+ opacity: 0;
2420
+ -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
2421
+ transform: scale(0.1) translate3d(-2000px, 0, 0);
2422
+ -webkit-transform-origin: left center;
2423
+ transform-origin: left center;
2424
+ }
2425
+ }
2426
+ @keyframes zoomOutLeft {
2427
+ 40% {
2428
+ opacity: 1;
2429
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
2430
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
2431
+ }
2432
+ 100% {
2433
+ opacity: 0;
2434
+ -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
2435
+ transform: scale(0.1) translate3d(-2000px, 0, 0);
2436
+ -webkit-transform-origin: left center;
2437
+ transform-origin: left center;
2438
+ }
2439
+ }
2440
+ .zoomOutLeft {
2441
+ -webkit-animation-name: zoomOutLeft;
2442
+ animation-name: zoomOutLeft;
2443
+ }
2444
+
2445
+ @-webkit-keyframes zoomOutRight {
2446
+ 40% {
2447
+ opacity: 1;
2448
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
2449
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
2450
+ }
2451
+ 100% {
2452
+ opacity: 0;
2453
+ -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
2454
+ transform: scale(0.1) translate3d(2000px, 0, 0);
2455
+ -webkit-transform-origin: right center;
2456
+ transform-origin: right center;
2457
+ }
2458
+ }
2459
+ @keyframes zoomOutRight {
2460
+ 40% {
2461
+ opacity: 1;
2462
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
2463
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
2464
+ }
2465
+ 100% {
2466
+ opacity: 0;
2467
+ -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
2468
+ transform: scale(0.1) translate3d(2000px, 0, 0);
2469
+ -webkit-transform-origin: right center;
2470
+ transform-origin: right center;
2471
+ }
2472
+ }
2473
+ .zoomOutRight {
2474
+ -webkit-animation-name: zoomOutRight;
2475
+ animation-name: zoomOutRight;
2476
+ }
2477
+
2478
+ @-webkit-keyframes zoomOutUp {
2479
+ 40% {
2480
+ opacity: 1;
2481
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
2482
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
2483
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2484
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2485
+ }
2486
+ 100% {
2487
+ opacity: 0;
2488
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
2489
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
2490
+ -webkit-transform-origin: center bottom;
2491
+ transform-origin: center bottom;
2492
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2493
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2494
+ }
2495
+ }
2496
+ @keyframes zoomOutUp {
2497
+ 40% {
2498
+ opacity: 1;
2499
+ -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
2500
+ transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
2501
+ -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2502
+ animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
2503
+ }
2504
+ 100% {
2505
+ opacity: 0;
2506
+ -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
2507
+ transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
2508
+ -webkit-transform-origin: center bottom;
2509
+ transform-origin: center bottom;
2510
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2511
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
2512
+ }
2513
+ }
2514
+ .zoomOutUp {
2515
+ -webkit-animation-name: zoomOutUp;
2516
+ animation-name: zoomOutUp;
2517
+ }
2518
+
2519
+ @-webkit-keyframes slideInDown {
2520
+ 0% {
2521
+ -webkit-transform: translateY(-100%);
2522
+ transform: translateY(-100%);
2523
+ visibility: visible;
2524
+ }
2525
+ 100% {
2526
+ -webkit-transform: translateY(0);
2527
+ transform: translateY(0);
2528
+ }
2529
+ }
2530
+ @keyframes slideInDown {
2531
+ 0% {
2532
+ -webkit-transform: translateY(-100%);
2533
+ transform: translateY(-100%);
2534
+ visibility: visible;
2535
+ }
2536
+ 100% {
2537
+ -webkit-transform: translateY(0);
2538
+ transform: translateY(0);
2539
+ }
2540
+ }
2541
+ .slideInDown {
2542
+ -webkit-animation-name: slideInDown;
2543
+ animation-name: slideInDown;
2544
+ }
2545
+
2546
+ @-webkit-keyframes slideInLeft {
2547
+ 0% {
2548
+ -webkit-transform: translateX(-100%);
2549
+ transform: translateX(-100%);
2550
+ visibility: visible;
2551
+ }
2552
+ 100% {
2553
+ -webkit-transform: translateX(0);
2554
+ transform: translateX(0);
2555
+ }
2556
+ }
2557
+ @keyframes slideInLeft {
2558
+ 0% {
2559
+ -webkit-transform: translateX(-100%);
2560
+ transform: translateX(-100%);
2561
+ visibility: visible;
2562
+ }
2563
+ 100% {
2564
+ -webkit-transform: translateX(0);
2565
+ transform: translateX(0);
2566
+ }
2567
+ }
2568
+ .slideInLeft {
2569
+ -webkit-animation-name: slideInLeft;
2570
+ animation-name: slideInLeft;
2571
+ }
2572
+
2573
+ @-webkit-keyframes slideInRight {
2574
+ 0% {
2575
+ -webkit-transform: translateX(100%);
2576
+ transform: translateX(100%);
2577
+ visibility: visible;
2578
+ }
2579
+ 100% {
2580
+ -webkit-transform: translateX(0);
2581
+ transform: translateX(0);
2582
+ }
2583
+ }
2584
+ @keyframes slideInRight {
2585
+ 0% {
2586
+ -webkit-transform: translateX(100%);
2587
+ transform: translateX(100%);
2588
+ visibility: visible;
2589
+ }
2590
+ 100% {
2591
+ -webkit-transform: translateX(0);
2592
+ transform: translateX(0);
2593
+ }
2594
+ }
2595
+ .slideInRight {
2596
+ -webkit-animation-name: slideInRight;
2597
+ animation-name: slideInRight;
2598
+ }
2599
+
2600
+ @-webkit-keyframes slideInUp {
2601
+ 0% {
2602
+ -webkit-transform: translateY(100%);
2603
+ transform: translateY(100%);
2604
+ visibility: visible;
2605
+ }
2606
+ 100% {
2607
+ -webkit-transform: translateY(0);
2608
+ transform: translateY(0);
2609
+ }
2610
+ }
2611
+ @keyframes slideInUp {
2612
+ 0% {
2613
+ -webkit-transform: translateY(100%);
2614
+ transform: translateY(100%);
2615
+ visibility: visible;
2616
+ }
2617
+ 100% {
2618
+ -webkit-transform: translateY(0);
2619
+ transform: translateY(0);
2620
+ }
2621
+ }
2622
+ .slideInUp {
2623
+ -webkit-animation-name: slideInUp;
2624
+ animation-name: slideInUp;
2625
+ }
2626
+
2627
+ @-webkit-keyframes slideOutDown {
2628
+ 0% {
2629
+ -webkit-transform: translateY(0);
2630
+ transform: translateY(0);
2631
+ }
2632
+ 100% {
2633
+ visibility: hidden;
2634
+ -webkit-transform: translateY(100%);
2635
+ transform: translateY(100%);
2636
+ }
2637
+ }
2638
+ @keyframes slideOutDown {
2639
+ 0% {
2640
+ -webkit-transform: translateY(0);
2641
+ transform: translateY(0);
2642
+ }
2643
+ 100% {
2644
+ visibility: hidden;
2645
+ -webkit-transform: translateY(100%);
2646
+ transform: translateY(100%);
2647
+ }
2648
+ }
2649
+ .slideOutDown {
2650
+ -webkit-animation-name: slideOutDown;
2651
+ animation-name: slideOutDown;
2652
+ }
2653
+
2654
+ @-webkit-keyframes slideOutLeft {
2655
+ 0% {
2656
+ -webkit-transform: translateX(0);
2657
+ transform: translateX(0);
2658
+ }
2659
+ 100% {
2660
+ visibility: hidden;
2661
+ -webkit-transform: translateX(-100%);
2662
+ transform: translateX(-100%);
2663
+ }
2664
+ }
2665
+ @keyframes slideOutLeft {
2666
+ 0% {
2667
+ -webkit-transform: translateX(0);
2668
+ transform: translateX(0);
2669
+ }
2670
+ 100% {
2671
+ visibility: hidden;
2672
+ -webkit-transform: translateX(-100%);
2673
+ transform: translateX(-100%);
2674
+ }
2675
+ }
2676
+ .slideOutLeft {
2677
+ -webkit-animation-name: slideOutLeft;
2678
+ animation-name: slideOutLeft;
2679
+ }
2680
+
2681
+ @-webkit-keyframes slideOutRight {
2682
+ 0% {
2683
+ -webkit-transform: translateX(0);
2684
+ transform: translateX(0);
2685
+ }
2686
+ 100% {
2687
+ visibility: hidden;
2688
+ -webkit-transform: translateX(100%);
2689
+ transform: translateX(100%);
2690
+ }
2691
+ }
2692
+ @keyframes slideOutRight {
2693
+ 0% {
2694
+ -webkit-transform: translateX(0);
2695
+ transform: translateX(0);
2696
+ }
2697
+ 100% {
2698
+ visibility: hidden;
2699
+ -webkit-transform: translateX(100%);
2700
+ transform: translateX(100%);
2701
+ }
2702
+ }
2703
+ .slideOutRight {
2704
+ -webkit-animation-name: slideOutRight;
2705
+ animation-name: slideOutRight;
2706
+ }
2707
+
2708
+ @-webkit-keyframes slideOutUp {
2709
+ 0% {
2710
+ -webkit-transform: translateY(0);
2711
+ transform: translateY(0);
2712
+ }
2713
+ 100% {
2714
+ visibility: hidden;
2715
+ -webkit-transform: translateY(-100%);
2716
+ transform: translateY(-100%);
2717
+ }
2718
+ }
2719
+ @keyframes slideOutUp {
2720
+ 0% {
2721
+ -webkit-transform: translateY(0);
2722
+ transform: translateY(0);
2723
+ }
2724
+ 100% {
2725
+ visibility: hidden;
2726
+ -webkit-transform: translateY(-100%);
2727
+ transform: translateY(-100%);
2728
+ }
2729
+ }
2730
+ .slideOutUp {
2731
+ -webkit-animation-name: slideOutUp;
2732
+ animation-name: slideOutUp;
2733
+ }
css/animate.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! PopUp Free - v4.7.10
2
+ * https://wordpress.org/plugins/wordpress-popup/
3
+ * Copyright (c) 2015; * Licensed GPLv2+ */
4
+
5
+ /*!
6
+ Animate.css - http://daneden.me/animate
7
+ Licensed under the MIT license - http://opensource.org/licenses/MIT
8
+
9
+ Copyright (c) 2014 Daniel Eden
10
+ https://raw.githubusercontent.com/daneden/animate.css/master/animate.css
11
+ */.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes bounce{0%,20%,53%,80%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{transition-timing-function:cubic-bezier(0.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{transition-timing-function:cubic-bezier(0.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{transition-timing-function:cubic-bezier(0.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{transition-timing-function:cubic-bezier(0.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;-ms-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,100%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,100%{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(0.75,1.25,1);transform:scale3d(0.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(0.95,1.05,1);transform:scale3d(0.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(0.75,1.25,1);transform:scale3d(0.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(0.95,1.05,1);transform:scale3d(0.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}100%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}100%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}}.swing{-webkit-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(0.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(0.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(0.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(0.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}100%{-webkit-transform:none;transform:none}}@keyframes wobble{0%{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}100%{-webkit-transform:none;transform:none}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(0.9,.9,.9);transform:scale3d(0.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(0.97,.97,.97);transform:scale3d(0.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(0.9,.9,.9);transform:scale3d(0.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(0.97,.97,.97);transform:scale3d(0.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.bounceIn{-webkit-animation-name:bounceIn;animation-name:bounceIn;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInDown{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}100%{-webkit-transform:none;transform:none}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInLeft{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}100%{-webkit-transform:none;transform:none}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInRight{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}100%{-webkit-transform:none;transform:none}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(0.9,.9,.9);transform:scale3d(0.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(0.9,.9,.9);transform:scale3d(0.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}}.bounceOut{-webkit-animation-name:bounceOut;animation-name:bounceOut;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(0.95,.95,.95);transform:perspective(400px) scale3d(0.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(0.95,.95,.95);transform:perspective(400px) scale3d(0.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}.flipOutX{-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}.flipOutY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}100%{-webkit-transform:none;transform:none;opacity:1}}@keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}100%{-webkit-transform:none;transform:none;opacity:1}}.lightSpeedIn{-webkit-animation-name:lightSpeedIn;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{0%{opacity:1}100%{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}@keyframes lightSpeedOut{0%{opacity:1}100%{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}.lightSpeedOut{-webkit-animation-name:lightSpeedOut;animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}100%{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}100%{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}100%{opacity:1;-webkit-transform:none;transform:none}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(0.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(10px,0,0);transform:scale3d(0.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(0.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(10px,0,0);transform:scale3d(0.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(0.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(0.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(0.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(0.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}100%{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}100%{opacity:0}}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(42px,0,0);transform:scale3d(0.475,.475,.475) translate3d(42px,0,0)}100%{opacity:0;-webkit-transform:scale(0.1) translate3d(-2000px,0,0);transform:scale(0.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(42px,0,0);transform:scale3d(0.475,.475,.475) translate3d(42px,0,0)}100%{opacity:0;-webkit-transform:scale(0.1) translate3d(-2000px,0,0);transform:scale(0.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(0.475,.475,.475) translate3d(-42px,0,0)}100%{opacity:0;-webkit-transform:scale(0.1) translate3d(2000px,0,0);transform:scale(0.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(0.475,.475,.475) translate3d(-42px,0,0)}100%{opacity:0;-webkit-transform:scale(0.1) translate3d(2000px,0,0);transform:scale(0.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp}@-webkit-keyframes slideInDown{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%);visibility:visible}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slideInDown{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%);visibility:visible}100%{-webkit-transform:translateY(0);transform:translateY(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInLeft{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translateX(100%);transform:translateX(100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInRight{0%{-webkit-transform:translateX(100%);transform:translateX(100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%);visibility:visible}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slideInUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%);visibility:visible}100%{-webkit-transform:translateY(0);transform:translateY(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{visibility:hidden;-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes slideOutDown{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{visibility:hidden;-webkit-transform:translateY(100%);transform:translateY(100%)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{visibility:hidden;-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes slideOutLeft{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{visibility:hidden;-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{visibility:hidden;-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes slideOutRight{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{visibility:hidden;-webkit-transform:translateX(100%);transform:translateX(100%)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{visibility:hidden;-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes slideOutUp{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{visibility:hidden;-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}
css/popup-admin.css CHANGED
@@ -115,7 +115,7 @@ div.msg-err {
115
  max-width: 920px;
116
  }
117
  .tbl-shortcodes .flag {
118
- width: 15%;
119
  overflow: visible;
120
  }
121
  .tbl-shortcodes .flag [data-tooltip] {
@@ -799,10 +799,12 @@ div.msg-err {
799
  }
800
  .post-type-inc_popup #post .col-all-rules {
801
  width: 320px;
 
802
  }
803
  .post-type-inc_popup #post .col-active-rules {
804
  float: none;
805
  display: block;
 
806
  }
807
  .post-type-inc_popup #post .wpmui-toggle {
808
  float: right;
@@ -1074,6 +1076,31 @@ div.msg-err {
1074
  == ==
1075
  =======================================
1076
  \*===================================*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1077
  .pro-only {
1078
  position: relative;
1079
  margin: 3px 0;
@@ -1091,7 +1118,6 @@ div.msg-err {
1091
  left: -3px;
1092
  right: -3px;
1093
  bottom: -3px;
1094
- text-align: center;
1095
  background: rgba(0, 0, 0, 0.6);
1096
  color: #FFF;
1097
  font-family: "Source Sans Pro", "Open Sans", sans-serif;
@@ -1100,9 +1126,33 @@ div.msg-err {
1100
  z-index: 9999;
1101
  transition: opacity .2s;
1102
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1103
  .pro-only .pro-note a {
1104
  color: #7ed321;
1105
  }
1106
  .pro-only:hover .pro-note {
1107
  opacity: 1;
1108
  }
 
 
 
 
 
 
115
  max-width: 920px;
116
  }
117
  .tbl-shortcodes .flag {
118
+ width: 12%;
119
  overflow: visible;
120
  }
121
  .tbl-shortcodes .flag [data-tooltip] {
799
  }
800
  .post-type-inc_popup #post .col-all-rules {
801
  width: 320px;
802
+ z-index: 2;
803
  }
804
  .post-type-inc_popup #post .col-active-rules {
805
  float: none;
806
  display: block;
807
+ z-index: 1;
808
  }
809
  .post-type-inc_popup #post .wpmui-toggle {
810
  float: right;
1076
  == ==
1077
  =======================================
1078
  \*===================================*/
1079
+ .pro-icon {
1080
+ display: inline-block;
1081
+ width: 20px;
1082
+ height: 20px;
1083
+ font-size: 20px;
1084
+ line-height: 1;
1085
+ font-family: "dashicons";
1086
+ text-decoration: inherit;
1087
+ font-weight: normal;
1088
+ font-style: normal;
1089
+ vertical-align: top;
1090
+ text-align: center;
1091
+ transition: color .1s ease-in 0;
1092
+ -webkit-font-smoothing: antialiased;
1093
+ -moz-osx-font-smoothing: grayscale;
1094
+ color: #DBA901;
1095
+ margin-left: -2px;
1096
+ margin-right: 4px;
1097
+ transition: opacity .2s;
1098
+ }
1099
+
1100
+ .pro-icon:before {
1101
+ content: "\f160";
1102
+ }
1103
+
1104
  .pro-only {
1105
  position: relative;
1106
  margin: 3px 0;
1118
  left: -3px;
1119
  right: -3px;
1120
  bottom: -3px;
 
1121
  background: rgba(0, 0, 0, 0.6);
1122
  color: #FFF;
1123
  font-family: "Source Sans Pro", "Open Sans", sans-serif;
1126
  z-index: 9999;
1127
  transition: opacity .2s;
1128
  }
1129
+ .pro-only .pro-note .text {
1130
+ position: absolute;
1131
+ left: 0;
1132
+ right: 0;
1133
+ top: 50%;
1134
+ margin-top: -20px;
1135
+ height: 40px;
1136
+ line-height: 40px;
1137
+ text-align: center;
1138
+ }
1139
+ .pro-only .pro-note .pro-icon {
1140
+ position: absolute;
1141
+ font-size: 64px;
1142
+ left: 10px;
1143
+ top: 50%;
1144
+ margin-top: -32px;
1145
+ opacity: 0.6;
1146
+ }
1147
  .pro-only .pro-note a {
1148
  color: #7ed321;
1149
  }
1150
  .pro-only:hover .pro-note {
1151
  opacity: 1;
1152
  }
1153
+ .pro-only:hover .pro-note .pro-icon {
1154
+ opacity: 0.6;
1155
+ }
1156
+ .pro-only:hover .pro-icon {
1157
+ opacity: 0.3;
1158
+ }
css/popup-admin.min.css CHANGED
@@ -1,5 +1,5 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
5
- .post-type-inc_popup .status-icon{color:#CCC;width:30px;font-size:16px;line-height:20px;height:20px}.post-type-inc_popup .status-icon:before{content:"\f153"}.post-type-inc_popup .status-active .status-icon,.post-type-inc_popup .status-publish .status-icon{color:#090;font-size:30px}.post-type-inc_popup .status-active .status-icon:before,.post-type-inc_popup .status-publish .status-icon:before{content:"\f147"}.post-type-inc_popup .status-trash .status-icon:before{content:"\f182"}select.block,textarea.block,input.block{margin-left:0;margin-right:0;display:block;width:100%}textarea.block{height:7.2em}.wp-admin select{vertical-align:top;margin-top:0}.inp-small{width:75px}.inp-row{min-height:32px}.inp-row label.inp-height{margin:7px 0 0;display:inline-block}.inactive{opacity:.35;position:relative}.inactive:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:10000}.inactive-anim{transition:opacity .3s}fieldset{border:1px solid #DDD;padding:8px;margin:0 0 10px}fieldset:last-child{margin-bottom:0}div.msg-ok,div.msg-err{padding:0 .6em;padding:1px 12px;background-color:#FAFAFA;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);clear:both;margin:15px 0 0}div.msg-ok{border-left:4px solid #7AD03A}div.msg-err{border-left:4px solid #DD3D36}.tbl-shortcodes{margin-top:20px;max-width:920px}.tbl-shortcodes .flag{width:15%;overflow:visible}.tbl-shortcodes .flag [data-tooltip]{text-align:center;cursor:default}.tbl-shortcodes .flag .wpmui-tip{text-align:center;min-width:135px}.tbl-shortcodes tbody .flag{text-align:center}.tbl-shortcodes tbody td{border-bottom:1px solid #F0F0F0}.tbl-shortcodes tbody tr:hover td{background:#FCFCFC}.tbl-shortcodes .shortcode .icon:before{content:"\f153";color:#CCC;font-size:14px;width:24px;display:inline-block}.tbl-shortcodes .shortcode.sc-admin .sc-admin .icon:before,.tbl-shortcodes .shortcode.sc-front .sc-front .icon:before{content:"\f147";color:#000;font-size:24px}.tbl-shortcodes .shortcode.sc-admin.sc-limited .sc-admin .icon:before,.tbl-shortcodes .shortcode.sc-front.sc-limited .load-front .icon:before{color:#D90}.tbl-shortcodes .legend{float:left;margin:10px 10px 10px 0}.tbl-shortcodes.load-footer .load-footer,.tbl-shortcodes.load-ajax .load-ajax,.tbl-shortcodes.load-front .load-front,.tbl-shortcodes.load-anonymous .load-anonymous{background:#f0f0f0}.tbl-addons tbody td,.tbl-addons tbody th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.tbl-addons code{display:inline-block;margin:0 1px 1px 0;font-size:12px}.tbl-addons .column-name{width:35%}@media screen and (max-width:900px){.tbl-addons .column-name{width:50%}}.locked td,.locked th{color:#AAA}.locked td .locked-msg,.locked th .locked-msg{color:#333}.locked td .locked-msg:before,.locked th .locked-msg:before{content:'- '}.locked td .locked-msg:after,.locked th .locked-msg:after{content:' -'}.post-type-inc_popup{}.post-type-inc_popup .view-switch{display:none}.post-type-inc_popup .tablenav .alignleft.actions #post-query-submit,.post-type-inc_popup .tablenav .alignleft.actions select[name="m"]{display:none}.post-type-inc_popup [for=po_name-hide]{display:none}.post-type-inc_popup .wp-list-table tbody td,.post-type-inc_popup .wp-list-table tbody th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);padding-top:15px;padding-bottom:15px}.post-type-inc_popup .wp-list-table .column-po_order{width:10px}.post-type-inc_popup .wp-list-table tbody tr:hover .column-po_order{cursor:move;cursor:ns-resize}.post-type-inc_popup .wp-list-table tbody tr:hover .column-po_order:before{content:"\f333";width:20px;height:20px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;transition:color .1s ease-in 0ms;-webkit-transition:color .1s ease-in 0ms;-webkit-font-smoothing:antialiased}.post-type-inc_popup .wp-list-table .column-po_name .the-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}.post-type-inc_popup .wp-list-table .column-po_cond{width:55%}@media screen and (max-width:600px){.post-type-inc_popup .wp-list-table .column-po_cond{width:40%}}.post-type-inc_popup .wp-list-table .column-po_pos{width:30px;text-align:center;white-space:nowrap}.post-type-inc_popup .wp-list-table .column-po_state{width:60px;text-align:center}.post-type-inc_popup .wp-list-table .rule,.post-type-inc_popup .wp-list-table .rule-always{color:#FFF;padding:1px 6px;border-radius:3px;margin:0 4px 1px 0;font-size:12px;float:left}.post-type-inc_popup .wp-list-table .rule{background:#999}.post-type-inc_popup .wp-list-table .rule-always{background:#CCC}.post-type-inc_popup .wp-list-table #the-list tr:nth-child(odd){background-color:#FFF!important}.post-type-inc_popup .wp-list-table #the-list tr:nth-child(even){background-color:#F9F9F9!important}.post-type-inc_popup .wp-list-table tr.ui-sortable-helper{box-shadow:0 1px 5px rgba(0,0,0,.2)}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder{position:relative}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder .column-po_order:before{content:'X';display:block;position:absolute;background:red;width:20px;height:20px}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder td{background:#DDD;height:70px;padding:0}.sticky-submit #submitdiv.closed,.sticky-submit #submitdiv{position:fixed;right:0;z-index:10;top:0;left:160px;box-shadow:0 5px 7px -3px rgba(0,0,0,.2);background:#F5F5F5}.sticky-submit #submitdiv.closed .inside,.sticky-submit #submitdiv .inside{display:block}.sticky-submit #submitdiv.closed .hndle,.sticky-submit #submitdiv.closed .handlediv,.sticky-submit #submitdiv .hndle,.sticky-submit #submitdiv .handlediv{display:none}.sticky-submit #submitdiv.closed #misc-publishing-actions,.sticky-submit #submitdiv #misc-publishing-actions{display:none}.sticky-submit #submitdiv.closed .sticky-actions,.sticky-submit #submitdiv .sticky-actions{padding:10px}.sticky-submit #submitdiv.closed .delete-action,.sticky-submit #submitdiv .delete-action{float:left}.sticky-submit #submitdiv.closed .duplicate-action,.sticky-submit #submitdiv.closed .save-action,.sticky-submit #submitdiv.closed .preview-action,.sticky-submit #submitdiv.closed .publishing-action,.sticky-submit #submitdiv .duplicate-action,.sticky-submit #submitdiv .save-action,.sticky-submit #submitdiv .preview-action,.sticky-submit #submitdiv .publishing-action{float:right;margin-right:10px}.sticky-submit #submitdiv.closed .do-duplicate,.sticky-submit #submitdiv .do-duplicate{margin:0}.sticky-submit.folded #submitdiv{left:36px}@media only screen and (max-width:900px){.sticky-submit.auto-fold #submitdiv{left:36px}}.sticky-submit #post-body{margin-top:75px}@media screen and (max-width:782px){.sticky-submit #submitdiv{left:0!important;top:46px!important}}@media screen and (max-width:600px){.sticky-submit #submitdiv{left:0!important;top:0!important}}.wp-toolbar .sticky-submit #submitdiv{top:32px}.wp-toolbar .sticky-submit #post-body{margin-top:105px}#submitdiv #minor-publishing-actions{text-align:left;padding:20px 10px}#submitdiv #major-publishing-actions{z-index:10;position:relative}#submitdiv .handlediv,#submitdiv .hndle{display:none}#submitdiv .preview{float:none}#submitdiv .status{float:right;position:relative;width:100px;top:-6px}#submitdiv .status>label{float:left;line-height:26px;margin-right:10px}#submitdiv .status-hint-box{float:right}#submitdiv .status-switch{width:40px;margin:0;padding:0;float:left}#submitdiv .status-switch input{position:absolute;left:-3000px;top:-3000px;display:none}#submitdiv .status-switch .label-active,#submitdiv .status-switch .label-inactive{position:absolute;top:18px;right:0;left:0;text-align:left;z-index:0;transition:all .3s}#submitdiv .status-switch .status-box{background:#AAA;border-radius:20px;height:16px;padding:0;cursor:pointer;display:block}#submitdiv .status-switch .status-box .label-active{display:none}#submitdiv .status-switch .status-box .label-inactive{display:block}#submitdiv .status-switch .status-box .indicator{width:10px;height:10px;position:absolute;left:3px;top:3px;background:#FFF;border-radius:20px;transition:right .2s,left .2s}#submitdiv .status-switch input:checked+.status-box{background:#3A3}#submitdiv .status-switch input:checked+.status-box .indicator{left:26px}#submitdiv .status-switch input:checked+.status-box .label-active{display:block}#submitdiv .status-switch input:checked+.status-box .label-inactive{display:none}#submitdiv .preview-action .spinner,#submitdiv .publishing-action .spinner,#submitdiv .save-action .spinner{float:left}#submitdiv .submitdelete.disabled{color:#AAA!important;cursor:default}#submitdiv .delete-action{line-height:28px;vertical-align:middle;text-align:left;float:left}#submitdiv .publishing-action{text-align:right;float:right;line-height:23px}#submitdiv .do-duplicate{margin:0 10px 0 0;line-height:28px;display:inline-block}.post-type-inc_popup #post #post-body-content{height:75px}.post-type-inc_popup #post .columns-2 #postbox-container-1{padding-top:75px}.post-type-inc_popup #post #normal-sortables{min-height:0}.post-type-inc_popup #post #titlediv label{font-weight:700;margin:5px 0;display:block}.post-type-inc_popup #post #titlediv #po_name{width:100%;max-width:800px}.post-type-inc_popup #post .postbox-container .postbox{clear:both}.post-type-inc_popup #post .postbox-container #meta-appearance{float:left;width:49%}@media screen and (max-width:900px){.post-type-inc_popup #post .postbox-container #meta-appearance{width:100%;float:none}}.post-type-inc_popup #post .postbox-container #meta-behavior{float:right;width:49%;clear:none}@media screen and (max-width:900px){.post-type-inc_popup #post .postbox-container #meta-behavior{width:100%;float:none}}.post-type-inc_popup #post .postbox-container #meta-content,.post-type-inc_popup #post .postbox-container #meta-rules{clear:both}.post-type-inc_popup #post .content-main{margin-right:270px;min-height:400px}.post-type-inc_popup #post .content-image{position:absolute;width:250px;top:0;right:12px}.post-type-inc_popup #post .content-image .featured-img{width:224px;height:224px;margin:10px 0;background:#F8F8F8;position:relative}.post-type-inc_popup #post .content-image .featured-img .lbl-empty{display:block;height:224px;padding-top:100px;text-align:center}.post-type-inc_popup #post .content-image .featured-img.has-image:hover .reset{display:block}.post-type-inc_popup #post .content-image img{max-width:100%;max-height:100%;margin:0 auto;display:block}.post-type-inc_popup #post .content-image .reset,.post-type-inc_popup #post .content-image .reset .dashicons{font-size:13px;text-decoration:none}.post-type-inc_popup #post .content-image .reset .dashicons{display:inline}.post-type-inc_popup #post .content-image .reset{position:absolute;display:none;z-index:10;margin-top:-36px;background:rgba(255,255,255,.85);padding:5px;height:26px;left:0;right:0;bottom:0;color:#666}.post-type-inc_popup #post .content-image .reset:hover{color:#000}.post-type-inc_popup #post .img-pos{text-align:center;margin:10px 0}.post-type-inc_popup #post .img-pos .option{display:inline-block;background:#F1F1F1;padding:12px 10px;text-align:left;margin:2px;cursor:pointer;position:relative;overflow:hidden}.post-type-inc_popup #post .img-pos .option:hover{background:#DDD}.post-type-inc_popup #post .img-pos .option .image{color:#000;padding:4px;display:inline-block;border:1px solid #666;margin:-5px;background:#FFF}.post-type-inc_popup #post .img-pos .option .image.left{margin-right:0}.post-type-inc_popup #post .img-pos .option .image.right{margin-left:0}.post-type-inc_popup #post .img-pos .option.selected{background:#0074A2;color:#FFF}.post-type-inc_popup #post .img-pos .option input{position:absolute;left:-30px;top:-30px}.post-type-inc_popup #post .add_image{padding-left:5px}.post-type-inc_popup #post .add_image .add-image-icon:before{color:#888}.post-type-inc_popup #post h3.main-content{padding-bottom:10px}.post-type-inc_popup #post .wpmui-toggle{width:40px}.post-type-inc_popup #post .wpmui-toggle-label{border:0;height:16px;background:#CCC}.post-type-inc_popup #post .wpmui-toggle-inner{display:none}.post-type-inc_popup #post .wpmui-toggle-switch{margin:3px;width:10px;height:10px;right:24px;border:0;box-shadow:none;transition:right .2s}.post-type-inc_popup #post .wpmui-toggle-checkbox:checked+.wpmui-toggle-label{background:#3A3}.post-type-inc_popup #post .wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.post-type-inc_popup #post .all-rules-box,.post-type-inc_popup #post .active-rules-box{border:1px solid #E5E5E5;height:400px;padding:10px;overflow:scroll;overflow-x:hidden;overflow-y:scroll;background:#FDFDFD;box-shadow:0 1px 2px #F0F0F0 inset}.post-type-inc_popup #post .all-rules,.post-type-inc_popup #post .active-rules{list-style:none;margin:0;padding:0}.post-type-inc_popup #post .all-rules>li,.post-type-inc_popup #post .active-rules>li{padding:5px;margin:0 0 5px;line-height:20px;min-height:30px;border-radius:2px;border:1px solid #E5E5E5;background:#FEFEFE;cursor:default;position:relative}.post-type-inc_popup #post .all-rules>li:last-child,.post-type-inc_popup #post .active-rules>li:last-child{margin:0}.post-type-inc_popup #post .all-rules>li:hover,.post-type-inc_popup #post .active-rules>li:hover{border-color:#AAA;color:#000;background:#FFF;box-shadow:0 1px 3px #E9E9E9}.post-type-inc_popup #post .all-rules .wpmui-toggle,.post-type-inc_popup #post .active-rules .wpmui-toggle{margin:2px 6px}.post-type-inc_popup #post .all-rules .rule{cursor:pointer}.post-type-inc_popup #post .all-rules .rule.inactive{cursor:default}.post-type-inc_popup #post .all-rules .rule.on{background:#F7FCFE;border-color:#2EA2CC}.post-type-inc_popup #post .active-rules .rule.off{display:none!important}.post-type-inc_popup #post .active-rules .rule-title{background:#E5E5E5;padding:5px;margin:-5px;cursor:pointer}.post-type-inc_popup #post .active-rules .rule-toggle{position:absolute;right:0;top:0;width:30px;height:30px;cursor:pointer;border-left:1px solid #DCDCDC}.post-type-inc_popup #post .active-rules .rule-toggle:before{content:'\f140';line-height:30px;color:#333}.post-type-inc_popup #post .active-rules .rule.open .rule-toggle:before{content:'\f142'}.post-type-inc_popup #post .active-rules .rule-inner{display:none;margin-top:10px;padding:3px}.post-type-inc_popup #post .active-rules .rule-form{margin-top:5px;padding-top:5px}.post-type-inc_popup #post .active-rules .rule.open .rule-inner{display:block}.post-type-inc_popup #post .col-colorpicker{width:41.66%;min-width:260px;margin-bottom:10px}.post-type-inc_popup #post .wp-picker-container{width:260px}.post-type-inc_popup #post .wp-picker-container *{box-sizing:content-box}.post-type-inc_popup #post .wp-picker-container .wp-picker-holder{position:absolute;z-index:10}.post-type-inc_popup #post .wp-picker-container .iris-picker{box-shadow:0 1px 5px rgba(0,0,0,.2)}.post-type-inc_popup #post hr{margin:16px -12px 6px;border-top:0;border-bottom:1px solid #EEE}.post-type-inc_popup #post .col-all-rules{width:320px}.post-type-inc_popup #post .col-active-rules{float:none;display:block}.post-type-inc_popup #post .wpmui-toggle{float:right;margin:6px}.post-type-inc_popup #post .slider-wrap .slider{margin:15px 10px 5px}.post-type-inc_popup #post .slider-wrap .slider-data{padding-bottom:10px;border-bottom:1px solid #EEE}#poststuff .postbox label h3{border:0;padding:0;cursor:default}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{-webkit-filter:inherit;filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.pro-only{position:relative;margin:3px 0;clear:both}.pro-only:after{content:' ';display:table;clear:both}.pro-only .pro-note{opacity:0;position:absolute;top:-3px;left:-3px;right:-3px;bottom:-3px;text-align:center;background:rgba(0,0,0,.6);color:#FFF;font-family:"Source Sans Pro","Open Sans",sans-serif;font-weight:100;font-size:20px;z-index:9999;transition:opacity .2s}.pro-only .pro-note a{color:#7ed321}.pro-only:hover .pro-note{opacity:1}
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
5
+ .post-type-inc_popup .status-icon{color:#CCC;width:30px;font-size:16px;line-height:20px;height:20px}.post-type-inc_popup .status-icon:before{content:"\f153"}.post-type-inc_popup .status-active .status-icon,.post-type-inc_popup .status-publish .status-icon{color:#090;font-size:30px}.post-type-inc_popup .status-active .status-icon:before,.post-type-inc_popup .status-publish .status-icon:before{content:"\f147"}.post-type-inc_popup .status-trash .status-icon:before{content:"\f182"}select.block,textarea.block,input.block{margin-left:0;margin-right:0;display:block;width:100%}textarea.block{height:7.2em}.wp-admin select{vertical-align:top;margin-top:0}.inp-small{width:75px}.inp-row{min-height:32px}.inp-row label.inp-height{margin:7px 0 0;display:inline-block}.inactive{opacity:.35;position:relative}.inactive:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:10000}.inactive-anim{transition:opacity .3s}fieldset{border:1px solid #DDD;padding:8px;margin:0 0 10px}fieldset:last-child{margin-bottom:0}div.msg-ok,div.msg-err{padding:0 .6em;padding:1px 12px;background-color:#FAFAFA;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);clear:both;margin:15px 0 0}div.msg-ok{border-left:4px solid #7AD03A}div.msg-err{border-left:4px solid #DD3D36}.tbl-shortcodes{margin-top:20px;max-width:920px}.tbl-shortcodes .flag{width:12%;overflow:visible}.tbl-shortcodes .flag [data-tooltip]{text-align:center;cursor:default}.tbl-shortcodes .flag .wpmui-tip{text-align:center;min-width:135px}.tbl-shortcodes tbody .flag{text-align:center}.tbl-shortcodes tbody td{border-bottom:1px solid #F0F0F0}.tbl-shortcodes tbody tr:hover td{background:#FCFCFC}.tbl-shortcodes .shortcode .icon:before{content:"\f153";color:#CCC;font-size:14px;width:24px;display:inline-block}.tbl-shortcodes .shortcode.sc-admin .sc-admin .icon:before,.tbl-shortcodes .shortcode.sc-front .sc-front .icon:before{content:"\f147";color:#000;font-size:24px}.tbl-shortcodes .shortcode.sc-admin.sc-limited .sc-admin .icon:before,.tbl-shortcodes .shortcode.sc-front.sc-limited .load-front .icon:before{color:#D90}.tbl-shortcodes .legend{float:left;margin:10px 10px 10px 0}.tbl-shortcodes.load-footer .load-footer,.tbl-shortcodes.load-ajax .load-ajax,.tbl-shortcodes.load-front .load-front,.tbl-shortcodes.load-anonymous .load-anonymous{background:#f0f0f0}.tbl-addons tbody td,.tbl-addons tbody th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.tbl-addons code{display:inline-block;margin:0 1px 1px 0;font-size:12px}.tbl-addons .column-name{width:35%}@media screen and (max-width:900px){.tbl-addons .column-name{width:50%}}.locked td,.locked th{color:#AAA}.locked td .locked-msg,.locked th .locked-msg{color:#333}.locked td .locked-msg:before,.locked th .locked-msg:before{content:'- '}.locked td .locked-msg:after,.locked th .locked-msg:after{content:' -'}.post-type-inc_popup{}.post-type-inc_popup .view-switch{display:none}.post-type-inc_popup .tablenav .alignleft.actions #post-query-submit,.post-type-inc_popup .tablenav .alignleft.actions select[name="m"]{display:none}.post-type-inc_popup [for=po_name-hide]{display:none}.post-type-inc_popup .wp-list-table tbody td,.post-type-inc_popup .wp-list-table tbody th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);padding-top:15px;padding-bottom:15px}.post-type-inc_popup .wp-list-table .column-po_order{width:10px}.post-type-inc_popup .wp-list-table tbody tr:hover .column-po_order{cursor:move;cursor:ns-resize}.post-type-inc_popup .wp-list-table tbody tr:hover .column-po_order:before{content:"\f333";width:20px;height:20px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;transition:color .1s ease-in 0ms;-webkit-transition:color .1s ease-in 0ms;-webkit-font-smoothing:antialiased}.post-type-inc_popup .wp-list-table .column-po_name .the-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}.post-type-inc_popup .wp-list-table .column-po_cond{width:55%}@media screen and (max-width:600px){.post-type-inc_popup .wp-list-table .column-po_cond{width:40%}}.post-type-inc_popup .wp-list-table .column-po_pos{width:30px;text-align:center;white-space:nowrap}.post-type-inc_popup .wp-list-table .column-po_state{width:60px;text-align:center}.post-type-inc_popup .wp-list-table .rule,.post-type-inc_popup .wp-list-table .rule-always{color:#FFF;padding:1px 6px;border-radius:3px;margin:0 4px 1px 0;font-size:12px;float:left}.post-type-inc_popup .wp-list-table .rule{background:#999}.post-type-inc_popup .wp-list-table .rule-always{background:#CCC}.post-type-inc_popup .wp-list-table #the-list tr:nth-child(odd){background-color:#FFF!important}.post-type-inc_popup .wp-list-table #the-list tr:nth-child(even){background-color:#F9F9F9!important}.post-type-inc_popup .wp-list-table tr.ui-sortable-helper{box-shadow:0 1px 5px rgba(0,0,0,.2)}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder{position:relative}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder .column-po_order:before{content:'X';display:block;position:absolute;background:red;width:20px;height:20px}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder td{background:#DDD;height:70px;padding:0}.sticky-submit #submitdiv.closed,.sticky-submit #submitdiv{position:fixed;right:0;z-index:10;top:0;left:160px;box-shadow:0 5px 7px -3px rgba(0,0,0,.2);background:#F5F5F5}.sticky-submit #submitdiv.closed .inside,.sticky-submit #submitdiv .inside{display:block}.sticky-submit #submitdiv.closed .hndle,.sticky-submit #submitdiv.closed .handlediv,.sticky-submit #submitdiv .hndle,.sticky-submit #submitdiv .handlediv{display:none}.sticky-submit #submitdiv.closed #misc-publishing-actions,.sticky-submit #submitdiv #misc-publishing-actions{display:none}.sticky-submit #submitdiv.closed .sticky-actions,.sticky-submit #submitdiv .sticky-actions{padding:10px}.sticky-submit #submitdiv.closed .delete-action,.sticky-submit #submitdiv .delete-action{float:left}.sticky-submit #submitdiv.closed .duplicate-action,.sticky-submit #submitdiv.closed .save-action,.sticky-submit #submitdiv.closed .preview-action,.sticky-submit #submitdiv.closed .publishing-action,.sticky-submit #submitdiv .duplicate-action,.sticky-submit #submitdiv .save-action,.sticky-submit #submitdiv .preview-action,.sticky-submit #submitdiv .publishing-action{float:right;margin-right:10px}.sticky-submit #submitdiv.closed .do-duplicate,.sticky-submit #submitdiv .do-duplicate{margin:0}.sticky-submit.folded #submitdiv{left:36px}@media only screen and (max-width:900px){.sticky-submit.auto-fold #submitdiv{left:36px}}.sticky-submit #post-body{margin-top:75px}@media screen and (max-width:782px){.sticky-submit #submitdiv{left:0!important;top:46px!important}}@media screen and (max-width:600px){.sticky-submit #submitdiv{left:0!important;top:0!important}}.wp-toolbar .sticky-submit #submitdiv{top:32px}.wp-toolbar .sticky-submit #post-body{margin-top:105px}#submitdiv #minor-publishing-actions{text-align:left;padding:20px 10px}#submitdiv #major-publishing-actions{z-index:10;position:relative}#submitdiv .handlediv,#submitdiv .hndle{display:none}#submitdiv .preview{float:none}#submitdiv .status{float:right;position:relative;width:100px;top:-6px}#submitdiv .status>label{float:left;line-height:26px;margin-right:10px}#submitdiv .status-hint-box{float:right}#submitdiv .status-switch{width:40px;margin:0;padding:0;float:left}#submitdiv .status-switch input{position:absolute;left:-3000px;top:-3000px;display:none}#submitdiv .status-switch .label-active,#submitdiv .status-switch .label-inactive{position:absolute;top:18px;right:0;left:0;text-align:left;z-index:0;transition:all .3s}#submitdiv .status-switch .status-box{background:#AAA;border-radius:20px;height:16px;padding:0;cursor:pointer;display:block}#submitdiv .status-switch .status-box .label-active{display:none}#submitdiv .status-switch .status-box .label-inactive{display:block}#submitdiv .status-switch .status-box .indicator{width:10px;height:10px;position:absolute;left:3px;top:3px;background:#FFF;border-radius:20px;transition:right .2s,left .2s}#submitdiv .status-switch input:checked+.status-box{background:#3A3}#submitdiv .status-switch input:checked+.status-box .indicator{left:26px}#submitdiv .status-switch input:checked+.status-box .label-active{display:block}#submitdiv .status-switch input:checked+.status-box .label-inactive{display:none}#submitdiv .preview-action .spinner,#submitdiv .publishing-action .spinner,#submitdiv .save-action .spinner{float:left}#submitdiv .submitdelete.disabled{color:#AAA!important;cursor:default}#submitdiv .delete-action{line-height:28px;vertical-align:middle;text-align:left;float:left}#submitdiv .publishing-action{text-align:right;float:right;line-height:23px}#submitdiv .do-duplicate{margin:0 10px 0 0;line-height:28px;display:inline-block}.post-type-inc_popup #post #post-body-content{height:75px}.post-type-inc_popup #post .columns-2 #postbox-container-1{padding-top:75px}.post-type-inc_popup #post #normal-sortables{min-height:0}.post-type-inc_popup #post #titlediv label{font-weight:700;margin:5px 0;display:block}.post-type-inc_popup #post #titlediv #po_name{width:100%;max-width:800px}.post-type-inc_popup #post .postbox-container .postbox{clear:both}.post-type-inc_popup #post .postbox-container #meta-appearance{float:left;width:49%}@media screen and (max-width:900px){.post-type-inc_popup #post .postbox-container #meta-appearance{width:100%;float:none}}.post-type-inc_popup #post .postbox-container #meta-behavior{float:right;width:49%;clear:none}@media screen and (max-width:900px){.post-type-inc_popup #post .postbox-container #meta-behavior{width:100%;float:none}}.post-type-inc_popup #post .postbox-container #meta-content,.post-type-inc_popup #post .postbox-container #meta-rules{clear:both}.post-type-inc_popup #post .content-main{margin-right:270px;min-height:400px}.post-type-inc_popup #post .content-image{position:absolute;width:250px;top:0;right:12px}.post-type-inc_popup #post .content-image .featured-img{width:224px;height:224px;margin:10px 0;background:#F8F8F8;position:relative}.post-type-inc_popup #post .content-image .featured-img .lbl-empty{display:block;height:224px;padding-top:100px;text-align:center}.post-type-inc_popup #post .content-image .featured-img.has-image:hover .reset{display:block}.post-type-inc_popup #post .content-image img{max-width:100%;max-height:100%;margin:0 auto;display:block}.post-type-inc_popup #post .content-image .reset,.post-type-inc_popup #post .content-image .reset .dashicons{font-size:13px;text-decoration:none}.post-type-inc_popup #post .content-image .reset .dashicons{display:inline}.post-type-inc_popup #post .content-image .reset{position:absolute;display:none;z-index:10;margin-top:-36px;background:rgba(255,255,255,.85);padding:5px;height:26px;left:0;right:0;bottom:0;color:#666}.post-type-inc_popup #post .content-image .reset:hover{color:#000}.post-type-inc_popup #post .img-pos{text-align:center;margin:10px 0}.post-type-inc_popup #post .img-pos .option{display:inline-block;background:#F1F1F1;padding:12px 10px;text-align:left;margin:2px;cursor:pointer;position:relative;overflow:hidden}.post-type-inc_popup #post .img-pos .option:hover{background:#DDD}.post-type-inc_popup #post .img-pos .option .image{color:#000;padding:4px;display:inline-block;border:1px solid #666;margin:-5px;background:#FFF}.post-type-inc_popup #post .img-pos .option .image.left{margin-right:0}.post-type-inc_popup #post .img-pos .option .image.right{margin-left:0}.post-type-inc_popup #post .img-pos .option.selected{background:#0074A2;color:#FFF}.post-type-inc_popup #post .img-pos .option input{position:absolute;left:-30px;top:-30px}.post-type-inc_popup #post .add_image{padding-left:5px}.post-type-inc_popup #post .add_image .add-image-icon:before{color:#888}.post-type-inc_popup #post h3.main-content{padding-bottom:10px}.post-type-inc_popup #post .wpmui-toggle{width:40px}.post-type-inc_popup #post .wpmui-toggle-label{border:0;height:16px;background:#CCC}.post-type-inc_popup #post .wpmui-toggle-inner{display:none}.post-type-inc_popup #post .wpmui-toggle-switch{margin:3px;width:10px;height:10px;right:24px;border:0;box-shadow:none;transition:right .2s}.post-type-inc_popup #post .wpmui-toggle-checkbox:checked+.wpmui-toggle-label{background:#3A3}.post-type-inc_popup #post .wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.post-type-inc_popup #post .all-rules-box,.post-type-inc_popup #post .active-rules-box{border:1px solid #E5E5E5;height:400px;padding:10px;overflow:scroll;overflow-x:hidden;overflow-y:scroll;background:#FDFDFD;box-shadow:0 1px 2px #F0F0F0 inset}.post-type-inc_popup #post .all-rules,.post-type-inc_popup #post .active-rules{list-style:none;margin:0;padding:0}.post-type-inc_popup #post .all-rules>li,.post-type-inc_popup #post .active-rules>li{padding:5px;margin:0 0 5px;line-height:20px;min-height:30px;border-radius:2px;border:1px solid #E5E5E5;background:#FEFEFE;cursor:default;position:relative}.post-type-inc_popup #post .all-rules>li:last-child,.post-type-inc_popup #post .active-rules>li:last-child{margin:0}.post-type-inc_popup #post .all-rules>li:hover,.post-type-inc_popup #post .active-rules>li:hover{border-color:#AAA;color:#000;background:#FFF;box-shadow:0 1px 3px #E9E9E9}.post-type-inc_popup #post .all-rules .wpmui-toggle,.post-type-inc_popup #post .active-rules .wpmui-toggle{margin:2px 6px}.post-type-inc_popup #post .all-rules .rule{cursor:pointer}.post-type-inc_popup #post .all-rules .rule.inactive{cursor:default}.post-type-inc_popup #post .all-rules .rule.on{background:#F7FCFE;border-color:#2EA2CC}.post-type-inc_popup #post .active-rules .rule.off{display:none!important}.post-type-inc_popup #post .active-rules .rule-title{background:#E5E5E5;padding:5px;margin:-5px;cursor:pointer}.post-type-inc_popup #post .active-rules .rule-toggle{position:absolute;right:0;top:0;width:30px;height:30px;cursor:pointer;border-left:1px solid #DCDCDC}.post-type-inc_popup #post .active-rules .rule-toggle:before{content:'\f140';line-height:30px;color:#333}.post-type-inc_popup #post .active-rules .rule.open .rule-toggle:before{content:'\f142'}.post-type-inc_popup #post .active-rules .rule-inner{display:none;margin-top:10px;padding:3px}.post-type-inc_popup #post .active-rules .rule-form{margin-top:5px;padding-top:5px}.post-type-inc_popup #post .active-rules .rule.open .rule-inner{display:block}.post-type-inc_popup #post .col-colorpicker{width:41.66%;min-width:260px;margin-bottom:10px}.post-type-inc_popup #post .wp-picker-container{width:260px}.post-type-inc_popup #post .wp-picker-container *{box-sizing:content-box}.post-type-inc_popup #post .wp-picker-container .wp-picker-holder{position:absolute;z-index:10}.post-type-inc_popup #post .wp-picker-container .iris-picker{box-shadow:0 1px 5px rgba(0,0,0,.2)}.post-type-inc_popup #post hr{margin:16px -12px 6px;border-top:0;border-bottom:1px solid #EEE}.post-type-inc_popup #post .col-all-rules{width:320px;z-index:2}.post-type-inc_popup #post .col-active-rules{float:none;display:block;z-index:1}.post-type-inc_popup #post .wpmui-toggle{float:right;margin:6px}.post-type-inc_popup #post .slider-wrap .slider{margin:15px 10px 5px}.post-type-inc_popup #post .slider-wrap .slider-data{padding-bottom:10px;border-bottom:1px solid #EEE}#poststuff .postbox label h3{border:0;padding:0;cursor:default}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{-webkit-filter:inherit;filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.pro-icon{display:inline-block;width:20px;height:20px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#DBA901;margin-left:-2px;margin-right:4px;transition:opacity .2s}.pro-icon:before{content:"\f160"}.pro-only{position:relative;margin:3px 0;clear:both}.pro-only:after{content:' ';display:table;clear:both}.pro-only .pro-note{opacity:0;position:absolute;top:-3px;left:-3px;right:-3px;bottom:-3px;background:rgba(0,0,0,.6);color:#FFF;font-family:"Source Sans Pro","Open Sans",sans-serif;font-weight:100;font-size:20px;z-index:9999;transition:opacity .2s}.pro-only .pro-note .text{position:absolute;left:0;right:0;top:50%;margin-top:-20px;height:40px;line-height:40px;text-align:center}.pro-only .pro-note .pro-icon{position:absolute;font-size:64px;left:10px;top:50%;margin-top:-32px;opacity:.6}.pro-only .pro-note a{color:#7ed321}.pro-only:hover .pro-note{opacity:1}.pro-only:hover .pro-note .pro-icon{opacity:.6}.pro-only:hover .pro-icon{opacity:.3}
css/vendor/animate.scss ADDED
@@ -0,0 +1,3159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+ /*!
3
+ Animate.css - http://daneden.me/animate
4
+ Licensed under the MIT license - http://opensource.org/licenses/MIT
5
+
6
+ Copyright (c) 2014 Daniel Eden
7
+ https://raw.githubusercontent.com/daneden/animate.css/master/animate.css
8
+ */
9
+
10
+ .animated {
11
+ -webkit-animation-duration: 1s;
12
+ animation-duration: 1s;
13
+ -webkit-animation-fill-mode: both;
14
+ animation-fill-mode: both;
15
+ }
16
+
17
+ .animated.infinite {
18
+ -webkit-animation-iteration-count: infinite;
19
+ animation-iteration-count: infinite;
20
+ }
21
+
22
+ .animated.hinge {
23
+ -webkit-animation-duration: 2s;
24
+ animation-duration: 2s;
25
+ }
26
+
27
+ @-webkit-keyframes bounce {
28
+ 0%, 20%, 53%, 80%, 100% {
29
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
30
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
31
+ -webkit-transform: translate3d(0,0,0);
32
+ transform: translate3d(0,0,0);
33
+ }
34
+
35
+ 40%, 43% {
36
+ -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
37
+ transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
38
+ -webkit-transform: translate3d(0, -30px, 0);
39
+ transform: translate3d(0, -30px, 0);
40
+ }
41
+
42
+ 70% {
43
+ -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
44
+ transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
45
+ -webkit-transform: translate3d(0, -15px, 0);
46
+ transform: translate3d(0, -15px, 0);
47
+ }
48
+
49
+ 90% {
50
+ -webkit-transform: translate3d(0,-4px,0);
51
+ transform: translate3d(0,-4px,0);
52
+ }
53
+ }
54
+
55
+ @keyframes bounce {
56
+ 0%, 20%, 53%, 80%, 100% {
57
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
58
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
59
+ -webkit-transform: translate3d(0,0,0);
60
+ transform: translate3d(0,0,0);
61
+ }
62
+
63
+ 40%, 43% {
64
+ -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
65
+ transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
66
+ -webkit-transform: translate3d(0, -30px, 0);
67
+ transform: translate3d(0, -30px, 0);
68
+ }
69
+
70
+ 70% {
71
+ -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
72
+ transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
73
+ -webkit-transform: translate3d(0, -15px, 0);
74
+ transform: translate3d(0, -15px, 0);
75
+ }
76
+
77
+ 90% {
78
+ -webkit-transform: translate3d(0,-4px,0);
79
+ transform: translate3d(0,-4px,0);
80
+ }
81
+ }
82
+
83
+ .bounce {
84
+ -webkit-animation-name: bounce;
85
+ animation-name: bounce;
86
+ -webkit-transform-origin: center bottom;
87
+ -ms-transform-origin: center bottom;
88
+ transform-origin: center bottom;
89
+ }
90
+
91
+ @-webkit-keyframes flash {
92
+ 0%, 50%, 100% {
93
+ opacity: 1;
94
+ }
95
+
96
+ 25%, 75% {
97
+ opacity: 0;
98
+ }
99
+ }
100
+
101
+ @keyframes flash {
102
+ 0%, 50%, 100% {
103
+ opacity: 1;
104
+ }
105
+
106
+ 25%, 75% {
107
+ opacity: 0;
108
+ }
109
+ }
110
+
111
+ .flash {
112
+ -webkit-animation-name: flash;
113
+ animation-name: flash;
114
+ }
115
+
116
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
117
+
118
+ @-webkit-keyframes pulse {
119
+ 0% {
120
+ -webkit-transform: scale3d(1, 1, 1);
121
+ transform: scale3d(1, 1, 1);
122
+ }
123
+
124
+ 50% {
125
+ -webkit-transform: scale3d(1.05, 1.05, 1.05);
126
+ transform: scale3d(1.05, 1.05, 1.05);
127
+ }
128
+
129
+ 100% {
130
+ -webkit-transform: scale3d(1, 1, 1);
131
+ transform: scale3d(1, 1, 1);
132
+ }
133
+ }
134
+
135
+ @keyframes pulse {
136
+ 0% {
137
+ -webkit-transform: scale3d(1, 1, 1);
138
+ transform: scale3d(1, 1, 1);
139
+ }
140
+
141
+ 50% {
142
+ -webkit-transform: scale3d(1.05, 1.05, 1.05);
143
+ transform: scale3d(1.05, 1.05, 1.05);
144
+ }
145
+
146
+ 100% {
147
+ -webkit-transform: scale3d(1, 1, 1);
148
+ transform: scale3d(1, 1, 1);
149
+ }
150
+ }
151
+
152
+ .pulse {
153
+ -webkit-animation-name: pulse;
154
+ animation-name: pulse;
155
+ }
156
+
157
+ @-webkit-keyframes rubberBand {
158
+ 0% {
159
+ -webkit-transform: scale3d(1, 1, 1);
160
+ transform: scale3d(1, 1, 1);
161
+ }
162
+
163
+ 30% {
164
+ -webkit-transform: scale3d(1.25, 0.75, 1);
165
+ transform: scale3d(1.25, 0.75, 1);
166
+ }
167
+
168
+ 40% {
169
+ -webkit-transform: scale3d(0.75, 1.25, 1);
170
+ transform: scale3d(0.75, 1.25, 1);
171
+ }
172
+
173
+ 50% {
174
+ -webkit-transform: scale3d(1.15, 0.85, 1);
175
+ transform: scale3d(1.15, 0.85, 1);
176
+ }
177
+
178
+ 65% {
179
+ -webkit-transform: scale3d(.95, 1.05, 1);
180
+ transform: scale3d(.95, 1.05, 1);
181
+ }
182
+
183
+ 75% {
184
+ -webkit-transform: scale3d(1.05, .95, 1);
185
+ transform: scale3d(1.05, .95, 1);
186
+ }
187
+
188
+ 100% {
189
+ -webkit-transform: scale3d(1, 1, 1);
190
+ transform: scale3d(1, 1, 1);
191
+ }
192
+ }
193
+
194
+ @keyframes rubberBand {
195
+ 0% {
196
+ -webkit-transform: scale3d(1, 1, 1);
197
+ transform: scale3d(1, 1, 1);
198
+ }
199
+
200
+ 30% {
201
+ -webkit-transform: scale3d(1.25, 0.75, 1);
202
+ transform: scale3d(1.25, 0.75, 1);
203
+ }
204
+
205
+ 40% {
206
+ -webkit-transform: scale3d(0.75, 1.25, 1);
207
+ transform: scale3d(0.75, 1.25, 1);
208
+ }
209
+
210
+ 50% {
211
+ -webkit-transform: scale3d(1.15, 0.85, 1);
212
+ transform: scale3d(1.15, 0.85, 1);
213
+ }
214
+
215
+ 65% {
216
+ -webkit-transform: scale3d(.95, 1.05, 1);
217
+ transform: scale3d(.95, 1.05, 1);
218
+ }
219
+
220
+ 75% {
221
+ -webkit-transform: scale3d(1.05, .95, 1);
222
+ transform: scale3d(1.05, .95, 1);
223
+ }
224
+
225
+ 100% {
226
+ -webkit-transform: scale3d(1, 1, 1);
227
+ transform: scale3d(1, 1, 1);
228
+ }
229
+ }
230
+
231
+ .rubberBand {
232
+ -webkit-animation-name: rubberBand;
233
+ animation-name: rubberBand;
234
+ }
235
+
236
+ @-webkit-keyframes shake {
237
+ 0%, 100% {
238
+ -webkit-transform: translate3d(0, 0, 0);
239
+ transform: translate3d(0, 0, 0);
240
+ }
241
+
242
+ 10%, 30%, 50%, 70%, 90% {
243
+ -webkit-transform: translate3d(-10px, 0, 0);
244
+ transform: translate3d(-10px, 0, 0);
245
+ }
246
+
247
+ 20%, 40%, 60%, 80% {
248
+ -webkit-transform: translate3d(10px, 0, 0);
249
+ transform: translate3d(10px, 0, 0);
250
+ }
251
+ }
252
+
253
+ @keyframes shake {
254
+ 0%, 100% {
255
+ -webkit-transform: translate3d(0, 0, 0);
256
+ transform: translate3d(0, 0, 0);
257
+ }
258
+
259
+ 10%, 30%, 50%, 70%, 90% {
260
+ -webkit-transform: translate3d(-10px, 0, 0);
261
+ transform: translate3d(-10px, 0, 0);
262
+ }
263
+
264
+ 20%, 40%, 60%, 80% {
265
+ -webkit-transform: translate3d(10px, 0, 0);
266
+ transform: translate3d(10px, 0, 0);
267
+ }
268
+ }
269
+
270
+ .shake {
271
+ -webkit-animation-name: shake;
272
+ animation-name: shake;
273
+ }
274
+
275
+ @-webkit-keyframes swing {
276
+ 20% {
277
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
278
+ transform: rotate3d(0, 0, 1, 15deg);
279
+ }
280
+
281
+ 40% {
282
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
283
+ transform: rotate3d(0, 0, 1, -10deg);
284
+ }
285
+
286
+ 60% {
287
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
288
+ transform: rotate3d(0, 0, 1, 5deg);
289
+ }
290
+
291
+ 80% {
292
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
293
+ transform: rotate3d(0, 0, 1, -5deg);
294
+ }
295
+
296
+ 100% {
297
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
298
+ transform: rotate3d(0, 0, 1, 0deg);
299
+ }
300
+ }
301
+
302
+ @keyframes swing {
303
+ 20% {
304
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
305
+ transform: rotate3d(0, 0, 1, 15deg);
306
+ }
307
+
308
+ 40% {
309
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
310
+ transform: rotate3d(0, 0, 1, -10deg);
311
+ }
312
+
313
+ 60% {
314
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
315
+ transform: rotate3d(0, 0, 1, 5deg);
316
+ }
317
+
318
+ 80% {
319
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
320
+ transform: rotate3d(0, 0, 1, -5deg);
321
+ }
322
+
323
+ 100% {
324
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
325
+ transform: rotate3d(0, 0, 1, 0deg);
326
+ }
327
+ }
328
+
329
+ .swing {
330
+ -webkit-transform-origin: top center;
331
+ -ms-transform-origin: top center;
332
+ transform-origin: top center;
333
+ -webkit-animation-name: swing;
334
+ animation-name: swing;
335
+ }
336
+
337
+ @-webkit-keyframes tada {
338
+ 0% {
339
+ -webkit-transform: scale3d(1, 1, 1);
340
+ transform: scale3d(1, 1, 1);
341
+ }
342
+
343
+ 10%, 20% {
344
+ -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
345
+ transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
346
+ }
347
+
348
+ 30%, 50%, 70%, 90% {
349
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
350
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
351
+ }
352
+
353
+ 40%, 60%, 80% {
354
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
355
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
356
+ }
357
+
358
+ 100% {
359
+ -webkit-transform: scale3d(1, 1, 1);
360
+ transform: scale3d(1, 1, 1);
361
+ }
362
+ }
363
+
364
+ @keyframes tada {
365
+ 0% {
366
+ -webkit-transform: scale3d(1, 1, 1);
367
+ transform: scale3d(1, 1, 1);
368
+ }
369
+
370
+ 10%, 20% {
371
+ -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
372
+ transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
373
+ }
374
+
375
+ 30%, 50%, 70%, 90% {
376
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
377
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
378
+ }
379
+
380
+ 40%, 60%, 80% {
381
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
382
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
383
+ }
384
+
385
+ 100% {
386
+ -webkit-transform: scale3d(1, 1, 1);
387
+ transform: scale3d(1, 1, 1);
388
+ }
389
+ }
390
+
391
+ .tada {
392
+ -webkit-animation-name: tada;
393
+ animation-name: tada;
394
+ }
395
+
396
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
397
+
398
+ @-webkit-keyframes wobble {
399
+ 0% {
400
+ -webkit-transform: none;
401
+ transform: none;
402
+ }
403
+
404
+ 15% {
405
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
406
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
407
+ }
408
+
409
+ 30% {
410
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
411
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
412
+ }
413
+
414
+ 45% {
415
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
416
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
417
+ }
418
+
419
+ 60% {
420
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
421
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
422
+ }
423
+
424
+ 75% {
425
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
426
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
427
+ }
428
+
429
+ 100% {
430
+ -webkit-transform: none;
431
+ transform: none;
432
+ }
433
+ }
434
+
435
+ @keyframes wobble {
436
+ 0% {
437
+ -webkit-transform: none;
438
+ transform: none;
439
+ }
440
+
441
+ 15% {
442
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
443
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
444
+ }
445
+
446
+ 30% {
447
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
448
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
449
+ }
450
+
451
+ 45% {
452
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
453
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
454
+ }
455
+
456
+ 60% {
457
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
458
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
459
+ }
460
+
461
+ 75% {
462
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
463
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
464
+ }
465
+
466
+ 100% {
467
+ -webkit-transform: none;
468
+ transform: none;
469
+ }
470
+ }
471
+
472
+ .wobble {
473
+ -webkit-animation-name: wobble;
474
+ animation-name: wobble;
475
+ }
476
+
477
+ @-webkit-keyframes bounceIn {
478
+ 0%, 20%, 40%, 60%, 80%, 100% {
479
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
480
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
481
+ }
482
+
483
+ 0% {
484
+ opacity: 0;
485
+ -webkit-transform: scale3d(.3, .3, .3);
486
+ transform: scale3d(.3, .3, .3);
487
+ }
488
+
489
+ 20% {
490
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
491
+ transform: scale3d(1.1, 1.1, 1.1);
492
+ }
493
+
494
+ 40% {
495
+ -webkit-transform: scale3d(.9, .9, .9);
496
+ transform: scale3d(.9, .9, .9);
497
+ }
498
+
499
+ 60% {
500
+ opacity: 1;
501
+ -webkit-transform: scale3d(1.03, 1.03, 1.03);
502
+ transform: scale3d(1.03, 1.03, 1.03);
503
+ }
504
+
505
+ 80% {
506
+ -webkit-transform: scale3d(.97, .97, .97);
507
+ transform: scale3d(.97, .97, .97);
508
+ }
509
+
510
+ 100% {
511
+ opacity: 1;
512
+ -webkit-transform: scale3d(1, 1, 1);
513
+ transform: scale3d(1, 1, 1);
514
+ }
515
+ }
516
+
517
+ @keyframes bounceIn {
518
+ 0%, 20%, 40%, 60%, 80%, 100% {
519
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
520
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
521
+ }
522
+
523
+ 0% {
524
+ opacity: 0;
525
+ -webkit-transform: scale3d(.3, .3, .3);
526
+ transform: scale3d(.3, .3, .3);
527
+ }
528
+
529
+ 20% {
530
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
531
+ transform: scale3d(1.1, 1.1, 1.1);
532
+ }
533
+
534
+ 40% {
535
+ -webkit-transform: scale3d(.9, .9, .9);
536
+ transform: scale3d(.9, .9, .9);
537
+ }
538
+
539
+ 60% {
540
+ opacity: 1;
541
+ -webkit-transform: scale3d(1.03, 1.03, 1.03);
542
+ transform: scale3d(1.03, 1.03, 1.03);
543
+ }
544
+
545
+ 80% {
546
+ -webkit-transform: scale3d(.97, .97, .97);
547
+ transform: scale3d(.97, .97, .97);
548
+ }
549
+
550
+ 100% {
551
+ opacity: 1;
552
+ -webkit-transform: scale3d(1, 1, 1);
553
+ transform: scale3d(1, 1, 1);
554
+ }
555
+ }
556
+
557
+ .bounceIn {
558
+ -webkit-animation-name: bounceIn;
559
+ animation-name: bounceIn;
560
+ -webkit-animation-duration: .75s;
561
+ animation-duration: .75s;
562
+ }
563
+
564
+ @-webkit-keyframes bounceInDown {
565
+ 0%, 60%, 75%, 90%, 100% {
566
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
567
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
568
+ }
569
+
570
+ 0% {
571
+ opacity: 0;
572
+ -webkit-transform: translate3d(0, -3000px, 0);
573
+ transform: translate3d(0, -3000px, 0);
574
+ }
575
+
576
+ 60% {
577
+ opacity: 1;
578
+ -webkit-transform: translate3d(0, 25px, 0);
579
+ transform: translate3d(0, 25px, 0);
580
+ }
581
+
582
+ 75% {
583
+ -webkit-transform: translate3d(0, -10px, 0);
584
+ transform: translate3d(0, -10px, 0);
585
+ }
586
+
587
+ 90% {
588
+ -webkit-transform: translate3d(0, 5px, 0);
589
+ transform: translate3d(0, 5px, 0);
590
+ }
591
+
592
+ 100% {
593
+ -webkit-transform: none;
594
+ transform: none;
595
+ }
596
+ }
597
+
598
+ @keyframes bounceInDown {
599
+ 0%, 60%, 75%, 90%, 100% {
600
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
601
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
602
+ }
603
+
604
+ 0% {
605
+ opacity: 0;
606
+ -webkit-transform: translate3d(0, -3000px, 0);
607
+ transform: translate3d(0, -3000px, 0);
608
+ }
609
+
610
+ 60% {
611
+ opacity: 1;
612
+ -webkit-transform: translate3d(0, 25px, 0);
613
+ transform: translate3d(0, 25px, 0);
614
+ }
615
+
616
+ 75% {
617
+ -webkit-transform: translate3d(0, -10px, 0);
618
+ transform: translate3d(0, -10px, 0);
619
+ }
620
+
621
+ 90% {
622
+ -webkit-transform: translate3d(0, 5px, 0);
623
+ transform: translate3d(0, 5px, 0);
624
+ }
625
+
626
+ 100% {
627
+ -webkit-transform: none;
628
+ transform: none;
629
+ }
630
+ }
631
+
632
+ .bounceInDown {
633
+ -webkit-animation-name: bounceInDown;
634
+ animation-name: bounceInDown;
635
+ }
636
+
637
+ @-webkit-keyframes bounceInLeft {
638
+ 0%, 60%, 75%, 90%, 100% {
639
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
640
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
641
+ }
642
+
643
+ 0% {
644
+ opacity: 0;
645
+ -webkit-transform: translate3d(-3000px, 0, 0);
646
+ transform: translate3d(-3000px, 0, 0);
647
+ }
648
+
649
+ 60% {
650
+ opacity: 1;
651
+ -webkit-transform: translate3d(25px, 0, 0);
652
+ transform: translate3d(25px, 0, 0);
653
+ }
654
+
655
+ 75% {
656
+ -webkit-transform: translate3d(-10px, 0, 0);
657
+ transform: translate3d(-10px, 0, 0);
658
+ }
659
+
660
+ 90% {
661
+ -webkit-transform: translate3d(5px, 0, 0);
662
+ transform: translate3d(5px, 0, 0);
663
+ }
664
+
665
+ 100% {
666
+ -webkit-transform: none;
667
+ transform: none;
668
+ }
669
+ }
670
+
671
+ @keyframes bounceInLeft {
672
+ 0%, 60%, 75%, 90%, 100% {
673
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
674
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
675
+ }
676
+
677
+ 0% {
678
+ opacity: 0;
679
+ -webkit-transform: translate3d(-3000px, 0, 0);
680
+ transform: translate3d(-3000px, 0, 0);
681
+ }
682
+
683
+ 60% {
684
+ opacity: 1;
685
+ -webkit-transform: translate3d(25px, 0, 0);
686
+ transform: translate3d(25px, 0, 0);
687
+ }
688
+
689
+ 75% {
690
+ -webkit-transform: translate3d(-10px, 0, 0);
691
+ transform: translate3d(-10px, 0, 0);
692
+ }
693
+
694
+ 90% {
695
+ -webkit-transform: translate3d(5px, 0, 0);
696
+ transform: translate3d(5px, 0, 0);
697
+ }
698
+
699
+ 100% {
700
+ -webkit-transform: none;
701
+ transform: none;
702
+ }
703
+ }
704
+
705
+ .bounceInLeft {
706
+ -webkit-animation-name: bounceInLeft;
707
+ animation-name: bounceInLeft;
708
+ }
709
+
710
+ @-webkit-keyframes bounceInRight {
711
+ 0%, 60%, 75%, 90%, 100% {
712
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
713
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
714
+ }
715
+
716
+ 0% {
717
+ opacity: 0;
718
+ -webkit-transform: translate3d(3000px, 0, 0);
719
+ transform: translate3d(3000px, 0, 0);
720
+ }
721
+
722
+ 60% {
723
+ opacity: 1;
724
+ -webkit-transform: translate3d(-25px, 0, 0);
725
+ transform: translate3d(-25px, 0, 0);
726
+ }
727
+
728
+ 75% {
729
+ -webkit-transform: translate3d(10px, 0, 0);
730
+ transform: translate3d(10px, 0, 0);
731
+ }
732
+
733
+ 90% {
734
+ -webkit-transform: translate3d(-5px, 0, 0);
735
+ transform: translate3d(-5px, 0, 0);
736
+ }
737
+
738
+ 100% {
739
+ -webkit-transform: none;
740
+ transform: none;
741
+ }
742
+ }
743
+
744
+ @keyframes bounceInRight {
745
+ 0%, 60%, 75%, 90%, 100% {
746
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
747
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
748
+ }
749
+
750
+ 0% {
751
+ opacity: 0;
752
+ -webkit-transform: translate3d(3000px, 0, 0);
753
+ transform: translate3d(3000px, 0, 0);
754
+ }
755
+
756
+ 60% {
757
+ opacity: 1;
758
+ -webkit-transform: translate3d(-25px, 0, 0);
759
+ transform: translate3d(-25px, 0, 0);
760
+ }
761
+
762
+ 75% {
763
+ -webkit-transform: translate3d(10px, 0, 0);
764
+ transform: translate3d(10px, 0, 0);
765
+ }
766
+
767
+ 90% {
768
+ -webkit-transform: translate3d(-5px, 0, 0);
769
+ transform: translate3d(-5px, 0, 0);
770
+ }
771
+
772
+ 100% {
773
+ -webkit-transform: none;
774
+ transform: none;
775
+ }
776
+ }
777
+
778
+ .bounceInRight {
779
+ -webkit-animation-name: bounceInRight;
780
+ animation-name: bounceInRight;
781
+ }
782
+
783
+ @-webkit-keyframes bounceInUp {
784
+ 0%, 60%, 75%, 90%, 100% {
785
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
786
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
787
+ }
788
+
789
+ 0% {
790
+ opacity: 0;
791
+ -webkit-transform: translate3d(0, 3000px, 0);
792
+ transform: translate3d(0, 3000px, 0);
793
+ }
794
+
795
+ 60% {
796
+ opacity: 1;
797
+ -webkit-transform: translate3d(0, -20px, 0);
798
+ transform: translate3d(0, -20px, 0);
799
+ }
800
+
801
+ 75% {
802
+ -webkit-transform: translate3d(0, 10px, 0);
803
+ transform: translate3d(0, 10px, 0);
804
+ }
805
+
806
+ 90% {
807
+ -webkit-transform: translate3d(0, -5px, 0);
808
+ transform: translate3d(0, -5px, 0);
809
+ }
810
+
811
+ 100% {
812
+ -webkit-transform: translate3d(0, 0, 0);
813
+ transform: translate3d(0, 0, 0);
814
+ }
815
+ }
816
+
817
+ @keyframes bounceInUp {
818
+ 0%, 60%, 75%, 90%, 100% {
819
+ -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
820
+ transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
821
+ }
822
+
823
+ 0% {
824
+ opacity: 0;
825
+ -webkit-transform: translate3d(0, 3000px, 0);
826
+ transform: translate3d(0, 3000px, 0);
827
+ }
828
+
829
+ 60% {
830
+ opacity: 1;
831
+ -webkit-transform: translate3d(0, -20px, 0);
832
+ transform: translate3d(0, -20px, 0);
833
+ }
834
+
835
+ 75% {
836
+ -webkit-transform: translate3d(0, 10px, 0);
837
+ transform: translate3d(0, 10px, 0);
838
+ }
839
+
840
+ 90% {
841
+ -webkit-transform: translate3d(0, -5px, 0);
842
+ transform: translate3d(0, -5px, 0);
843
+ }
844
+
845
+ 100% {
846
+ -webkit-transform: translate3d(0, 0, 0);
847
+ transform: translate3d(0, 0, 0);
848
+ }
849
+ }
850
+
851
+ .bounceInUp {
852
+ -webkit-animation-name: bounceInUp;
853
+ animation-name: bounceInUp;
854
+ }
855
+
856
+ @-webkit-keyframes bounceOut {
857
+ 20% {
858
+ -webkit-transform: scale3d(.9, .9, .9);
859
+ transform: scale3d(.9, .9, .9);
860
+ }
861
+
862
+ 50%, 55% {
863
+ opacity: 1;
864
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
865
+ transform: scale3d(1.1, 1.1, 1.1);
866
+ }
867
+
868
+ 100% {
869
+ opacity: 0;
870
+ -webkit-transform: scale3d(.3, .3, .3);
871
+ transform: scale3d(.3, .3, .3);
872
+ }
873
+ }
874
+
875
+ @keyframes bounceOut {
876
+ 20% {
877
+ -webkit-transform: scale3d(.9, .9, .9);
878
+ transform: scale3d(.9, .9, .9);
879
+ }
880
+
881
+ 50%, 55% {
882
+ opacity: 1;
883
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
884
+ transform: scale3d(1.1, 1.1, 1.1);
885
+ }
886
+
887
+ 100% {
888
+ opacity: 0;
889
+ -webkit-transform: scale3d(.3, .3, .3);
890
+ transform: scale3d(.3, .3, .3);
891
+ }
892
+ }
893
+
894
+ .bounceOut {
895
+ -webkit-animation-name: bounceOut;
896
+ animation-name: bounceOut;
897
+ -webkit-animation-duration: .75s;
898
+ animation-duration: .75s;
899
+ }
900
+
901
+ @-webkit-keyframes bounceOutDown {
902
+ 20% {
903
+ -webkit-transform: translate3d(0, 10px, 0);
904
+ transform: translate3d(0, 10px, 0);
905
+ }
906
+
907
+ 40%, 45% {
908
+ opacity: 1;
909
+ -webkit-transform: translate3d(0, -20px, 0);
910
+ transform: translate3d(0, -20px, 0);
911
+ }
912
+
913
+ 100% {
914
+ opacity: 0;
915
+ -webkit-transform: translate3d(0, 2000px, 0);
916
+ transform: translate3d(0, 2000px, 0);
917
+ }
918
+ }
919
+
920
+ @keyframes bounceOutDown {
921
+ 20% {
922
+ -webkit-transform: translate3d(0, 10px, 0);
923
+ transform: translate3d(0, 10px, 0);
924
+ }
925
+
926
+ 40%, 45% {
927
+ opacity: 1;
928
+ -webkit-transform: translate3d(0, -20px, 0);
929
+ transform: translate3d(0, -20px, 0);
930
+ }
931
+
932
+ 100% {
933
+ opacity: 0;
934
+ -webkit-transform: translate3d(0, 2000px, 0);
935
+ transform: translate3d(0, 2000px, 0);
936
+ }
937
+ }
938
+
939
+ .bounceOutDown {
940
+ -webkit-animation-name: bounceOutDown;
941
+ animation-name: bounceOutDown;
942
+ }
943
+
944
+ @-webkit-keyframes bounceOutLeft {
945
+ 20% {
946
+ opacity: 1;
947
+ -webkit-transform: translate3d(20px, 0, 0);
948
+ transform: translate3d(20px, 0, 0);
949
+ }
950
+
951
+ 100% {
952
+ opacity: 0;
953
+ -webkit-transform: translate3d(-2000px, 0, 0);
954
+ transform: translate3d(-2000px, 0, 0);
955
+ }
956
+ }
957
+
958
+ @keyframes bounceOutLeft {
959
+ 20% {
960
+ opacity: 1;
961
+ -webkit-transform: translate3d(20px, 0, 0);
962
+ transform: translate3d(20px, 0, 0);
963
+ }
964
+
965
+ 100% {
966
+ opacity: 0;
967
+ -webkit-transform: translate3d(-2000px, 0, 0);
968
+ transform: translate3d(-2000px, 0, 0);
969
+ }
970
+ }
971
+
972
+ .bounceOutLeft {
973
+ -webkit-animation-name: bounceOutLeft;
974
+ animation-name: bounceOutLeft;
975
+ }
976
+
977
+ @-webkit-keyframes bounceOutRight {
978
+ 20% {
979
+ opacity: 1;
980
+ -webkit-transform: translate3d(-20px, 0, 0);
981
+ transform: translate3d(-20px, 0, 0);
982
+ }
983
+
984
+ 100% {
985
+ opacity: 0;
986
+ -webkit-transform: translate3d(2000px, 0, 0);
987
+ transform: translate3d(2000px, 0, 0);
988
+ }
989
+ }
990
+
991
+ @keyframes bounceOutRight {
992
+ 20% {
993
+ opacity: 1;
994
+ -webkit-transform: translate3d(-20px, 0, 0);
995
+ transform: translate3d(-20px, 0, 0);
996
+ }
997
+
998
+ 100% {
999
+ opacity: 0;
1000
+ -webkit-transform: translate3d(2000px, 0, 0);
1001
+ transform: translate3d(2000px, 0, 0);
1002
+ }
1003
+ }
1004
+
1005
+ .bounceOutRight {
1006
+ -webkit-animation-name: bounceOutRight;
1007
+ animation-name: bounceOutRight;
1008
+ }
1009
+
1010
+ @-webkit-keyframes bounceOutUp {
1011
+ 20% {
1012
+ -webkit-transform: translate3d(0, -10px, 0);
1013
+ transform: translate3d(0, -10px, 0);
1014
+ }
1015
+
1016
+ 40%, 45% {
1017
+ opacity: 1;
1018
+ -webkit-transform: translate3d(0, 20px, 0);
1019
+ transform: translate3d(0, 20px, 0);
1020
+ }
1021
+
1022
+ 100% {
1023
+ opacity: 0;
1024
+ -webkit-transform: translate3d(0, -2000px, 0);
1025
+ transform: translate3d(0, -2000px, 0);
1026
+ }
1027
+ }
1028
+
1029
+ @keyframes bounceOutUp {
1030
+ 20% {
1031
+ -webkit-transform: translate3d(0, -10px, 0);
1032
+ transform: translate3d(0, -10px, 0);
1033
+ }
1034
+
1035
+ 40%, 45% {
1036
+ opacity: 1;
1037
+ -webkit-transform: translate3d(0, 20px, 0);
1038
+ transform: translate3d(0, 20px, 0);
1039
+ }
1040
+
1041
+ 100% {
1042
+ opacity: 0;
1043
+ -webkit-transform: translate3d(0, -2000px, 0);
1044
+ transform: translate3d(0, -2000px, 0);
1045
+ }
1046
+ }
1047
+
1048
+ .bounceOutUp {
1049
+ -webkit-animation-name: bounceOutUp;
1050
+ animation-name: bounceOutUp;
1051
+ }
1052
+
1053
+ @-webkit-keyframes fadeIn {
1054
+ 0% {opacity: 0;}
1055
+ 100% {opacity: 1;}
1056
+ }
1057
+
1058
+ @keyframes fadeIn {
1059
+ 0% {opacity: 0;}
1060
+ 100% {opacity: 1;}
1061
+ }
1062
+
1063
+ .fadeIn {
1064
+ -webkit-animation-name: fadeIn;
1065
+ animation-name: fadeIn;
1066
+ }
1067
+
1068
+ @-webkit-keyframes fadeInDown {
1069
+ 0% {
1070
+ opacity: 0;
1071
+ -webkit-transform: translate3d(0, -100%, 0);
1072
+ transform: translate3d(0, -100%, 0);
1073
+ }
1074
+
1075
+ 100% {
1076
+ opacity: 1;
1077
+ -webkit-transform: none;
1078
+ transform: none;
1079
+ }
1080
+ }
1081
+
1082
+ @keyframes fadeInDown {
1083
+ 0% {
1084
+ opacity: 0;
1085
+ -webkit-transform: translate3d(0, -100%, 0);
1086
+ transform: translate3d(0, -100%, 0);
1087
+ }
1088
+
1089
+ 100% {
1090
+ opacity: 1;
1091
+ -webkit-transform: none;
1092
+ transform: none;
1093
+ }
1094
+ }
1095
+
1096
+ .fadeInDown {
1097
+ -webkit-animation-name: fadeInDown;
1098
+ animation-name: fadeInDown;
1099
+ }
1100
+
1101
+ @-webkit-keyframes fadeInDownBig {
1102
+ 0% {
1103
+ opacity: 0;
1104
+ -webkit-transform: translate3d(0, -2000px, 0);
1105
+ transform: translate3d(0, -2000px, 0);
1106
+ }
1107
+
1108
+ 100% {
1109
+ opacity: 1;
1110
+ -webkit-transform: none;
1111
+ transform: none;
1112
+ }
1113
+ }
1114
+
1115
+ @keyframes fadeInDownBig {
1116
+ 0% {
1117
+ opacity: 0;
1118
+ -webkit-transform: translate3d(0, -2000px, 0);
1119
+ transform: translate3d(0, -2000px, 0);
1120
+ }
1121
+
1122
+ 100% {
1123
+ opacity: 1;
1124
+ -webkit-transform: none;
1125
+ transform: none;
1126
+ }
1127
+ }
1128
+
1129
+ .fadeInDownBig {
1130
+ -webkit-animation-name: fadeInDownBig;
1131
+ animation-name: fadeInDownBig;
1132
+ }
1133
+
1134
+ @-webkit-keyframes fadeInLeft {
1135
+ 0% {
1136
+ opacity: 0;
1137
+ -webkit-transform: translate3d(-100%, 0, 0);
1138
+ transform: translate3d(-100%, 0, 0);
1139
+ }
1140
+
1141
+ 100% {
1142
+ opacity: 1;
1143
+ -webkit-transform: none;
1144
+ transform: none;
1145
+ }
1146
+ }
1147
+
1148
+ @keyframes fadeInLeft {
1149
+ 0% {
1150
+ opacity: 0;
1151
+ -webkit-transform: translate3d(-100%, 0, 0);
1152
+ transform: translate3d(-100%, 0, 0);
1153
+ }
1154
+
1155
+ 100% {
1156
+ opacity: 1;
1157
+ -webkit-transform: none;
1158
+ transform: none;
1159
+ }
1160
+ }
1161
+
1162
+ .fadeInLeft {
1163
+ -webkit-animation-name: fadeInLeft;
1164
+ animation-name: fadeInLeft;
1165
+ }
1166
+
1167
+ @-webkit-keyframes fadeInLeftBig {
1168
+ 0% {
1169
+ opacity: 0;
1170
+ -webkit-transform: translate3d(-2000px, 0, 0);
1171
+ transform: translate3d(-2000px, 0, 0);
1172
+ }
1173
+
1174
+ 100% {
1175
+ opacity: 1;
1176
+ -webkit-transform: none;
1177
+ transform: none;
1178
+ }
1179
+ }
1180
+
1181
+ @keyframes fadeInLeftBig {
1182
+ 0% {
1183
+ opacity: 0;
1184
+ -webkit-transform: translate3d(-2000px, 0, 0);
1185
+ transform: translate3d(-2000px, 0, 0);
1186
+ }
1187
+
1188
+ 100% {
1189
+ opacity: 1;
1190
+ -webkit-transform: none;
1191
+ transform: none;
1192
+ }
1193
+ }
1194
+
1195
+ .fadeInLeftBig {
1196
+ -webkit-animation-name: fadeInLeftBig;
1197
+ animation-name: fadeInLeftBig;
1198
+ }
1199
+
1200
+ @-webkit-keyframes fadeInRight {
1201
+ 0% {
1202
+ opacity: 0;
1203
+ -webkit-transform: translate3d(100%, 0, 0);
1204
+ transform: translate3d(100%, 0, 0);
1205
+ }
1206
+
1207
+ 100% {
1208
+ opacity: 1;
1209
+ -webkit-transform: none;
1210
+ transform: none;
1211
+ }
1212
+ }
1213
+
1214
+ @keyframes fadeInRight {
1215
+ 0% {
1216
+ opacity: 0;
1217
+ -webkit-transform: translate3d(100%, 0, 0);
1218
+ transform: translate3d(100%, 0, 0);
1219
+ }
1220
+
1221
+ 100% {
1222
+ opacity: 1;
1223
+ -webkit-transform: none;
1224
+ transform: none;
1225
+ }
1226
+ }
1227
+
1228
+ .fadeInRight {
1229
+ -webkit-animation-name: fadeInRight;
1230
+ animation-name: fadeInRight;
1231
+ }
1232
+
1233
+ @-webkit-keyframes fadeInRightBig {
1234
+ 0% {
1235
+ opacity: 0;
1236
+ -webkit-transform: translate3d(2000px, 0, 0);
1237
+ transform: translate3d(2000px, 0, 0);
1238
+ }
1239
+
1240
+ 100% {
1241
+ opacity: 1;
1242
+ -webkit-transform: none;
1243
+ transform: none;
1244
+ }
1245
+ }
1246
+
1247
+ @keyframes fadeInRightBig {
1248
+ 0% {
1249
+ opacity: 0;
1250
+ -webkit-transform: translate3d(2000px, 0, 0);
1251
+ transform: translate3d(2000px, 0, 0);
1252
+ }
1253
+
1254
+ 100% {
1255
+ opacity: 1;
1256
+ -webkit-transform: none;
1257
+ transform: none;
1258
+ }
1259
+ }
1260
+
1261
+ .fadeInRightBig {
1262
+ -webkit-animation-name: fadeInRightBig;
1263
+ animation-name: fadeInRightBig;
1264
+ }
1265
+
1266
+ @-webkit-keyframes fadeInUp {
1267
+ 0% {
1268
+ opacity: 0;
1269
+ -webkit-transform: translate3d(0, 100%, 0);
1270
+ transform: translate3d(0, 100%, 0);
1271
+ }
1272
+
1273
+ 100% {
1274
+ opacity: 1;
1275
+ -webkit-transform: none;
1276
+ transform: none;
1277
+ }
1278
+ }
1279
+
1280
+ @keyframes fadeInUp {
1281
+ 0% {
1282
+ opacity: 0;
1283
+ -webkit-transform: translate3d(0, 100%, 0);
1284
+ transform: translate3d(0, 100%, 0);
1285
+ }
1286
+
1287
+ 100% {
1288
+ opacity: 1;
1289
+ -webkit-transform: none;
1290
+ transform: none;
1291
+ }
1292
+ }
1293
+
1294
+ .fadeInUp {
1295
+ -webkit-animation-name: fadeInUp;
1296
+ animation-name: fadeInUp;
1297
+ }
1298
+
1299
+ @-webkit-keyframes fadeInUpBig {
1300
+ 0% {
1301
+ opacity: 0;
1302
+ -webkit-transform: translate3d(0, 2000px, 0);
1303
+ transform: translate3d(0, 2000px, 0);
1304
+ }
1305
+
1306
+ 100% {
1307
+ opacity: 1;
1308
+ -webkit-transform: none;
1309
+ transform: none;
1310
+ }
1311
+ }
1312
+
1313
+ @keyframes fadeInUpBig {
1314
+ 0% {
1315
+ opacity: 0;
1316
+ -webkit-transform: translate3d(0, 2000px, 0);
1317
+ transform: translate3d(0, 2000px, 0);
1318
+ }
1319
+
1320
+ 100% {
1321
+ opacity: 1;
1322
+ -webkit-transform: none;
1323
+ transform: none;
1324
+ }
1325
+ }
1326
+
1327
+ .fadeInUpBig {
1328
+ -webkit-animation-name: fadeInUpBig;
1329
+ animation-name: fadeInUpBig;
1330
+ }
1331
+
1332
+ @-webkit-keyframes fadeOut {
1333
+ 0% {opacity: 1;}
1334
+ 100% {opacity: 0;}
1335
+ }
1336
+
1337
+ @keyframes fadeOut {
1338
+ 0% {opacity: 1;}
1339
+ 100% {opacity: 0;}
1340
+ }
1341
+
1342
+ .fadeOut {
1343
+ -webkit-animation-name: fadeOut;
1344
+ animation-name: fadeOut;
1345
+ }
1346
+
1347
+ @-webkit-keyframes fadeOutDown {
1348
+ 0% {
1349
+ opacity: 1;
1350
+ }
1351
+
1352
+ 100% {
1353
+ opacity: 0;
1354
+ -webkit-transform: translate3d(0, 100%, 0);
1355
+ transform: translate3d(0, 100%, 0);
1356
+ }
1357
+ }
1358
+
1359
+ @keyframes fadeOutDown {
1360
+ 0% {
1361
+ opacity: 1;
1362
+ }
1363
+
1364
+ 100% {
1365
+ opacity: 0;
1366
+ -webkit-transform: translate3d(0, 100%, 0);
1367
+ transform: translate3d(0, 100%, 0);
1368
+ }
1369
+ }
1370
+
1371
+ .fadeOutDown {
1372
+ -webkit-animation-name: fadeOutDown;
1373
+ animation-name: fadeOutDown;
1374
+ }
1375
+
1376
+ @-webkit-keyframes fadeOutDownBig {
1377
+ 0% {
1378
+ opacity: 1;
1379
+ }
1380
+
1381
+ 100% {
1382
+ opacity: 0;
1383
+ -webkit-transform: translate3d(0, 2000px, 0);
1384
+ transform: translate3d(0, 2000px, 0);
1385
+ }
1386
+ }
1387
+
1388
+ @keyframes fadeOutDownBig {
1389
+ 0% {
1390
+ opacity: 1;
1391
+ }
1392
+
1393
+ 100% {
1394
+ opacity: 0;
1395
+ -webkit-transform: translate3d(0, 2000px, 0);
1396
+ transform: translate3d(0, 2000px, 0);
1397
+ }
1398
+ }
1399
+
1400
+ .fadeOutDownBig {
1401
+ -webkit-animation-name: fadeOutDownBig;
1402
+ animation-name: fadeOutDownBig;
1403
+ }
1404
+
1405
+ @-webkit-keyframes fadeOutLeft {
1406
+ 0% {
1407
+ opacity: 1;
1408
+ }
1409
+
1410
+ 100% {
1411
+ opacity: 0;
1412
+ -webkit-transform: translate3d(-100%, 0, 0);
1413
+ transform: translate3d(-100%, 0, 0);
1414
+ }
1415
+ }
1416
+
1417
+ @keyframes fadeOutLeft {
1418
+ 0% {
1419
+ opacity: 1;
1420
+ }
1421
+
1422
+ 100% {
1423
+ opacity: 0;
1424
+ -webkit-transform: translate3d(-100%, 0, 0);
1425
+ transform: translate3d(-100%, 0, 0);
1426
+ }
1427
+ }
1428
+
1429
+ .fadeOutLeft {
1430
+ -webkit-animation-name: fadeOutLeft;
1431
+ animation-name: fadeOutLeft;
1432
+ }
1433
+
1434
+ @-webkit-keyframes fadeOutLeftBig {
1435
+ 0% {
1436
+ opacity: 1;
1437
+ }
1438
+
1439
+ 100% {
1440
+ opacity: 0;
1441
+ -webkit-transform: translate3d(-2000px, 0, 0);
1442
+ transform: translate3d(-2000px, 0, 0);
1443
+ }
1444
+ }
1445
+
1446
+ @keyframes fadeOutLeftBig {
1447
+ 0% {
1448
+ opacity: 1;
1449
+ }
1450
+
1451
+ 100% {
1452
+ opacity: 0;
1453
+ -webkit-transform: translate3d(-2000px, 0, 0);
1454
+ transform: translate3d(-2000px, 0, 0);
1455
+ }
1456
+ }
1457
+
1458
+ .fadeOutLeftBig {
1459
+ -webkit-animation-name: fadeOutLeftBig;
1460
+ animation-name: fadeOutLeftBig;
1461
+ }
1462
+
1463
+ @-webkit-keyframes fadeOutRight {
1464
+ 0% {
1465
+ opacity: 1;
1466
+ }
1467
+
1468
+ 100% {
1469
+ opacity: 0;
1470
+ -webkit-transform: translate3d(100%, 0, 0);
1471
+ transform: translate3d(100%, 0, 0);
1472
+ }
1473
+ }
1474
+
1475
+ @keyframes fadeOutRight {
1476
+ 0% {
1477
+ opacity: 1;
1478
+ }
1479
+
1480
+ 100% {
1481
+ opacity: 0;
1482
+ -webkit-transform: translate3d(100%, 0, 0);
1483
+ transform: translate3d(100%, 0, 0);
1484
+ }
1485
+ }
1486
+
1487
+ .fadeOutRight {
1488
+ -webkit-animation-name: fadeOutRight;
1489
+ animation-name: fadeOutRight;
1490
+ }
1491
+
1492
+ @-webkit-keyframes fadeOutRightBig {
1493
+ 0% {
1494
+ opacity: 1;
1495
+ }
1496
+
1497
+ 100% {
1498
+ opacity: 0;
1499
+ -webkit-transform: translate3d(2000px, 0, 0);
1500
+ transform: translate3d(2000px, 0, 0);
1501
+ }
1502
+ }
1503
+
1504
+ @keyframes fadeOutRightBig {
1505
+ 0% {
1506
+ opacity: 1;
1507
+ }
1508
+
1509
+ 100% {
1510
+ opacity: 0;
1511
+ -webkit-transform: translate3d(2000px, 0, 0);
1512
+ transform: translate3d(2000px, 0, 0);
1513
+ }
1514
+ }
1515
+
1516
+ .fadeOutRightBig {
1517
+ -webkit-animation-name: fadeOutRightBig;
1518
+ animation-name: fadeOutRightBig;
1519
+ }
1520
+
1521
+ @-webkit-keyframes fadeOutUp {
1522
+ 0% {
1523
+ opacity: 1;
1524
+ }
1525
+
1526
+ 100% {
1527
+ opacity: 0;
1528
+ -webkit-transform: translate3d(0, -100%, 0);
1529
+ transform: translate3d(0, -100%, 0);
1530
+ }
1531
+ }
1532
+
1533
+ @keyframes fadeOutUp {
1534
+ 0% {
1535
+ opacity: 1;
1536
+ }
1537
+
1538
+ 100% {
1539
+ opacity: 0;
1540
+ -webkit-transform: translate3d(0, -100%, 0);
1541
+ transform: translate3d(0, -100%, 0);
1542
+ }
1543
+ }
1544
+
1545
+ .fadeOutUp {
1546
+ -webkit-animation-name: fadeOutUp;
1547
+ animation-name: fadeOutUp;
1548
+ }
1549
+
1550
+ @-webkit-keyframes fadeOutUpBig {
1551
+ 0% {
1552
+ opacity: 1;
1553
+ }
1554
+
1555
+ 100% {
1556
+ opacity: 0;
1557
+ -webkit-transform: translate3d(0, -2000px, 0);
1558
+ transform: translate3d(0, -2000px, 0);
1559
+ }
1560
+ }
1561
+
1562
+ @keyframes fadeOutUpBig {
1563
+ 0% {
1564
+ opacity: 1;
1565
+ }
1566
+
1567
+ 100% {
1568
+ opacity: 0;
1569
+ -webkit-transform: translate3d(0, -2000px, 0);
1570
+ transform: translate3d(0, -2000px, 0);
1571
+ }
1572
+ }
1573
+
1574
+ .fadeOutUpBig {
1575
+ -webkit-animation-name: fadeOutUpBig;
1576
+ animation-name: fadeOutUpBig;
1577
+ }
1578
+
1579
+ @-webkit-keyframes flip {
1580
+ 0% {
1581
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1582
+ transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1583
+ -webkit-animation-timing-function: ease-out;
1584
+ animation-timing-function: ease-out;
1585
+ }
1586
+
1587
+ 40% {
1588
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1589
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1590
+ -webkit-animation-timing-function: ease-out;
1591
+ animation-timing-function: ease-out;
1592
+ }
1593
+
1594
+ 50% {
1595
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1596
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1597
+ -webkit-animation-timing-function: ease-in;
1598
+ animation-timing-function: ease-in;
1599
+ }
1600
+
1601
+ 80% {
1602
+ -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
1603
+ transform: perspective(400px) scale3d(.95, .95, .95);
1604
+ -webkit-animation-timing-function: ease-in;
1605
+ animation-timing-function: ease-in;
1606
+ }
1607
+
1608
+ 100% {
1609
+ -webkit-transform: perspective(400px);
1610
+ transform: perspective(400px);
1611
+ -webkit-animation-timing-function: ease-in;
1612
+ animation-timing-function: ease-in;
1613
+ }
1614
+ }
1615
+
1616
+ @keyframes flip {
1617
+ 0% {
1618
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1619
+ transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
1620
+ -webkit-animation-timing-function: ease-out;
1621
+ animation-timing-function: ease-out;
1622
+ }
1623
+
1624
+ 40% {
1625
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1626
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
1627
+ -webkit-animation-timing-function: ease-out;
1628
+ animation-timing-function: ease-out;
1629
+ }
1630
+
1631
+ 50% {
1632
+ -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1633
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
1634
+ -webkit-animation-timing-function: ease-in;
1635
+ animation-timing-function: ease-in;
1636
+ }
1637
+
1638
+ 80% {
1639
+ -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
1640
+ transform: perspective(400px) scale3d(.95, .95, .95);
1641
+ -webkit-animation-timing-function: ease-in;
1642
+ animation-timing-function: ease-in;
1643
+ }
1644
+
1645
+ 100% {
1646
+ -webkit-transform: perspective(400px);
1647
+ transform: perspective(400px);
1648
+ -webkit-animation-timing-function: ease-in;
1649
+ animation-timing-function: ease-in;
1650
+ }
1651
+ }
1652
+
1653
+ .animated.flip {
1654
+ -webkit-backface-visibility: visible;
1655
+ backface-visibility: visible;
1656
+ -webkit-animation-name: flip;
1657
+ animation-name: flip;
1658
+ }
1659
+
1660
+ @-webkit-keyframes flipInX {
1661
+ 0% {
1662
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1663
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1664
+ -webkit-transition-timing-function: ease-in;
1665
+ transition-timing-function: ease-in;
1666
+ opacity: 0;
1667
+ }
1668
+
1669
+ 40% {
1670
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1671
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1672
+ -webkit-transition-timing-function: ease-in;
1673
+ transition-timing-function: ease-in;
1674
+ }
1675
+
1676
+ 60% {
1677
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1678
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1679
+ opacity: 1;
1680
+ }
1681
+
1682
+ 80% {
1683
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1684
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1685
+ }
1686
+
1687
+ 100% {
1688
+ -webkit-transform: perspective(400px);
1689
+ transform: perspective(400px);
1690
+ }
1691
+ }
1692
+
1693
+ @keyframes flipInX {
1694
+ 0% {
1695
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1696
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1697
+ -webkit-transition-timing-function: ease-in;
1698
+ transition-timing-function: ease-in;
1699
+ opacity: 0;
1700
+ }
1701
+
1702
+ 40% {
1703
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1704
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1705
+ -webkit-transition-timing-function: ease-in;
1706
+ transition-timing-function: ease-in;
1707
+ }
1708
+
1709
+ 60% {
1710
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1711
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
1712
+ opacity: 1;
1713
+ }
1714
+
1715
+ 80% {
1716
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1717
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
1718
+ }
1719
+
1720
+ 100% {
1721
+ -webkit-transform: perspective(400px);
1722
+ transform: perspective(400px);
1723
+ }
1724
+ }
1725
+
1726
+ .flipInX {
1727
+ -webkit-backface-visibility: visible !important;
1728
+ backface-visibility: visible !important;
1729
+ -webkit-animation-name: flipInX;
1730
+ animation-name: flipInX;
1731
+ }
1732
+
1733
+ @-webkit-keyframes flipInY {
1734
+ 0% {
1735
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1736
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1737
+ -webkit-transition-timing-function: ease-in;
1738
+ transition-timing-function: ease-in;
1739
+ opacity: 0;
1740
+ }
1741
+
1742
+ 40% {
1743
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1744
+ transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1745
+ -webkit-transition-timing-function: ease-in;
1746
+ transition-timing-function: ease-in;
1747
+ }
1748
+
1749
+ 60% {
1750
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1751
+ transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1752
+ opacity: 1;
1753
+ }
1754
+
1755
+ 80% {
1756
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1757
+ transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1758
+ }
1759
+
1760
+ 100% {
1761
+ -webkit-transform: perspective(400px);
1762
+ transform: perspective(400px);
1763
+ }
1764
+ }
1765
+
1766
+ @keyframes flipInY {
1767
+ 0% {
1768
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1769
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1770
+ -webkit-transition-timing-function: ease-in;
1771
+ transition-timing-function: ease-in;
1772
+ opacity: 0;
1773
+ }
1774
+
1775
+ 40% {
1776
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1777
+ transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
1778
+ -webkit-transition-timing-function: ease-in;
1779
+ transition-timing-function: ease-in;
1780
+ }
1781
+
1782
+ 60% {
1783
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1784
+ transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
1785
+ opacity: 1;
1786
+ }
1787
+
1788
+ 80% {
1789
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1790
+ transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
1791
+ }
1792
+
1793
+ 100% {
1794
+ -webkit-transform: perspective(400px);
1795
+ transform: perspective(400px);
1796
+ }
1797
+ }
1798
+
1799
+ .flipInY {
1800
+ -webkit-backface-visibility: visible !important;
1801
+ backface-visibility: visible !important;
1802
+ -webkit-animation-name: flipInY;
1803
+ animation-name: flipInY;
1804
+ }
1805
+
1806
+ @-webkit-keyframes flipOutX {
1807
+ 0% {
1808
+ -webkit-transform: perspective(400px);
1809
+ transform: perspective(400px);
1810
+ }
1811
+
1812
+ 30% {
1813
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1814
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1815
+ opacity: 1;
1816
+ }
1817
+
1818
+ 100% {
1819
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1820
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1821
+ opacity: 0;
1822
+ }
1823
+ }
1824
+
1825
+ @keyframes flipOutX {
1826
+ 0% {
1827
+ -webkit-transform: perspective(400px);
1828
+ transform: perspective(400px);
1829
+ }
1830
+
1831
+ 30% {
1832
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1833
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
1834
+ opacity: 1;
1835
+ }
1836
+
1837
+ 100% {
1838
+ -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1839
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
1840
+ opacity: 0;
1841
+ }
1842
+ }
1843
+
1844
+ .flipOutX {
1845
+ -webkit-animation-name: flipOutX;
1846
+ animation-name: flipOutX;
1847
+ -webkit-animation-duration: .75s;
1848
+ animation-duration: .75s;
1849
+ -webkit-backface-visibility: visible !important;
1850
+ backface-visibility: visible !important;
1851
+ }
1852
+
1853
+ @-webkit-keyframes flipOutY {
1854
+ 0% {
1855
+ -webkit-transform: perspective(400px);
1856
+ transform: perspective(400px);
1857
+ }
1858
+
1859
+ 30% {
1860
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1861
+ transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1862
+ opacity: 1;
1863
+ }
1864
+
1865
+ 100% {
1866
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1867
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1868
+ opacity: 0;
1869
+ }
1870
+ }
1871
+
1872
+ @keyframes flipOutY {
1873
+ 0% {
1874
+ -webkit-transform: perspective(400px);
1875
+ transform: perspective(400px);
1876
+ }
1877
+
1878
+ 30% {
1879
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1880
+ transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
1881
+ opacity: 1;
1882
+ }
1883
+
1884
+ 100% {
1885
+ -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1886
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
1887
+ opacity: 0;
1888
+ }
1889
+ }
1890
+
1891
+ .flipOutY {
1892
+ -webkit-backface-visibility: visible !important;
1893
+ backface-visibility: visible !important;
1894
+ -webkit-animation-name: flipOutY;
1895
+ animation-name: flipOutY;
1896
+ -webkit-animation-duration: .75s;
1897
+ animation-duration: .75s;
1898
+ }
1899
+
1900
+ @-webkit-keyframes lightSpeedIn {
1901
+ 0% {
1902
+ -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
1903
+ transform: translate3d(100%, 0, 0) skewX(-30deg);
1904
+ opacity: 0;
1905
+ }
1906
+
1907
+ 60% {
1908
+ -webkit-transform: skewX(20deg);
1909
+ transform: skewX(20deg);
1910
+ opacity: 1;
1911
+ }
1912
+
1913
+ 80% {
1914
+ -webkit-transform: skewX(-5deg);
1915
+ transform: skewX(-5deg);
1916
+ opacity: 1;
1917
+ }
1918
+
1919
+ 100% {
1920
+ -webkit-transform: none;
1921
+ transform: none;
1922
+ opacity: 1;
1923
+ }
1924
+ }
1925
+
1926
+ @keyframes lightSpeedIn {
1927
+ 0% {
1928
+ -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
1929
+ transform: translate3d(100%, 0, 0) skewX(-30deg);
1930
+ opacity: 0;
1931
+ }
1932
+
1933
+ 60% {
1934
+ -webkit-transform: skewX(20deg);
1935
+ transform: skewX(20deg);
1936
+ opacity: 1;
1937
+ }
1938
+
1939
+ 80% {
1940
+ -webkit-transform: skewX(-5deg);
1941
+ transform: skewX(-5deg);
1942
+ opacity: 1;
1943
+ }
1944
+
1945
+ 100% {
1946
+ -webkit-transform: none;
1947
+ transform: none;
1948
+ opacity: 1;
1949
+ }
1950
+ }
1951
+
1952
+ .lightSpeedIn {
1953
+ -webkit-animation-name: lightSpeedIn;
1954
+ animation-name: lightSpeedIn;
1955
+ -webkit-animation-timing-function: ease-out;
1956
+ animation-timing-function: ease-out;
1957
+ }
1958
+
1959
+ @-webkit-keyframes lightSpeedOut {
1960
+ 0% {
1961
+ opacity: 1;
1962
+ }
1963
+
1964
+ 100% {
1965
+ -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
1966
+ transform: translate3d(100%, 0, 0) skewX(30deg);
1967
+ opacity: 0;
1968
+ }
1969
+ }
1970
+
1971
+ @keyframes lightSpeedOut {
1972
+ 0% {
1973
+ opacity: 1;
1974
+ }
1975
+
1976
+ 100% {
1977
+ -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
1978
+ transform: translate3d(100%, 0, 0) skewX(30deg);
1979
+ opacity: 0;
1980
+ }
1981
+ }
1982
+
1983
+ .lightSpeedOut {
1984
+ -webkit-animation-name: lightSpeedOut;
1985
+ animation-name: lightSpeedOut;
1986
+ -webkit-animation-timing-function: ease-in;
1987
+ animation-timing-function: ease-in;
1988
+ }
1989
+
1990
+ @-webkit-keyframes rotateIn {
1991
+ 0% {
1992
+ -webkit-transform-origin: center;
1993
+ transform-origin: center;
1994
+ -webkit-transform: rotate3d(0, 0, 1, -200deg);
1995
+ transform: rotate3d(0, 0, 1, -200deg);
1996
+ opacity: 0;
1997
+ }
1998
+
1999
+ 100% {
2000
+ -webkit-transform-origin: center;
2001
+ transform-origin: center;
2002
+ -webkit-transform: none;
2003
+ transform: none;
2004
+ opacity: 1;
2005
+ }
2006
+ }
2007
+
2008
+ @keyframes rotateIn {
2009
+ 0% {
2010
+ -webkit-transform-origin: center;
2011
+ transform-origin: center;
2012
+ -webkit-transform: rotate3d(0, 0, 1, -200deg);
2013
+ transform: rotate3d(0, 0, 1, -200deg);
2014
+ opacity: 0;
2015
+ }
2016
+
2017
+ 100% {
2018
+ -webkit-transform-origin: center;
2019
+ transform-origin: center;
2020
+ -webkit-transform: none;
2021
+ transform: none;
2022
+ opacity: 1;
2023
+ }
2024
+ }
2025
+
2026
+ .rotateIn {
2027
+ -webkit-animation-name: rotateIn;
2028
+ animation-name: rotateIn;
2029
+ }
2030
+
2031
+ @-webkit-keyframes rotateInDownLeft {
2032
+ 0% {
2033
+ -webkit-transform-origin: left bottom;
2034
+ transform-origin: left bottom;
2035
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2036
+ transform: rotate3d(0, 0, 1, -45deg);
2037
+ opacity: 0;
2038
+ }
2039
+
2040
+ 100% {
2041
+ -webkit-transform-origin: left bottom;
2042
+ transform-origin: left bottom;
2043
+ -webkit-transform: none;
2044
+ transform: none;
2045
+ opacity: 1;
2046
+ }
2047
+ }
2048
+
2049
+ @keyframes rotateInDownLeft {
2050
+ 0% {
2051
+ -webkit-transform-origin: left bottom;
2052
+ transform-origin: left bottom;
2053
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2054
+ transform: rotate3d(0, 0, 1, -45deg);
2055
+ opacity: 0;
2056
+ }
2057
+
2058
+ 100% {
2059
+ -webkit-transform-origin: left bottom;
2060
+ transform-origin: left bottom;
2061
+ -webkit-transform: none;
2062
+ transform: none;
2063
+ opacity: 1;
2064
+ }
2065
+ }
2066
+
2067
+ .rotateInDownLeft {
2068
+ -webkit-animation-name: rotateInDownLeft;
2069
+ animation-name: rotateInDownLeft;
2070
+ }
2071
+
2072
+ @-webkit-keyframes rotateInDownRight {
2073
+ 0% {
2074
+ -webkit-transform-origin: right bottom;
2075
+ transform-origin: right bottom;
2076
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2077
+ transform: rotate3d(0, 0, 1, 45deg);
2078
+ opacity: 0;
2079
+ }
2080
+
2081
+ 100% {
2082
+ -webkit-transform-origin: right bottom;
2083
+ transform-origin: right bottom;
2084
+ -webkit-transform: none;
2085
+ transform: none;
2086
+ opacity: 1;
2087
+ }
2088
+ }
2089
+
2090
+ @keyframes rotateInDownRight {
2091
+ 0% {
2092
+ -webkit-transform-origin: right bottom;
2093
+ transform-origin: right bottom;
2094
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2095
+ transform: rotate3d(0, 0, 1, 45deg);
2096
+ opacity: 0;
2097
+ }
2098
+
2099
+ 100% {
2100
+ -webkit-transform-origin: right bottom;
2101
+ transform-origin: right bottom;
2102
+ -webkit-transform: none;
2103
+ transform: none;
2104
+ opacity: 1;
2105
+ }
2106
+ }
2107
+
2108
+ .rotateInDownRight {
2109
+ -webkit-animation-name: rotateInDownRight;
2110
+ animation-name: rotateInDownRight;
2111
+ }
2112
+
2113
+ @-webkit-keyframes rotateInUpLeft {
2114
+ 0% {
2115
+ -webkit-transform-origin: left bottom;
2116
+ transform-origin: left bottom;
2117
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2118
+ transform: rotate3d(0, 0, 1, 45deg);
2119
+ opacity: 0;
2120
+ }
2121
+
2122
+ 100% {
2123
+ -webkit-transform-origin: left bottom;
2124
+ transform-origin: left bottom;
2125
+ -webkit-transform: none;
2126
+ transform: none;
2127
+ opacity: 1;
2128
+ }
2129
+ }
2130
+
2131
+ @keyframes rotateInUpLeft {
2132
+ 0% {
2133
+ -webkit-transform-origin: left bottom;
2134
+ transform-origin: left bottom;
2135
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2136
+ transform: rotate3d(0, 0, 1, 45deg);
2137
+ opacity: 0;
2138
+ }
2139
+
2140
+ 100% {
2141
+ -webkit-transform-origin: left bottom;
2142
+ transform-origin: left bottom;
2143
+ -webkit-transform: none;
2144
+ transform: none;
2145
+ opacity: 1;
2146
+ }
2147
+ }
2148
+
2149
+ .rotateInUpLeft {
2150
+ -webkit-animation-name: rotateInUpLeft;
2151
+ animation-name: rotateInUpLeft;
2152
+ }
2153
+
2154
+ @-webkit-keyframes rotateInUpRight {
2155
+ 0% {
2156
+ -webkit-transform-origin: right bottom;
2157
+ transform-origin: right bottom;
2158
+ -webkit-transform: rotate3d(0, 0, 1, -90deg);
2159
+ transform: rotate3d(0, 0, 1, -90deg);
2160
+ opacity: 0;
2161
+ }
2162
+
2163
+ 100% {
2164
+ -webkit-transform-origin: right bottom;
2165
+ transform-origin: right bottom;
2166
+ -webkit-transform: none;
2167
+ transform: none;
2168
+ opacity: 1;
2169
+ }
2170
+ }
2171
+
2172
+ @keyframes rotateInUpRight {
2173
+ 0% {
2174
+ -webkit-transform-origin: right bottom;
2175
+ transform-origin: right bottom;
2176
+ -webkit-transform: rotate3d(0, 0, 1, -90deg);
2177
+ transform: rotate3d(0, 0, 1, -90deg);
2178
+ opacity: 0;
2179
+ }
2180
+
2181
+ 100% {
2182
+ -webkit-transform-origin: right bottom;
2183
+ transform-origin: right bottom;
2184
+ -webkit-transform: none;
2185
+ transform: none;
2186
+ opacity: 1;
2187
+ }
2188
+ }
2189
+
2190
+ .rotateInUpRight {
2191
+ -webkit-animation-name: rotateInUpRight;
2192
+ animation-name: rotateInUpRight;
2193
+ }
2194
+
2195
+ @-webkit-keyframes rotateOut {
2196
+ 0% {
2197
+ -webkit-transform-origin: center;
2198
+ transform-origin: center;
2199
+ opacity: 1;
2200
+ }
2201
+
2202
+ 100% {
2203
+ -webkit-transform-origin: center;
2204
+ transform-origin: center;
2205
+ -webkit-transform: rotate3d(0, 0, 1, 200deg);
2206
+ transform: rotate3d(0, 0, 1, 200deg);
2207
+ opacity: 0;
2208
+ }
2209
+ }
2210
+
2211
+ @keyframes rotateOut {
2212
+ 0% {
2213
+ -webkit-transform-origin: center;
2214
+ transform-origin: center;
2215
+ opacity: 1;
2216
+ }
2217
+
2218
+ 100% {
2219
+ -webkit-transform-origin: center;
2220
+ transform-origin: center;
2221
+ -webkit-transform: rotate3d(0, 0, 1, 200deg);
2222
+ transform: rotate3d(0, 0, 1, 200deg);
2223
+ opacity: 0;
2224
+ }
2225
+ }
2226
+
2227
+ .rotateOut {
2228
+ -webkit-animation-name: rotateOut;
2229
+ animation-name: rotateOut;
2230
+ }
2231
+
2232
+ @-webkit-keyframes rotateOutDownLeft {
2233
+ 0% {
2234
+ -webkit-transform-origin: left bottom;
2235
+ transform-origin: left bottom;
2236
+ opacity: 1;
2237
+ }
2238
+
2239
+ 100% {
2240
+ -webkit-transform-origin: left bottom;
2241
+ transform-origin: left bottom;
2242
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2243
+ transform: rotate3d(0, 0, 1, 45deg);
2244
+ opacity: 0;
2245
+ }
2246
+ }
2247
+
2248
+ @keyframes rotateOutDownLeft {
2249
+ 0% {
2250
+ -webkit-transform-origin: left bottom;
2251
+ transform-origin: left bottom;
2252
+ opacity: 1;
2253
+ }
2254
+
2255
+ 100% {
2256
+ -webkit-transform-origin: left bottom;
2257
+ transform-origin: left bottom;
2258
+ -webkit-transform: rotate3d(0, 0, 1, 45deg);
2259
+ transform: rotate3d(0, 0, 1, 45deg);
2260
+ opacity: 0;
2261
+ }
2262
+ }
2263
+
2264
+ .rotateOutDownLeft {
2265
+ -webkit-animation-name: rotateOutDownLeft;
2266
+ animation-name: rotateOutDownLeft;
2267
+ }
2268
+
2269
+ @-webkit-keyframes rotateOutDownRight {
2270
+ 0% {
2271
+ -webkit-transform-origin: right bottom;
2272
+ transform-origin: right bottom;
2273
+ opacity: 1;
2274
+ }
2275
+
2276
+ 100% {
2277
+ -webkit-transform-origin: right bottom;
2278
+ transform-origin: right bottom;
2279
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2280
+ transform: rotate3d(0, 0, 1, -45deg);
2281
+ opacity: 0;
2282
+ }
2283
+ }
2284
+
2285
+ @keyframes rotateOutDownRight {
2286
+ 0% {
2287
+ -webkit-transform-origin: right bottom;
2288
+ transform-origin: right bottom;
2289
+ opacity: 1;
2290
+ }
2291
+
2292
+ 100% {
2293
+ -webkit-transform-origin: right bottom;
2294
+ transform-origin: right bottom;
2295
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2296
+ transform: rotate3d(0, 0, 1, -45deg);
2297
+ opacity: 0;
2298
+ }
2299
+ }
2300
+
2301
+ .rotateOutDownRight {
2302
+ -webkit-animation-name: rotateOutDownRight;
2303
+ animation-name: rotateOutDownRight;
2304
+ }
2305
+
2306
+ @-webkit-keyframes rotateOutUpLeft {
2307
+ 0% {
2308
+ -webkit-transform-origin: left bottom;
2309
+ transform-origin: left bottom;
2310
+ opacity: 1;
2311
+ }
2312
+
2313
+ 100% {
2314
+ -webkit-transform-origin: left bottom;
2315
+ transform-origin: left bottom;
2316
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2317
+ transform: rotate3d(0, 0, 1, -45deg);
2318
+ opacity: 0;
2319
+ }
2320
+ }
2321
+
2322
+ @keyframes rotateOutUpLeft {
2323
+ 0% {
2324
+ -webkit-transform-origin: left bottom;
2325
+ transform-origin: left bottom;
2326
+ opacity: 1;
2327
+ }
2328
+
2329
+ 100% {
2330
+ -webkit-transform-origin: left bottom;
2331
+ transform-origin: left bottom;
2332
+ -webkit-transform: rotate3d(0, 0, 1, -45deg);
2333
+ transform: rotate3d(0, 0, 1, -45deg);
2334
+ opacity: 0;
2335
+ }
2336
+ }
2337
+
2338
+ .rotateOutUpLeft {
2339
+ -webkit-animation-name: rotateOutUpLeft;
2340
+ animation-name: rotateOutUpLeft;
2341
+ }
2342
+
2343
+ @-webkit-keyframes rotateOutUpRight {
2344
+ 0% {
2345
+ -webkit-transform-origin: right bottom;
2346
+ transform-origin: right bottom;
2347
+ opacity: 1;
2348
+ }
2349
+
2350
+ 100% {
2351
+ -webkit-transform-origin: right bottom;
2352
+ transform-origin: right bottom;
2353
+ -webkit-transform: rotate3d(0, 0, 1, 90deg);
2354
+ transform: rotate3d(0, 0, 1, 90deg);
2355
+ opacity: 0;
2356
+ }
2357
+ }
2358
+
2359
+ @keyframes rotateOutUpRight {
2360
+ 0% {
2361
+ -webkit-transform-origin: right bottom;
2362
+ transform-origin: right bottom;
2363
+ opacity: 1;
2364
+ }
2365
+
2366
+ 100% {
2367
+ -webkit-transform-origin: right bottom;
2368
+ transform-origin: right bottom;
2369
+ -webkit-transform: rotate3d(0, 0, 1, 90deg);
2370
+ transform: rotate3d(0, 0, 1, 90deg);
2371
+ opacity: 0;
2372
+ }
2373
+ }
2374
+
2375
+ .rotateOutUpRight {
2376
+ -webkit-animation-name: rotateOutUpRight;
2377
+ animation-name: rotateOutUpRight;
2378
+ }
2379
+
2380
+ @-webkit-keyframes hinge {
2381
+ 0% {
2382
+ -webkit-transform-origin: top left;
2383
+ transform-origin: top left;
2384
+ -webkit-animation-timing-function: ease-in-out;
2385
+ animation-timing-function: ease-in-out;
2386
+ }
2387
+
2388
+ 20%, 60% {
2389
+ -webkit-transform: rotate3d(0, 0, 1, 80deg);
2390
+ transform: rotate3d(0, 0, 1, 80deg);
2391
+ -webkit-transform-origin: top left;
2392
+ transform-origin: top left;
2393
+ -webkit-animation-timing-function: ease-in-out;
2394
+ animation-timing-function: ease-in-out;
2395
+ }
2396
+
2397
+ 40%, 80% {
2398
+ -webkit-transform: rotate3d(0, 0, 1, 60deg);
2399
+ transform: rotate3d(0, 0, 1, 60deg);
2400
+ -webkit-transform-origin: top left;
2401
+ transform-origin: top left;
2402
+ -webkit-animation-timing-function: ease-in-out;
2403
+ animation-timing-function: ease-in-out;
2404
+ opacity: 1;
2405
+ }
2406
+
2407
+ 100% {
2408
+ -webkit-transform: translate3d(0, 700px, 0);
2409
+ transform: translate3d(0, 700px, 0);
2410
+ opacity: 0;
2411
+ }
2412
+ }
2413
+
2414
+ @keyframes hinge {
2415
+ 0% {
2416
+ -webkit-transform-origin: top left;
2417
+ transform-origin: top left;
2418
+ -webkit-animation-timing-function: ease-in-out;
2419
+ animation-timing-function: ease-in-out;
2420
+ }
2421
+
2422
+ 20%, 60% {
2423
+ -webkit-transform: rotate3d(0, 0, 1, 80deg);
2424
+ transform: rotate3d(0, 0, 1, 80deg);
2425
+ -webkit-transform-origin: top left;
2426
+ transform-origin: top left;
2427
+ -webkit-animation-timing-function: ease-in-out;
2428
+ animation-timing-function: ease-in-out;
2429
+ }
2430
+
2431
+ 40%, 80% {
2432
+ -webkit-transform: rotate3d(0, 0, 1, 60deg);
2433
+ transform: rotate3d(0, 0, 1, 60deg);
2434
+ -webkit-transform-origin: top left;
2435
+ transform-origin: top left;
2436
+ -webkit-animation-timing-function: ease-in-out;
2437
+ animation-timing-function: ease-in-out;
2438
+ opacity: 1;
2439
+ }
2440
+
2441
+ 100% {
2442
+ -webkit-transform: translate3d(0, 700px, 0);
2443
+ transform: translate3d(0, 700px, 0);
2444
+ opacity: 0;
2445
+ }
2446
+ }
2447
+
2448
+ .hinge {
2449
+ -webkit-animation-name: hinge;
2450
+ animation-name: hinge;
2451
+ }
2452
+
2453
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
2454
+
2455
+ @-webkit-keyframes rollIn {
2456
+ 0% {
2457
+ opacity: 0;
2458
+ -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2459
+ transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2460
+ }
2461
+
2462
+ 100% {
2463
+ opacity: 1;
2464
+ -webkit-transform: none;
2465
+ transform: none;
2466
+ }
2467
+ }
2468
+
2469
+ @keyframes rollIn {
2470
+ 0% {
2471
+ opacity: 0;
2472
+ -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2473
+ transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
2474
+ }
2475
+
2476
+ 100% {
2477
+ opacity: 1;
2478
+ -webkit-transform: none;
2479
+ transform: none;
2480
+ }
2481
+ }
2482
+
2483
+ .rollIn {
2484
+ -webkit-animation-name: rollIn;
2485
+ animation-name: rollIn;
2486
+ }
2487
+
2488
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
2489
+
2490
+ @-webkit-keyframes rollOut {
2491
+ 0% {
2492
+ opacity: 1;
2493
+ }
2494
+
2495
+ 100% {
2496
+ opacity: 0;
2497
+ -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2498
+ transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2499
+ }
2500
+ }
2501
+
2502
+ @keyframes rollOut {
2503
+ 0% {
2504
+ opacity: 1;
2505
+ }
2506
+
2507
+ 100% {
2508
+ opacity: 0;
2509
+ -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2510
+ transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
2511
+ }
2512
+ }
2513
+
2514
+ .rollOut {
2515
+ -webkit-animation-name: rollOut;
2516
+ animation-name: rollOut;
2517
+ }
2518
+
2519
+ @-webkit-keyframes zoomIn {
2520
+ 0% {
2521
+ opacity: 0;
2522
+ -webkit-transform: scale3d(.3, .3, .3);
2523
+ transform: scale3d(.3, .3, .3);
2524
+ }
2525
+
2526
+ 50% {
2527
+ opacity: 1;
2528
+ }
2529
+ }
2530
+
2531
+ @keyframes zoomIn {
2532
+ 0% {
2533
+ opacity: 0;
2534
+ -webkit-transform: scale3d(.3, .3, .3);
2535
+ transform: scale3d(.3, .3, .3);
2536
+ }
2537
+
2538
+ 50% {
2539
+ opacity: 1;
2540
+ }
2541
+ }
2542
+
2543
+ .zoomIn {
2544
+ -webkit-animation-name: zoomIn;
2545
+ animation-name: zoomIn;
2546
+ }
2547
+
2548
+ @-webkit-keyframes zoomInDown {
2549
+ 0% {
2550
+ opacity: 0;
2551
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2552
+ transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2553
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2554
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2555
+ }
2556
+
2557
+ 60% {
2558
+ opacity: 1;
2559
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2560
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2561
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2562
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2563
+ }
2564
+ }
2565
+
2566
+ @keyframes zoomInDown {
2567
+ 0% {
2568
+ opacity: 0;
2569
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2570
+ transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
2571
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2572
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2573
+ }
2574
+
2575
+ 60% {
2576
+ opacity: 1;
2577
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2578
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2579
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2580
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2581
+ }
2582
+ }
2583
+
2584
+ .zoomInDown {
2585
+ -webkit-animation-name: zoomInDown;
2586
+ animation-name: zoomInDown;
2587
+ }
2588
+
2589
+ @-webkit-keyframes zoomInLeft {
2590
+ 0% {
2591
+ opacity: 0;
2592
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2593
+ transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2594
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2595
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2596
+ }
2597
+
2598
+ 60% {
2599
+ opacity: 1;
2600
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2601
+ transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2602
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2603
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2604
+ }
2605
+ }
2606
+
2607
+ @keyframes zoomInLeft {
2608
+ 0% {
2609
+ opacity: 0;
2610
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2611
+ transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
2612
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2613
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2614
+ }
2615
+
2616
+ 60% {
2617
+ opacity: 1;
2618
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2619
+ transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
2620
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2621
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2622
+ }
2623
+ }
2624
+
2625
+ .zoomInLeft {
2626
+ -webkit-animation-name: zoomInLeft;
2627
+ animation-name: zoomInLeft;
2628
+ }
2629
+
2630
+ @-webkit-keyframes zoomInRight {
2631
+ 0% {
2632
+ opacity: 0;
2633
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2634
+ transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2635
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2636
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2637
+ }
2638
+
2639
+ 60% {
2640
+ opacity: 1;
2641
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2642
+ transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2643
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2644
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2645
+ }
2646
+ }
2647
+
2648
+ @keyframes zoomInRight {
2649
+ 0% {
2650
+ opacity: 0;
2651
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2652
+ transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
2653
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2654
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2655
+ }
2656
+
2657
+ 60% {
2658
+ opacity: 1;
2659
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2660
+ transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
2661
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2662
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2663
+ }
2664
+ }
2665
+
2666
+ .zoomInRight {
2667
+ -webkit-animation-name: zoomInRight;
2668
+ animation-name: zoomInRight;
2669
+ }
2670
+
2671
+ @-webkit-keyframes zoomInUp {
2672
+ 0% {
2673
+ opacity: 0;
2674
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2675
+ transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2676
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2677
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2678
+ }
2679
+
2680
+ 60% {
2681
+ opacity: 1;
2682
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2683
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2684
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2685
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2686
+ }
2687
+ }
2688
+
2689
+ @keyframes zoomInUp {
2690
+ 0% {
2691
+ opacity: 0;
2692
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2693
+ transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
2694
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2695
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2696
+ }
2697
+
2698
+ 60% {
2699
+ opacity: 1;
2700
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2701
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2702
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2703
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2704
+ }
2705
+ }
2706
+
2707
+ .zoomInUp {
2708
+ -webkit-animation-name: zoomInUp;
2709
+ animation-name: zoomInUp;
2710
+ }
2711
+
2712
+ @-webkit-keyframes zoomOut {
2713
+ 0% {
2714
+ opacity: 1;
2715
+ }
2716
+
2717
+ 50% {
2718
+ opacity: 0;
2719
+ -webkit-transform: scale3d(.3, .3, .3);
2720
+ transform: scale3d(.3, .3, .3);
2721
+ }
2722
+
2723
+ 100% {
2724
+ opacity: 0;
2725
+ }
2726
+ }
2727
+
2728
+ @keyframes zoomOut {
2729
+ 0% {
2730
+ opacity: 1;
2731
+ }
2732
+
2733
+ 50% {
2734
+ opacity: 0;
2735
+ -webkit-transform: scale3d(.3, .3, .3);
2736
+ transform: scale3d(.3, .3, .3);
2737
+ }
2738
+
2739
+ 100% {
2740
+ opacity: 0;
2741
+ }
2742
+ }
2743
+
2744
+ .zoomOut {
2745
+ -webkit-animation-name: zoomOut;
2746
+ animation-name: zoomOut;
2747
+ }
2748
+
2749
+ @-webkit-keyframes zoomOutDown {
2750
+ 40% {
2751
+ opacity: 1;
2752
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2753
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2754
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2755
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2756
+ }
2757
+
2758
+ 100% {
2759
+ opacity: 0;
2760
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2761
+ transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2762
+ -webkit-transform-origin: center bottom;
2763
+ transform-origin: center bottom;
2764
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2765
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2766
+ }
2767
+ }
2768
+
2769
+ @keyframes zoomOutDown {
2770
+ 40% {
2771
+ opacity: 1;
2772
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2773
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
2774
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2775
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2776
+ }
2777
+
2778
+ 100% {
2779
+ opacity: 0;
2780
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2781
+ transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
2782
+ -webkit-transform-origin: center bottom;
2783
+ transform-origin: center bottom;
2784
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2785
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2786
+ }
2787
+ }
2788
+
2789
+ .zoomOutDown {
2790
+ -webkit-animation-name: zoomOutDown;
2791
+ animation-name: zoomOutDown;
2792
+ }
2793
+
2794
+ @-webkit-keyframes zoomOutLeft {
2795
+ 40% {
2796
+ opacity: 1;
2797
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2798
+ transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2799
+ }
2800
+
2801
+ 100% {
2802
+ opacity: 0;
2803
+ -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
2804
+ transform: scale(.1) translate3d(-2000px, 0, 0);
2805
+ -webkit-transform-origin: left center;
2806
+ transform-origin: left center;
2807
+ }
2808
+ }
2809
+
2810
+ @keyframes zoomOutLeft {
2811
+ 40% {
2812
+ opacity: 1;
2813
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2814
+ transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
2815
+ }
2816
+
2817
+ 100% {
2818
+ opacity: 0;
2819
+ -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
2820
+ transform: scale(.1) translate3d(-2000px, 0, 0);
2821
+ -webkit-transform-origin: left center;
2822
+ transform-origin: left center;
2823
+ }
2824
+ }
2825
+
2826
+ .zoomOutLeft {
2827
+ -webkit-animation-name: zoomOutLeft;
2828
+ animation-name: zoomOutLeft;
2829
+ }
2830
+
2831
+ @-webkit-keyframes zoomOutRight {
2832
+ 40% {
2833
+ opacity: 1;
2834
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2835
+ transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2836
+ }
2837
+
2838
+ 100% {
2839
+ opacity: 0;
2840
+ -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
2841
+ transform: scale(.1) translate3d(2000px, 0, 0);
2842
+ -webkit-transform-origin: right center;
2843
+ transform-origin: right center;
2844
+ }
2845
+ }
2846
+
2847
+ @keyframes zoomOutRight {
2848
+ 40% {
2849
+ opacity: 1;
2850
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2851
+ transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
2852
+ }
2853
+
2854
+ 100% {
2855
+ opacity: 0;
2856
+ -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
2857
+ transform: scale(.1) translate3d(2000px, 0, 0);
2858
+ -webkit-transform-origin: right center;
2859
+ transform-origin: right center;
2860
+ }
2861
+ }
2862
+
2863
+ .zoomOutRight {
2864
+ -webkit-animation-name: zoomOutRight;
2865
+ animation-name: zoomOutRight;
2866
+ }
2867
+
2868
+ @-webkit-keyframes zoomOutUp {
2869
+ 40% {
2870
+ opacity: 1;
2871
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2872
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2873
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2874
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2875
+ }
2876
+
2877
+ 100% {
2878
+ opacity: 0;
2879
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2880
+ transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2881
+ -webkit-transform-origin: center bottom;
2882
+ transform-origin: center bottom;
2883
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2884
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2885
+ }
2886
+ }
2887
+
2888
+ @keyframes zoomOutUp {
2889
+ 40% {
2890
+ opacity: 1;
2891
+ -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2892
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
2893
+ -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2894
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
2895
+ }
2896
+
2897
+ 100% {
2898
+ opacity: 0;
2899
+ -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2900
+ transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
2901
+ -webkit-transform-origin: center bottom;
2902
+ transform-origin: center bottom;
2903
+ -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2904
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
2905
+ }
2906
+ }
2907
+
2908
+ .zoomOutUp {
2909
+ -webkit-animation-name: zoomOutUp;
2910
+ animation-name: zoomOutUp;
2911
+ }
2912
+
2913
+ @-webkit-keyframes slideInDown {
2914
+ 0% {
2915
+ -webkit-transform: translateY(-100%);
2916
+ transform: translateY(-100%);
2917
+ visibility: visible;
2918
+ }
2919
+
2920
+ 100% {
2921
+ -webkit-transform: translateY(0);
2922
+ transform: translateY(0);
2923
+ }
2924
+ }
2925
+
2926
+ @keyframes slideInDown {
2927
+ 0% {
2928
+ -webkit-transform: translateY(-100%);
2929
+ transform: translateY(-100%);
2930
+ visibility: visible;
2931
+ }
2932
+
2933
+ 100% {
2934
+ -webkit-transform: translateY(0);
2935
+ transform: translateY(0);
2936
+ }
2937
+ }
2938
+
2939
+ .slideInDown {
2940
+ -webkit-animation-name: slideInDown;
2941
+ animation-name: slideInDown;
2942
+ }
2943
+
2944
+ @-webkit-keyframes slideInLeft {
2945
+ 0% {
2946
+ -webkit-transform: translateX(-100%);
2947
+ transform: translateX(-100%);
2948
+ visibility: visible;
2949
+ }
2950
+
2951
+ 100% {
2952
+ -webkit-transform: translateX(0);
2953
+ transform: translateX(0);
2954
+ }
2955
+ }
2956
+
2957
+ @keyframes slideInLeft {
2958
+ 0% {
2959
+ -webkit-transform: translateX(-100%);
2960
+ transform: translateX(-100%);
2961
+ visibility: visible;
2962
+ }
2963
+
2964
+ 100% {
2965
+ -webkit-transform: translateX(0);
2966
+ transform: translateX(0);
2967
+ }
2968
+ }
2969
+
2970
+ .slideInLeft {
2971
+ -webkit-animation-name: slideInLeft;
2972
+ animation-name: slideInLeft;
2973
+ }
2974
+
2975
+ @-webkit-keyframes slideInRight {
2976
+ 0% {
2977
+ -webkit-transform: translateX(100%);
2978
+ transform: translateX(100%);
2979
+ visibility: visible;
2980
+ }
2981
+
2982
+ 100% {
2983
+ -webkit-transform: translateX(0);
2984
+ transform: translateX(0);
2985
+ }
2986
+ }
2987
+
2988
+ @keyframes slideInRight {
2989
+ 0% {
2990
+ -webkit-transform: translateX(100%);
2991
+ transform: translateX(100%);
2992
+ visibility: visible;
2993
+ }
2994
+
2995
+ 100% {
2996
+ -webkit-transform: translateX(0);
2997
+ transform: translateX(0);
2998
+ }
2999
+ }
3000
+
3001
+ .slideInRight {
3002
+ -webkit-animation-name: slideInRight;
3003
+ animation-name: slideInRight;
3004
+ }
3005
+
3006
+ @-webkit-keyframes slideInUp {
3007
+ 0% {
3008
+ -webkit-transform: translateY(100%);
3009
+ transform: translateY(100%);
3010
+ visibility: visible;
3011
+ }
3012
+
3013
+ 100% {
3014
+ -webkit-transform: translateY(0);
3015
+ transform: translateY(0);
3016
+ }
3017
+ }
3018
+
3019
+ @keyframes slideInUp {
3020
+ 0% {
3021
+ -webkit-transform: translateY(100%);
3022
+ transform: translateY(100%);
3023
+ visibility: visible;
3024
+ }
3025
+
3026
+ 100% {
3027
+ -webkit-transform: translateY(0);
3028
+ transform: translateY(0);
3029
+ }
3030
+ }
3031
+
3032
+ .slideInUp {
3033
+ -webkit-animation-name: slideInUp;
3034
+ animation-name: slideInUp;
3035
+ }
3036
+
3037
+ @-webkit-keyframes slideOutDown {
3038
+ 0% {
3039
+ -webkit-transform: translateY(0);
3040
+ transform: translateY(0);
3041
+ }
3042
+
3043
+ 100% {
3044
+ visibility: hidden;
3045
+ -webkit-transform: translateY(100%);
3046
+ transform: translateY(100%);
3047
+ }
3048
+ }
3049
+
3050
+ @keyframes slideOutDown {
3051
+ 0% {
3052
+ -webkit-transform: translateY(0);
3053
+ transform: translateY(0);
3054
+ }
3055
+
3056
+ 100% {
3057
+ visibility: hidden;
3058
+ -webkit-transform: translateY(100%);
3059
+ transform: translateY(100%);
3060
+ }
3061
+ }
3062
+
3063
+ .slideOutDown {
3064
+ -webkit-animation-name: slideOutDown;
3065
+ animation-name: slideOutDown;
3066
+ }
3067
+
3068
+ @-webkit-keyframes slideOutLeft {
3069
+ 0% {
3070
+ -webkit-transform: translateX(0);
3071
+ transform: translateX(0);
3072
+ }
3073
+
3074
+ 100% {
3075
+ visibility: hidden;
3076
+ -webkit-transform: translateX(-100%);
3077
+ transform: translateX(-100%);
3078
+ }
3079
+ }
3080
+
3081
+ @keyframes slideOutLeft {
3082
+ 0% {
3083
+ -webkit-transform: translateX(0);
3084
+ transform: translateX(0);
3085
+ }
3086
+
3087
+ 100% {
3088
+ visibility: hidden;
3089
+ -webkit-transform: translateX(-100%);
3090
+ transform: translateX(-100%);
3091
+ }
3092
+ }
3093
+
3094
+ .slideOutLeft {
3095
+ -webkit-animation-name: slideOutLeft;
3096
+ animation-name: slideOutLeft;
3097
+ }
3098
+
3099
+ @-webkit-keyframes slideOutRight {
3100
+ 0% {
3101
+ -webkit-transform: translateX(0);
3102
+ transform: translateX(0);
3103
+ }
3104
+
3105
+ 100% {
3106
+ visibility: hidden;
3107
+ -webkit-transform: translateX(100%);
3108
+ transform: translateX(100%);
3109
+ }
3110
+ }
3111
+
3112
+ @keyframes slideOutRight {
3113
+ 0% {
3114
+ -webkit-transform: translateX(0);
3115
+ transform: translateX(0);
3116
+ }
3117
+
3118
+ 100% {
3119
+ visibility: hidden;
3120
+ -webkit-transform: translateX(100%);
3121
+ transform: translateX(100%);
3122
+ }
3123
+ }
3124
+
3125
+ .slideOutRight {
3126
+ -webkit-animation-name: slideOutRight;
3127
+ animation-name: slideOutRight;
3128
+ }
3129
+
3130
+ @-webkit-keyframes slideOutUp {
3131
+ 0% {
3132
+ -webkit-transform: translateY(0);
3133
+ transform: translateY(0);
3134
+ }
3135
+
3136
+ 100% {
3137
+ visibility: hidden;
3138
+ -webkit-transform: translateY(-100%);
3139
+ transform: translateY(-100%);
3140
+ }
3141
+ }
3142
+
3143
+ @keyframes slideOutUp {
3144
+ 0% {
3145
+ -webkit-transform: translateY(0);
3146
+ transform: translateY(0);
3147
+ }
3148
+
3149
+ 100% {
3150
+ visibility: hidden;
3151
+ -webkit-transform: translateY(-100%);
3152
+ transform: translateY(-100%);
3153
+ }
3154
+ }
3155
+
3156
+ .slideOutUp {
3157
+ -webkit-animation-name: slideOutUp;
3158
+ animation-name: slideOutUp;
3159
+ }
inc/addons/class-popup-addon-anonymous.php CHANGED
@@ -7,4 +7,50 @@ Author: Ve (Incsub)
7
  Author URI: http://premium.wpmudev.org
8
  Type: Setting
9
  Version: 1.0
10
- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  Author URI: http://premium.wpmudev.org
8
  Type: Setting
9
  Version: 1.0
10
+ */
11
+
12
+ class IncPopupAddon_AnonyousLoading {
13
+
14
+ const METHOD = 'anonymous';
15
+
16
+ /**
17
+ * Initialize the addon
18
+ *
19
+ * @since 4.6
20
+ */
21
+ static public function init() {
22
+ if ( is_admin() ) {
23
+ // Called from the PopUp Settings screen.
24
+ add_filter(
25
+ 'popup-settings-loading-method',
26
+ array( __CLASS__, 'settings' )
27
+ );
28
+ }
29
+ }
30
+
31
+ /**
32
+ * Filter that returns a modified version of the loading methods
33
+ * (displayed in the settings page)
34
+ *
35
+ * @since 4.6
36
+ * @param array $loading_methods
37
+ * @return array
38
+ */
39
+ static public function settings( $loading_methods ) {
40
+ $pro_only = ' - ' . __( 'PRO Verson', PO_LANG );
41
+
42
+ $loading_methods[] = (object) array(
43
+ 'id' => self::METHOD,
44
+ 'label' => __( 'Anonymous Script', PO_LANG ) . $pro_only,
45
+ 'info' => __(
46
+ 'Drastically increase the chance to bypass ad-blockers. ' .
47
+ 'Loads PopUp like WordPress AJAX, but the URL to the ' .
48
+ 'JavaScript file is masked. ', PO_LANG
49
+ ),
50
+ 'disabled' => true,
51
+ );
52
+ return $loading_methods;
53
+ }
54
+ }
55
+
56
+ IncPopupAddon_AnonyousLoading::init();
inc/class-popup-admin.php CHANGED
@@ -100,6 +100,7 @@ class IncPopup extends IncPopupBase {
100
  lib2()->ui->add( PO_JS_URL . 'popup-admin.min.js' );
101
  lib2()->ui->add( PO_JS_URL . 'ace.js' ); // CSS editor.
102
  lib2()->ui->add( PO_JS_URL . 'public.min.js' ); // For Preview.
 
103
 
104
  if ( 'trash' != $_REQUEST['post_status'] ) {
105
  lib2()->ui->data(
@@ -368,8 +369,11 @@ class IncPopup extends IncPopupBase {
368
 
369
  $settings = array();
370
  $settings['loadingmethod'] = $_POST['po_option']['loadingmethod'];
371
- $settings['geo_lookup'] = $_POST['po_option']['geo_lookup'];
372
- $settings['geo_db'] = ( 'geo_db' === $settings['geo_lookup'] );
 
 
 
373
 
374
  $rules = $_POST['po_option']['rules'];
375
  if ( ! is_array( $rules ) ) { $rules = array(); }
@@ -929,8 +933,20 @@ class IncPopup extends IncPopupBase {
929
  * @param WP_Post $post The PopUp being edited.
930
  */
931
  static public function form_metabox( $post ) {
 
 
 
 
 
 
 
 
 
932
  $meta_order = get_user_option( 'meta-box-order_' . IncPopupItem::POST_TYPE );
933
- $po_meta = array( 'submitdiv', 'meta-content', 'meta-appearance', 'meta_behavior', 'meta-rules', 'meta-customcss' );
 
 
 
934
  $meta_order['side'] = str_replace( $po_meta, '', $meta_order['side'] );
935
  $meta_order['normal'] = str_replace( $po_meta, '', $meta_order['normal'] );
936
  $meta_order['advanced'] = str_replace( $po_meta, '', $meta_order['advanced'] );
100
  lib2()->ui->add( PO_JS_URL . 'popup-admin.min.js' );
101
  lib2()->ui->add( PO_JS_URL . 'ace.js' ); // CSS editor.
102
  lib2()->ui->add( PO_JS_URL . 'public.min.js' ); // For Preview.
103
+ lib2()->ui->add( PO_CSS_URL . 'animate.min.css' ); // For Preview.
104
 
105
  if ( 'trash' != $_REQUEST['post_status'] ) {
106
  lib2()->ui->data(
369
 
370
  $settings = array();
371
  $settings['loadingmethod'] = $_POST['po_option']['loadingmethod'];
372
+
373
+ if ( isset( $_POST['po_option']['geo_lookup'] ) ) {
374
+ $settings['geo_lookup'] = $_POST['po_option']['geo_lookup'];
375
+ $settings['geo_db'] = ( 'geo_db' === $settings['geo_lookup'] );
376
+ }
377
 
378
  $rules = $_POST['po_option']['rules'];
379
  if ( ! is_array( $rules ) ) { $rules = array(); }
933
  * @param WP_Post $post The PopUp being edited.
934
  */
935
  static public function form_metabox( $post ) {
936
+ $po_meta = array(
937
+ 'submitdiv',
938
+ 'meta-content',
939
+ 'meta-appearance',
940
+ 'meta_behavior',
941
+ 'meta-rules',
942
+ 'meta-customcss',
943
+ );
944
+
945
  $meta_order = get_user_option( 'meta-box-order_' . IncPopupItem::POST_TYPE );
946
+ $meta_order = lib2()->array->get( $meta_order );
947
+ if ( empty( $meta_order['side'] ) ) { $meta_order['side'] = ''; }
948
+ if ( empty( $meta_order['normal'] ) ) { $meta_order['normal'] = ''; }
949
+ if ( empty( $meta_order['advanced'] ) ) { $meta_order['advanced'] = ''; }
950
  $meta_order['side'] = str_replace( $po_meta, '', $meta_order['side'] );
951
  $meta_order['normal'] = str_replace( $po_meta, '', $meta_order['normal'] );
952
  $meta_order['advanced'] = str_replace( $po_meta, '', $meta_order['advanced'] );
inc/class-popup-base.php CHANGED
@@ -63,8 +63,6 @@ abstract class IncPopupBase {
63
  if ( ! empty( $_POST['thefrom'] ) ) { $_POST['thefrom'] = strrev( $_POST['thefrom'] ); }
64
  if ( ! empty( $_POST['thereferrer'] ) ) { $_POST['thereferrer'] = strrev( $_POST['thereferrer'] ); }
65
 
66
- lib2()->translate_plugin( PO_LANG, PO_LANG_DIR );
67
-
68
  // Register the popup post type.
69
  add_action(
70
  'init',
@@ -103,6 +101,12 @@ abstract class IncPopupBase {
103
  );
104
 
105
  // Compatibility with plugins
 
 
 
 
 
 
106
  if ( function_exists( 'get_rocket_option' ) && get_rocket_option( 'minify_js' ) ) {
107
  foreach ( array( 'edit-inc_popup', 'inc_popup', 'inc_popup_page_settings' ) as $screen ) {
108
  lib2()->ui->admin_message(
@@ -434,6 +438,8 @@ abstract class IncPopupBase {
434
  * }
435
  */
436
  public static function get_animations() {
 
 
437
  $animations_in = array(
438
  '' => array(
439
  '' => __( '(No Animation)', PO_LANG ),
@@ -449,47 +455,47 @@ abstract class IncPopupBase {
449
  'wobble' => __( 'Wobble', PO_LANG ),
450
  ),
451
  __( 'Bouncing Entrances', PO_LANG ) => array(
452
- 'bounceIn' => __( 'Bounce In', PO_LANG ),
453
- 'bounceInDown' => __( 'Bounce In Down', PO_LANG ),
454
- 'bounceInLeft' => __( 'Bounce In Left', PO_LANG ),
455
- 'bounceInRight' => __( 'Bounce In Right', PO_LANG ),
456
- 'bounceInUp' => __( 'Bounce In Up', PO_LANG ),
457
  ),
458
  __( 'Fading Entrances', PO_LANG ) => array(
459
- 'fadeIn' => __( 'Fade In', PO_LANG ),
460
- 'fadeInDown' => __( 'Fade In Down', PO_LANG ),
461
- 'fadeInDownBig' => __( 'Fade In Down Big', PO_LANG ),
462
- 'fadeInLeft' => __( 'Fade In Left', PO_LANG ),
463
- 'fadeInLeftBig' => __( 'Fade In Left Big', PO_LANG ),
464
- 'fadeInRight' => __( 'Fade In Right', PO_LANG ),
465
- 'fadeInRightBig' => __( 'Fade In Right Big', PO_LANG ),
466
- 'fadeInUp' => __( 'Fade In Up', PO_LANG ),
467
- 'fadeInUpBig' => __( 'Fade In Up Big', PO_LANG ),
468
  ),
469
  __( 'Flippers', PO_LANG ) => array(
470
- 'flip' => __( 'Flip', PO_LANG ),
471
- 'flipInX' => __( 'Flip In X', PO_LANG ),
472
- 'flipInY' => __( 'Flip In Y', PO_LANG ),
473
  ),
474
  __( 'Lightspeed', PO_LANG ) => array(
475
- 'lightSpeedIn' => __( 'Light Speed In', PO_LANG ),
476
  ),
477
  __( 'Rotating Entrances', PO_LANG ) => array(
478
- 'rotateIn' => __( 'Rotate In', PO_LANG ),
479
- 'rotateInDownLeft' => __( 'Rotate In Down Left', PO_LANG ),
480
- 'rotateInDownRight' => __( 'Rotate In Down Right', PO_LANG ),
481
- 'rotateInUpLeft' => __( 'Rotate In Up Left', PO_LANG ),
482
- 'rotateInUpRight' => __( 'Rotate In Up Right', PO_LANG ),
483
  ),
484
  __( 'Specials', PO_LANG ) => array(
485
- 'rollIn' => __( 'Roll In', PO_LANG ),
486
  ),
487
  __( 'Zoom Entrances', PO_LANG ) => array(
488
- 'zoomIn' => __( 'Zoom In', PO_LANG ),
489
- 'zoomInDown' => __( 'Zoom In Down', PO_LANG ),
490
- 'zoomInLeft' => __( 'Zoom In Left', PO_LANG ),
491
- 'zoomInRight' => __( 'Zoom In Right', PO_LANG ),
492
- 'zoomInUp' => __( 'Zoom In Up', PO_LANG ),
493
  ),
494
  );
495
 
@@ -516,29 +522,29 @@ abstract class IncPopupBase {
516
  'fadeOutUpBig' => __( 'Fade Out Up Big', PO_LANG ),
517
  ),
518
  __( 'Flippers', PO_LANG ) => array(
519
- 'flipOutX' => __( 'Flip Out X', PO_LANG ),
520
- 'flipOutY' => __( 'Flip Out Y', PO_LANG ),
521
  ),
522
  __( 'Lightspeed', PO_LANG ) => array(
523
- 'lightSpeedOut' => __( 'Light Speed Out', PO_LANG ),
524
  ),
525
  __( 'Rotating Exits', PO_LANG ) => array(
526
- 'rotateOut' => __( 'Rotate Out', PO_LANG ),
527
- 'rotateOutDownLeft' => __( 'Rotate Out Down Left', PO_LANG ),
528
- 'rotateOutDownRight' => __( 'Rotate Out Down Right', PO_LANG ),
529
- 'rotateOutUpLeft' => __( 'Rotate Out Up Left', PO_LANG ),
530
- 'rotateOutUpRight' => __( 'Rotate Out Up Right', PO_LANG ),
531
  ),
532
  __( 'Specials', PO_LANG ) => array(
533
- 'hinge' => __( 'Hinge', PO_LANG ),
534
- 'rollOut' => __( 'Roll Out', PO_LANG ),
535
  ),
536
  __( 'Zoom Exits', PO_LANG ) => array(
537
- 'zoomOut' => __( 'Zoom Out', PO_LANG ),
538
- 'zoomOutDown' => __( 'Zoom Out Down', PO_LANG ),
539
- 'zoomOutLeft' => __( 'Zoom Out Left', PO_LANG ),
540
- 'zoomOutRight' => __( 'Zoom Out Right', PO_LANG ),
541
- 'zoomOutUp' => __( 'Zoom Out Up', PO_LANG ),
542
  ),
543
  );
544
 
@@ -567,7 +573,6 @@ abstract class IncPopupBase {
567
  protected function select_popup() {
568
  $data = array();
569
  $items = $this->find_popups();
570
- $this->popups = array();
571
 
572
  /**
573
  * Filter the popup list so other modules can modify the popup details.
@@ -580,7 +585,9 @@ abstract class IncPopupBase {
580
  return;
581
  }
582
 
583
- $this->popups = $items;
 
 
584
  }
585
 
586
  /**
@@ -627,6 +634,7 @@ abstract class IncPopupBase {
627
  $this
628
  );
629
 
 
630
  foreach ( $popup_ids as $id ) {
631
  $popup = IncPopupDatabase::get( $id );
632
 
@@ -676,6 +684,78 @@ abstract class IncPopupBase {
676
  \*===================================*/
677
 
678
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
679
  /**
680
  * Change the Request-URI, so other plugins use the correct form action, etc.
681
  *
@@ -710,6 +790,23 @@ abstract class IncPopupBase {
710
  $_SERVER['REQUEST_URI'] = $this->orig_url;
711
  }
712
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
713
 
714
 
715
  };
63
  if ( ! empty( $_POST['thefrom'] ) ) { $_POST['thefrom'] = strrev( $_POST['thefrom'] ); }
64
  if ( ! empty( $_POST['thereferrer'] ) ) { $_POST['thereferrer'] = strrev( $_POST['thereferrer'] ); }
65
 
 
 
66
  // Register the popup post type.
67
  add_action(
68
  'init',
101
  );
102
 
103
  // Compatibility with plugins
104
+ add_filter(
105
+ 'popup-output-data',
106
+ array( $this, 'compat_init' ),
107
+ 999, 2
108
+ );
109
+
110
  if ( function_exists( 'get_rocket_option' ) && get_rocket_option( 'minify_js' ) ) {
111
  foreach ( array( 'edit-inc_popup', 'inc_popup', 'inc_popup_page_settings' ) as $screen ) {
112
  lib2()->ui->admin_message(
438
  * }
439
  */
440
  public static function get_animations() {
441
+ $pro_only = ' - ' . __( 'PRO Version', PO_LANG );
442
+
443
  $animations_in = array(
444
  '' => array(
445
  '' => __( '(No Animation)', PO_LANG ),
455
  'wobble' => __( 'Wobble', PO_LANG ),
456
  ),
457
  __( 'Bouncing Entrances', PO_LANG ) => array(
458
+ 'bounceIn' => __( 'Bounce In', PO_LANG ) . $pro_only,
459
+ 'bounceInDown' => __( 'Bounce In Down', PO_LANG ) . $pro_only,
460
+ 'bounceInLeft' => __( 'Bounce In Left', PO_LANG ) . $pro_only,
461
+ 'bounceInRight' => __( 'Bounce In Right', PO_LANG ) . $pro_only,
462
+ 'bounceInUp' => __( 'Bounce In Up', PO_LANG ) . $pro_only,
463
  ),
464
  __( 'Fading Entrances', PO_LANG ) => array(
465
+ 'fadeIn' => __( 'Fade In', PO_LANG ) . $pro_only,
466
+ 'fadeInDown' => __( 'Fade In Down', PO_LANG ) . $pro_only,
467
+ 'fadeInDownBig' => __( 'Fade In Down Big', PO_LANG ) . $pro_only,
468
+ 'fadeInLeft' => __( 'Fade In Left', PO_LANG ) . $pro_only,
469
+ 'fadeInLeftBig' => __( 'Fade In Left Big', PO_LANG ) . $pro_only,
470
+ 'fadeInRight' => __( 'Fade In Right', PO_LANG ) . $pro_only,
471
+ 'fadeInRightBig' => __( 'Fade In Right Big', PO_LANG ) . $pro_only,
472
+ 'fadeInUp' => __( 'Fade In Up', PO_LANG ) . $pro_only,
473
+ 'fadeInUpBig' => __( 'Fade In Up Big', PO_LANG ) . $pro_only,
474
  ),
475
  __( 'Flippers', PO_LANG ) => array(
476
+ 'flip' => __( 'Flip', PO_LANG ) . $pro_only,
477
+ 'flipInX' => __( 'Flip In X', PO_LANG ) . $pro_only,
478
+ 'flipInY' => __( 'Flip In Y', PO_LANG ) . $pro_only,
479
  ),
480
  __( 'Lightspeed', PO_LANG ) => array(
481
+ 'lightSpeedIn' => __( 'Light Speed In', PO_LANG ) . $pro_only,
482
  ),
483
  __( 'Rotating Entrances', PO_LANG ) => array(
484
+ 'rotateIn' => __( 'Rotate In', PO_LANG ) . $pro_only,
485
+ 'rotateInDownLeft' => __( 'Rotate In Down Left', PO_LANG ) . $pro_only,
486
+ 'rotateInDownRight' => __( 'Rotate In Down Right', PO_LANG ) . $pro_only,
487
+ 'rotateInUpLeft' => __( 'Rotate In Up Left', PO_LANG ) . $pro_only,
488
+ 'rotateInUpRight' => __( 'Rotate In Up Right', PO_LANG ) . $pro_only,
489
  ),
490
  __( 'Specials', PO_LANG ) => array(
491
+ 'rollIn' => __( 'Roll In', PO_LANG ) . $pro_only,
492
  ),
493
  __( 'Zoom Entrances', PO_LANG ) => array(
494
+ 'zoomIn' => __( 'Zoom In', PO_LANG ) . $pro_only,
495
+ 'zoomInDown' => __( 'Zoom In Down', PO_LANG ) . $pro_only,
496
+ 'zoomInLeft' => __( 'Zoom In Left', PO_LANG ) . $pro_only,
497
+ 'zoomInRight' => __( 'Zoom In Right', PO_LANG ) . $pro_only,
498
+ 'zoomInUp' => __( 'Zoom In Up', PO_LANG ) . $pro_only,
499
  ),
500
  );
501
 
522
  'fadeOutUpBig' => __( 'Fade Out Up Big', PO_LANG ),
523
  ),
524
  __( 'Flippers', PO_LANG ) => array(
525
+ 'flipOutX' => __( 'Flip Out X', PO_LANG ) . $pro_only,
526
+ 'flipOutY' => __( 'Flip Out Y', PO_LANG ) . $pro_only,
527
  ),
528
  __( 'Lightspeed', PO_LANG ) => array(
529
+ 'lightSpeedOut' => __( 'Light Speed Out', PO_LANG ) . $pro_only,
530
  ),
531
  __( 'Rotating Exits', PO_LANG ) => array(
532
+ 'rotateOut' => __( 'Rotate Out', PO_LANG ) . $pro_only,
533
+ 'rotateOutDownLeft' => __( 'Rotate Out Down Left', PO_LANG ) . $pro_only,
534
+ 'rotateOutDownRight' => __( 'Rotate Out Down Right', PO_LANG ) . $pro_only,
535
+ 'rotateOutUpLeft' => __( 'Rotate Out Up Left', PO_LANG ) . $pro_only,
536
+ 'rotateOutUpRight' => __( 'Rotate Out Up Right', PO_LANG ) . $pro_only,
537
  ),
538
  __( 'Specials', PO_LANG ) => array(
539
+ 'hinge' => __( 'Hinge', PO_LANG ) . $pro_only,
540
+ 'rollOut' => __( 'Roll Out', PO_LANG ) . $pro_only,
541
  ),
542
  __( 'Zoom Exits', PO_LANG ) => array(
543
+ 'zoomOut' => __( 'Zoom Out', PO_LANG ) . $pro_only,
544
+ 'zoomOutDown' => __( 'Zoom Out Down', PO_LANG ) . $pro_only,
545
+ 'zoomOutLeft' => __( 'Zoom Out Left', PO_LANG ) . $pro_only,
546
+ 'zoomOutRight' => __( 'Zoom Out Right', PO_LANG ) . $pro_only,
547
+ 'zoomOutUp' => __( 'Zoom Out Up', PO_LANG ) . $pro_only,
548
  ),
549
  );
550
 
573
  protected function select_popup() {
574
  $data = array();
575
  $items = $this->find_popups();
 
576
 
577
  /**
578
  * Filter the popup list so other modules can modify the popup details.
585
  return;
586
  }
587
 
588
+ foreach ( $items as $item ) {
589
+ $this->popups[] = $item;
590
+ }
591
  }
592
 
593
  /**
634
  $this
635
  );
636
 
637
+ $popup_ids = lib2()->array->get( $popup_ids );
638
  foreach ( $popup_ids as $id ) {
639
  $popup = IncPopupDatabase::get( $id );
640
 
684
  \*===================================*/
685
 
686
 
687
+ /**
688
+ * Adds compatibility code for other plugins/shortcodes.
689
+ * Currently these plugins are aupported:
690
+ * - Appointments+ (WPMU DEV)
691
+ *
692
+ * @since 4.6.1.1
693
+ * @param array $data Data collection that is printed to javascript.
694
+ * @param IncPopupItem $popup The original popup object.
695
+ * @return array Modified data collection.
696
+ */
697
+ public function compat_init( $script_data, $popup ) {
698
+ if ( class_exists( 'Appointments' ) ) {
699
+ $this->compat_appointments_trigger();
700
+
701
+ if ( ! isset( $script_data['script'] ) ) {
702
+ $script_data['script'] = '';
703
+ }
704
+
705
+ $script_data['script'] .= $this->compat_data['script'];
706
+ }
707
+
708
+ return $script_data;
709
+ }
710
+
711
+ /**
712
+ * Triggers the WP_footer action.
713
+ *
714
+ * This is required so the Appointments+ plugin generates Javascript for the
715
+ * shortcodes. We will then intercept the javascript via the
716
+ * `compat_appointments_footer()` function below.
717
+ *
718
+ * @since 4.6.1.1
719
+ */
720
+ public function compat_appointments_trigger() {
721
+ global $appointments;
722
+
723
+ add_filter(
724
+ 'app_footer_scripts',
725
+ array( $this, 'compat_appointments_footer' ),
726
+ 999
727
+ );
728
+
729
+ $appointments->load_scripts_styles();
730
+ $appointments->wp_footer();
731
+ }
732
+
733
+ /**
734
+ * Integration of Appointments+
735
+ * Inject the javascript used by Appointments plugin into the plugin.
736
+ *
737
+ * @since 4.6.1.1
738
+ * @param string $script
739
+ * @return string
740
+ */
741
+ public function compat_appointments_footer( $script ) {
742
+ global $wp_scripts;
743
+ if ( ! isset( $this->compat_data['script'] ) ) {
744
+ $this->compat_data['script'] = '';
745
+ }
746
+
747
+ // 1. get the localized script data.
748
+ if ( ! empty( $wp_scripts->registered['app-js-check']->extra['data'] ) ) {
749
+ $this->compat_data['script'] .= $wp_scripts->registered['app-js-check']->extra['data'];
750
+ $wp_scripts->registered['app-js-check']->extra['data'] = '';
751
+ }
752
+
753
+ // 2. get the footer script.
754
+ $this->compat_data['script'] .= '(function($) {' . $script . '})(jQuery);';
755
+
756
+ return '';
757
+ }
758
+
759
  /**
760
  * Change the Request-URI, so other plugins use the correct form action, etc.
761
  *
790
  $_SERVER['REQUEST_URI'] = $this->orig_url;
791
  }
792
 
793
+ /**
794
+ * Add extra translations from the free plugin version so poedit will
795
+ * recognize the translations and we do not need to keep separate
796
+ * translation files for pro/free version.
797
+ *
798
+ * @since 4.6.1.3
799
+ */
800
+ private function other_translations() {
801
+ return;
802
+
803
+ // These functions will never be called, but poedit recognizes the text.
804
+ __( 'PRO Version', PO_LANG );
805
+ __( 'Pro feature. <a href="%1$s" target="_blank">Find out more &raquo;</a>', PO_LANG );
806
+ __( '<strong>WordPress PopUp</strong><br />Your installation was successfully updated to use the latest version of the plugin!<br /><em>Note: Some PopUp options changed or were replaced. You should have a look at your <a href="%s">PopUps</a> to see if they still look as intended.</em>', PO_LANG );
807
+ __( 'In the free version you can activate 1 PopUp. When you activate this PopUp then all other PopUps will be deactivated ', PO_LANG );
808
+ __( 'In the free version you can activate 1 PopUp. The PRO Version allows you to have unlimited active PopUps! <a href=\"%1$s\" target=\"_blank\">Find out more &raquo;</a>', PO_LANG );
809
+ }
810
 
811
 
812
  };
inc/class-popup-database.php CHANGED
@@ -190,7 +190,7 @@ class IncPopupDatabase {
190
  ";
191
  $sql = $wpdb->prepare( $sql, $item->id );
192
  $status = $wpdb->get_var( $sql );
193
- if ( $status != '1' ) { continue; }
194
 
195
  $raw = maybe_unserialize( $item->popover_settings );
196
  $checks = explode( ',', @$raw['popover_check']['order'] );
@@ -218,8 +218,8 @@ class IncPopupDatabase {
218
  if ( isset( $raw['on_click'] ) ) { $display = 'click'; }
219
 
220
  $custom_colors = false;
221
- if ( $colors['col1'] != 'FFFFFF' ) { $custom_colors = true; }
222
- if ( $colors['col2'] != '000000' ) { $custom_colors = true; }
223
 
224
  $custom_size = true;
225
  if ( ! empty( $raw['popover_size']['usejs'] ) ) { $custom_size = false; }
@@ -304,12 +304,12 @@ class IncPopupDatabase {
304
  lib2()->ui->admin_message(
305
  sprintf(
306
  __(
307
- '<strong>WordPress PopUp</strong><br />' .
308
- 'Your installation was successfully updated to use the ' .
309
- 'latest version of the plugin!<br />' .
310
- '<em>Note: Some PopUp options changed or were replaced. ' .
311
- 'You should have a look at your <a href="%s">PopUps</a> ' .
312
- 'to see if they still look as intended.</em>', PO_LANG
313
  ),
314
  admin_url( 'edit.php?post_type=' . IncPopupItem::POST_TYPE )
315
  )
@@ -418,19 +418,17 @@ class IncPopupDatabase {
418
 
419
  if ( null === $List ) {
420
  self::before_db();
421
- $sql_get = "
422
- SELECT ID
423
- FROM {$wpdb->posts}
424
- WHERE post_type=%s
425
- AND post_status=%s
426
- ORDER BY menu_order
427
- ";
428
- $sql = $wpdb->prepare(
429
- $sql_get,
430
- IncPopupItem::POST_TYPE,
431
- 'publish'
432
  );
433
- $List = $wpdb->get_col( $sql );
 
 
434
  self::after_db();
435
  }
436
 
@@ -587,7 +585,7 @@ class IncPopupDatabase {
587
  'info' => __(
588
  'Include PopUp as part of your site\'s HTML (no AJAX call).',
589
  PO_LANG
590
- ),
591
  );
592
 
593
  $Loading_methods[] = (object) array(
@@ -614,7 +612,10 @@ class IncPopupDatabase {
614
  *
615
  * @var array
616
  */
617
- $Loading_methods = apply_filters( 'popup-settings-loading-method', $Loading_methods );
 
 
 
618
  }
619
 
620
  return $Loading_methods;
190
  ";
191
  $sql = $wpdb->prepare( $sql, $item->id );
192
  $status = $wpdb->get_var( $sql );
193
+ if ( '1' != $status ) { continue; }
194
 
195
  $raw = maybe_unserialize( $item->popover_settings );
196
  $checks = explode( ',', @$raw['popover_check']['order'] );
218
  if ( isset( $raw['on_click'] ) ) { $display = 'click'; }
219
 
220
  $custom_colors = false;
221
+ if ( 'FFFFFF' != $colors['col1'] ) { $custom_colors = true; }
222
+ if ( '000000' != $colors['col2'] ) { $custom_colors = true; }
223
 
224
  $custom_size = true;
225
  if ( ! empty( $raw['popover_size']['usejs'] ) ) { $custom_size = false; }
304
  lib2()->ui->admin_message(
305
  sprintf(
306
  __(
307
+ '<strong>WordPress PopUp</strong><br />' .
308
+ 'Your installation was successfully updated to use the ' .
309
+ 'latest version of the plugin!<br />' .
310
+ '<em>Note: Some PopUp options changed or were replaced. ' .
311
+ 'You should have a look at your <a href="%s">PopUps</a> ' .
312
+ 'to see if they still look as intended.</em>', PO_LANG
313
  ),
314
  admin_url( 'edit.php?post_type=' . IncPopupItem::POST_TYPE )
315
  )
418
 
419
  if ( null === $List ) {
420
  self::before_db();
421
+ // Using get_posts() adds support for WPML
422
+ $active_posts = get_posts(
423
+ array(
424
+ 'post_type' => IncPopupItem::POST_TYPE,
425
+ 'suppress_filters' => 0,
426
+ 'posts_per_page' => -1,
427
+ )
 
 
 
 
428
  );
429
+ foreach ( $active_posts as $post ) {
430
+ $List[] = $post->ID;
431
+ }
432
  self::after_db();
433
  }
434
 
585
  'info' => __(
586
  'Include PopUp as part of your site\'s HTML (no AJAX call).',
587
  PO_LANG
588
+ ),
589
  );
590
 
591
  $Loading_methods[] = (object) array(
612
  *
613
  * @var array
614
  */
615
+ $Loading_methods = apply_filters(
616
+ 'popup-settings-loading-method',
617
+ $Loading_methods
618
+ );
619
  }
620
 
621
  return $Loading_methods;
inc/class-popup-item.php CHANGED
@@ -558,22 +558,26 @@ class IncPopupItem {
558
  default: $status = 'draft'; break;
559
  }
560
 
561
- if ( $status == 'publish' ) {
562
  // Limit the number of active PopUps.
563
- if ( 0 != IncPopupDatabase::count_active( $this->id ) ) {
564
- IncPopupDatabase::deactivate_all();
 
565
 
566
  lib2()->ui->admin_message(
567
  sprintf(
568
  __(
569
- 'In the free version you can activate 1 PopUp. ' .
 
 
570
  'The PRO Version allows you to have unlimited ' .
571
  'active PopUps! ' .
572
  '<a href="%1$s" target="_blank">Find out more &raquo;</a>',
573
  PO_LANG
574
  ),
575
  'http://premium.wpmudev.org/project/the-pop-over-plugin/'
576
- )
 
577
  );
578
  }
579
  }
558
  default: $status = 'draft'; break;
559
  }
560
 
561
+ if ( 'publish' == $status ) {
562
  // Limit the number of active PopUps.
563
+ if ( 3 <= IncPopupDatabase::count_active( $this->id ) ) {
564
+ $status = 'draft';
565
+ $show_message = false;
566
 
567
  lib2()->ui->admin_message(
568
  sprintf(
569
  __(
570
+ 'In the free version you can activate 3 PopUps. ' .
571
+ 'You can activate this PopUp when you first ' .
572
+ 'deactivate another PopUp.<br>' .
573
  'The PRO Version allows you to have unlimited ' .
574
  'active PopUps! ' .
575
  '<a href="%1$s" target="_blank">Find out more &raquo;</a>',
576
  PO_LANG
577
  ),
578
  'http://premium.wpmudev.org/project/the-pop-over-plugin/'
579
+ ),
580
+ 'err'
581
  );
582
  }
583
  }
inc/class-popup-posttype.php CHANGED
@@ -114,7 +114,7 @@ class IncPopupPosttype {
114
  'capabilities' => array(
115
  'edit_post' => self::$perms,
116
  'read_post' => self::$perms,
117
- 'delete_post' => self::$perms,
118
  'edit_posts' => self::$perms,
119
  'edit_others_posts' => self::$perms,
120
  'publish_posts' => self::$perms,
114
  'capabilities' => array(
115
  'edit_post' => self::$perms,
116
  'read_post' => self::$perms,
117
+ 'delete_posts' => self::$perms,
118
  'edit_posts' => self::$perms,
119
  'edit_others_posts' => self::$perms,
120
  'publish_posts' => self::$perms,
inc/class-popup-public.php CHANGED
@@ -10,16 +10,16 @@ require_once PO_INC_DIR . 'class-popup-base.php';
10
  class IncPopup extends IncPopupBase {
11
 
12
  /**
13
- * Defines the current popup that is displayed.
14
- * @var IncPopupItem
15
  */
16
- protected $popup = null;
17
 
18
  /**
19
- * Data added to the page via wp_localize_script()
20
  * @var array
21
  */
22
- protected $script_data = array();
23
 
24
  /**
25
  * Returns the singleton instance of the popup (front end) class.
@@ -56,17 +56,26 @@ class IncPopup extends IncPopupBase {
56
  'wp', // "wp", not "init"!
57
  array( $this, 'init_public' )
58
  );
59
- }
60
-
61
-
62
- /*==================================*\
63
- ======================================
64
- == ==
65
- == LOAD METHODS ==
66
- == ==
67
- ======================================
68
- \*==================================*/
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
  /**
72
  * Initialize the public part of the plugin on every front-end page:
@@ -103,7 +112,7 @@ class IncPopup extends IncPopupBase {
103
  $this->load_method_front();
104
 
105
  if ( isset( $_GET['action'] )
106
- && $_GET['action'] == 'inc_popup'
107
  ) {
108
  $this->ajax_load_popup();
109
  }
@@ -126,28 +135,92 @@ class IncPopup extends IncPopupBase {
126
  }
127
  }
128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  /**
130
  * Enqueues the PopUp javascripts and data.
131
  *
132
  * @since 4.6
133
  */
134
  public function load_scripts() {
 
 
135
  if ( ! did_action( 'wp' ) ) {
136
  // We have to make sure that wp is fully initialized:
137
  // Some rules that use filter 'popup-ajax-data' depend on this.
138
  add_action(
139
  'wp',
140
- array( __CLASS__, 'load_scripts' )
141
  );
142
  return;
143
  }
144
 
145
- $popup_data = apply_filters( 'popup-ajax-data', $this->script_data );
 
 
 
146
 
147
- lib2()->ui->data( '_popup_data', $popup_data, 'front' );
148
- lib2()->ui->add( PO_JS_URL . 'public.min.js', 'front' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  }
150
 
 
 
 
 
 
 
 
 
 
 
151
  /**
152
  * Load-Method: External
153
  *
@@ -224,22 +297,17 @@ class IncPopup extends IncPopupBase {
224
  if ( empty( $this->popups ) ) { return; }
225
 
226
  $data = $this->get_popup_data();
227
- foreach ( $data as $ind => $item ) {
228
- unset( $data[$ind]['html'] );
229
- unset( $data[$ind]['styles'] );
 
 
 
 
230
  }
231
- $this->script_data['popup'] = $data;
232
  $this->load_scripts();
233
 
234
- add_action(
235
- 'wp_head',
236
- array( $this, 'show_header')
237
- );
238
-
239
- add_action(
240
- 'wp_footer',
241
- array( $this, 'show_footer')
242
- );
243
  }
244
 
245
  /**
@@ -272,6 +340,38 @@ class IncPopup extends IncPopupBase {
272
  die();
273
  }
274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
275
  /**
276
  * Used by "load_method_footer" to print the popup CSS styles.
277
  *
@@ -301,7 +401,7 @@ class IncPopup extends IncPopupBase {
301
  foreach ( $data as $ind => $item ) {
302
  $code .= $item['html'];
303
  }
304
- echo '' . $code;
305
  }
306
 
307
  };
10
  class IncPopup extends IncPopupBase {
11
 
12
  /**
13
+ * Data added to the page via wp_localize_script()
14
+ * @var array
15
  */
16
+ protected $script_data = array();
17
 
18
  /**
19
+ * Lists all popups that have been enqueued via the footer loading method.
20
  * @var array
21
  */
22
+ protected $enqueued = array();
23
 
24
  /**
25
  * Returns the singleton instance of the popup (front end) class.
56
  'wp', // "wp", not "init"!
57
  array( $this, 'init_public' )
58
  );
 
 
 
 
 
 
 
 
 
 
59
 
60
+ /**
61
+ * Experimental hook to dynamically create popups on your site.
62
+ * Call the action hook `wdev-popup` with param 1 being the content and
63
+ * param 2 is an optional array of popup options.
64
+ *
65
+ * Note that currently this plays nice with existing popups if FOOTER
66
+ * loading method is used, but all other loading methods will interfere
67
+ * with this hook and only show either the dynamic or predefined popups.
68
+ *
69
+ * @since 4.7.1
70
+ * @param string $content The popup contents (HTML code allowed).
71
+ * @param array $options Optional. List of popup configuration options.
72
+ */
73
+ add_action(
74
+ 'wdev-popup',
75
+ array( $this, 'show_popup' ),
76
+ 10, 2
77
+ );
78
+ }
79
 
80
  /**
81
  * Initialize the public part of the plugin on every front-end page:
112
  $this->load_method_front();
113
 
114
  if ( isset( $_GET['action'] )
115
+ && 'inc_popup' == $_GET['action']
116
  ) {
117
  $this->ajax_load_popup();
118
  }
135
  }
136
  }
137
 
138
+ /**
139
+ * Action handler that allows us to add a popup via WordPress hook.
140
+ *
141
+ * @since 4.7.1
142
+ * @param string $contents The PopUp contents.
143
+ * @param array $options PopUp options.
144
+ */
145
+ public function show_popup( $contents, $options = array() ) {
146
+ $this->script_data['popup'] = lib2()->array->get( $this->script_data['popup'] );
147
+
148
+ $popup = new IncPopupItem();
149
+ $data = lib2()->array->get( $options );
150
+ $data['content'] = $contents;
151
+ $popup->populate( $data );
152
+ $popup->script_data['manual'] = true;
153
+
154
+ // 1. Add the popup to the global popup-list.
155
+ $this->popups[] = $popup;
156
+
157
+ // 2. Enqueue the popup in the page footer.
158
+ $item = $popup->get_script_data( false );
159
+ unset( $item['html'] );
160
+ unset( $item['styles'] );
161
+ $this->script_data['popup'][] = $item;
162
+
163
+ $this->load_scripts();
164
+ $this->enqueue_footer();
165
+ }
166
+
167
  /**
168
  * Enqueues the PopUp javascripts and data.
169
  *
170
  * @since 4.6
171
  */
172
  public function load_scripts() {
173
+ static $Loaded = false;
174
+
175
  if ( ! did_action( 'wp' ) ) {
176
  // We have to make sure that wp is fully initialized:
177
  // Some rules that use filter 'popup-ajax-data' depend on this.
178
  add_action(
179
  'wp',
180
+ array( $this, 'load_scripts' )
181
  );
182
  return;
183
  }
184
 
185
+ if ( ! $Loaded ) {
186
+ if ( is_array( $this->script_data ) && ! empty( $this->script_data ) ) {
187
+ $popup_data = apply_filters( 'popup-ajax-data', $this->script_data );
188
+ lib2()->ui->data( '_popup_data', $popup_data, 'front' );
189
 
190
+ $popup_data['popup'] = lib2()->array->get( $popup_data['popup'] );
191
+ foreach ( $popup_data['popup'] as $item ) {
192
+ $this->enqueued[] = $item['html_id'];
193
+ }
194
+ }
195
+
196
+ lib2()->ui->add( PO_JS_URL . 'public.min.js', 'front' );
197
+ lib2()->ui->add( PO_CSS_URL . 'animate.min.css', 'front' );
198
+ } else {
199
+ if ( is_array( $this->script_data ) && is_array( $this->script_data['popup'] ) ) {
200
+ foreach ( $this->script_data['popup'] as $popup ) {
201
+ if ( in_array( $popup['html_id'], $this->enqueued ) ) {
202
+ continue;
203
+ }
204
+
205
+ $script = 'window._popup_data.popup.push(' . json_encode( $popup ) . ')';
206
+ lib2()->ui->script( $script );
207
+ $this->enqueued[] = $popup['html_id'];
208
+ }
209
+ }
210
+ }
211
+ $Loaded = true;
212
  }
213
 
214
+
215
+ /*==================================*\
216
+ ======================================
217
+ == ==
218
+ == LOAD METHODS ==
219
+ == ==
220
+ ======================================
221
+ \*==================================*/
222
+
223
+
224
  /**
225
  * Load-Method: External
226
  *
297
  if ( empty( $this->popups ) ) { return; }
298
 
299
  $data = $this->get_popup_data();
300
+ foreach ( $data as $item ) {
301
+ if ( ! empty( $item['manual'] ) ) { continue; }
302
+ if ( in_array( $item['html_id'], $this->enqueued ) ) { continue; }
303
+
304
+ unset( $item['html'] );
305
+ unset( $item['styles'] );
306
+ $this->script_data['popup'][] = $item;
307
  }
 
308
  $this->load_scripts();
309
 
310
+ $this->enqueue_footer();
 
 
 
 
 
 
 
 
311
  }
312
 
313
  /**
340
  die();
341
  }
342
 
343
+
344
+ /*======================================*\
345
+ ==========================================
346
+ == ==
347
+ == HELPER FUNCTIONS ==
348
+ == ==
349
+ ==========================================
350
+ \*======================================*/
351
+
352
+
353
+ /**
354
+ * Adds the wp_header/wp_footer actions to the action queue.
355
+ *
356
+ * @since 4.7.1
357
+ */
358
+ protected function enqueue_footer() {
359
+ static $Did_Enqueue = false;
360
+
361
+ if ( $Did_Enqueue ) { return; }
362
+ $Did_Enqueue = true;
363
+
364
+ add_action(
365
+ 'wp_head',
366
+ array( $this, 'show_header')
367
+ );
368
+
369
+ add_action(
370
+ 'wp_footer',
371
+ array( $this, 'show_footer')
372
+ );
373
+ }
374
+
375
  /**
376
  * Used by "load_method_footer" to print the popup CSS styles.
377
  *
401
  foreach ( $data as $ind => $item ) {
402
  $code .= $item['html'];
403
  }
404
+ echo $code;
405
  }
406
 
407
  };
inc/class-popup-rule.php CHANGED
@@ -157,11 +157,14 @@ class IncPopupRules {
157
  * @return array The updated rule-settings collection.
158
  */
159
  static public function _save( $data ) {
 
 
160
  foreach ( self::$rules as $prio => $list ) {
161
  foreach ( $list as $key => $rule ) {
162
  $data = $rule->obj->_save( $key, $data );
163
  }
164
  }
 
165
  return $data;
166
  }
167
 
@@ -278,9 +281,10 @@ abstract class IncPopupRule {
278
  * }
279
  *
280
  * @since 4.6
 
281
  * @return mixed Data collection of this rule.
282
  */
283
- protected function save_() {
284
  return false;
285
  }
286
 
@@ -377,8 +381,10 @@ abstract class IncPopupRule {
377
  */
378
  public function _save( $key, $data ) {
379
  $method = 'save_' . $key;
 
 
380
  if ( method_exists( $this, $method ) ) {
381
- $data[$key] = $this->$method();
382
  }
383
 
384
  return $data;
@@ -403,7 +409,7 @@ abstract class IncPopupRule {
403
  <span class="rule-toggle dashicons"></span>
404
  <div class="rule-inner">
405
  <div class="rule-description">
406
- <em><?php echo esc_html( $data->description ); ?></em>
407
  </div>
408
  <?php $this->_form( $popup, $key ); ?>
409
  </div>
@@ -442,4 +448,4 @@ abstract class IncPopupRule {
442
  <?php
443
  }
444
 
445
- };
157
  * @return array The updated rule-settings collection.
158
  */
159
  static public function _save( $data ) {
160
+ $data = isset( $_POST['po_rule_data'] ) ? $_POST['po_rule_data'] : array();
161
+
162
  foreach ( self::$rules as $prio => $list ) {
163
  foreach ( $list as $key => $rule ) {
164
  $data = $rule->obj->_save( $key, $data );
165
  }
166
  }
167
+
168
  return $data;
169
  }
170
 
281
  * }
282
  *
283
  * @since 4.6
284
+ * @param array $data The contents of $_POST['po_rule_data'].
285
  * @return mixed Data collection of this rule.
286
  */
287
+ protected function save_( $data ) {
288
  return false;
289
  }
290
 
381
  */
382
  public function _save( $key, $data ) {
383
  $method = 'save_' . $key;
384
+ $data = lib2()->array->get( $data );
385
+
386
  if ( method_exists( $this, $method ) ) {
387
+ $data[$key] = $this->$method($data);
388
  }
389
 
390
  return $data;
409
  <span class="rule-toggle dashicons"></span>
410
  <div class="rule-inner">
411
  <div class="rule-description">
412
+ <em><?php echo $data->description; ?></em>
413
  </div>
414
  <?php $this->_form( $popup, $key ); ?>
415
  </div>
448
  <?php
449
  }
450
 
451
+ };
inc/config-defaults.php CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'PO_GLOBAL' ) ) {
15
  // It should only return the country code for the passed IP address!
16
  # Example:
17
  # define( 'PO_REMOTE_IP_URL', 'http://api.hostip.info/country.php?ip=%ip%' );
18
- if ( ! defined( 'PO_GLOBAL' ) ) {
19
  define( 'PO_REMOTE_IP_URL', '' );
20
  }
21
 
15
  // It should only return the country code for the passed IP address!
16
  # Example:
17
  # define( 'PO_REMOTE_IP_URL', 'http://api.hostip.info/country.php?ip=%ip%' );
18
+ if ( ! defined( 'PO_REMOTE_IP_URL' ) ) {
19
  define( 'PO_REMOTE_IP_URL', '' );
20
  }
21
 
inc/external/wdev-frash/README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # WDEV Frash module #
2
+
3
+ WPMU DEV Free Dashboard module (short wdev-frash) is used in our free plugins hosted on wordpress.org
4
+ It will display a welcome message upon plugin activation that offers the user a 5-day introduction email course for the plugin. After 7 days the module will display another message asking the user to rate the plugin on wordpress.org
5
+
6
+ # How to use it #
7
+
8
+ 1. Insert this repository as **sub-module** into the existing project
9
+
10
+ 2. Include the file `module.php` in your main plugin file.
11
+
12
+ 3. Call the action `wdev-register-plugin` with the params mentioned below.
13
+
14
+ 4. Done!
15
+
16
+
17
+ ## Code Example (from Membership 2) ##
18
+
19
+ ```
20
+ #!php
21
+
22
+ <?php
23
+ // Load the WDev-Frash module.
24
+ include_once 'lib/wdev-frash/module.php';
25
+
26
+ // Register the current plugin.
27
+ do_action(
28
+ 'wdev-register-plugin',
29
+ /* 1 Plugin ID */ plugin_basename( __FILE__ ),
30
+ /* 2 Plugin Title */ 'Membership 2',
31
+ /* 3 https://wordpress.org */ '/plugins/membership/',
32
+ /* 4 Email Button CTA */ __( 'Get Members!', MYD_TEXT_DOMAIN ),
33
+ /* 5 getdrip Plugin param */ 'Membership'
34
+ );
35
+ // All done!
36
+ ```
37
+
38
+ 1. Always same, do not change
39
+ 2. The plugin title, same as in the plugin header (no translation!)
40
+ 3. The wordpress.org plugin-URL
41
+ 4. Optional: Title of the Email-subscription button. If empty no email message is displayed.
42
+ 5. Optional: getdrip plugin name (defined in the getdrip rule). If empty no email message is displayed
inc/external/wdev-frash/admin.css ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * CSS styles used by the WDev-Frash module.
3
+ */
4
+
5
+ .wrap .frash-notice.notice {
6
+ padding: 0;
7
+ margin: 5px 0 10px;
8
+ border: 1px solid #E5E5E5;
9
+ background: #FFF;
10
+ overflow: hidden;
11
+ -webkit-border-radius: 6px;
12
+ border-radius: 6px;
13
+ -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
14
+ box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
15
+ position: relative;
16
+ z-index: 1;
17
+ min-height: 80px;
18
+ display: table; /* The magic ingredient! */
19
+ font: 13px "Open Sans", sans-serif;
20
+ }
21
+
22
+ .wrap .frash-notice.notice.loading:before {
23
+ content: attr(data-message);
24
+ position: absolute;
25
+ left: 0;
26
+ right: 0;
27
+ top: 0;
28
+ bottom: 0;
29
+ background-color: rgba(255, 255, 255, 0.7);
30
+ z-index: 5;
31
+ text-align: center;
32
+ line-height: 80px;
33
+ font-size: 22px;
34
+ font-weight: bold;
35
+ }
36
+
37
+ .frash-notice > div {
38
+ display: table-cell; /* The magic ingredient! */
39
+ vertical-align: middle;
40
+ cursor: default;
41
+ }
42
+
43
+ .frash-notice.notice.loading > div {
44
+ -webkit-filter: blur(2px);
45
+ -moz-filter: blur(2px);
46
+ -o-filter: blur(2px);
47
+ -ms-filter: blur(2px);
48
+ filter: blur(2px);
49
+ }
50
+
51
+ .frash-notice-logo {
52
+ background-color: #0B2F3F;
53
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAABNGlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGBSSSwoyGESYGDIzSspCnJ3UoiIjFJgv8/AwcDNIMYgyKCWmFxc4BgQ4MOAE3y7xsAIoi/rgszCrQ4r4EpJLU4G0n+AOC65oKiEgYExBshWLi8pALEbgGyRpGwwewqIXQR0IJC9AsROh7D3gNVA2BfAakKCnIHsJ0C2QxISOx2JDbUXBJiTjUh0NRGgJLWiBEQ75xdUFmWmZ5QoOAJDJ1XBMy9ZT0fByMDQlIEBFNYQ1YgwRIgxiwGxMQMD0xKEWP4iBgaLr0DxCQixpJkMDNtbGRgkbiHEVBYwMPC3MDBsO59cWlQGdZIUEJ9mPMmczDqJI5v7m4C9aKC0ieJHzQlGEtaT3FgDy2PfZhdUsXZunFWzJnN/7eXDLw3+/wcAZQZcDK/8PeoAAAAJcEhZcwAACxMAAAsTAQCanBgAAAQkaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA1LjQuMCI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIgogICAgICAgICAgICB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8dGlmZjpDb21wcmVzc2lvbj41PC90aWZmOkNvbXByZXNzaW9uPgogICAgICAgICA8dGlmZjpYUmVzb2x1dGlvbj43MjwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6T3JpZW50YXRpb24+MTwvdGlmZjpPcmllbnRhdGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzI8L3RpZmY6WVJlc29sdXRpb24+CiAgICAgICAgIDxleGlmOlBpeGVsWERpbWVuc2lvbj44MDwvZXhpZjpQaXhlbFhEaW1lbnNpb24+CiAgICAgICAgIDxleGlmOkNvbG9yU3BhY2U+MTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+ODA8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICAgICA8ZGM6c3ViamVjdD4KICAgICAgICAgICAgPHJkZjpCYWcvPgogICAgICAgICA8L2RjOnN1YmplY3Q+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE1LTA4LTExVDIyOjA4OjU5PC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5QaXhlbG1hdG9yIDMuMy4yPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgrYxXXjAAAONElEQVR4Ae1be3AV1Rn/zu595HETCIEkYEIIbwg+OlF5WYva6iAjApXIoJ2Kdvrw0fpC/yhaxlYtgjg+pjM6Yzv1wdjQ1lYqjsVKxAe+BRUV5A0JJIQk5J3cu3v6+/ZmL/fe7N7cu7kBnNnDhN09e77vfOe333e+73znXCK3OEJgzpw5HkeELpGLgIuAi4CLgIuAi4CLgIuAi4CLgIuAi4CLwHccAXGmyT/x6Y+Hh/JGZeleoRBl9IrXRUpQ6p6m2o5dvzi/4UyS+bQDOPalPRN14a0Q5KnQFTlJ6PoUCJUtSQohw1BJQ0rjqV0qytcKiZ1Sl58oUn6yd0nxrtMJ6GkBsGzd3kKp+K8kj3o1acGLhFDyhQfZIV3Dn05SSmLBevEz7g2QBGoVKKaikgwFud1xUr3vkNT+LYKejfuWFtadajBPKYBjquqLpNCuF1LeqAiaQgBEaqEwcCmPPAymUAE8ANclfS2F+meRJV7YP6/gaMrsHBKcEgDHb5T+YHvdT4TU74QCTeHRSi3oUGRrMqF6iT+ILuXXQqhr1ezC53dfKbqtW6evdtABHPti/QTdH3oEc9sCwRoH0xvMwkDi8+CfeCVE6orDlUVfDGZ/6mAyL/nHsfkkgs+pQp2Fuc6hqaYoodRBIDFNeibhcy0YsmR58x1TA9urq6vNKTVFhombD4oGVjz9tLdp6Ly7IfH9QhEZg611dkPk+ZGnR10oDweo6YEdleU9dm2d1qcdwPKVVb72KbMfQAxyL0tveFan0qWDjr02KZgbxeqA0rwi3SAy97SW9imz7kIIfA+xKXFYcroLwiIIQorQl7cpefdTVVVap620Ajj6X8eugqT3sdFwPHfGFJYF1qBIurdUvXhZOuVKmwmP/fuhCZomXlMVMe50zXn9ASMUD3RRNpLHO2//j4ve7699Mu/TooHFaw9l6qQ+ono8Zyx4DIbUQ/DO6jBMLY+OrWockgxA/bVJC4BqqXcpVhdXy+Cgx639jaff9zIYxCyjzNKVrl/12ziJBgM24TF/2VdE2d5qRYhJyZguB2PsnHlZm2rnWMA4oovHQahYS0ulTvUrl+5eMPKr+PepPA9YA2VWxvWKogI8rGkTFA2DbwvqvIojnyqIn9tDxho2ARX8Z2+7IG6YjsFvC+kE0oQfgOm60MjqI0lNIyQvCoM9+p0JO0/ipRX/JMjCTcY9t7tAy8jYgsSALYDcQRfQGupT6cbJOXR5cRbl+xU60qHRhgMd9MLuFmOgDE58CQEFOCVaOj6H5pdmUUm2hxq7dfpfTSc9u7OFGro0ymRQowjN/vweQT+fPIRe2tNKTaDpw54zOkSNIdU/4/A1Bd9GsUjpdkAnjDRf5jysbydJzT7A7wZ4o3O89Oz3R9DUPF9EuFFZHqoY7qe5o7PoxrfqqaVHIy/AMguDl+lVQFdAFxWZiVWiUVlE08BnbkkW3bSlnva2BCmjF0SmZq0ele2lJ2fl09nDfPT8ty0my9grYlTF6x/m0bRFeLEq9mXyT85NeDECUoUWcoIgRgWi+mYz8gCUx2cOjwEvqglNH+GnR6fnGyYZrUmwUnrogvwY8KLpJg7x0lOzR0ADFWM64Hf8saYX+OnlHxXS7MIMQ/Ojafrcc3wo9MrxT7yf2+ddkhWOARy3eE4Z4oJZRj7PprNODOiq0gBdCJCiS1OPTifwZxY264uhZWzqXPh6fkEGLSzNNpsY19agpOYounOhYYvKsqkDaJumOx80pYHkDIvDGqFrZ/cUjT4npqMUHhwDqMngBZxJTrTiYOW8ovik+YXgAR78rJku+U8t3QCz/d3HjVSLuZAtd25JNrHZMhDsMC4blWnU81gY1sd3nKAfbDhM12+uozu2NtCuE+G02BUwZdZyA3oQ97Da9xbmlXCAkEd4/V5FarNMmlSvCfknYgaRK4w0vI398jAywH1cLhKdveXdo1306BdNdLQjRPkZKpXh3bLN9bQb81gZ5kkPEGc6nvCLAyeXrHtag7Tm8yaADY1Bmxkwz1vePkZb67po8lAvZcFhnITN7C18NaaY2Kq4J1AqnslxlUk/OgNw5UpFCs/ERNrHErDw2ACKCMPeEGOlTPz330PtdOlZmbT8vKF0FzSKNUftdZVM58WfWRrhbTloyfQotPVoJxVmeuix2cPpvg+P05F2jXysgXYImkzsrpzwkLK8eO17mXZNEtU7AvCs4XPzSAanJpNtiR4XmyoXviASo0NtIfohQKzI9yPcaIsJSaLpVONDGKQG8RFoInviJRNy6EmYdgZ/FafFSDSESqi4ZJgTFo4A9BdgwpIy4Pyzh0E0h/2zqbn02fHuyByYaCBMY36I6wBgXadmxIZRCpuIvM87/lACYTWR/9RpoK4hz4yOo7Wkj2QpVHBMOANel72pVTGBjn/HQfQlcDa8wrHSBDu6WD7YP5GUpas+R6GMVb+x/K2eMk56VqvXTupmwTFEOdAYFuy97T4Wh0h+ngNjKMIPHNzY8Yw0hwlDe7N93S2jI3Up3DgDMIUOkm1amKkaXtiqfW2HTkHEhlYaVRLwYg5ULAFs6tawMuFstBXX9NQ5BLBrwL3zmKIHZjhgm4F+1tCFlUpYxwy6qN7Zf1jDR/RJQze125h3hAX2TMC6XfpzD0bqUrhxBCAf9OHh2Iw36e6j6a1MkBnxauYtxI9ZWLJZFaazouW61w93Ghkc65nV5AYXQrJT03psFs1mO+urtVTWbSO13fUI4oRo48ljMAoP3hz0i9+20kiYd8Bnp2exEph+aMuRTmpDgqIYGZxE8yCPAP1pPgrZZ0Riu4h5cgRgTcNrTaR6vuJDPukqhhYZ/3FcS1SAlcpuLNfWIz5cNjHXSBRY9cUkvdZNGlDnFQ575Ye3NdNNk3MTgmfwYyWAMvhYKRwURwDSypU4giJ3GSelHHTKJOxXe3MHBodsOALkCgCUjowKEgtIS93yzjG6ryKPirJU6ul1IgZgUX1m8yQIELj9JCzr2BndUF1PS8YGjExOR3QnUXSRW1YCRf3ym1umN0bqUrhxBiA6EDifF85COzNjThgcaj+Zxa7I99F1SJx6MKmzx10HzXsIaa6LijKNtXIPrxh6CydjzcKA/aZ8iJE7zEb+cB1M/mY83zAph2qxzGtlJ5JIRN54D2nbeCI0eaZyTS7vY8FRzfB+pHV1HxcKZ2RODsiiaaQqPuv89pEuuhaawoXfPT4zn24tzzWcEychzHFX13ZGRsdJ182Y324DSCYwv542hBYircVpsHBSItzlppoO6gCAOQDWskBzsREW1HwZb1q+T6LShnP/lHu6q/cJVXnPOJ/Xf3OkqIg2wSvyupYLJ0I3Hm6nT7GEiy4TANz4KPC2N3bTqwfbjfbczg+gP6zvojdqO6LJjHQ/05rLYk79Pwdt5Gy1XREwX+jnTrWl5nO7Nv3VOwaQKis1HLp9WfIRDnsZjczLYZjq0s1HjfQ6Z2K4sPZ0Y966HZmYvUhXWRWmu/29BkOzTG1jasZk+QeNtC0OfJNHC77Wbe820KHWkJGpMev7XHEUDgC8vn/Z95r7vEuyYkBudNhV99TqqjYfm9XDrVJbnGYag+zw3RjsdgS18abE5liPZMDGgx3YD1GoEGtiLpx1fgV1d77P4IaMLE30eDhv2II2G9CG59JCOBnWbN6tewMbTtzfVmhptjf8saJpI/dGAK13gOye5vWP1UTqU7xJ0ENynErX19yNzZHV0gijYudhZs6my7UI4yLzWDxnBoEz9XnYrRuChq09EhkW3mSimI2maDrmDQVGoK1TrlelYaDjoPsY6Fgr2NQTFeHD2lvXqsbs2HVd9cpLTnqzREQW7xL3YkEQXzWmChvrEhvrivXGOoOXbCcc8GoI6rBJb5hpfF92z0yHuArRTJJ07HmF0oZvdvmByuKtdnyTqQengZX9lWVH8dODNZCfR9CHWd+aPk0iFTzPsVn3ozyR9uYN0/G+SLJ0woPtVUV5ZqDgcf8DBpCZaFJ7EUqwwRCMK87gIjxe0kOhbaqe88d0iJmKgiTsb9w/G6dpoc5NWLEWJdrqTMhksF/yaQRF6UACetH+awpfT0d3adFAFmTPomFfSo/6WykUbJ2ljW06xhjmYcx7CLyk+H26wGPGaR3phaEtf8WEvsoAkAU+U4ohCw40CbE6m5rWplOstJmwKVR51Q5fGw39gyL15UbgErWGNduc0msEPGV1TvmoFTvKhaO0lZ3MaVcTPgUfoOYV2Gl4CAquJ7vUsxNwIPW8VOMgSlM8q3Io/eCxbANaidgN7tj6P2knxIy38s4uq0GybiZOMGRZrVTs6NNRzxEBfu/Zgajy/uFNIx/c/lNhvV4cYGdpN+F4eUqr6mYKEVrDx2oJPyyUSWZu4vkk/QyTNUIVSZ9Kqa44sLjgtaRpHTQcdABZpjEvNw0lrfuXQtNuFx610DgKnG4g4fmFF1oX0tpwKvMZRQms2rMop94BJimRnBIATYlGrztQDnO+A1m4BZif8vHrzfDPXc2cvNkw2StWPsY8x8FxMNiONeCrqh56Ys+1pe8my2Kg7U4pgKawZVU1k7DuWwgvvRggTsMRM5+RlA0f9AknHQxQeSXNBWIyWMYt/mfPykFxqAdpB7ETNZvA62/7Kks+QhOTiFsPejFkGvRebDrgk6HdI0efq4aCl+HHL+cht1iOn0sE8OcBMJlIDuCEJWJf7Nvy1iOcQgh/bTiXuINCwW2az/umqGv44uDN5zTZdDHo1acVwPjRTX7qg/zuvBGBYCDgVRVfrmgNH7eQObkHNV20eNuOB/1Nx9q+uXX68Xha99lFwEXARcBFwEXARcBFwEXARcBFwEXARcBFwEXAReA7gcD/ATWUF/aWa8NWAAAAAElFTkSuQmCC);
54
+ background-repeat: no-repeat;
55
+ background-position: 50% 50%;
56
+ }
57
+
58
+ .frash-notice-logo span {
59
+ display: block;
60
+ width: 80px;
61
+ }
62
+
63
+ .frash-notice-message {
64
+ width: 100%;
65
+ padding: 10px 20px;
66
+ color: #444;
67
+ }
68
+
69
+ .frash-notice-message strong {
70
+ color: #000;
71
+ }
72
+
73
+ .frash-notice-cta {
74
+ border-left: 1px solid #E5E5E5;
75
+ background: #F8F8F8;
76
+ padding: 0 30px;
77
+ position: relative;
78
+ white-space: nowrap;
79
+ }
80
+
81
+ .wp-core-ui .frash-notice-cta button,
82
+ .wp-core-ui .frash-notice-cta .button-primary:active {
83
+ vertical-align: middle;
84
+ }
85
+
86
+ .wp-core-ui .frash-notice-cta input[type="email"] {
87
+ vertical-align: middle;
88
+ line-height: 20px;
89
+ margin: 0;
90
+ min-width: 50px;
91
+ max-width: 320px;
92
+ text-align: center;
93
+ padding-left: 0;
94
+ padding-right: 0;
95
+ }
96
+
97
+ .frash-notice-dismiss {
98
+ background: transparent;
99
+ border: 0;
100
+ cursor: pointer;
101
+ color: #BBB;
102
+ }
103
+
104
+ .frash-notice-dismiss:hover {
105
+ color: #666;
106
+ }
107
+
108
+ @media only all and (max-width: 1200px) {
109
+ .frash-notice-dismiss {
110
+ display: block;
111
+ margin: 0 auto;
112
+ line-height: 18px;
113
+ padding-top: 8px;
114
+ padding-bottom: 2px;
115
+ }
116
+ }
117
+
118
+ @media only all and (max-width: 1000px) {
119
+ .wrap .frash-notice.notice {
120
+ display: block;
121
+ font-size: 13px;
122
+ }
123
+
124
+ .frash-notice > .frash-notice-logo {
125
+ float: left;
126
+ display: inline-block;
127
+ height: 80px;
128
+ margin: 10px;
129
+ border-radius: 4px;
130
+ }
131
+
132
+ .frash-notice > .frash-notice-message {
133
+ width: auto;
134
+ display: block;
135
+ padding: 10px;
136
+ min-height: 80px;
137
+ }
138
+
139
+ .frash-notice > .frash-notice-cta {
140
+ display: block;
141
+ border-top: 1px solid #E5E5E5;
142
+ border-left: 0;
143
+ text-align: center;
144
+ white-space: normal;
145
+ line-height: 30px;
146
+ padding: 10px 20px;
147
+ }
148
+
149
+ .wp-core-ui .frash-notice > .frash-notice-cta > input[type="email"],
150
+ .frash-notice > .frash-notice-cta > button {
151
+ font-size: 14px;
152
+ }
153
+
154
+ .frash-notice > .frash-notice-cta > .frash-notice-dismiss {
155
+ display: inline-block;
156
+ float: none;
157
+ line-height: 26px;
158
+ padding-top: 0;
159
+ padding-bottom: 0;
160
+ font-size: 13px;
161
+ }
162
+ }
163
+
164
+ @media only all and (max-width: 500px) {
165
+ .wp-core-ui .frash-notice > .frash-notice-cta > input[type="email"],
166
+ .frash-notice > .frash-notice-cta > button {
167
+ display: block;
168
+ width: 100% !important;
169
+ max-width: none;
170
+ margin-bottom: 4px;
171
+ font-size: 16px;
172
+ height: 34px;
173
+ }
174
+
175
+ .frash-notice > .frash-notice-cta > .frash-notice-dismiss {
176
+ margin-top: 5px;
177
+ font-size: 14px;
178
+ height: 23px;
179
+ }
180
+ }
inc/external/wdev-frash/admin.js ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(function() {
2
+ var el_notice = jQuery( ".frash-notice" ),
3
+ type = el_notice.find( "input[name=type]" ).val(),
4
+ plugin_id = el_notice.find( "input[name=plugin_id]" ).val(),
5
+ url_wp = el_notice.find( "input[name=url_wp]" ).val(),
6
+ drip_plugin = el_notice.find( "input[name=drip_plugin]" ).val(),
7
+ inp_email = el_notice.find( "input[name=email]" )
8
+ btn_act = el_notice.find( ".frash-notice-act" ),
9
+ btn_dismiss = el_notice.find( ".frash-notice-dismiss" )
10
+ ajax_data = {};
11
+
12
+ ajax_data.plugin_id = plugin_id;
13
+ ajax_data.type = type;
14
+
15
+ function init_email() {
16
+ if ( ! inp_email.length ) { return; }
17
+
18
+ // Adjust the size of the email field to its contents.
19
+ function adjust_email_size() {
20
+ var width, tmp = jQuery( "<span></span>" );
21
+
22
+ tmp.addClass( "input-field" ).text( inp_email.val() );
23
+ tmp.appendTo( "body" );
24
+ width = parseInt( tmp.width() );
25
+ tmp.remove();
26
+
27
+ inp_email.width( width + 34 );
28
+ }
29
+
30
+ function email_keycheck( ev ) {
31
+ if ( 13 === ev.keyCode ) {
32
+ btn_act.click();
33
+ } else {
34
+ adjust_email_size();
35
+ }
36
+ }
37
+
38
+ inp_email.keyup( email_keycheck ).focus().select();
39
+ adjust_email_size();
40
+ }
41
+
42
+ // Display the notice after the page was loaded.
43
+ function initialize() {
44
+ el_notice.fadeIn( 500 );
45
+ init_email();
46
+ }
47
+
48
+ // Hide the notice after a CTA button was clicked
49
+ function remove_notice() {
50
+ el_notice.fadeTo( 100 , 0, function() {
51
+ el_notice.slideUp( 100, function() {
52
+ el_notice.remove();
53
+ });
54
+ });
55
+ }
56
+
57
+ // Open a tab to rate the plugin.
58
+ function act_rate() {
59
+ var url = url_wp.replace( /\/plugins\//, "/support/view/plugin-reviews/" ) + "?rate=5#postform",
60
+ link = jQuery( '<a href="' + url + '" target="_blank">Rate</a>' );
61
+
62
+ link.appendTo( "body" );
63
+ link[0].click();
64
+ link.remove();
65
+ }
66
+
67
+ // Submit the user to our email list.
68
+ function act_email() {
69
+ var email = inp_email.val();
70
+
71
+ // First create a new subscriber.
72
+ _dcq.push([
73
+ "identify",
74
+ { email: email }
75
+ ]);
76
+
77
+ // Then trigger the specified rule.
78
+ _dcq.push([
79
+ "track",
80
+ "Free plugin email course",
81
+ {"Plugin": drip_plugin}
82
+ ]);
83
+ }
84
+
85
+ // Notify WordPress about the users choice and close the message.
86
+ function notify_wordpress( action, message ) {
87
+ el_notice.attr( "data-message", message );
88
+ el_notice.addClass( "loading" );
89
+
90
+ ajax_data.action = action;
91
+ jQuery.post(
92
+ window.ajaxurl,
93
+ ajax_data,
94
+ remove_notice
95
+ );
96
+ }
97
+
98
+ // Handle click on the primary CTA button.
99
+ // Either open the wp.org page or submit the email address.
100
+ btn_act.click(function( ev ) {
101
+ ev.preventDefault();
102
+
103
+ switch ( type ) {
104
+ case 'rate': act_rate(); break;
105
+ case 'email': act_email(); break;
106
+ }
107
+
108
+ notify_wordpress( "frash_act", btn_act.data( "msg" ) );
109
+ });
110
+
111
+ // Dismiss the notice without any action.
112
+ btn_dismiss.click(function( ev ) {
113
+ ev.preventDefault();
114
+
115
+ notify_wordpress( "frash_dismiss", btn_dismiss.data( "msg" ) );
116
+ });
117
+
118
+ window.setTimeout( initialize, 500 );
119
+ });
120
+
121
+ // Drip integration
122
+ var _dcq = _dcq || [];
123
+ var _dcs = _dcs || {};
124
+
125
+ _dcs.account = '6994213';
126
+ var dc = document.createElement( 'script' );
127
+ dc.type = 'text/javascript'; dc.async = true;
128
+ dc.src = '//tag.getdrip.com/6994213.js';
129
+ var s = document.getElementsByTagName('script')[0];
130
+ s.parentNode.insertBefore(dc, s);
131
+ // End of drip integration
inc/external/wdev-frash/module.php ADDED
@@ -0,0 +1,457 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WPMUDEV Frash - Free Dashboard Notification module.
4
+ * Used by wordpress.org hosted plugins.
5
+ *
6
+ * TODO:
7
+ * - Form submit handler to submit email address to getdrip.com
8
+ * - Show the WPMUDEV logo in left side
9
+ *
10
+ * @version 1.0.0
11
+ * @author Incsub (Philipp Stracker)
12
+ */
13
+ if ( ! class_exists( 'WDev_Frash' ) ) {
14
+ class WDev_Frash {
15
+
16
+ /**
17
+ * The text-domain of the module.
18
+ *
19
+ * @since 1.0.0
20
+ */
21
+ const LANG = 'wdev-frash';
22
+
23
+ /**
24
+ * List of all registered plugins.
25
+ *
26
+ * @since 1.0.0
27
+ * @var array
28
+ */
29
+ protected $plugins = array();
30
+
31
+ /**
32
+ * Module options that are stored in database.
33
+ * Timestamps are stored here.
34
+ *
35
+ * Note that this option is stored in site-meta for multisite installs.
36
+ *
37
+ * @since 1.0.0
38
+ * @var array
39
+ */
40
+ protected $stored = array();
41
+
42
+ /**
43
+ * Initializes and returns the singleton instance.
44
+ *
45
+ * @since 1.0.0
46
+ */
47
+ static public function instance() {
48
+ static $Inst = null;
49
+
50
+ if ( null === $Inst ) {
51
+ $Inst = new WDev_Frash();
52
+ }
53
+
54
+ return $Inst;
55
+ }
56
+
57
+ /**
58
+ * Set up the WDev_Frash module. Private singleton constructor.
59
+ *
60
+ * @since 1.0.0
61
+ */
62
+ private function __construct() {
63
+ $this->read_stored_data();
64
+
65
+ $this->add_action( 'wdev-register-plugin', 5 );
66
+ $this->add_action( 'load-index.php' );
67
+
68
+ $this->add_action( 'wp_ajax_frash_act' );
69
+ $this->add_action( 'wp_ajax_frash_dismiss' );
70
+ }
71
+
72
+ /**
73
+ * Load persistent module-data from the WP Database.
74
+ *
75
+ * @since 1.0.0
76
+ */
77
+ protected function read_stored_data() {
78
+ $data = get_site_option( 'wdev-frash', false, false );
79
+
80
+ if ( ! is_array( $data ) ) {
81
+ $data = array();
82
+ }
83
+
84
+ // A list of all plugins with timestamp of first registration.
85
+ if ( ! isset( $data['plugins'] ) || ! is_array( $data['plugins'] ) ) {
86
+ $data['plugins'] = array();
87
+ }
88
+
89
+ // A list with pending messages and earliest timestamp for display.
90
+ if ( ! isset( $data['queue'] ) || ! is_array( $data['queue'] ) ) {
91
+ $data['queue'] = array();
92
+ }
93
+
94
+ // A list with all messages that were handles already.
95
+ if ( ! isset( $data['done'] ) || ! is_array( $data['done'] ) ) {
96
+ $data['done'] = array();
97
+ }
98
+
99
+ $this->stored = $data;
100
+ }
101
+
102
+ /**
103
+ * Save persistent module-data to the WP database.
104
+ *
105
+ * @since 1.0.0
106
+ */
107
+ protected function store_data() {
108
+ update_site_option( 'wdev-frash', $this->stored );
109
+ }
110
+
111
+ /**
112
+ * Action handler for 'wdev-register-plugin'
113
+ * Register an active plugin.
114
+ *
115
+ * @since 1.0.0
116
+ * @param string $plugin_id WordPress plugin-ID (see: plugin_basename).
117
+ * @param string $title Plugin name for display.
118
+ * @param string $url_wp URL to the plugin on wp.org (domain not needed)
119
+ * @param string $cta_email Title of the Email CTA button.
120
+ * @param string $drip_plugin Optional. Plugin-param for the getdrip rule.
121
+ */
122
+ public function wdev_register_plugin( $plugin_id, $title, $url_wp, $cta_email = '', $drip_plugin = '' ) {
123
+ // Ignore incorrectly registered plugins to avoid errors later.
124
+ if ( empty( $plugin_id ) ) { return; }
125
+ if ( empty( $title ) ) { return; }
126
+ if ( empty( $url_wp ) ) { return; }
127
+
128
+ if ( false === strpos( $url_wp, '://' ) ) {
129
+ $url_wp = 'https://wordpress.org/' . trim( $url_wp, '/' );
130
+ }
131
+
132
+ $this->plugins[$plugin_id] = (object) array(
133
+ 'title' => $title,
134
+ 'url_wp' => $url_wp,
135
+ 'cta_email' => $cta_email,
136
+ 'drip_plugin' => $drip_plugin,
137
+ );
138
+
139
+ /*
140
+ * When the plugin is registered the first time we store some infos
141
+ * in the persistent module-data that help us later to find out
142
+ * if/which message should be displayed.
143
+ */
144
+ if ( empty( $this->stored['plugins'][$plugin_id] ) ) {
145
+ // First register the plugin permanently.
146
+ $this->stored['plugins'][$plugin_id] = time();
147
+
148
+ // Second schedule the messages to display.
149
+ $hash = md5( $plugin_id . '-email' );
150
+ $this->stored['queue'][$hash] = array(
151
+ 'plugin' => $plugin_id,
152
+ 'type' => 'email',
153
+ 'show_at' => time(), // Earliest time to display note.
154
+ );
155
+
156
+ $hash = md5( $plugin_id . '-rate' );
157
+ $this->stored['queue'][$hash] = array(
158
+ 'plugin' => $plugin_id,
159
+ 'type' => 'rate',
160
+ 'show_at' => time() + 7 * DAY_IN_SECONDS,
161
+ );
162
+
163
+ // Finally save the details.
164
+ $this->store_data();
165
+ }
166
+ }
167
+
168
+ /**
169
+ * Ajax handler called when the user chooses the CTA button.
170
+ *
171
+ * @since 1.0.0
172
+ */
173
+ public function wp_ajax_frash_act() {
174
+ $plugin = $_POST['plugin_id'];
175
+ $type = $_POST['type'];
176
+
177
+ $this->mark_as_done( $plugin, $type, 'ok' );
178
+
179
+ echo 1;
180
+ exit;
181
+ }
182
+
183
+ /**
184
+ * Ajax handler called when the user chooses the dismiss button.
185
+ *
186
+ * @since 1.0.0
187
+ */
188
+ public function wp_ajax_frash_dismiss() {
189
+ $plugin = $_POST['plugin_id'];
190
+ $type = $_POST['type'];
191
+
192
+ $this->mark_as_done( $plugin, $type, 'ignore' );
193
+
194
+ echo 1;
195
+ exit;
196
+ }
197
+
198
+ /**
199
+ * Action handler for 'load-index.php'
200
+ * Set-up the Dashboard notification.
201
+ *
202
+ * @since 1.0.0
203
+ */
204
+ public function load_index_php() {
205
+ if ( is_super_admin() ) {
206
+ $this->add_action( 'all_admin_notices' );
207
+ }
208
+ }
209
+
210
+ /**
211
+ * Action handler for 'admin_notices'
212
+ * Display the Dashboard notification.
213
+ *
214
+ * @since 1.0.0
215
+ */
216
+ public function all_admin_notices() {
217
+ $info = $this->choose_message();
218
+ if ( ! $info ) { return; }
219
+
220
+ $this->render_message( $info );
221
+ }
222
+
223
+ /**
224
+ * Check to see if there is a pending message to display and returns
225
+ * the message details if there is.
226
+ *
227
+ * Note that this function is only called on the main Dashboard screen
228
+ * and only when logged in as super-admin.
229
+ *
230
+ * @since 1.0.0
231
+ * @return object|false
232
+ * string $type [rate|email] Which message type?
233
+ * string $plugin WordPress plugin ID?
234
+ */
235
+ protected function choose_message() {
236
+ $obj = false;
237
+ $chosen = false;
238
+ $earliest = false;
239
+
240
+ $now = time();
241
+
242
+ // The "current" time can be changed via $_GET to test the module.
243
+ if ( defined( 'WP_DEBUG' ) && WP_DEBUG && ! empty( $_GET['time'] ) ) {
244
+ $custom_time = $_GET['time'];
245
+ if ( ' ' == $custom_time[0] ) { $custom_time[0] = '+'; }
246
+ if ( $custom_time ) { $now = strtotime( $custom_time ); }
247
+ if ( ! $now ) { $now = time(); }
248
+ }
249
+
250
+ $tomorrow = $now + DAY_IN_SECONDS;
251
+
252
+ foreach ( $this->stored['queue'] as $hash => $item ) {
253
+ $show_at = intval( $item['show_at'] );
254
+ $is_sticky = ! empty( $item['sticky'] );
255
+
256
+ if ( ! isset( $this->plugins[ $item['plugin'] ] ) ) {
257
+ // Deactivated plugin before the message was displayed.
258
+ continue;
259
+ }
260
+ $plugin = $this->plugins[ $item['plugin'] ];
261
+
262
+ $can_display = true;
263
+ if ( wp_is_mobile() ) {
264
+ // Do not display rating message on mobile devices.
265
+ if ( 'rate' == $item['type'] ) {
266
+ $can_display = false;
267
+ }
268
+ }
269
+ if ( 'email' == $item['type'] ) {
270
+ if ( ! $plugin->drip_plugin || ! $plugin->cta_email ) {
271
+ // Do not display email message with missing email params.
272
+ $can_display = false;
273
+ }
274
+ }
275
+ if ( $now < $show_at ) {
276
+ // Do not display messages that are not due yet.
277
+ $can_display = false;
278
+ }
279
+
280
+ if ( ! $can_display ) { continue; }
281
+
282
+ if ( $is_sticky ) {
283
+ // If sticky item is present then choose it!
284
+ $chosen = $hash;
285
+ break;
286
+ } elseif ( ! $earliest || $earliest < $show_at ) {
287
+ $earliest = $show_at;
288
+ $chosen = $hash;
289
+ // Don't use `break` because a sticky item might follow...
290
+ // Find the item with the earliest schedule.
291
+ }
292
+ }
293
+
294
+ if ( $chosen ) {
295
+ // Make the chosen item sticky.
296
+ $this->stored['queue'][$chosen]['sticky'] = true;
297
+
298
+ // Re-schedule other messages that are due today.
299
+ foreach ( $this->stored['queue'] as $hash => $item ) {
300
+ $show_at = intval( $item['show_at'] );
301
+
302
+ if ( empty( $item['sticky'] ) && $tomorrow > $show_at ) {
303
+ $this->stored['queue'][$hash]['show_at'] = $tomorrow;
304
+ }
305
+ }
306
+
307
+ // Save the changes.
308
+ $this->store_data();
309
+
310
+ $obj = (object) $this->stored['queue'][$chosen];
311
+ }
312
+
313
+ return $obj;
314
+ }
315
+
316
+ /**
317
+ * Moves a message from the queue to the done list.
318
+ *
319
+ * @since 1.0.0
320
+ * @param string $plugin Plugin ID.
321
+ * @param string $type [rate|email] Message type.
322
+ * @param string $state [ok|ignore] Button clicked.
323
+ */
324
+ protected function mark_as_done( $plugin, $type, $state ) {
325
+ $done_item = false;
326
+
327
+ foreach ( $this->stored['queue'] as $hash => $item ) {
328
+ unset( $this->stored['queue'][$hash]['sticky'] );
329
+
330
+ if ( $item['plugin'] == $plugin && $item['type'] == $type ) {
331
+ $done_item = $item;
332
+ unset( $this->stored['queue'][$hash] );
333
+ }
334
+ }
335
+
336
+ if ( $done_item ) {
337
+ $done_item['state'] = $state;
338
+ $done_item['hash'] = $hash;
339
+ $done_item['handled_at'] = time();
340
+ unset( $done_item['sticky'] );
341
+
342
+ $this->stored['done'][] = $done_item;
343
+ $this->store_data();
344
+ }
345
+ }
346
+
347
+ /**
348
+ * Renders the actual Notification message.
349
+ *
350
+ * @since 1.0.0
351
+ */
352
+ protected function render_message( $info ) {
353
+ $plugin = $this->plugins[$info->plugin];
354
+ $css_url = plugin_dir_url( __FILE__ ) . '/admin.css';
355
+ $js_url = plugin_dir_url( __FILE__ ) . '/admin.js';
356
+
357
+ ?>
358
+ <link rel="stylesheet" type="text/css" href="<?php echo esc_url( $css_url ); ?>" />
359
+ <div class="notice frash-notice frash-notice-<?php echo esc_attr( $info->type ); ?>" style="display:none">
360
+ <input type="hidden" name="type" value="<?php echo esc_attr( $info->type ); ?>" />
361
+ <input type="hidden" name="plugin_id" value="<?php echo esc_attr( $info->plugin ); ?>" />
362
+ <input type="hidden" name="url_wp" value="<?php echo esc_attr( $plugin->url_wp ); ?>" />
363
+ <input type="hidden" name="drip_plugin" value="<?php echo esc_attr( $plugin->drip_plugin ); ?>" />
364
+ <?php
365
+ if ( 'email' == $info->type ) {
366
+ $this->render_email_message( $plugin );
367
+ } elseif ( 'rate' == $info->type ) {
368
+ $this->render_rate_message( $plugin );
369
+ }
370
+ ?>
371
+ </div>
372
+ <script src="<?php echo esc_url( $js_url ); ?>"></script>
373
+ <?php
374
+ }
375
+
376
+ /**
377
+ * Output the contents of the email message.
378
+ * No return value. The code is directly output.
379
+ *
380
+ * @since 1.0.0
381
+ */
382
+ protected function render_email_message( $plugin ) {
383
+ $admin_email = get_site_option( 'admin_email' );
384
+ ?>
385
+ <div class="frash-notice-logo"><span></span></div>
386
+ <div class="frash-notice-message">
387
+ <?php
388
+ printf(
389
+ __( "We're happy that you've chosen to install %s! Are you interested in how to make the most of this plugin? How would you like a quick 5 day email crash course with actionable advice on building your membership site? Only the info you want, no subscription!", self::LANG ),
390
+ '<strong>' . $plugin->title . '</strong>'
391
+ );
392
+ ?>
393
+ </div>
394
+ <div class="frash-notice-cta">
395
+ <input type="email" name="email" value="<?php echo esc_attr( $admin_email ); ?>" />
396
+ <button class="frash-notice-act button-primary" data-msg="<?php _e( 'Thanks :)', self::LANG ); ?>">
397
+ <?php echo esc_html( $plugin->cta_email ); ?>
398
+ </button>
399
+ <button class="frash-notice-dismiss" data-msg="<?php _e( 'Saving', self::LANG ); ?>">
400
+ <?php _e( 'No thanks', self::LANG ); ?>
401
+ </button>
402
+ </div>
403
+ <?php
404
+ }
405
+
406
+ /**
407
+ * Output the contents of the rate-this-plugin message.
408
+ * No return value. The code is directly output.
409
+ *
410
+ * @since 1.0.0
411
+ */
412
+ protected function render_rate_message( $plugin ) {
413
+ $user = wp_get_current_user();
414
+ $user_name = $user->display_name;
415
+ ?>
416
+ <div class="frash-notice-logo"><span></span></div>
417
+ <div class="frash-notice-message">
418
+ <?php
419
+ printf(
420
+ __( "Hey %s, you've been using %s for a while now, and we hope you're happy with it.<br />We've spent countless hours developing this free plugin for you, and we would really appreciate it if you dropped us a quick rating!", self::LANG ),
421
+ '<strong>' . $user_name . '</strong>',
422
+ '<strong>' . $plugin->title . '</strong>'
423
+ );
424
+ ?>
425
+ </div>
426
+ <div class="frash-notice-cta">
427
+ <button class="frash-notice-act button-primary" data-msg="<?php _e( 'Thanks :)', self::LANG ); ?>">
428
+ <?php
429
+ printf(
430
+ __( 'Rate %s', self::LANG ),
431
+ esc_html( $plugin->title )
432
+ ); ?>
433
+ </button>
434
+ <button class="frash-notice-dismiss" data-msg="<?php _e( 'Saving', self::LANG ); ?>">
435
+ <?php _e( 'No thanks', self::LANG ); ?>
436
+ </button>
437
+ </div>
438
+ <?php
439
+ }
440
+
441
+ /**
442
+ * Registers a new action handler. The callback function has the same
443
+ * name as the action hook.
444
+ *
445
+ * @since 1.0.0
446
+ */
447
+ protected function add_action( $hook, $params = 1 ) {
448
+ $method_name = strtolower( $hook );
449
+ $method_name = preg_replace( '/[^a-z0-9]/', '_', $method_name );
450
+ $handler = array( $this, $method_name );
451
+ add_action( $hook, $handler, 5, $params );
452
+ }
453
+ }
454
+
455
+ // Initialize the module.
456
+ WDev_Frash::instance();
457
+ }
inc/external/wpmu-lib/changelog.txt CHANGED
@@ -4,6 +4,23 @@ Author: Philipp Stracker
4
  Change Log:
5
  ----------------------------------------------------------------------
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  2.0.1
8
  ----------------------------------------------------------------------
9
  - Fix errors when running side by side with older version
4
  Change Log:
5
  ----------------------------------------------------------------------
6
 
7
+ 2.0.2
8
+ ----------------------------------------------------------------------
9
+ - Fix bug with wpmui.popup contents
10
+
11
+ 2.0.2
12
+ ----------------------------------------------------------------------
13
+ - Fix javascript collision with ACF Pro plugin
14
+ - New js element wpmuUi.progressbar()
15
+ - New function lib2()->convert()
16
+ - lib2()->ui->admin_message() has new styles and discardable mode
17
+ - lib2()->html->element() regards class for hidden fields
18
+ - lib2()->html->element() can handle new HTML5 input types: number, url, email, time, search
19
+ - lib2()->html->element() radio-slider element can get special class 'reverse'
20
+ - lib2()->html->element() has a new attribute called 'wrapper_class'
21
+ - lib2()->html->plugin_list() only displays the Details link if details are present
22
+ - lib2()->debug has many small improvements
23
+
24
  2.0.1
25
  ----------------------------------------------------------------------
26
  - Fix errors when running side by side with older version
inc/external/wpmu-lib/core.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WPMU Dev code library
4
  Plugin URI: http://premium.wpmudev.org/
5
  Description: Framework to support creating WordPress plugins and themes.
6
- Version: 2.0.1
7
  Author: WPMU DEV
8
  Author URI: http://premium.wpmudev.org/
9
  Textdomain: wpmu-lib
@@ -17,7 +17,7 @@ Textdomain: wpmu-lib
17
  * define( 'WDEV_AJAX_DEBUG', false ) // Disable lib2()->debug->dump() for Ajax requests
18
  */
19
 
20
- $version = '2.0.1'; // Remember to update the class-name in functions-wpmulib.php!!
21
 
22
  /**
23
  * Load TheLib class definition if not some other plugin already loaded it.
3
  Plugin Name: WPMU Dev code library
4
  Plugin URI: http://premium.wpmudev.org/
5
  Description: Framework to support creating WordPress plugins and themes.
6
+ Version: 2.0.3
7
  Author: WPMU DEV
8
  Author URI: http://premium.wpmudev.org/
9
  Textdomain: wpmu-lib
17
  * define( 'WDEV_AJAX_DEBUG', false ) // Disable lib2()->debug->dump() for Ajax requests
18
  */
19
 
20
+ $version = '2.0.3'; // Remember to update the class-name in functions-wpmulib.php!!
21
 
22
  /**
23
  * Load TheLib class definition if not some other plugin already loaded it.
inc/external/wpmu-lib/css/fontawesome.2.min.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
inc/external/wpmu-lib/css/jquery-ui.wpmui.2.min.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
inc/external/wpmu-lib/css/select2.2.min.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
inc/external/wpmu-lib/css/wpmu-card-list.2.css CHANGED
@@ -4,14 +4,17 @@
4
  *
5
  * @since 1.1.0
6
  */
 
7
  .wpmui-list-wrapper .wpmui-list {
8
  margin-left: -16px;
9
  }
 
10
  .wpmui-list-wrapper .wpmui-list:after {
11
  content: '';
12
  display: table;
13
  clear: both;
14
  }
 
15
  .wpmui-list-wrapper .list-card {
16
  float: left;
17
  margin: 0 0 16px 16px;
@@ -23,6 +26,7 @@
23
  box-sizing: border-box;
24
  opacity: .8;
25
  }
 
26
  .wpmui-list-wrapper .list-card .badge-container {
27
  overflow: hidden;
28
  width: 100px;
@@ -31,9 +35,11 @@
31
  left: 0px;
32
  top: 0px;
33
  }
 
34
  .wpmui-list-wrapper .list-card .badge-active {
35
  display: none;
36
  }
 
37
  .wpmui-list-wrapper .list-card.active {
38
  opacity: 1;
39
  background: #FFF;
@@ -41,10 +47,13 @@
41
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
42
  z-index: 20;
43
  }
 
 
44
  .wpmui-list-wrapper .list-card.active .desc,
45
  .wpmui-list-wrapper .list-card.active .name {
46
  color: #333;
47
  }
 
48
  .wpmui-list-wrapper .list-card.active .badge-active {
49
  position: absolute;
50
  top: 15px;
@@ -57,9 +66,11 @@
57
  z-index: 20;
58
  border: 1px solid #FFF;
59
  }
 
60
  .wpmui-list-wrapper .list-card.active .item-icon {
61
  color: #3b8b08;
62
  }
 
63
  .wpmui-list-wrapper .list-card .item-icon {
64
  position: absolute;
65
  top: 20px;
@@ -70,16 +81,20 @@
70
  font-size: 100px;
71
  z-index: 16;
72
  }
 
73
  .wpmui-list-wrapper .list-card .item-icon i {
74
  opacity: 0.8;
75
  font-size: 100px;
76
  }
 
 
77
  .wpmui-list-wrapper .list-card .desc,
78
  .wpmui-list-wrapper .list-card .name {
79
  margin-left: 148px;
80
  margin-right: 120px;
81
  color: #777;
82
  }
 
83
  .wpmui-list-wrapper .list-card .action-links {
84
  position: absolute;
85
  top: 20px;
@@ -87,6 +102,7 @@
87
  width: 120px;
88
  text-align: right;
89
  }
 
90
  .wpmui-list-wrapper .list-card .action-links .space {
91
  display: block;
92
  line-height: 10px;
@@ -94,24 +110,28 @@
94
  padding: 0;
95
  margin: 0;
96
  }
 
97
  .wpmui-list-wrapper .list-card h4 {
98
  margin: 0 0 12px;
99
  font-size: 18px;
100
  line-height: 1.3;
101
  }
102
  @media screen and (min-width: 1600px) {
 
103
  .wpmui-list-wrapper .list-card {
104
  width: 30%;
105
  width: -webkit-calc(33.3333% - 16px);
106
  width: calc(33.3333% - 16px);
107
  }
108
  }
 
109
  .wpmui-list-wrapper .list-card-top {
110
  position: relative;
111
  padding: 20px 20px 10px;
112
  height: 135px;
113
  overflow: hidden;
114
  }
 
115
  .wpmui-list-wrapper .list-card-top .fader {
116
  position: absolute;
117
  bottom: 0;
@@ -134,6 +154,7 @@
134
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
135
  /* IE6-9 */
136
  }
 
137
  .wpmui-list-wrapper .list-card-bottom {
138
  clear: both;
139
  padding: 12px 20px;
@@ -142,13 +163,21 @@
142
  overflow: hidden;
143
  height: 45px;
144
  }
 
 
145
  .wpmui-list-wrapper .details,
146
  .wpmui-list-wrapper .is-detail {
147
  display: none;
148
  }
 
149
  .wpmui-list-wrapper .is-no-detail {
150
  display: inline;
151
  }
 
 
 
 
 
152
  .wpmui-list-wrapper .details .wpmui-html-text-wrapper,
153
  .wpmui-list-wrapper .details .wpmui-input-wrapper,
154
  .wpmui-list-wrapper .details .wpmui-select-wrapper,
@@ -161,6 +190,11 @@
161
  background-color: #FFF;
162
  border: 1px solid #dedede;
163
  }
 
 
 
 
 
164
  .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,
165
  .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,
166
  .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,
@@ -170,6 +204,21 @@
170
  top: 10px;
171
  right: 10px;
172
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  .wpmui-list-wrapper .wpmui-list-table.has-details:before {
174
  content: '';
175
  background: #000;
@@ -181,19 +230,24 @@
181
  bottom: 0;
182
  z-index: 21;
183
  }
 
184
  .wpmui-list-wrapper .wpmui-list-table.has-details .list-card {
185
  opacity: .7;
186
  }
 
187
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode {
188
  z-index: 25;
189
  opacity: 1;
190
  }
 
191
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail {
192
  display: inline;
193
  }
 
194
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail {
195
  display: none;
196
  }
 
197
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top {
198
  position: absolute;
199
  top: 0;
@@ -203,6 +257,7 @@
203
  right: 0;
204
  overflow: visible;
205
  }
 
206
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details {
207
  display: block;
208
  position: absolute;
@@ -215,6 +270,7 @@
215
  padding: 20px;
216
  bottom: 0;
217
  }
 
218
  .wpmui-list-wrapper .detail-mode {
219
  position: absolute;
220
  top: 50px;
@@ -226,33 +282,41 @@
226
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
227
  opacity: 1;
228
  }
 
229
  .wpmui-list-wrapper .detail-mode .list-card {
230
  border: 1px solid #999;
231
  }
 
232
  .wpmui-list-wrapper .detail-mode .list-card-bottom {
233
  position: absolute;
234
  bottom: 0;
235
  left: 0;
236
  right: 0;
237
  }
 
238
  .wpmui-list-wrapper .toggle-details {
239
  cursor: pointer;
240
  }
 
241
  .wpmui-list-wrapper .toggle-link {
242
  float: right;
243
  color: #0074a2;
244
  }
 
245
  .wpmui-list-wrapper .toggle-link:hover {
246
  color: #2ea2cc;
247
  }
 
248
  .wpmui-list-wrapper .filter-links > li {
249
  line-height: 48px;
250
  height: 48px;
251
  }
 
252
  .wpmui-list-wrapper .filter-links > li a {
253
  padding-top: 0;
254
  padding-bottom: 0;
255
  }
 
256
  .wpmui-list-wrapper .close-button {
257
  position: absolute;
258
  top: -30px;
@@ -260,6 +324,7 @@
260
  border-radius: 15px;
261
  background: #FFF;
262
  }
 
263
  .wpmui-list-wrapper .close-button:after {
264
  content: "\f335";
265
  display: inline-block;
4
  *
5
  * @since 1.1.0
6
  */
7
+ #wpwrap .wpmui-list-wrapper .wpmui-list,
8
  .wpmui-list-wrapper .wpmui-list {
9
  margin-left: -16px;
10
  }
11
+ #wpwrap .wpmui-list-wrapper .wpmui-list:after,
12
  .wpmui-list-wrapper .wpmui-list:after {
13
  content: '';
14
  display: table;
15
  clear: both;
16
  }
17
+ #wpwrap .wpmui-list-wrapper .list-card,
18
  .wpmui-list-wrapper .list-card {
19
  float: left;
20
  margin: 0 0 16px 16px;
26
  box-sizing: border-box;
27
  opacity: .8;
28
  }
29
+ #wpwrap .wpmui-list-wrapper .list-card .badge-container,
30
  .wpmui-list-wrapper .list-card .badge-container {
31
  overflow: hidden;
32
  width: 100px;
35
  left: 0px;
36
  top: 0px;
37
  }
38
+ #wpwrap .wpmui-list-wrapper .list-card .badge-active,
39
  .wpmui-list-wrapper .list-card .badge-active {
40
  display: none;
41
  }
42
+ #wpwrap .wpmui-list-wrapper .list-card.active,
43
  .wpmui-list-wrapper .list-card.active {
44
  opacity: 1;
45
  background: #FFF;
47
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
48
  z-index: 20;
49
  }
50
+ #wpwrap .wpmui-list-wrapper .list-card.active .desc,
51
+ #wpwrap .wpmui-list-wrapper .list-card.active .name,
52
  .wpmui-list-wrapper .list-card.active .desc,
53
  .wpmui-list-wrapper .list-card.active .name {
54
  color: #333;
55
  }
56
+ #wpwrap .wpmui-list-wrapper .list-card.active .badge-active,
57
  .wpmui-list-wrapper .list-card.active .badge-active {
58
  position: absolute;
59
  top: 15px;
66
  z-index: 20;
67
  border: 1px solid #FFF;
68
  }
69
+ #wpwrap .wpmui-list-wrapper .list-card.active .item-icon,
70
  .wpmui-list-wrapper .list-card.active .item-icon {
71
  color: #3b8b08;
72
  }
73
+ #wpwrap .wpmui-list-wrapper .list-card .item-icon,
74
  .wpmui-list-wrapper .list-card .item-icon {
75
  position: absolute;
76
  top: 20px;
81
  font-size: 100px;
82
  z-index: 16;
83
  }
84
+ #wpwrap .wpmui-list-wrapper .list-card .item-icon i,
85
  .wpmui-list-wrapper .list-card .item-icon i {
86
  opacity: 0.8;
87
  font-size: 100px;
88
  }
89
+ #wpwrap .wpmui-list-wrapper .list-card .desc,
90
+ #wpwrap .wpmui-list-wrapper .list-card .name,
91
  .wpmui-list-wrapper .list-card .desc,
92
  .wpmui-list-wrapper .list-card .name {
93
  margin-left: 148px;
94
  margin-right: 120px;
95
  color: #777;
96
  }
97
+ #wpwrap .wpmui-list-wrapper .list-card .action-links,
98
  .wpmui-list-wrapper .list-card .action-links {
99
  position: absolute;
100
  top: 20px;
102
  width: 120px;
103
  text-align: right;
104
  }
105
+ #wpwrap .wpmui-list-wrapper .list-card .action-links .space,
106
  .wpmui-list-wrapper .list-card .action-links .space {
107
  display: block;
108
  line-height: 10px;
110
  padding: 0;
111
  margin: 0;
112
  }
113
+ #wpwrap .wpmui-list-wrapper .list-card h4,
114
  .wpmui-list-wrapper .list-card h4 {
115
  margin: 0 0 12px;
116
  font-size: 18px;
117
  line-height: 1.3;
118
  }
119
  @media screen and (min-width: 1600px) {
120
+ #wpwrap .wpmui-list-wrapper .list-card,
121
  .wpmui-list-wrapper .list-card {
122
  width: 30%;
123
  width: -webkit-calc(33.3333% - 16px);
124
  width: calc(33.3333% - 16px);
125
  }
126
  }
127
+ #wpwrap .wpmui-list-wrapper .list-card-top,
128
  .wpmui-list-wrapper .list-card-top {
129
  position: relative;
130
  padding: 20px 20px 10px;
131
  height: 135px;
132
  overflow: hidden;
133
  }
134
+ #wpwrap .wpmui-list-wrapper .list-card-top .fader,
135
  .wpmui-list-wrapper .list-card-top .fader {
136
  position: absolute;
137
  bottom: 0;
154
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
155
  /* IE6-9 */
156
  }
157
+ #wpwrap .wpmui-list-wrapper .list-card-bottom,
158
  .wpmui-list-wrapper .list-card-bottom {
159
  clear: both;
160
  padding: 12px 20px;
163
  overflow: hidden;
164
  height: 45px;
165
  }
166
+ #wpwrap .wpmui-list-wrapper .details,
167
+ #wpwrap .wpmui-list-wrapper .is-detail,
168
  .wpmui-list-wrapper .details,
169
  .wpmui-list-wrapper .is-detail {
170
  display: none;
171
  }
172
+ #wpwrap .wpmui-list-wrapper .is-no-detail,
173
  .wpmui-list-wrapper .is-no-detail {
174
  display: inline;
175
  }
176
+ #wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper,
177
+ #wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper,
178
+ #wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper,
179
+ #wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper,
180
+ #wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper,
181
  .wpmui-list-wrapper .details .wpmui-html-text-wrapper,
182
  .wpmui-list-wrapper .details .wpmui-input-wrapper,
183
  .wpmui-list-wrapper .details .wpmui-select-wrapper,
190
  background-color: #FFF;
191
  border: 1px solid #dedede;
192
  }
193
+ #wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,
194
+ #wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,
195
+ #wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,
196
+ #wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,
197
+ #wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider,
198
  .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,
199
  .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,
200
  .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,
204
  top: 10px;
205
  right: 10px;
206
  }
207
+ #wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider.has-labels,
208
+ #wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider.has-labels,
209
+ #wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider.has-labels,
210
+ #wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider.has-labels,
211
+ #wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider.has-labels,
212
+ .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider.has-labels,
213
+ .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider.has-labels,
214
+ .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider.has-labels,
215
+ .wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider.has-labels,
216
+ .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider.has-labels {
217
+ position: relative;
218
+ top: 0;
219
+ right: 0;
220
+ }
221
+ #wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details:before,
222
  .wpmui-list-wrapper .wpmui-list-table.has-details:before {
223
  content: '';
224
  background: #000;
230
  bottom: 0;
231
  z-index: 21;
232
  }
233
+ #wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .list-card,
234
  .wpmui-list-wrapper .wpmui-list-table.has-details .list-card {
235
  opacity: .7;
236
  }
237
+ #wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode,
238
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode {
239
  z-index: 25;
240
  opacity: 1;
241
  }
242
+ #wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail,
243
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail {
244
  display: inline;
245
  }
246
+ #wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail,
247
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail {
248
  display: none;
249
  }
250
+ #wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top,
251
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top {
252
  position: absolute;
253
  top: 0;
257
  right: 0;
258
  overflow: visible;
259
  }
260
+ #wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details,
261
  .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details {
262
  display: block;
263
  position: absolute;
270
  padding: 20px;
271
  bottom: 0;
272
  }
273
+ #wpwrap .wpmui-list-wrapper .detail-mode,
274
  .wpmui-list-wrapper .detail-mode {
275
  position: absolute;
276
  top: 50px;
282
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
283
  opacity: 1;
284
  }
285
+ #wpwrap .wpmui-list-wrapper .detail-mode .list-card,
286
  .wpmui-list-wrapper .detail-mode .list-card {
287
  border: 1px solid #999;
288
  }
289
+ #wpwrap .wpmui-list-wrapper .detail-mode .list-card-bottom,
290
  .wpmui-list-wrapper .detail-mode .list-card-bottom {
291
  position: absolute;
292
  bottom: 0;
293
  left: 0;
294
  right: 0;
295
  }
296
+ #wpwrap .wpmui-list-wrapper .toggle-details,
297
  .wpmui-list-wrapper .toggle-details {
298
  cursor: pointer;
299
  }
300
+ #wpwrap .wpmui-list-wrapper .toggle-link,
301
  .wpmui-list-wrapper .toggle-link {
302
  float: right;
303
  color: #0074a2;
304
  }
305
+ #wpwrap .wpmui-list-wrapper .toggle-link:hover,
306
  .wpmui-list-wrapper .toggle-link:hover {
307
  color: #2ea2cc;
308
  }
309
+ #wpwrap .wpmui-list-wrapper .filter-links > li,
310
  .wpmui-list-wrapper .filter-links > li {
311
  line-height: 48px;
312
  height: 48px;
313
  }
314
+ #wpwrap .wpmui-list-wrapper .filter-links > li a,
315
  .wpmui-list-wrapper .filter-links > li a {
316
  padding-top: 0;
317
  padding-bottom: 0;
318
  }
319
+ #wpwrap .wpmui-list-wrapper .close-button,
320
  .wpmui-list-wrapper .close-button {
321
  position: absolute;
322
  top: -30px;
324
  border-radius: 15px;
325
  background: #FFF;
326
  }
327
+ #wpwrap .wpmui-list-wrapper .close-button:after,
328
  .wpmui-list-wrapper .close-button:after {
329
  content: "\f335";
330
  display: inline-block;
inc/external/wpmu-lib/css/wpmu-card-list.2.min.css CHANGED
@@ -1,5 +1,5 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
5
- .wpmui-list-wrapper .wpmui-list{margin-left:-16px}.wpmui-list-wrapper .wpmui-list:after{content:'';display:table;clear:both}.wpmui-list-wrapper .list-card{float:left;margin:0 0 16px 16px;width:48%;width:-webkit-calc(50% - 16px);width:calc(50% - 16px);background-color:#fff;border:1px solid #dedede;box-sizing:border-box;opacity:.8}.wpmui-list-wrapper .list-card .badge-container{overflow:hidden;width:100px;height:100px;position:absolute;left:0;top:0}.wpmui-list-wrapper .list-card .badge-active{display:none}.wpmui-list-wrapper .list-card.active{opacity:1;background:#FFF;border:1px solid #BBB;box-shadow:0 1px 3px rgba(0,0,0,.12);z-index:20}.wpmui-list-wrapper .list-card.active .desc,.wpmui-list-wrapper .list-card.active .name{color:#333}.wpmui-list-wrapper .list-card.active .badge-active{position:absolute;top:15px;left:-35px;display:block;background-color:#6bbb1a;color:#FFF;transform:rotate(315deg);padding:3px 40px;z-index:20;border:1px solid #FFF}.wpmui-list-wrapper .list-card.active .item-icon{color:#3b8b08}.wpmui-list-wrapper .list-card .item-icon{position:absolute;top:20px;left:20px;width:128px;height:128px;margin:0 20px 20px 0;font-size:100px;z-index:16}.wpmui-list-wrapper .list-card .item-icon i{opacity:.8;font-size:100px}.wpmui-list-wrapper .list-card .desc,.wpmui-list-wrapper .list-card .name{margin-left:148px;margin-right:120px;color:#777}.wpmui-list-wrapper .list-card .action-links{position:absolute;top:20px;right:20px;width:120px;text-align:right}.wpmui-list-wrapper .list-card .action-links .space{display:block;line-height:10px;height:10px;padding:0;margin:0}.wpmui-list-wrapper .list-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}@media screen and (min-width:1600px){.wpmui-list-wrapper .list-card{width:30%;width:-webkit-calc(33.3333% - 16px);width:calc(33.3333% - 16px)}}.wpmui-list-wrapper .list-card-top{position:relative;padding:20px 20px 10px;height:135px;overflow:hidden}.wpmui-list-wrapper .list-card-top .fader{position:absolute;bottom:0;height:20px;left:0;right:0;z-index:5;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(255,255,255,0)),color-stop(90%,#fff));background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-o-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-ms-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 90%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0)}.wpmui-list-wrapper .list-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden;height:45px}.wpmui-list-wrapper .details,.wpmui-list-wrapper .is-detail{display:none}.wpmui-list-wrapper .is-no-detail{display:inline}.wpmui-list-wrapper .details .wpmui-html-text-wrapper,.wpmui-list-wrapper .details .wpmui-input-wrapper,.wpmui-list-wrapper .details .wpmui-select-wrapper,.wpmui-list-wrapper .details .wpmui-radio-wrapper,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper{display:block;position:relative;padding:10px;margin:0 0 10px;background-color:#FFF;border:1px solid #dedede}.wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:absolute;top:10px;right:10px}.wpmui-list-wrapper .wpmui-list-table.has-details:before{content:'';background:#000;opacity:.3;position:fixed;left:0;top:0;right:0;bottom:0;z-index:21}.wpmui-list-wrapper .wpmui-list-table.has-details .list-card{opacity:.7}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode{z-index:25;opacity:1}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail{display:inline}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail{display:none}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top{position:absolute;top:0;bottom:43px;height:auto;left:0;right:0;overflow:visible}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details{display:block;position:absolute;overflow:auto;top:135px;left:0;right:0;background:#FCFCFC;border-top:1px solid #dedede;padding:20px;bottom:0}.wpmui-list-wrapper .detail-mode{position:absolute;top:50px;left:50px;right:50px;width:auto;height:auto;z-index:20;box-shadow:0 1px 10px rgba(0,0,0,.3);opacity:1}.wpmui-list-wrapper .detail-mode .list-card{border:1px solid #999}.wpmui-list-wrapper .detail-mode .list-card-bottom{position:absolute;bottom:0;left:0;right:0}.wpmui-list-wrapper .toggle-details{cursor:pointer}.wpmui-list-wrapper .toggle-link{float:right;color:#0074a2}.wpmui-list-wrapper .toggle-link:hover{color:#2ea2cc}.wpmui-list-wrapper .filter-links>li{line-height:48px;height:48px}.wpmui-list-wrapper .filter-links>li a{padding-top:0;padding-bottom:0}.wpmui-list-wrapper .close-button{position:absolute;top:-30px;right:-30px;border-radius:15px;background:#FFF}.wpmui-list-wrapper .close-button:after{content:"\f335";display:inline-block;width:30px;height:30px;font-size:26px;line-height:30px;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
5
+ #wpwrap .wpmui-list-wrapper .wpmui-list,.wpmui-list-wrapper .wpmui-list{margin-left:-16px}#wpwrap .wpmui-list-wrapper .wpmui-list:after,.wpmui-list-wrapper .wpmui-list:after{content:'';display:table;clear:both}#wpwrap .wpmui-list-wrapper .list-card,.wpmui-list-wrapper .list-card{float:left;margin:0 0 16px 16px;width:48%;width:-webkit-calc(50% - 16px);width:calc(50% - 16px);background-color:#fff;border:1px solid #dedede;box-sizing:border-box;opacity:.8}#wpwrap .wpmui-list-wrapper .list-card .badge-container,.wpmui-list-wrapper .list-card .badge-container{overflow:hidden;width:100px;height:100px;position:absolute;left:0;top:0}#wpwrap .wpmui-list-wrapper .list-card .badge-active,.wpmui-list-wrapper .list-card .badge-active{display:none}#wpwrap .wpmui-list-wrapper .list-card.active,.wpmui-list-wrapper .list-card.active{opacity:1;background:#FFF;border:1px solid #BBB;box-shadow:0 1px 3px rgba(0,0,0,.12);z-index:20}#wpwrap .wpmui-list-wrapper .list-card.active .desc,#wpwrap .wpmui-list-wrapper .list-card.active .name,.wpmui-list-wrapper .list-card.active .desc,.wpmui-list-wrapper .list-card.active .name{color:#333}#wpwrap .wpmui-list-wrapper .list-card.active .badge-active,.wpmui-list-wrapper .list-card.active .badge-active{position:absolute;top:15px;left:-35px;display:block;background-color:#6bbb1a;color:#FFF;transform:rotate(315deg);padding:3px 40px;z-index:20;border:1px solid #FFF}#wpwrap .wpmui-list-wrapper .list-card.active .item-icon,.wpmui-list-wrapper .list-card.active .item-icon{color:#3b8b08}#wpwrap .wpmui-list-wrapper .list-card .item-icon,.wpmui-list-wrapper .list-card .item-icon{position:absolute;top:20px;left:20px;width:128px;height:128px;margin:0 20px 20px 0;font-size:100px;z-index:16}#wpwrap .wpmui-list-wrapper .list-card .item-icon i,.wpmui-list-wrapper .list-card .item-icon i{opacity:.8;font-size:100px}#wpwrap .wpmui-list-wrapper .list-card .desc,#wpwrap .wpmui-list-wrapper .list-card .name,.wpmui-list-wrapper .list-card .desc,.wpmui-list-wrapper .list-card .name{margin-left:148px;margin-right:120px;color:#777}#wpwrap .wpmui-list-wrapper .list-card .action-links,.wpmui-list-wrapper .list-card .action-links{position:absolute;top:20px;right:20px;width:120px;text-align:right}#wpwrap .wpmui-list-wrapper .list-card .action-links .space,.wpmui-list-wrapper .list-card .action-links .space{display:block;line-height:10px;height:10px;padding:0;margin:0}#wpwrap .wpmui-list-wrapper .list-card h4,.wpmui-list-wrapper .list-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}@media screen and (min-width:1600px){#wpwrap .wpmui-list-wrapper .list-card,.wpmui-list-wrapper .list-card{width:30%;width:-webkit-calc(33.3333% - 16px);width:calc(33.3333% - 16px)}}#wpwrap .wpmui-list-wrapper .list-card-top,.wpmui-list-wrapper .list-card-top{position:relative;padding:20px 20px 10px;height:135px;overflow:hidden}#wpwrap .wpmui-list-wrapper .list-card-top .fader,.wpmui-list-wrapper .list-card-top .fader{position:absolute;bottom:0;height:20px;left:0;right:0;z-index:5;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(255,255,255,0)),color-stop(90%,#fff));background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-o-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-ms-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 90%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0)}#wpwrap .wpmui-list-wrapper .list-card-bottom,.wpmui-list-wrapper .list-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden;height:45px}#wpwrap .wpmui-list-wrapper .details,#wpwrap .wpmui-list-wrapper .is-detail,.wpmui-list-wrapper .details,.wpmui-list-wrapper .is-detail{display:none}#wpwrap .wpmui-list-wrapper .is-no-detail,.wpmui-list-wrapper .is-no-detail{display:inline}#wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper,.wpmui-list-wrapper .details .wpmui-html-text-wrapper,.wpmui-list-wrapper .details .wpmui-input-wrapper,.wpmui-list-wrapper .details .wpmui-select-wrapper,.wpmui-list-wrapper .details .wpmui-radio-wrapper,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper{display:block;position:relative;padding:10px;margin:0 0 10px;background-color:#FFF;border:1px solid #dedede}#wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:absolute;top:10px;right:10px}#wpwrap .wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider.has-labels,#wpwrap .wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider.has-labels,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider.has-labels{position:relative;top:0;right:0}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details:before,.wpmui-list-wrapper .wpmui-list-table.has-details:before{content:'';background:#000;opacity:.3;position:fixed;left:0;top:0;right:0;bottom:0;z-index:21}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .list-card,.wpmui-list-wrapper .wpmui-list-table.has-details .list-card{opacity:.7}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode{z-index:25;opacity:1}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail{display:inline}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail{display:none}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top{position:absolute;top:0;bottom:43px;height:auto;left:0;right:0;overflow:visible}#wpwrap .wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details,.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details{display:block;position:absolute;overflow:auto;top:135px;left:0;right:0;background:#FCFCFC;border-top:1px solid #dedede;padding:20px;bottom:0}#wpwrap .wpmui-list-wrapper .detail-mode,.wpmui-list-wrapper .detail-mode{position:absolute;top:50px;left:50px;right:50px;width:auto;height:auto;z-index:20;box-shadow:0 1px 10px rgba(0,0,0,.3);opacity:1}#wpwrap .wpmui-list-wrapper .detail-mode .list-card,.wpmui-list-wrapper .detail-mode .list-card{border:1px solid #999}#wpwrap .wpmui-list-wrapper .detail-mode .list-card-bottom,.wpmui-list-wrapper .detail-mode .list-card-bottom{position:absolute;bottom:0;left:0;right:0}#wpwrap .wpmui-list-wrapper .toggle-details,.wpmui-list-wrapper .toggle-details{cursor:pointer}#wpwrap .wpmui-list-wrapper .toggle-link,.wpmui-list-wrapper .toggle-link{float:right;color:#0074a2}#wpwrap .wpmui-list-wrapper .toggle-link:hover,.wpmui-list-wrapper .toggle-link:hover{color:#2ea2cc}#wpwrap .wpmui-list-wrapper .filter-links>li,.wpmui-list-wrapper .filter-links>li{line-height:48px;height:48px}#wpwrap .wpmui-list-wrapper .filter-links>li a,.wpmui-list-wrapper .filter-links>li a{padding-top:0;padding-bottom:0}#wpwrap .wpmui-list-wrapper .close-button,.wpmui-list-wrapper .close-button{position:absolute;top:-30px;right:-30px;border-radius:15px;background:#FFF}#wpwrap .wpmui-list-wrapper .close-button:after,.wpmui-list-wrapper .close-button:after{content:"\f335";display:inline-block;width:30px;height:30px;font-size:26px;line-height:30px;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
inc/external/wpmu-lib/css/wpmu-html.2.css CHANGED
@@ -15,6 +15,23 @@ body {
15
  /* horizontal separator */
16
  /* vertical separator */
17
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  #wpwrap .wpmui-field-description,
19
  body .wpmui-field-description {
20
  display: block;
@@ -30,6 +47,8 @@ body .wpmui-field-button {
30
  margin-top: 6px;
31
  margin-bottom: 6px;
32
  vertical-align: top;
 
 
33
  }
34
  #wpwrap .wpmui-field-input.button,
35
  #wpwrap .wpmui-field-input.button-primary,
@@ -47,6 +66,11 @@ body .wpmui-field-label {
47
  font-style: normal;
48
  color: #222;
49
  }
 
 
 
 
 
50
  #wpwrap h3.wpmui-field-label,
51
  body h3.wpmui-field-label {
52
  margin-bottom: 10px;
@@ -122,6 +146,14 @@ body .no-click {
122
  cursor: default;
123
  }
124
 
 
 
 
 
 
 
 
 
125
  /***
126
  * CHECKBOX *
127
  ***/
@@ -176,6 +208,14 @@ body .wpmui-checkbox-list .wpmui-group .wpmui-child {
176
  /***
177
  * RADIO SLIDER *
178
  ***/
 
 
 
 
 
 
 
 
179
  #wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,
180
  #wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,
181
  body .wpmui-radio-slider-wrapper .wpmui-label-before,
@@ -184,24 +224,96 @@ body .wpmui-radio-slider-wrapper .wpmui-label-after {
184
  margin-top: 3px;
185
  margin-bottom: 3px;
186
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  #wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,
188
  body .wpmui-radio-slider-wrapper .wpmui-label-before {
189
- font-weight: bold;
190
  color: #000;
191
  }
192
  #wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,
193
  body .wpmui-radio-slider-wrapper .wpmui-label-after {
194
- font-weight: normal;
195
- color: #888;
196
  }
197
  #wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,
198
  body .wpmui-radio-slider-wrapper.on .wpmui-label-before {
199
- font-weight: normal;
200
- color: #888;
201
  }
202
  #wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,
203
  body .wpmui-radio-slider-wrapper.on .wpmui-label-after {
204
- font-weight: bold;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  color: #000;
206
  }
207
  #wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper,
15
  /* horizontal separator */
16
  /* vertical separator */
17
  }
18
+ #wpwrap .wpmui-input-wrapper.wpmui-loading > *,
19
+ body .wpmui-input-wrapper.wpmui-loading > * {
20
+ opacity: 0.25;
21
+ cursor: default;
22
+ }
23
+ #wpwrap .wpmui-input-wrapper.wpmui-loading .wpmui-field-input,
24
+ body .wpmui-input-wrapper.wpmui-loading .wpmui-field-input {
25
+ background-color: #E5E5E5;
26
+ }
27
+ #wpwrap .wpmui-input-wrapper.wpmui-loading:after,
28
+ body .wpmui-input-wrapper.wpmui-loading:after {
29
+ top: 5px;
30
+ /* compensate for the field margin */
31
+ bottom: 5px;
32
+ /* compensate for the field margin */
33
+ background-color: transparent;
34
+ }
35
  #wpwrap .wpmui-field-description,
36
  body .wpmui-field-description {
37
  display: block;
47
  margin-top: 6px;
48
  margin-bottom: 6px;
49
  vertical-align: top;
50
+ display: inline-block;
51
+ position: relative;
52
  }
53
  #wpwrap .wpmui-field-input.button,
54
  #wpwrap .wpmui-field-input.button-primary,
66
  font-style: normal;
67
  color: #222;
68
  }
69
+ #wpwrap .wpmui-field-label.inline-label,
70
+ body .wpmui-field-label.inline-label {
71
+ display: inline-block;
72
+ margin: 6px 10px 6px 0;
73
+ }
74
  #wpwrap h3.wpmui-field-label,
75
  body h3.wpmui-field-label {
76
  margin-bottom: 10px;
146
  cursor: default;
147
  }
148
 
149
+ /***
150
+ * HTML BLOCK (read only) *
151
+ ***/
152
+ #wpwrap .wpmui-html-text-wrapper label,
153
+ body .wpmui-html-text-wrapper label {
154
+ cursor: default;
155
+ }
156
+
157
  /***
158
  * CHECKBOX *
159
  ***/
208
  /***
209
  * RADIO SLIDER *
210
  ***/
211
+ #wpwrap .wpmui-radio-slider-wrapper,
212
+ body .wpmui-radio-slider-wrapper {
213
+ clear: both;
214
+ }
215
+ #wpwrap .wpmui-radio-slider-wrapper .wpmui-field-label,
216
+ body .wpmui-radio-slider-wrapper .wpmui-field-label {
217
+ cursor: default;
218
+ }
219
  #wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,
220
  #wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,
221
  body .wpmui-radio-slider-wrapper .wpmui-label-before,
224
  margin-top: 3px;
225
  margin-bottom: 3px;
226
  }
227
+ #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider,
228
+ body .wpmui-radio-slider-wrapper .wpmui-radio-slider {
229
+ position: relative;
230
+ display: inline-block;
231
+ width: 40px;
232
+ height: 18px;
233
+ margin: 3px 0;
234
+ border-radius: 10px;
235
+ background: #b0b0b0;
236
+ opacity: .8;
237
+ overflow: visible;
238
+ cursor: pointer;
239
+ }
240
+ #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover,
241
+ body .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover {
242
+ opacity: 1;
243
+ }
244
+ #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly], #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover,
245
+ body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],
246
+ body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover {
247
+ opacity: 0.5;
248
+ cursor: default;
249
+ }
250
+ #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle, #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle,
251
+ body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,
252
+ body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle {
253
+ opacity: .7;
254
+ }
255
+ #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on,
256
+ body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on {
257
+ background: #6BBB1A;
258
+ /* rgb( 107, 187, 26 ) */
259
+ }
260
+ #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle,
261
+ body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle {
262
+ left: 21px;
263
+ }
264
+ #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle,
265
+ body .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle {
266
+ position: absolute;
267
+ display: inline-block;
268
+ left: 0;
269
+ width: 12px;
270
+ height: 12px;
271
+ margin: 3px;
272
+ background: #F4F4F4;
273
+ border-radius: 50%;
274
+ transition: all .2s ease-in-out;
275
+ }
276
  #wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,
277
  body .wpmui-radio-slider-wrapper .wpmui-label-before {
 
278
  color: #000;
279
  }
280
  #wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,
281
  body .wpmui-radio-slider-wrapper .wpmui-label-after {
282
+ color: #CCC;
 
283
  }
284
  #wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,
285
  body .wpmui-radio-slider-wrapper.on .wpmui-label-before {
286
+ color: #CCC;
 
287
  }
288
  #wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,
289
  body .wpmui-radio-slider-wrapper.on .wpmui-label-after {
290
+ color: #390;
291
+ /* rgb( 51, 153, 0 ) */
292
+ }
293
+ #wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider,
294
+ body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider {
295
+ background: #6BBB1A;
296
+ /* rgb( 107, 187, 26 ) */
297
+ }
298
+ #wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before,
299
+ body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before {
300
+ color: #390;
301
+ /* rgb( 51, 153, 0 ) */
302
+ }
303
+ #wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after,
304
+ body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after {
305
+ color: #CCC;
306
+ }
307
+ #wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider,
308
+ body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider {
309
+ background: #B0B0B0;
310
+ }
311
+ #wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before,
312
+ body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before {
313
+ color: #CCC;
314
+ }
315
+ #wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after,
316
+ body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after {
317
  color: #000;
318
  }
319
  #wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper,
inc/external/wpmu-lib/css/wpmu-html.2.min.css CHANGED
@@ -1,5 +1,5 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
5
- #wpwrap,body{}#wpwrap .wpmui-field-description,body .wpmui-field-description{display:block;margin:10px 4px 10px 0;color:#666;font-size:.9em;font-weight:400}#wpwrap .wpmui-field-input,#wpwrap .wpmui-field-button,body .wpmui-field-input,body .wpmui-field-button{margin-top:6px;margin-bottom:6px;vertical-align:top}#wpwrap .wpmui-field-input.button,#wpwrap .wpmui-field-input.button-primary,#wpwrap .wpmui-field-button,body .wpmui-field-input.button,body .wpmui-field-input.button-primary,body .wpmui-field-button{margin-right:6px}#wpwrap .wpmui-field-label,body .wpmui-field-label{display:block;clear:both;margin:2px 0;font-style:normal;color:#222}#wpwrap h3.wpmui-field-label,body h3.wpmui-field-label{margin-bottom:10px}#wpwrap .wpmui-label-before,#wpwrap .wpmui-label-after,body .wpmui-label-before,body .wpmui-label-after{display:inline-block;margin:6px;line-height:28px;vertical-align:top}#wpwrap .wpmui-label-before .wpmui-field-input,#wpwrap .wpmui-label-before .wpmui-field-button,#wpwrap .wpmui-label-after .wpmui-field-input,#wpwrap .wpmui-label-after .wpmui-field-button,body .wpmui-label-before .wpmui-field-input,body .wpmui-label-before .wpmui-field-button,body .wpmui-label-after .wpmui-field-input,body .wpmui-label-after .wpmui-field-button{margin-top:0;margin-bottom:0}#wpwrap .wpmui-label-before,body .wpmui-label-before{margin-left:0}#wpwrap .widget-content .wpmui-wrapper,body .widget-content .wpmui-wrapper{display:block;margin:1em 0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-label,body .widget-content .wpmui-wrapper .wpmui-field-label{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-description,body .widget-content .wpmui-wrapper .wpmui-field-description{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-input,#wpwrap .widget-content .wpmui-wrapper .wpmui-field-button,body .widget-content .wpmui-wrapper .wpmui-field-input,body .widget-content .wpmui-wrapper .wpmui-field-button{margin-top:4px;margin-bottom:0}#wpwrap .wpmui-separator,body .wpmui-separator{border-bottom:1px solid #E5E5E5;margin:15px 0}#wpwrap .wpmui-divider,body .wpmui-divider{position:absolute;right:20px;top:0;bottom:0;border-right:1px solid #E5E5E5}#wpwrap .wpmui-hidden,body .wpmui-hidden{display:none;visibility:hidden}#wpwrap .wpmui-fa,body .wpmui-fa{font-family:Fontawesome420!important}#wpwrap .no-click,body .no-click{cursor:default}#wpwrap .wpmui-field-checkbox,body .wpmui-field-checkbox{margin:6px 4px 0 0;position:absolute;left:0;top:0}#wpwrap .wpmui-checkbox-wrapper,body .wpmui-checkbox-wrapper{margin:6px auto;position:relative;display:inline-block;line-height:28px}#wpwrap .wpmui-checkbox-wrapper .wpmui-checkbox-caption,body .wpmui-checkbox-wrapper .wpmui-checkbox-caption{padding-left:24px;font-weight:500}#wpwrap .wpmui-checkbox-list,body .wpmui-checkbox-list{border:1px solid #e5e5e5;padding:0 5px;background:#FFF;max-height:320px;overflow:auto}#wpwrap .wpmui-checkbox-list .wpmui-checkbox-wrapper,body .wpmui-checkbox-list .wpmui-checkbox-wrapper{margin:0}#wpwrap .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption{padding:0}#wpwrap .wpmui-checkbox-list .wpmui-group,body .wpmui-checkbox-list .wpmui-group{margin-bottom:10px}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption{font-weight:600}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-child,body .wpmui-checkbox-list .wpmui-group .wpmui-child{margin-left:24px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-after{line-height:18px;margin-top:3px;margin-bottom:3px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-before{font-weight:700;color:#000}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-after{font-weight:400;color:#888}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.on .wpmui-label-before{font-weight:400;color:#888}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.on .wpmui-label-after{font-weight:700;color:#000}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper,body .wpmui-radio-slider-wrapper.inp-before-wrapper{position:relative;display:block}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label{margin-left:50px}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider{position:absolute;left:0;top:0}.wpmui-html-table{width:100%;clear:both;margin:10px 0;background:#FFF;border:1px solid #e5e5e5;border-spacing:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpmui-html-table td,.wpmui-html-table th{line-height:24px;padding:8px 6px;vertical-align:top;font-size:12px;overflow:hidden;color:#555}.wpmui-html-table thead tr th{border-bottom:1px solid #e1e1e1;color:#333}
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
5
+ #wpwrap,body{}#wpwrap .wpmui-input-wrapper.wpmui-loading>*,body .wpmui-input-wrapper.wpmui-loading>*{opacity:.25;cursor:default}#wpwrap .wpmui-input-wrapper.wpmui-loading .wpmui-field-input,body .wpmui-input-wrapper.wpmui-loading .wpmui-field-input{background-color:#E5E5E5}#wpwrap .wpmui-input-wrapper.wpmui-loading:after,body .wpmui-input-wrapper.wpmui-loading:after{top:5px;bottom:5px;background-color:transparent}#wpwrap .wpmui-field-description,body .wpmui-field-description{display:block;margin:10px 4px 10px 0;color:#666;font-size:.9em;font-weight:400}#wpwrap .wpmui-field-input,#wpwrap .wpmui-field-button,body .wpmui-field-input,body .wpmui-field-button{margin-top:6px;margin-bottom:6px;vertical-align:top;display:inline-block;position:relative}#wpwrap .wpmui-field-input.button,#wpwrap .wpmui-field-input.button-primary,#wpwrap .wpmui-field-button,body .wpmui-field-input.button,body .wpmui-field-input.button-primary,body .wpmui-field-button{margin-right:6px}#wpwrap .wpmui-field-label,body .wpmui-field-label{display:block;clear:both;margin:2px 0;font-style:normal;color:#222}#wpwrap .wpmui-field-label.inline-label,body .wpmui-field-label.inline-label{display:inline-block;margin:6px 10px 6px 0}#wpwrap h3.wpmui-field-label,body h3.wpmui-field-label{margin-bottom:10px}#wpwrap .wpmui-label-before,#wpwrap .wpmui-label-after,body .wpmui-label-before,body .wpmui-label-after{display:inline-block;margin:6px;line-height:28px;vertical-align:top}#wpwrap .wpmui-label-before .wpmui-field-input,#wpwrap .wpmui-label-before .wpmui-field-button,#wpwrap .wpmui-label-after .wpmui-field-input,#wpwrap .wpmui-label-after .wpmui-field-button,body .wpmui-label-before .wpmui-field-input,body .wpmui-label-before .wpmui-field-button,body .wpmui-label-after .wpmui-field-input,body .wpmui-label-after .wpmui-field-button{margin-top:0;margin-bottom:0}#wpwrap .wpmui-label-before,body .wpmui-label-before{margin-left:0}#wpwrap .widget-content .wpmui-wrapper,body .widget-content .wpmui-wrapper{display:block;margin:1em 0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-label,body .widget-content .wpmui-wrapper .wpmui-field-label{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-description,body .widget-content .wpmui-wrapper .wpmui-field-description{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-input,#wpwrap .widget-content .wpmui-wrapper .wpmui-field-button,body .widget-content .wpmui-wrapper .wpmui-field-input,body .widget-content .wpmui-wrapper .wpmui-field-button{margin-top:4px;margin-bottom:0}#wpwrap .wpmui-separator,body .wpmui-separator{border-bottom:1px solid #E5E5E5;margin:15px 0}#wpwrap .wpmui-divider,body .wpmui-divider{position:absolute;right:20px;top:0;bottom:0;border-right:1px solid #E5E5E5}#wpwrap .wpmui-hidden,body .wpmui-hidden{display:none;visibility:hidden}#wpwrap .wpmui-fa,body .wpmui-fa{font-family:Fontawesome420!important}#wpwrap .no-click,body .no-click{cursor:default}#wpwrap .wpmui-html-text-wrapper label,body .wpmui-html-text-wrapper label{cursor:default}#wpwrap .wpmui-field-checkbox,body .wpmui-field-checkbox{margin:6px 4px 0 0;position:absolute;left:0;top:0}#wpwrap .wpmui-checkbox-wrapper,body .wpmui-checkbox-wrapper{margin:6px auto;position:relative;display:inline-block;line-height:28px}#wpwrap .wpmui-checkbox-wrapper .wpmui-checkbox-caption,body .wpmui-checkbox-wrapper .wpmui-checkbox-caption{padding-left:24px;font-weight:500}#wpwrap .wpmui-checkbox-list,body .wpmui-checkbox-list{border:1px solid #e5e5e5;padding:0 5px;background:#FFF;max-height:320px;overflow:auto}#wpwrap .wpmui-checkbox-list .wpmui-checkbox-wrapper,body .wpmui-checkbox-list .wpmui-checkbox-wrapper{margin:0}#wpwrap .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption{padding:0}#wpwrap .wpmui-checkbox-list .wpmui-group,body .wpmui-checkbox-list .wpmui-group{margin-bottom:10px}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption{font-weight:600}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-child,body .wpmui-checkbox-list .wpmui-group .wpmui-child{margin-left:24px}#wpwrap .wpmui-radio-slider-wrapper,body .wpmui-radio-slider-wrapper{clear:both}#wpwrap .wpmui-radio-slider-wrapper .wpmui-field-label,body .wpmui-radio-slider-wrapper .wpmui-field-label{cursor:default}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-after{line-height:18px;margin-top:3px;margin-bottom:3px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:relative;display:inline-block;width:40px;height:18px;margin:3px 0;border-radius:10px;background:#b0b0b0;opacity:.8;overflow:visible;cursor:pointer}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover,body .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover{opacity:1}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover{opacity:.5;cursor:default}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle{opacity:.7}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on,body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on{background:#6BBB1A}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle{left:21px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle{position:absolute;display:inline-block;left:0;width:12px;height:12px;margin:3px;background:#F4F4F4;border-radius:50%;transition:all .2s ease-in-out}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-before{color:#000}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-after{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.on .wpmui-label-before{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.on .wpmui-label-after{color:#390}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider{background:#6BBB1A}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before{color:#390}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider{background:#B0B0B0}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after{color:#000}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper,body .wpmui-radio-slider-wrapper.inp-before-wrapper{position:relative;display:block}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label{margin-left:50px}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider{position:absolute;left:0;top:0}.wpmui-html-table{width:100%;clear:both;margin:10px 0;background:#FFF;border:1px solid #e5e5e5;border-spacing:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpmui-html-table td,.wpmui-html-table th{line-height:24px;padding:8px 6px;vertical-align:top;font-size:12px;overflow:hidden;color:#555}.wpmui-html-table thead tr th{border-bottom:1px solid #e1e1e1;color:#333}
inc/external/wpmu-lib/css/wpmu-ui.2.css CHANGED
@@ -5,6 +5,7 @@
5
  * This library provides a Javascript API via the global wpmuUI object.
6
  *
7
  * Content:
 
8
  * 01. Modal overlays
9
  * 02. Popup Windows
10
  * 03. Messages
@@ -17,8 +18,14 @@
17
  * 10. Select2
18
  * 11. On Off Switch
19
  * 12. Confirmation
 
20
  * 99. General Styles
21
  */
 
 
 
 
 
22
  /**
23
  * =============================================================================
24
  * == 01. MODAL OVERLAYS
@@ -27,17 +34,27 @@
27
  .wpmui-loading {
28
  position: relative;
29
  }
30
-
31
  .wpmui-loading:after {
32
  content: '';
33
  position: absolute;
34
- left: 0;
35
- top: 0;
36
- right: 0;
37
- bottom: 0;
38
  background: rgba(255, 255, 255, 0.8) url(../img/spinner.gif) center no-repeat;
39
  z-index: 1000;
40
  cursor: default;
 
 
 
 
 
 
 
 
 
 
 
41
  }
42
 
43
  .wpmui-overlay {
@@ -462,6 +479,7 @@
462
  .wpmui-grid-12 [class*='col-'] {
463
  float: left;
464
  padding-right: 20px;
 
465
  }
466
 
467
  .wpmui-grid-8 [class*='col-']:last-of-type,
@@ -899,6 +917,60 @@
899
  margin-left: 10px;
900
  }
901
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
902
  /**
903
  * =============================================================================
904
  * == 99. GENERAL STYLES
5
  * This library provides a Javascript API via the global wpmuUI object.
6
  *
7
  * Content:
8
+ * 00. Settings
9
  * 01. Modal overlays
10
  * 02. Popup Windows
11
  * 03. Messages
18
  * 10. Select2
19
  * 11. On Off Switch
20
  * 12. Confirmation
21
+ * 13. Progress Bar
22
  * 99. General Styles
23
  */
24
+ /**
25
+ * =============================================================================
26
+ * == 00. SETTINGS
27
+ * =============================================================================
28
+ */
29
  /**
30
  * =============================================================================
31
  * == 01. MODAL OVERLAYS
34
  .wpmui-loading {
35
  position: relative;
36
  }
 
37
  .wpmui-loading:after {
38
  content: '';
39
  position: absolute;
40
+ left: -1px;
41
+ top: -1px;
42
+ right: -1px;
43
+ bottom: -1px;
44
  background: rgba(255, 255, 255, 0.8) url(../img/spinner.gif) center no-repeat;
45
  z-index: 1000;
46
  cursor: default;
47
+ min-width: 20px;
48
+ min-height: 20px;
49
+ }
50
+
51
+ .wpmui-loading-icon {
52
+ display: inline-block;
53
+ width: 20px;
54
+ height: 20px;
55
+ line-height: 20px;
56
+ vertical-align: middle;
57
+ background: transparent url(../img/spinner.gif) center no-repeat;
58
  }
59
 
60
  .wpmui-overlay {
479
  .wpmui-grid-12 [class*='col-'] {
480
  float: left;
481
  padding-right: 20px;
482
+ position: relative;
483
  }
484
 
485
  .wpmui-grid-8 [class*='col-']:last-of-type,
917
  margin-left: 10px;
918
  }
919
 
920
+ /**
921
+ * =============================================================================
922
+ * == 13. PROGRESS BAR
923
+ * =============================================================================
924
+ */
925
+ .wpmui-progress-wrap {
926
+ position: relative;
927
+ width: 100%;
928
+ }
929
+ .wpmui-progress-wrap .wpmui-progress-full {
930
+ background: rgba(255, 255, 255, 0.7);
931
+ width: 100%;
932
+ border-radius: 2px;
933
+ box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.1);
934
+ }
935
+ .wpmui-progress-wrap .wpmui-progress {
936
+ background: #369;
937
+ border-radius: 2px;
938
+ height: 28px;
939
+ transition: width .25s;
940
+ }
941
+ .wpmui-progress-wrap .wpmui-progress-percent {
942
+ position: absolute;
943
+ left: 0;
944
+ right: 0;
945
+ top: 0;
946
+ line-height: 28px;
947
+ font-size: 13px;
948
+ text-align: center;
949
+ color: #FFF;
950
+ text-shadow: 0 0 5px #264c73;
951
+ }
952
+ .wpmui-progress-wrap .wpmui-progress-percent:before {
953
+ content: '';
954
+ position: absolute;
955
+ left: 50%;
956
+ width: 30px;
957
+ height: 10px;
958
+ top: 50%;
959
+ border-radius: 5px;
960
+ margin-top: -5px;
961
+ margin-left: -15px;
962
+ box-shadow: 0 0 8px 4px #264c73;
963
+ background: #264c73;
964
+ z-index: -1;
965
+ opacity: .5;
966
+ }
967
+ .wpmui-progress-wrap .wpmui-progress-label {
968
+ font-size: 12px;
969
+ margin-top: 6px;
970
+ color: #888;
971
+ text-align: right;
972
+ }
973
+
974
  /**
975
  * =============================================================================
976
  * == 99. GENERAL STYLES
inc/external/wpmu-lib/css/wpmu-ui.2.min.css CHANGED
@@ -1,5 +1,5 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
5
- .wpmui-loading{position:relative}.wpmui-loading:after{content:'';position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,.8) url(../img/spinner.gif) center no-repeat;z-index:1000;cursor:default}.wpmui-overlay{background:#000;opacity:.7;position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:none}.wpmui-overlay.light{opacity:.25}.wpmui-has-overlay .wpmui-overlay{display:block}.wpmui-has-overlay #wpwrap{-webkit-filter:grayscale(75%);-moz-filter:grayscale(75%);filter:gray;filter:grayscale(75%)}.wpmui-has-overlay #wpbody{-webkit-filter:blur(3px);-moz-filter:blur(3px);filter:blur(3px)}.wpmui-has-overlay.no-blur #wpbody{-webkit-filter:blur(0);-moz-filter:blur(0);filter:blur(0)}.wpmui-no-scroll{overflow:hidden}.wpmui-blur{-webkit-filter:blur(3px) grayscale(75%);-moz-filter:blur(3px) grayscale(75%);filter:blur(3px) grayscale(75%);position:relative}.wpmui-blur:before{content:'';position:absolute;left:0;top:0;right:0;bottom:0;z-index:10}.wpmui-wnd{background:#F5F5F5;position:fixed;box-shadow:0 2px 20px rgba(0,0,0,.4);z-index:10000;top:50%;left:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-wnd .wpmui-wnd-title{line-height:50px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 70px 0 20px;border-bottom:1px solid #E5E5E5;background:#F8F8F8;min-height:50px;display:block;font-size:23px;font-weight:100;z-index:5}.wpmui-wnd .wpmui-wnd-close{position:absolute;top:0;right:0;width:50px;line-height:50px;height:50px;text-align:center;text-decoration:none;color:#666;border-left:1px solid #E5E5E5;cursor:pointer;z-index:10}.wpmui-wnd .wpmui-wnd-close:hover,.wpmui-wnd .wpmui-wnd-close:focus,.wpmui-wnd .wpmui-wnd-close:active{background:#FCFCFC;color:#333}.wpmui-wnd .wpmui-wnd-close .dashicons{line-height:50px}.wpmui-wnd .wpmui-wnd-content{position:absolute;left:0;right:0;bottom:0;overflow:auto;padding:20px;z-index:1}.wpmui-wnd .wpmui-wnd-content:after{content:'';display:block;clear:both;padding:50px 0 0}.wpmui-wnd.no-buttons .wpmui-wnd-content:after{padding-top:0}.wpmui-wnd.no-close .wpmui-wnd-title{padding:0 20px}.wpmui-wnd.no-close .wpmui-wnd-close{display:none}.wpmui-wnd hr{margin:15px -20px;border:0;border-top:1px solid #E5E5E5}.wpmui-wnd .buttons{text-align:right;position:absolute;bottom:0;right:0;background:rgba(245,245,245,.8);padding:10px 20px;left:0;height:50px;border-top:1px solid #E5E5E5;margin:0;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg{position:relative;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg .wpmui-close{float:right;margin-top:8px;width:20px;height:20px;line-height:20px;text-align:center;cursor:pointer;text-decoration:none;font-size:16px;padding:0;color:#CCC}.wpmui-msg .wpmui-close:hover,.wpmui-msg .wpmui-close:focus,.wpmui-msg .wpmui-close:active{color:#333}.wpmui-msg .debug{padding:5px;color:#666;font-size:12px;font-family:monospace;margin-bottom:.5em;background:#F8F8F8}.wpmui-tip-box{position:relative}.wpmui-tip{position:absolute;display:none;padding:8px;z-index:100;background:#333;color:#EEE;box-shadow:0 1px 8px rgba(0,0,0,.4);border-radius:2px}.wpmui-tip.wpmui-visible{display:block}.wpmui-tip:before{content:'';position:absolute;border:5px solid transparent;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.wpmui-tip.top:before{border-top-color:#333;bottom:-10px;top:auto}.wpmui-tip.bottom:before{border-bottom-color:#333;top:-5px}.wpmui-tip.left:before{border-left-color:#333;right:-10px;left:auto}.wpmui-tip.right:before{border-right-color:#333;left:-5px}.wpmui-pointer.wp-pointer-left{margin-top:30px}.wpmui-pointer.wp-pointer-left h3{background:transparent;color:#333;border:0;margin:0;padding:13px 20px 5px;font-size:13px}.wpmui-pointer.wp-pointer-left h3:before{content:'';display:none}.wpmui-pointer.wp-pointer-left p{padding:0 20px;margin:2px 0;font-size:12px}.wpmui-pointer.wp-pointer-left .wp-pointer-content{background:#FAFDFF;border-radius:4px;border:1px solid #ccc;box-shadow:0 1px 8px -2px rgba(0,0,0,.35);padding:0 0 15px}.wpmui-pointer.wp-pointer-left.no-title{margin-top:13px}.wpmui-pointer.wp-pointer-left.no-title .wp-pointer-content{padding-top:17px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons{position:absolute;top:0;right:0;white-space:nowrap;padding:5px 10px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close{font-size:1px;color:transparent;width:10px;padding:0}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close:before{position:static;float:right;line-height:14px;margin:3px 0 1px 5px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow{border:0;position:absolute;top:50%;left:0;margin:-6px 0 0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before,.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{content:'';border:6px solid transparent;margin:0;left:-10px;position:absolute;top:0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before{border-right-color:#CCC;left:-11px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{border-right-color:#FAFDFF}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow-inner{display:none}.wpmui-pointer.wp-pointer-left.wp-pointer-left{padding-left:8px;margin-left:-12px}.wpmui-pointer.wp-pointer-left.wp-pointer-left .wp-pointer-arrow{left:8px}.wpmui-form label{display:block;line-height:26px;font-size:14px;font-weight:500}.wpmui-form input[type=text],.wpmui-form input[type=password],.wpmui-form textarea,.wpmui-form select{width:100%;margin:0;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-form .hint{color:#666;font-size:12px}#wpwrap .button-link,.wpmui-form .button-link,.wpmui-wnd .button-link{display:inline-block;text-decoration:underline;font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;cursor:pointer;white-space:nowrap;color:#0074A2;background:transparent;border:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}#wpwrap .button-link:hover,#wpwrap .button-link:active,#wpwrap .button-link:focus,.wpmui-form .button-link:hover,.wpmui-form .button-link:active,.wpmui-form .button-link:focus,.wpmui-wnd .button-link:hover,.wpmui-wnd .button-link:active,.wpmui-wnd .button-link:focus{color:#2EA2CC}.wpmui-grid-8 *,.wpmui-grid-12 *,.wpmui-grid-8 :after,.wpmui-grid-12 :after,.wpmui-grid-8 :before,.wpmui-grid-12 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{float:left;padding-right:20px}.wpmui-grid-8 [class*=col-]:last-of-type,.wpmui-grid-12 [class*=col-]:last-of-type{padding-right:0}.wpmui-grid-8,.wpmui-grid-12{width:100%;margin:0;overflow:hidden;padding:10px 0 0}.wpmui-grid-8:after,.wpmui-grid-12:after{content:'';display:table;clear:both}.wpmui-grid-8 .col-8,.wpmui-grid-12 .col-12{width:100%}.wpmui-grid-12 .col-11{width:91.66%}.wpmui-grid-8 .col-7{width:87.5%}.wpmui-grid-12 .col-10{width:83.333%}.wpmui-grid-8 .col-6,.wpmui-grid-12 .col-9{width:75%}.wpmui-grid-12 .col-8{width:66.66%}.wpmui-grid-8 .col-5{width:62.5%}.wpmui-grid-12 .col-7{width:58.33%}.wpmui-grid-8 .col-4,.wpmui-grid-12 .col-6{width:50%}.wpmui-grid-12 .col-5{width:41.66%}.wpmui-grid-8 .col-3{width:37.5%}.wpmui-grid-12 .col-4{width:33.33%}.wpmui-grid-8 .col-2,.wpmui-grid-12 .col-3{width:25%}.wpmui-grid-12 .col-2{width:16.667%}.wpmui-grid-8 .col-1{width:12.5%}.wpmui-grid-12 .col-1{width:8.33%}@media handheld,only screen and (max-width:767px){.wpmui-grid-8,.wpmui-grid-12{width:100%;min-width:0;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{width:auto;float:none;margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px;padding-left:20px;padding-right:20px}}.wpmui-box{margin-bottom:10px;padding:0;line-height:1;position:relative;min-width:255px;border:1px solid #E5E5E5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#FFF}.wpmui-box>h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;border-bottom:1px solid #EEE;cursor:pointer}.wpmui-box>h3 .toggle{cursor:pointer;float:right;width:36px;height:36px;color:#AAA;text-decoration:none;margin:-8px -12px;text-align:center;position:relative;line-height:36px}.wpmui-box>h3:hover .toggle,.wpmui-box .toggle:hover,.wpmui-box .toggle:focus,.wpmui-box .toggle:active{color:#777}.wpmui-box>h3 .toggle:before{content:'\f142';font:400 20px/36px dashicons;speak:none;display:inline-block;position:absolute;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;width:100%;height:100%;top:0;right:0}.wpmui-box>.inside{margin:6px 0 0;position:relative;padding:0 12px 12px;line-height:1.4em;font-size:13px}.wpmui-box>.inside:after{content:'';display:table;clear:both}.wpmui-box.closed>h3 .toggle:before{content:'\f140'}.wpmui-box.closed>.inside{display:none}.wpmui-box.static>h3{cursor:default}.wpmui-box.static>h3 .toggle{display:none}.wpmui-box.static>.inside{display:block}.wpmui-tabs{border-bottom:1px solid #EEE;padding-bottom:0;padding-left:10px;list-style:none;margin:20px 0 0}.wpmui-tabs .tab{border:1px solid #EEE;background:#F0F0F0;color:#999;display:inline-block;text-decoration:none;margin:0 4px -1px 0;padding:0 12px;font-weight:600;font-size:13px;line-height:34px}.wpmui-tabs .tab:hover,.wpmui-tabs .tab:focus,.wpmui-tabs .tab:active{background:#F4F4F4;color:#777}.wpmui-tabs .tab.active{border-bottom:1px solid #FFF;background:#FFF;color:#444}.wpmui-tab-contents{padding:12px}.wpmui-tab-contents .tab{display:none}.wpmui-tab-contents .tab.active{display:block}.wpmui-box>.inside>.wpmui-tabs{margin-left:-12px;margin-right:-12px;padding-left:22px}.wpmui-box>.inside>.wpmui-tab-contents{margin-left:-12px;margin-right:-12px;margin-bottom:-12px}.select2-container a{transition:none!important}.select2-drop{z-index:1000500!important}.select2-drop-mask{z-index:1000499!important}.wpmui-toggle{position:relative;width:26px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.wpmui-toggle-checkbox{display:none!important}.wpmui-toggle-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #CCC;border-radius:50px}.wpmui-toggle-inner{display:block;width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.wpmui-toggle-inner:before,.wpmui-toggle-inner:after{display:block;float:left;width:50%;height:5px;padding:0;line-height:5px;font-size:10px;color:#fff;font-family:Trebuchet,Arial,sans-serif;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;box-shadow:0 1px 0 rgba(0,0,0,.2) inset}.wpmui-toggle-inner:before{content:"";padding-left:5px;background-color:#0074A2}.wpmui-toggle-inner:after{content:"";padding-right:5px;background-color:#EEE;text-align:right}.wpmui-toggle-switch{display:block;width:14px;margin:-3.5px;background:#F8F8F8;border:1px solid #CCC;border-radius:15px;position:absolute;top:0;bottom:0;right:20px;-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s;box-shadow:-1px 1px 2px rgba(0,0,0,.1)}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-inner{margin-left:0}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.wpmui-confirm-modal{left:0;top:0;right:0;bottom:0;z-index:99998;background:#000;opacity:.4}.wpmui-confirm-box{top:25%;width:580px;padding:20px 20px 0;left:50%;margin-left:-310px;z-index:99999;background:#FFF;box-shadow:0 0 10px rgba(0,0,0,.4)}.wpmui-confirm-box .wpmui-confirm-btn{margin:10px -20px 0;padding:10px 20px;text-align:right;background:#FAFAFA;border-top:1px solid #E5E5E5}.wpmui-confirm-box .wpmui-confirm-btn button{margin-left:10px}.no-pad-top{padding-top:0!important;margin-top:0!important}.no-pad-bottom{padding-bottom:0!important;margin-bottom:0!important}.no-pad{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}.dashicons.light{opacity:.5}.cf:before,.cf:after{content:'';display:table}.cf:after{clear:both}.wpmui-left{float:left}.wpmui-right{float:right}.button .dashicons,.button-primary .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
5
+ .wpmui-loading{position:relative}.wpmui-loading:after{content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;background:rgba(255,255,255,.8) url(../img/spinner.gif) center no-repeat;z-index:1000;cursor:default;min-width:20px;min-height:20px}.wpmui-loading-icon{display:inline-block;width:20px;height:20px;line-height:20px;vertical-align:middle;background:transparent url(../img/spinner.gif) center no-repeat}.wpmui-overlay{background:#000;opacity:.7;position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:none}.wpmui-overlay.light{opacity:.25}.wpmui-has-overlay .wpmui-overlay{display:block}.wpmui-has-overlay #wpwrap{-webkit-filter:grayscale(75%);-moz-filter:grayscale(75%);filter:gray;filter:grayscale(75%)}.wpmui-has-overlay #wpbody{-webkit-filter:blur(3px);-moz-filter:blur(3px);filter:blur(3px)}.wpmui-has-overlay.no-blur #wpbody{-webkit-filter:blur(0);-moz-filter:blur(0);filter:blur(0)}.wpmui-no-scroll{overflow:hidden}.wpmui-blur{-webkit-filter:blur(3px) grayscale(75%);-moz-filter:blur(3px) grayscale(75%);filter:blur(3px) grayscale(75%);position:relative}.wpmui-blur:before{content:'';position:absolute;left:0;top:0;right:0;bottom:0;z-index:10}.wpmui-wnd{background:#F5F5F5;position:fixed;box-shadow:0 2px 20px rgba(0,0,0,.4);z-index:10000;top:50%;left:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-wnd .wpmui-wnd-title{line-height:50px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 70px 0 20px;border-bottom:1px solid #E5E5E5;background:#F8F8F8;min-height:50px;display:block;font-size:23px;font-weight:100;z-index:5}.wpmui-wnd .wpmui-wnd-close{position:absolute;top:0;right:0;width:50px;line-height:50px;height:50px;text-align:center;text-decoration:none;color:#666;border-left:1px solid #E5E5E5;cursor:pointer;z-index:10}.wpmui-wnd .wpmui-wnd-close:hover,.wpmui-wnd .wpmui-wnd-close:focus,.wpmui-wnd .wpmui-wnd-close:active{background:#FCFCFC;color:#333}.wpmui-wnd .wpmui-wnd-close .dashicons{line-height:50px}.wpmui-wnd .wpmui-wnd-content{position:absolute;left:0;right:0;bottom:0;overflow:auto;padding:20px;z-index:1}.wpmui-wnd .wpmui-wnd-content:after{content:'';display:block;clear:both;padding:50px 0 0}.wpmui-wnd.no-buttons .wpmui-wnd-content:after{padding-top:0}.wpmui-wnd.no-close .wpmui-wnd-title{padding:0 20px}.wpmui-wnd.no-close .wpmui-wnd-close{display:none}.wpmui-wnd hr{margin:15px -20px;border:0;border-top:1px solid #E5E5E5}.wpmui-wnd .buttons{text-align:right;position:absolute;bottom:0;right:0;background:rgba(245,245,245,.8);padding:10px 20px;left:0;height:50px;border-top:1px solid #E5E5E5;margin:0;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg{position:relative;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg .wpmui-close{float:right;margin-top:8px;width:20px;height:20px;line-height:20px;text-align:center;cursor:pointer;text-decoration:none;font-size:16px;padding:0;color:#CCC}.wpmui-msg .wpmui-close:hover,.wpmui-msg .wpmui-close:focus,.wpmui-msg .wpmui-close:active{color:#333}.wpmui-msg .debug{padding:5px;color:#666;font-size:12px;font-family:monospace;margin-bottom:.5em;background:#F8F8F8}.wpmui-tip-box{position:relative}.wpmui-tip{position:absolute;display:none;padding:8px;z-index:100;background:#333;color:#EEE;box-shadow:0 1px 8px rgba(0,0,0,.4);border-radius:2px}.wpmui-tip.wpmui-visible{display:block}.wpmui-tip:before{content:'';position:absolute;border:5px solid transparent;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.wpmui-tip.top:before{border-top-color:#333;bottom:-10px;top:auto}.wpmui-tip.bottom:before{border-bottom-color:#333;top:-5px}.wpmui-tip.left:before{border-left-color:#333;right:-10px;left:auto}.wpmui-tip.right:before{border-right-color:#333;left:-5px}.wpmui-pointer.wp-pointer-left{margin-top:30px}.wpmui-pointer.wp-pointer-left h3{background:transparent;color:#333;border:0;margin:0;padding:13px 20px 5px;font-size:13px}.wpmui-pointer.wp-pointer-left h3:before{content:'';display:none}.wpmui-pointer.wp-pointer-left p{padding:0 20px;margin:2px 0;font-size:12px}.wpmui-pointer.wp-pointer-left .wp-pointer-content{background:#FAFDFF;border-radius:4px;border:1px solid #ccc;box-shadow:0 1px 8px -2px rgba(0,0,0,.35);padding:0 0 15px}.wpmui-pointer.wp-pointer-left.no-title{margin-top:13px}.wpmui-pointer.wp-pointer-left.no-title .wp-pointer-content{padding-top:17px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons{position:absolute;top:0;right:0;white-space:nowrap;padding:5px 10px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close{font-size:1px;color:transparent;width:10px;padding:0}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close:before{position:static;float:right;line-height:14px;margin:3px 0 1px 5px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow{border:0;position:absolute;top:50%;left:0;margin:-6px 0 0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before,.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{content:'';border:6px solid transparent;margin:0;left:-10px;position:absolute;top:0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before{border-right-color:#CCC;left:-11px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{border-right-color:#FAFDFF}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow-inner{display:none}.wpmui-pointer.wp-pointer-left.wp-pointer-left{padding-left:8px;margin-left:-12px}.wpmui-pointer.wp-pointer-left.wp-pointer-left .wp-pointer-arrow{left:8px}.wpmui-form label{display:block;line-height:26px;font-size:14px;font-weight:500}.wpmui-form input[type=text],.wpmui-form input[type=password],.wpmui-form textarea,.wpmui-form select{width:100%;margin:0;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-form .hint{color:#666;font-size:12px}#wpwrap .button-link,.wpmui-form .button-link,.wpmui-wnd .button-link{display:inline-block;text-decoration:underline;font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;cursor:pointer;white-space:nowrap;color:#0074A2;background:transparent;border:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}#wpwrap .button-link:hover,#wpwrap .button-link:active,#wpwrap .button-link:focus,.wpmui-form .button-link:hover,.wpmui-form .button-link:active,.wpmui-form .button-link:focus,.wpmui-wnd .button-link:hover,.wpmui-wnd .button-link:active,.wpmui-wnd .button-link:focus{color:#2EA2CC}.wpmui-grid-8 *,.wpmui-grid-12 *,.wpmui-grid-8 :after,.wpmui-grid-12 :after,.wpmui-grid-8 :before,.wpmui-grid-12 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{float:left;padding-right:20px;position:relative}.wpmui-grid-8 [class*=col-]:last-of-type,.wpmui-grid-12 [class*=col-]:last-of-type{padding-right:0}.wpmui-grid-8,.wpmui-grid-12{width:100%;margin:0;overflow:hidden;padding:10px 0 0}.wpmui-grid-8:after,.wpmui-grid-12:after{content:'';display:table;clear:both}.wpmui-grid-8 .col-8,.wpmui-grid-12 .col-12{width:100%}.wpmui-grid-12 .col-11{width:91.66%}.wpmui-grid-8 .col-7{width:87.5%}.wpmui-grid-12 .col-10{width:83.333%}.wpmui-grid-8 .col-6,.wpmui-grid-12 .col-9{width:75%}.wpmui-grid-12 .col-8{width:66.66%}.wpmui-grid-8 .col-5{width:62.5%}.wpmui-grid-12 .col-7{width:58.33%}.wpmui-grid-8 .col-4,.wpmui-grid-12 .col-6{width:50%}.wpmui-grid-12 .col-5{width:41.66%}.wpmui-grid-8 .col-3{width:37.5%}.wpmui-grid-12 .col-4{width:33.33%}.wpmui-grid-8 .col-2,.wpmui-grid-12 .col-3{width:25%}.wpmui-grid-12 .col-2{width:16.667%}.wpmui-grid-8 .col-1{width:12.5%}.wpmui-grid-12 .col-1{width:8.33%}@media handheld,only screen and (max-width:767px){.wpmui-grid-8,.wpmui-grid-12{width:100%;min-width:0;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{width:auto;float:none;margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px;padding-left:20px;padding-right:20px}}.wpmui-box{margin-bottom:10px;padding:0;line-height:1;position:relative;min-width:255px;border:1px solid #E5E5E5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#FFF}.wpmui-box>h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;border-bottom:1px solid #EEE;cursor:pointer}.wpmui-box>h3 .toggle{cursor:pointer;float:right;width:36px;height:36px;color:#AAA;text-decoration:none;margin:-8px -12px;text-align:center;position:relative;line-height:36px}.wpmui-box>h3:hover .toggle,.wpmui-box .toggle:hover,.wpmui-box .toggle:focus,.wpmui-box .toggle:active{color:#777}.wpmui-box>h3 .toggle:before{content:'\f142';font:400 20px/36px dashicons;speak:none;display:inline-block;position:absolute;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;width:100%;height:100%;top:0;right:0}.wpmui-box>.inside{margin:6px 0 0;position:relative;padding:0 12px 12px;line-height:1.4em;font-size:13px}.wpmui-box>.inside:after{content:'';display:table;clear:both}.wpmui-box.closed>h3 .toggle:before{content:'\f140'}.wpmui-box.closed>.inside{display:none}.wpmui-box.static>h3{cursor:default}.wpmui-box.static>h3 .toggle{display:none}.wpmui-box.static>.inside{display:block}.wpmui-tabs{border-bottom:1px solid #EEE;padding-bottom:0;padding-left:10px;list-style:none;margin:20px 0 0}.wpmui-tabs .tab{border:1px solid #EEE;background:#F0F0F0;color:#999;display:inline-block;text-decoration:none;margin:0 4px -1px 0;padding:0 12px;font-weight:600;font-size:13px;line-height:34px}.wpmui-tabs .tab:hover,.wpmui-tabs .tab:focus,.wpmui-tabs .tab:active{background:#F4F4F4;color:#777}.wpmui-tabs .tab.active{border-bottom:1px solid #FFF;background:#FFF;color:#444}.wpmui-tab-contents{padding:12px}.wpmui-tab-contents .tab{display:none}.wpmui-tab-contents .tab.active{display:block}.wpmui-box>.inside>.wpmui-tabs{margin-left:-12px;margin-right:-12px;padding-left:22px}.wpmui-box>.inside>.wpmui-tab-contents{margin-left:-12px;margin-right:-12px;margin-bottom:-12px}.select2-container a{transition:none!important}.select2-drop{z-index:1000500!important}.select2-drop-mask{z-index:1000499!important}.wpmui-toggle{position:relative;width:26px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.wpmui-toggle-checkbox{display:none!important}.wpmui-toggle-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #CCC;border-radius:50px}.wpmui-toggle-inner{display:block;width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.wpmui-toggle-inner:before,.wpmui-toggle-inner:after{display:block;float:left;width:50%;height:5px;padding:0;line-height:5px;font-size:10px;color:#fff;font-family:Trebuchet,Arial,sans-serif;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;box-shadow:0 1px 0 rgba(0,0,0,.2) inset}.wpmui-toggle-inner:before{content:"";padding-left:5px;background-color:#0074A2}.wpmui-toggle-inner:after{content:"";padding-right:5px;background-color:#EEE;text-align:right}.wpmui-toggle-switch{display:block;width:14px;margin:-3.5px;background:#F8F8F8;border:1px solid #CCC;border-radius:15px;position:absolute;top:0;bottom:0;right:20px;-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s;box-shadow:-1px 1px 2px rgba(0,0,0,.1)}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-inner{margin-left:0}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.wpmui-confirm-modal{left:0;top:0;right:0;bottom:0;z-index:99998;background:#000;opacity:.4}.wpmui-confirm-box{top:25%;width:580px;padding:20px 20px 0;left:50%;margin-left:-310px;z-index:99999;background:#FFF;box-shadow:0 0 10px rgba(0,0,0,.4)}.wpmui-confirm-box .wpmui-confirm-btn{margin:10px -20px 0;padding:10px 20px;text-align:right;background:#FAFAFA;border-top:1px solid #E5E5E5}.wpmui-confirm-box .wpmui-confirm-btn button{margin-left:10px}.wpmui-progress-wrap{position:relative;width:100%}.wpmui-progress-wrap .wpmui-progress-full{background:rgba(255,255,255,.7);width:100%;border-radius:2px;box-shadow:1px 1px 2px 0 rgba(0,0,0,.1)}.wpmui-progress-wrap .wpmui-progress{background:#369;border-radius:2px;height:28px;transition:width .25s}.wpmui-progress-wrap .wpmui-progress-percent{position:absolute;left:0;right:0;top:0;line-height:28px;font-size:13px;text-align:center;color:#FFF;text-shadow:0 0 5px #264c73}.wpmui-progress-wrap .wpmui-progress-percent:before{content:'';position:absolute;left:50%;width:30px;height:10px;top:50%;border-radius:5px;margin-top:-5px;margin-left:-15px;box-shadow:0 0 8px 4px #264c73;background:#264c73;z-index:-1;opacity:.5}.wpmui-progress-wrap .wpmui-progress-label{font-size:12px;margin-top:6px;color:#888;text-align:right}.no-pad-top{padding-top:0!important;margin-top:0!important}.no-pad-bottom{padding-bottom:0!important;margin-bottom:0!important}.no-pad{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}.dashicons.light{opacity:.5}.cf:before,.cf:after{content:'';display:table}.cf:after{clear:both}.wpmui-left{float:left}.wpmui-right{float:right}.button .dashicons,.button-primary .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}
inc/external/wpmu-lib/css/wpmu-vnav.2.min.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
 
inc/external/wpmu-lib/inc/class-thelib-array.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 1.1.4
7
  */
8
- class TheLib_2_0_1_Array extends TheLib_2_0_1 {
9
 
10
  /**
11
  * If the specified variable is an array it will be returned. Otherwise
5
  *
6
  * @since 1.1.4
7
  */
8
+ class TheLib_2_0_3_Array extends TheLib_2_0_3 {
9
 
10
  /**
11
  * If the specified variable is an array it will be returned. Otherwise
inc/external/wpmu-lib/inc/class-thelib-core.php CHANGED
@@ -7,7 +7,7 @@
7
  *
8
  * @since 1.0.0
9
  */
10
- class TheLib_2_0_1_Core extends TheLib_2_0_1 {
11
 
12
  /**
13
  * Interface to the array component.
@@ -117,9 +117,17 @@ class TheLib_2_0_1_Core extends TheLib_2_0_1 {
117
  * @api
118
  *
119
  * @param string $domain Translations will be mapped to this domain.
120
- * @param string $rel_dir Path to the dictionary folder; relative to ABSPATH.
121
  */
122
  public function translate_plugin( $domain, $rel_dir ) {
 
 
 
 
 
 
 
 
123
  $this->_add( 'textdomain', compact( 'domain', 'rel_dir' ) );
124
 
125
  $this->add_action( 'plugins_loaded', '_translate_plugin_callback' );
@@ -135,7 +143,8 @@ class TheLib_2_0_1_Core extends TheLib_2_0_1 {
135
  $items = $this->_get( 'textdomain' );
136
  foreach ( $items as $item ) {
137
  extract( $item ); // domain, rel_dir
138
- load_plugin_textdomain( $domain, false, $rel_dir );
 
139
  }
140
  }
141
 
@@ -171,4 +180,69 @@ class TheLib_2_0_1_Core extends TheLib_2_0_1 {
171
  return false;
172
  }
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  };
7
  *
8
  * @since 1.0.0
9
  */
10
+ class TheLib_2_0_3_Core extends TheLib_2_0_3 {
11
 
12
  /**
13
  * Interface to the array component.
117
  * @api
118
  *
119
  * @param string $domain Translations will be mapped to this domain.
120
+ * @param string $rel_dir Path to the dictionary folder; relative to WP_PLUGIN_DIR.
121
  */
122
  public function translate_plugin( $domain, $rel_dir ) {
123
+ if ( did_action( 'plugins_loaded' ) && 'plugins_loaded' != current_filter() ) {
124
+ _doing_it_wrong(
125
+ 'translate_plugin',
126
+ 'This function must be called before/inside the hook "plugins_loaded".',
127
+ '2.0.3'
128
+ );
129
+ }
130
+
131
  $this->_add( 'textdomain', compact( 'domain', 'rel_dir' ) );
132
 
133
  $this->add_action( 'plugins_loaded', '_translate_plugin_callback' );
143
  $items = $this->_get( 'textdomain' );
144
  foreach ( $items as $item ) {
145
  extract( $item ); // domain, rel_dir
146
+
147
+ $loaded = load_plugin_textdomain( $domain, false, $rel_dir );
148
  }
149
  }
150
 
180
  return false;
181
  }
182
 
183
+ /**
184
+ * Converts a number from any base to another base.
185
+ * The from/to base values can even be non-numeric values.
186
+ *
187
+ * @since 2.0.2
188
+ * @api
189
+ *
190
+ * @param string $number A number in the base_from base.
191
+ * @param string $base_from List of characters
192
+ * E.g. 0123456789 to convert from decimal.
193
+ * @param string $base_to List of characters to use as destination base.
194
+ * E.g. 0123456789ABCDEF to convert to hexadecimal.
195
+ * @return string The converted number
196
+ */
197
+ public function convert( $number, $base_from = '0123456789', $base_to = '0123456789ABCDEF' ) {
198
+ if ( $base_from == $base_to ) {
199
+ // No conversion needed.
200
+ return $number;
201
+ }
202
+
203
+ $retval = '';
204
+ $number_len = strlen( $number );
205
+
206
+ if ( '0123456789' == $base_to ) {
207
+ // Convert a value to normal decimal base.
208
+
209
+ $arr_base_from = str_split( $base_from, 1 );
210
+ $arr_number = str_split( $number, 1 );
211
+ $base_from_len = strlen( $base_from );
212
+ $retval = 0;
213
+ for ( $i = 1; $i <= $number_len; $i += 1 ) {
214
+ $retval = bcadd(
215
+ $retval,
216
+ bcmul(
217
+ array_search( $arr_number[$i - 1], $arr_base_from ),
218
+ bcpow( $base_from_len, $number_len - $i )
219
+ )
220
+ );
221
+ }
222
+ } else {
223
+ // Convert a value to a NON-decimal base.
224
+
225
+ if ( '0123456789' != $base_from ) {
226
+ // Base value is non-decimal, convert it to decimal first.
227
+ $base10 = $this->convert( $number, $base_from, '0123456789' );
228
+ } else {
229
+ // Base value is decimal.
230
+ $base10 = $number;
231
+ }
232
+
233
+ $arr_base_to = str_split( $base_to, 1 );
234
+ $base_to_len = strlen( $base_to );
235
+ if ( $base10 < strlen( $base_to ) ) {
236
+ $retval = $arr_base_to[$base10];
237
+ } else {
238
+ while ( 0 != $base10 ) {
239
+ $retval = $arr_base_to[bcmod( $base10, $base_to_len )] . $retval;
240
+ $base10 = bcdiv( $base10, $base_to_len, 0 );
241
+ }
242
+ }
243
+ }
244
+
245
+ return $retval;
246
+ }
247
+
248
  };
inc/external/wpmu-lib/inc/class-thelib-debug.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @since 1.1.4
6
  */
7
- class TheLib_2_0_1_Debug extends TheLib_2_0_1 {
8
 
9
  /**
10
  * If set to true or false it will override the WP_DEBUG value
@@ -333,7 +333,7 @@ class TheLib_2_0_1_Debug extends TheLib_2_0_1 {
333
  <b>Back-Trace</b>
334
  </span>
335
  <div class="%1$s-trace" style="display:none">
336
- <table class="wdev-trace" width="100%" cellspacing="0" cellpadding="3" border="1">
337
  ',
338
  esc_attr( $block_id )
339
  );
@@ -404,7 +404,7 @@ class TheLib_2_0_1_Debug extends TheLib_2_0_1 {
404
  } else {
405
  $trace_str .= sprintf(
406
  "<tr onclick='_m(this)'><td class='trc-num'>%s</td><td class='trc-loc'>%s</td><td class='trc-arg'>%s</td></tr>\r\n",
407
- $i,
408
  $line_item['file'] . ': ' . $line_item['line'],
409
  $item['class'] . $item['type'] . $item['function'] . '(' . $args . ')'
410
  );
@@ -712,6 +712,10 @@ class TheLib_2_0_1_Debug extends TheLib_2_0_1 {
712
  if ( defined( '__DEBUG_SCRIPT' ) ) { return; }
713
  define( '__DEBUG_SCRIPT', true );
714
 
 
 
 
 
715
  ?>
716
  <style>
717
  .wdev-debug {
@@ -797,13 +801,15 @@ class TheLib_2_0_1_Debug extends TheLib_2_0_1 {
797
  margin: 1px 0 !important;
798
  background: rgba(255, 200, 200, 0.8);
799
  }
800
- .wdev-trace table td {
801
  padding: 1px 2px !important;
802
  font-size: 12px;
 
803
  }
804
- .wdev-trace table {
805
  margin: 4px 0 0 0;
806
  background: #EBB;
 
807
  }
808
  .wdev-trace tr.mark td {
809
  background: #EC9;
4
  *
5
  * @since 1.1.4
6
  */
7
+ class TheLib_2_0_3_Debug extends TheLib_2_0_3 {
8
 
9
  /**
10
  * If set to true or false it will override the WP_DEBUG value
333
  <b>Back-Trace</b>
334
  </span>
335
  <div class="%1$s-trace" style="display:none">
336
+ <table class="wdev-trace" width="100%%" cellspacing="0" cellpadding="3" border="1">
337
  ',
338
  esc_attr( $block_id )
339
  );
404
  } else {
405
  $trace_str .= sprintf(
406
  "<tr onclick='_m(this)'><td class='trc-num'>%s</td><td class='trc-loc'>%s</td><td class='trc-arg'>%s</td></tr>\r\n",
407
+ $line,
408
  $line_item['file'] . ': ' . $line_item['line'],
409
  $item['class'] . $item['type'] . $item['function'] . '(' . $args . ')'
410
  );
712
  if ( defined( '__DEBUG_SCRIPT' ) ) { return; }
713
  define( '__DEBUG_SCRIPT', true );
714
 
715
+ if ( ! headers_sent() ) {
716
+ header( 'Content-type: text/html; charset=utf-8' );
717
+ }
718
+
719
  ?>
720
  <style>
721
  .wdev-debug {
801
  margin: 1px 0 !important;
802
  background: rgba(255, 200, 200, 0.8);
803
  }
804
+ .wdev-trace td {
805
  padding: 1px 2px !important;
806
  font-size: 12px;
807
+ vertical-align: top;
808
  }
809
+ .wdev-trace {
810
  margin: 4px 0 0 0;
811
  background: #EBB;
812
+ border-collapse: collapse;
813
  }
814
  .wdev-trace tr.mark td {
815
  background: #EC9;
inc/external/wpmu-lib/inc/class-thelib-html.php CHANGED
@@ -4,13 +4,10 @@
4
  *
5
  * @since 1.1.0
6
  */
7
- class TheLib_2_0_1_Html extends TheLib_2_0_1 {
8
 
9
  /* Constants for default HTML input elements. */
10
  const INPUT_TYPE_HIDDEN = 'hidden';
11
- const INPUT_TYPE_TEXT = 'text';
12
- const INPUT_TYPE_SEARCH = 'search';
13
- const INPUT_TYPE_PASSWORD = 'password';
14
  const INPUT_TYPE_TEXT_AREA = 'textarea';
15
  const INPUT_TYPE_SELECT = 'select';
16
  const INPUT_TYPE_RADIO = 'radio';
@@ -18,6 +15,14 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
18
  const INPUT_TYPE_BUTTON = 'button';
19
  const INPUT_TYPE_CHECKBOX = 'checkbox';
20
  const INPUT_TYPE_IMAGE = 'image';
 
 
 
 
 
 
 
 
21
  const INPUT_TYPE_FILE = 'file';
22
 
23
  /* Constants for advanced HTML input elements. */
@@ -427,6 +432,7 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
427
  'label_type' => 'label',
428
  'sticky' => false, // populate $value from $_REQUEST struct
429
  'config' => array(), // other, element-specific configurations
 
430
  // Specific for type 'button', 'submit':
431
  'button_value' => '',
432
  'button_type' => '', // for display [empty/'submit'/'button']
@@ -488,6 +494,9 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
488
  foreach ( $data as $data_key => $data_value ) {
489
  $data_attr .= 'data-' . $data_key . '=' . json_encode( $data_value ) . ' ';
490
  }
 
 
 
491
 
492
  if ( ! empty( $ajax_data ) ) {
493
  $class .= ' wpmui-ajax-update';
@@ -528,12 +537,17 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
528
  $this->element_hidden(
529
  $id,
530
  $name,
531
- $value
 
532
  );
533
  break;
534
 
535
  case self::INPUT_TYPE_TEXT:
536
  case self::INPUT_TYPE_PASSWORD:
 
 
 
 
537
  case self::INPUT_TYPE_SEARCH:
538
  case self::INPUT_TYPE_FILE:
539
  $this->element_input(
@@ -543,7 +557,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
543
  $id,
544
  $name,
545
  $value,
546
- $read_only . $max_attr . $attr_placeholder . $ajax_data . $data_attr
 
547
  );
548
  break;
549
 
@@ -554,7 +569,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
554
  $id,
555
  $name,
556
  $value,
557
- $max_attr . $attr_placeholder . $ajax_data . $data_attr
 
558
  );
559
  break;
560
 
@@ -565,7 +581,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
565
  $id,
566
  $name,
567
  $value,
568
- $read_only . $attr_placeholder . $ajax_data . $data_attr
 
569
  );
570
  break;
571
 
@@ -577,7 +594,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
577
  $name,
578
  $value,
579
  $multiple . $read_only . $attr_data_placeholder . $ajax_data . $data_attr,
580
- $field_options
 
581
  );
582
  break;
583
 
@@ -589,7 +607,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
589
  $name,
590
  $value,
591
  $ajax_data,
592
- $field_options
 
593
  );
594
  break;
595
 
@@ -659,7 +678,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
659
  $url,
660
  $read_only,
661
  $ajax_data . $data_attr,
662
- $field_options
 
663
  );
664
  break;
665
 
@@ -675,7 +695,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
675
  $ajax_data,
676
  $empty_text,
677
  $button_text,
678
- $title_selected
 
679
  );
680
  break;
681
 
@@ -687,7 +708,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
687
  $name,
688
  $value,
689
  $multiple . $read_only . $attr_data_placeholder . $ajax_data . $data_attr,
690
- $field_options
 
691
  );
692
  break;
693
 
@@ -715,7 +737,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
715
  $class,
716
  $id,
717
  $value,
718
- 'span'
 
719
  );
720
  break;
721
 
@@ -725,7 +748,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
725
  $class,
726
  $id,
727
  $value,
728
- $field_options
 
729
  );
730
  break;
731
  }
@@ -741,12 +765,13 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
741
  * @since 1.1.0
742
  * @internal
743
  */
744
- private function element_hidden( $id, $name, $value ) {
745
  printf(
746
- '<input class="wpmui-field-input wpmui-hidden" type="hidden" id="%1$s" name="%2$s" value="%3$s" />',
747
  esc_attr( $id ),
748
  esc_attr( $name ),
749
- esc_attr( $value )
 
750
  );
751
  }
752
 
@@ -756,8 +781,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
756
  * @since 1.1.0
757
  * @internal
758
  */
759
- private function element_input( $labels, $type, $class, $id, $name, $value, $attr ) {
760
- $this->wrap_open( 'input', $class );
761
  $this->element_label( $labels );
762
 
763
  printf(
@@ -780,8 +805,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
780
  * @since 1.1.0
781
  * @internal
782
  */
783
- private function element_datepicker( $labels, $class, $id, $name, $value, $attr ) {
784
- $this->wrap_open( 'datepicker', $class );
785
  $this->element_label( $labels );
786
 
787
  if ( ! empty( $value ) ) {
@@ -809,8 +834,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
809
  * @since 1.1.0
810
  * @internal
811
  */
812
- private function element_textarea( $labels, $class, $id, $name, $value, $attr ) {
813
- $this->wrap_open( 'textarea', $class );
814
  $this->element_label( $labels );
815
 
816
  printf(
@@ -832,10 +857,10 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
832
  * @since 1.1.0
833
  * @internal
834
  */
835
- private function element_select( $labels, $class, $id, $name, $value, $attr, $field_options ) {
836
  $options = $this->select_options( $field_options, $value );
837
 
838
- $this->wrap_open( 'select', $class );
839
  $this->element_label( $labels );
840
 
841
  printf(
@@ -857,8 +882,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
857
  * @since 1.1.0
858
  * @internal
859
  */
860
- private function element_radio( $labels, $class, $id, $name, $value, $attr, $field_options ) {
861
- $this->wrap_open( 'radio', $class );
862
  $this->element_label( $labels );
863
 
864
  foreach ( $field_options as $key => $option ) {
@@ -1099,7 +1124,7 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1099
  * @since 1.1.0
1100
  * @internal
1101
  */
1102
- private function element_radioslider( $labels, $class, $id, $name, $state, $url, $read_only, $attr, $options ) {
1103
  $options = self::$core->array->get( $options );
1104
  if ( ! isset( $options['active'] ) ) { $options['active'] = true; }
1105
  if ( ! isset( $options['inactive'] ) ) { $options['inactive'] = false; }
@@ -1107,9 +1132,9 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1107
  if ( $state ) { $value = $options['active']; }
1108
  else { $value = $options['inactive']; }
1109
 
1110
- $turned = ( $value ) ? 'on' : '';
1111
 
1112
- $this->wrap_open( 'radio-slider', $class . ' ' . $turned );
1113
  $this->element_label( $labels );
1114
 
1115
  $attr .= ' data-states="' . esc_attr( json_encode( $options ) ) . '" ';
@@ -1148,10 +1173,10 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1148
  * @since 1.1.0
1149
  * @internal
1150
  */
1151
- private function element_tagselect( $labels, $class, $id, $name, $value, $field_options, $attr, $ajax_data, $empty_text, $button_text, $title_selected ) {
1152
  $labels->id = '_src_' . $id;
1153
 
1154
- $this->wrap_open( 'tag-selector', $class );
1155
  $this->element_label( $labels );
1156
 
1157
  $options_selected = '';
@@ -1223,7 +1248,7 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1223
  * @since 1.1.0
1224
  * @internal
1225
  */
1226
- private function element_wp_pages( $labels, $class, $id, $name, $value, $attr, $field_options ) {
1227
  $defaults = array(
1228
  'hierarchical' => 1,
1229
  'sort_column' => 'post_title',
@@ -1273,7 +1298,8 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1273
  $name,
1274
  $value,
1275
  $attr,
1276
- $items
 
1277
  );
1278
  }
1279
 
@@ -1309,7 +1335,7 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1309
  printf(
1310
  '<a id="%1$s" title="%2$s" class="wpmui-link %3$s" href="%4$s" target="%7$s" %6$s>%5$s</a>',
1311
  esc_attr( $id ),
1312
- esc_attr( $title ),
1313
  esc_attr( $class ),
1314
  esc_url( $url ),
1315
  $label,
@@ -1326,10 +1352,10 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1326
  * @since 1.1.0
1327
  * @internal
1328
  */
1329
- private function element_wrapper( $labels, $class, $id, $code, $wrap ) {
1330
  if ( empty( $wrap ) ) { $wrap = 'span'; }
1331
 
1332
- $this->wrap_open( 'html-text', $class );
1333
  $this->element_label( $labels );
1334
 
1335
  printf(
@@ -1349,10 +1375,10 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1349
  * @since 1.1.0
1350
  * @internal
1351
  */
1352
- private function element_table( $labels, $class, $id, $rows, $args ) {
1353
  self::$core->array->equip( $args, 'head_row', 'head_col', 'col_class' );
1354
 
1355
- $this->wrap_open( 'table', $class );
1356
  $this->element_label( $labels );
1357
 
1358
  $code_body = '';
@@ -1488,11 +1514,16 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1488
  *
1489
  * @param string $type Wrapper type, class is set to 'wpmui-$type-wrapper'.
1490
  * @param string $classes String or array containing additional classes.
1491
- * All classes are extended with '-wrapper'
1492
  * @param string $tag Optional. The tag name, default 'span'
 
 
1493
  */
1494
- private function wrap_open( $type, $classes = '', $tag = 'span' ) {
1495
- $classes = explode( ' ', $classes );
 
 
 
1496
  if ( count( $classes ) ) {
1497
  $classes = array_filter( array_map( 'trim', $classes ) );
1498
  $classes = array_map( 'strtolower', $classes );
@@ -1502,6 +1533,15 @@ class TheLib_2_0_1_Html extends TheLib_2_0_1 {
1502
  $extra_classes = '';
1503
  }
1504
 
 
 
 
 
 
 
 
 
 
1505
  printf(
1506
  '<%1$s class="wpmui-wrapper wpmui-%2$s-wrapper %3$s">',
1507
  $tag,
4
  *
5
  * @since 1.1.0
6
  */
7
+ class TheLib_2_0_3_Html extends TheLib_2_0_3 {
8
 
9
  /* Constants for default HTML input elements. */
10
  const INPUT_TYPE_HIDDEN = 'hidden';
 
 
 
11
  const INPUT_TYPE_TEXT_AREA = 'textarea';
12
  const INPUT_TYPE_SELECT = 'select';
13
  const INPUT_TYPE_RADIO = 'radio';
15
  const INPUT_TYPE_BUTTON = 'button';
16
  const INPUT_TYPE_CHECKBOX = 'checkbox';
17
  const INPUT_TYPE_IMAGE = 'image';
18
+ // Different input types
19
+ const INPUT_TYPE_TEXT = 'text';
20
+ const INPUT_TYPE_PASSWORD = 'password';
21
+ const INPUT_TYPE_NUMBER = 'number';
22
+ const INPUT_TYPE_EMAIL = 'email';
23
+ const INPUT_TYPE_URL = 'url';
24
+ const INPUT_TYPE_TIME = 'time';
25
+ const INPUT_TYPE_SEARCH = 'search';
26
  const INPUT_TYPE_FILE = 'file';
27
 
28
  /* Constants for advanced HTML input elements. */
432
  'label_type' => 'label',
433
  'sticky' => false, // populate $value from $_REQUEST struct
434
  'config' => array(), // other, element-specific configurations
435
+ 'wrapper_class' => '', // class added to the outermost element wrapper
436
  // Specific for type 'button', 'submit':
437
  'button_value' => '',
438
  'button_type' => '', // for display [empty/'submit'/'button']
494
  foreach ( $data as $data_key => $data_value ) {
495
  $data_attr .= 'data-' . $data_key . '=' . json_encode( $data_value ) . ' ';
496
  }
497
+ foreach ( $config as $conf_key => $conf_value ) {
498
+ $data_attr .= $conf_key . '=' . json_encode( $conf_value ) . ' ';
499
+ }
500
 
501
  if ( ! empty( $ajax_data ) ) {
502
  $class .= ' wpmui-ajax-update';
537
  $this->element_hidden(
538
  $id,
539
  $name,
540
+ $value,
541
+ $class
542
  );
543
  break;
544
 
545
  case self::INPUT_TYPE_TEXT:
546
  case self::INPUT_TYPE_PASSWORD:
547
+ case self::INPUT_TYPE_NUMBER:
548
+ case self::INPUT_TYPE_EMAIL:
549
+ case self::INPUT_TYPE_URL:
550
+ case self::INPUT_TYPE_TIME:
551
  case self::INPUT_TYPE_SEARCH:
552
  case self::INPUT_TYPE_FILE:
553
  $this->element_input(
557
  $id,
558
  $name,
559
  $value,
560
+ $read_only . $max_attr . $attr_placeholder . $ajax_data . $data_attr,
561
+ $wrapper_class
562
  );
563
  break;
564
 
569
  $id,
570
  $name,
571
  $value,
572
+ $max_attr . $attr_placeholder . $ajax_data . $data_attr,
573
+ $wrapper_class
574
  );
575
  break;
576
 
581
  $id,
582
  $name,
583
  $value,
584
+ $read_only . $attr_placeholder . $ajax_data . $data_attr,
585
+ $wrapper_class
586
  );
587
  break;
588
 
594
  $name,
595
  $value,
596
  $multiple . $read_only . $attr_data_placeholder . $ajax_data . $data_attr,
597
+ $field_options,
598
+ $wrapper_class
599
  );
600
  break;
601
 
607
  $name,
608
  $value,
609
  $ajax_data,
610
+ $field_options,
611
+ $wrapper_class
612
  );
613
  break;
614
 
678
  $url,
679
  $read_only,
680
  $ajax_data . $data_attr,
681
+ $field_options,
682
+ $wrapper_class
683
  );
684
  break;
685
 
695
  $ajax_data,
696
  $empty_text,
697
  $button_text,
698
+ $title_selected,
699
+ $wrapper_class
700
  );
701
  break;
702
 
708
  $name,
709
  $value,
710
  $multiple . $read_only . $attr_data_placeholder . $ajax_data . $data_attr,
711
+ $field_options,
712
+ $wrapper_class
713
  );
714
  break;
715
 
737
  $class,
738
  $id,
739
  $value,
740
+ 'span',
741
+ $wrapper_class
742
  );
743
  break;
744
 
748
  $class,
749
  $id,
750
  $value,
751
+ $field_options,
752
+ $wrapper_class
753
  );
754
  break;
755
  }
765
  * @since 1.1.0
766
  * @internal
767
  */
768
+ private function element_hidden( $id, $name, $value, $class ) {
769
  printf(
770
+ '<input class="wpmui-field-input wpmui-hidden %4$s" type="hidden" id="%1$s" name="%2$s" value="%3$s" />',
771
  esc_attr( $id ),
772
  esc_attr( $name ),
773
+ esc_attr( $value ),
774
+ esc_attr( $class )
775
  );
776
  }
777
 
781
  * @since 1.1.0
782
  * @internal
783
  */
784
+ private function element_input( $labels, $type, $class, $id, $name, $value, $attr, $wrapper_class ) {
785
+ $this->wrap_open( 'input', $class, 'span', $wrapper_class );
786
  $this->element_label( $labels );
787
 
788
  printf(
805
  * @since 1.1.0
806
  * @internal
807
  */
808
+ private function element_datepicker( $labels, $class, $id, $name, $value, $attr, $wrapper_class ) {
809
+ $this->wrap_open( 'datepicker', $class, 'span', $wrapper_class );
810
  $this->element_label( $labels );
811
 
812
  if ( ! empty( $value ) ) {
834
  * @since 1.1.0
835
  * @internal
836
  */
837
+ private function element_textarea( $labels, $class, $id, $name, $value, $attr, $wrapper_class ) {
838
+ $this->wrap_open( 'textarea', $class, 'span', $wrapper_class );
839
  $this->element_label( $labels );
840
 
841
  printf(
857
  * @since 1.1.0
858
  * @internal
859
  */
860
+ private function element_select( $labels, $class, $id, $name, $value, $attr, $field_options, $wrapper_class ) {
861
  $options = $this->select_options( $field_options, $value );
862
 
863
+ $this->wrap_open( 'select', $class, 'span', $wrapper_class );
864
  $this->element_label( $labels );
865
 
866
  printf(
882
  * @since 1.1.0
883
  * @internal
884
  */
885
+ private function element_radio( $labels, $class, $id, $name, $value, $attr, $field_options, $wrapper_class ) {
886
+ $this->wrap_open( 'radio', $class, 'span', $wrapper_class );
887
  $this->element_label( $labels );
888
 
889
  foreach ( $field_options as $key => $option ) {
1124
  * @since 1.1.0
1125
  * @internal
1126
  */
1127
+ private function element_radioslider( $labels, $class, $id, $name, $state, $url, $read_only, $attr, $options, $wrapper_class ) {
1128
  $options = self::$core->array->get( $options );
1129
  if ( ! isset( $options['active'] ) ) { $options['active'] = true; }
1130
  if ( ! isset( $options['inactive'] ) ) { $options['inactive'] = false; }
1132
  if ( $state ) { $value = $options['active']; }
1133
  else { $value = $options['inactive']; }
1134
 
1135
+ $turned = ( $value ) ? 'on' : 'off';
1136
 
1137
+ $this->wrap_open( 'radio-slider', $class, 'span', $turned . ' ' . $wrapper_class );
1138
  $this->element_label( $labels );
1139
 
1140
  $attr .= ' data-states="' . esc_attr( json_encode( $options ) ) . '" ';
1173
  * @since 1.1.0
1174
  * @internal
1175
  */
1176
+ private function element_tagselect( $labels, $class, $id, $name, $value, $field_options, $attr, $ajax_data, $empty_text, $button_text, $title_selected, $wrapper_class ) {
1177
  $labels->id = '_src_' . $id;
1178
 
1179
+ $this->wrap_open( 'tag-selector', $class, 'span', $wrapper_class );
1180
  $this->element_label( $labels );
1181
 
1182
  $options_selected = '';
1248
  * @since 1.1.0
1249
  * @internal
1250
  */
1251
+ private function element_wp_pages( $labels, $class, $id, $name, $value, $attr, $field_options, $wrapper_class ) {
1252
  $defaults = array(
1253
  'hierarchical' => 1,
1254
  'sort_column' => 'post_title',
1298
  $name,
1299
  $value,
1300
  $attr,
1301
+ $items,
1302
+ $wrapper_class
1303
  );
1304
  }
1305
 
1335
  printf(
1336
  '<a id="%1$s" title="%2$s" class="wpmui-link %3$s" href="%4$s" target="%7$s" %6$s>%5$s</a>',
1337
  esc_attr( $id ),
1338
+ esc_attr( strip_tags( $title ) ),
1339
  esc_attr( $class ),
1340
  esc_url( $url ),
1341
  $label,
1352
  * @since 1.1.0
1353
  * @internal
1354
  */
1355
+ private function element_wrapper( $labels, $class, $id, $code, $wrap, $wrapper_class ) {
1356
  if ( empty( $wrap ) ) { $wrap = 'span'; }
1357
 
1358
+ $this->wrap_open( 'html-text', $class, 'span', $wrapper_class );
1359
  $this->element_label( $labels );
1360
 
1361
  printf(
1375
  * @since 1.1.0
1376
  * @internal
1377
  */
1378
+ private function element_table( $labels, $class, $id, $rows, $args, $wrapper_class ) {
1379
  self::$core->array->equip( $args, 'head_row', 'head_col', 'col_class' );
1380
 
1381
+ $this->wrap_open( 'table', $class, 'span', $wrapper_class );
1382
  $this->element_label( $labels );
1383
 
1384
  $code_body = '';
1514
  *
1515
  * @param string $type Wrapper type, class is set to 'wpmui-$type-wrapper'.
1516
  * @param string $classes String or array containing additional classes.
1517
+ * All classes are extended with '-wrapper'.
1518
  * @param string $tag Optional. The tag name, default 'span'
1519
+ * @param string $raw_classes String or array containing additional classes.
1520
+ * These classes are not modified, but output as they appear.
1521
  */
1522
+ private function wrap_open( $type, $classes = '', $tag = 'span', $raw_classes = '' ) {
1523
+ if ( is_string( $classes ) ) {
1524
+ $classes = explode( ' ', $classes );
1525
+ }
1526
+
1527
  if ( count( $classes ) ) {
1528
  $classes = array_filter( array_map( 'trim', $classes ) );
1529
  $classes = array_map( 'strtolower', $classes );
1533
  $extra_classes = '';
1534
  }
1535
 
1536
+ if ( ! empty( $raw_classes ) ) {
1537
+ if ( is_array( $raw_classes ) ) {
1538
+ $extra_classes .= implode( ' ', $raw_classes );
1539
+ } else {
1540
+ $extra_classes .= ' ' . $raw_classes;
1541
+ }
1542
+ }
1543
+ $extra_classes = trim( $extra_classes );
1544
+
1545
  printf(
1546
  '<%1$s class="wpmui-wrapper wpmui-%2$s-wrapper %3$s">',
1547
  $tag,
inc/external/wpmu-lib/inc/class-thelib-net.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 2.0.0
7
  */
8
- class TheLib_2_0_1_Net extends TheLib_2_0_1 {
9
 
10
  /**
11
  * Returns the current URL.
5
  *
6
  * @since 2.0.0
7
  */
8
+ class TheLib_2_0_3_Net extends TheLib_2_0_3 {
9
 
10
  /**
11
  * Returns the current URL.
inc/external/wpmu-lib/inc/class-thelib-session.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 1.1.4
7
  */
8
- class TheLib_2_0_1_Session extends TheLib_2_0_1 {
9
 
10
  /**
11
  * Adds a value to the data collection in the user session.
5
  *
6
  * @since 1.1.4
7
  */
8
+ class TheLib_2_0_3_Session extends TheLib_2_0_3 {
9
 
10
  /**
11
  * Adds a value to the data collection in the user session.
inc/external/wpmu-lib/inc/class-thelib-ui.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @since 1.1.4
7
  */
8
- class TheLib_2_0_1_Ui extends TheLib_2_0_1 {
9
 
10
  /**
11
  * Class constructor
@@ -17,7 +17,10 @@ class TheLib_2_0_1_Ui extends TheLib_2_0_1 {
17
  parent::__construct();
18
 
19
  // Check for persistent data from last request that needs to be processed.
20
- $this->_check_admin_notices();
 
 
 
21
  }
22
 
23
  /**
@@ -291,6 +294,7 @@ class TheLib_2_0_1_Ui extends TheLib_2_0_1 {
291
  */
292
  public function _enqueue_style_callback( $hook = '' ) {
293
  $items = $this->_get( 'css' );
 
294
 
295
  if ( empty( $hook ) ) { $hook = 'front'; }
296
 
@@ -321,6 +325,7 @@ class TheLib_2_0_1_Ui extends TheLib_2_0_1 {
321
  */
322
  public function _enqueue_script_callback( $hook = '' ) {
323
  $items = $this->_get( 'js' );
 
324
 
325
  if ( empty( $hook ) ) { $hook = 'front'; }
326
 
@@ -418,10 +423,26 @@ class TheLib_2_0_1_Ui extends TheLib_2_0_1 {
418
  * @param string $id Message ID. Prevents adding duplicate messages.
419
  */
420
  public function admin_message( $text, $class = '', $screen = '', $id = '' ) {
421
- if ( 'red' == $class || 'err' == $class || 'error' == $class ) {
422
- $class = 'error';
423
- } else {
424
- $class = 'updated';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
425
  }
426
 
427
  // Check if the message is already queued...
@@ -447,6 +468,7 @@ class TheLib_2_0_1_Ui extends TheLib_2_0_1 {
447
 
448
  self::_sess_add( 'admin_notice', compact( 'text', 'class', 'screen', 'id' ) );
449
  $this->add_action( 'admin_notices', '_admin_notice_callback', 1 );
 
450
  }
451
 
452
  /**
@@ -465,10 +487,11 @@ class TheLib_2_0_1_Ui extends TheLib_2_0_1 {
465
  extract( $item ); // text, class, screen, id
466
  if ( empty( $screen ) || $screen_id == $screen ) {
467
  printf(
468
- '<div class="%1$s %3$s"><p>%2$s</p></div>',
469
  esc_attr( $class ),
470
  $text,
471
- esc_attr( $id )
 
472
  );
473
  }
474
  }
@@ -484,6 +507,7 @@ class TheLib_2_0_1_Ui extends TheLib_2_0_1 {
484
  public function _check_admin_notices() {
485
  if ( self::_sess_have( 'admin_notice' ) ) {
486
  $this->add_action( 'admin_notices', '_admin_notice_callback', 1 );
 
487
  }
488
  }
489
 
5
  *
6
  * @since 1.1.4
7
  */
8
+ class TheLib_2_0_3_Ui extends TheLib_2_0_3 {
9
 
10
  /**
11
  * Class constructor
17
  parent::__construct();
18
 
19
  // Check for persistent data from last request that needs to be processed.
20
+ $this->add_action(
21
+ 'plugins_loaded',
22
+ '_check_admin_notices'
23
+ );
24
  }
25
 
26
  /**
294
  */
295
  public function _enqueue_style_callback( $hook = '' ) {
296
  $items = $this->_get( 'css' );
297
+ $this->_clear( 'css' );
298
 
299
  if ( empty( $hook ) ) { $hook = 'front'; }
300
 
325
  */
326
  public function _enqueue_script_callback( $hook = '' ) {
327
  $items = $this->_get( 'js' );
328
+ $this->_clear( 'js' );
329
 
330
  if ( empty( $hook ) ) { $hook = 'front'; }
331
 
423
  * @param string $id Message ID. Prevents adding duplicate messages.
424
  */
425
  public function admin_message( $text, $class = '', $screen = '', $id = '' ) {
426
+ switch ( $class ) {
427
+ case 'red':
428
+ case 'err':
429
+ case 'error':
430
+ $class = 'error';
431
+ break;
432
+
433
+ case 'warning':
434
+ case 'orange':
435
+ $class = 'warning';
436
+ break;
437
+
438
+ case 'info':
439
+ case 'blue':
440
+ $class = 'info';
441
+ break;
442
+
443
+ default:
444
+ $class = 'updated';
445
+ break;
446
  }
447
 
448
  // Check if the message is already queued...
468
 
469
  self::_sess_add( 'admin_notice', compact( 'text', 'class', 'screen', 'id' ) );
470
  $this->add_action( 'admin_notices', '_admin_notice_callback', 1 );
471
+ $this->add_action( 'network_admin_notices', '_admin_notice_callback', 1 );
472
  }
473
 
474
  /**
487
  extract( $item ); // text, class, screen, id
488
  if ( empty( $screen ) || $screen_id == $screen ) {
489
  printf(
490
+ '<div class="%1$s notice notice-%1$s is-dismissible %3$s"><p>%2$s</p><button type="button" class="notice-dismiss"><span class="screen-reader-text">%4$s</span></button></div>',
491
  esc_attr( $class ),
492
  $text,
493
+ esc_attr( $id ),
494
+ __( 'Dismiss this notice.' )
495
  );
496
  }
497
  }
507
  public function _check_admin_notices() {
508
  if ( self::_sess_have( 'admin_notice' ) ) {
509
  $this->add_action( 'admin_notices', '_admin_notice_callback', 1 );
510
+ $this->add_action( 'network_admin_notices', '_admin_notice_callback', 1 );
511
  }
512
  }
513
 
inc/external/wpmu-lib/inc/class-thelib-updates.php CHANGED
@@ -12,7 +12,7 @@
12
  * @since 1.1.4
13
  * @example inc/class-thelib-updates.php 20 11 Demo workflow.
14
  */
15
- class TheLib_2_0_1_Updates extends TheLib_2_0_1 {
16
  /*
17
  Example:
18
 
12
  * @since 1.1.4
13
  * @example inc/class-thelib-updates.php 20 11 Demo workflow.
14
  */
15
+ class TheLib_2_0_3_Updates extends TheLib_2_0_3 {
16
  /*
17
  Example:
18
 
inc/external/wpmu-lib/inc/class-thelib.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @since 1.1.0
6
  */
7
- class TheLib_2_0_1 {
8
 
9
  /**
10
  * Internal data collection used to pass arguments to callback functions.
4
  *
5
  * @since 1.1.0
6
  */
7
+ class TheLib_2_0_3 {
8
 
9
  /**
10
  * Internal data collection used to pass arguments to callback functions.
inc/external/wpmu-lib/js/select2.2.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*!
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*!
inc/external/wpmu-lib/js/select2.2.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  (function(e){e.fn.each2===void 0&&e.extend(e.fn,{each2:function(t){for(var s=e([0]),i=-1,n=this.length;n>++i&&(s.context=s[0]=this[i])&&t.call(s[0],i,s)!==!1;);return this}})})(jQuery),function(e,t){"use strict";function s(t){var s=e(document.createTextNode(""));t.before(s),s.before(t),s.remove()}function i(e){function t(e){return j[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(e,t){for(var s=0,i=t.length;i>s;s+=1)if(a(e,t[s]))return s;return-1}function o(){var t=e(z);t.appendTo("body");var s={width:t.width()-t[0].clientWidth,height:t.height()-t[0].clientHeight};return t.remove(),s}function a(e,s){return e===s?!0:e===t||s===t?!1:null===e||null===s?!1:e.constructor===String?e+""==s+"":s.constructor===String?s+""==e+"":!1}function r(t,s){var i,n,o;if(null===t||1>t.length)return[];for(i=t.split(s),n=0,o=i.length;o>n;n+=1)i[n]=e.trim(i[n]);return i}function c(e){return e.outerWidth(!1)-e.width()}function l(s){var i="keyup-change-value";s.on("keydown",function(){e.data(s,i)===t&&e.data(s,i,s.val())}),s.on("keyup",function(){var n=e.data(s,i);n!==t&&s.val()!==n&&(e.removeData(s,i),s.trigger("keyup-change"))})}function h(s){s.on("mousemove",function(s){var i=F;(i===t||i.x!==s.pageX||i.y!==s.pageY)&&e(s.target).trigger("mousemove-filtered",s)})}function u(e,s,i){i=i||t;var n;return function(){var t=arguments;window.clearTimeout(n),n=window.setTimeout(function(){s.apply(i,t)},e)}}function d(e,t){var s=u(e,function(e){t.trigger("scroll-debounced",e)});t.on("scroll",function(e){n(e.target,t.get())>=0&&s(e)})}function p(e){e[0]!==document.activeElement&&window.setTimeout(function(){var t,s=e[0],i=e.val().length;e.focus();var n=s.offsetWidth>0||s.offsetHeight>0;n&&s===document.activeElement&&(s.setSelectionRange?s.setSelectionRange(i,i):s.createTextRange&&(t=s.createTextRange(),t.collapse(!1),t.select()))},0)}function f(t){t=e(t)[0];var s=0,i=0;if("selectionStart"in t)s=t.selectionStart,i=t.selectionEnd-s;else if("selection"in document){t.focus();var n=document.selection.createRange();i=document.selection.createRange().text.length,n.moveStart("character",-t.value.length),s=n.text.length-i}return{offset:s,length:i}}function g(e){e.preventDefault(),e.stopPropagation()}function m(e){e.preventDefault(),e.stopImmediatePropagation()}function v(t){if(!L){var s=t[0].currentStyle||window.getComputedStyle(t[0],null);L=e(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:s.fontSize,fontFamily:s.fontFamily,fontStyle:s.fontStyle,fontWeight:s.fontWeight,letterSpacing:s.letterSpacing,textTransform:s.textTransform,whiteSpace:"nowrap"}),L.attr("class","select2-sizer"),e("body").append(L)}return L.text(t.val()),L.width()}function b(t,s,i){var n,o,a=[];n=e.trim(t.attr("class")),n&&(n=""+n,e(n.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&a.push(this)})),n=e.trim(s.attr("class")),n&&(n=""+n,e(n.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(o=i(this),o&&a.push(o))})),t.attr("class",a.join(" "))}function w(e,s,n,o){var a=i(e.toUpperCase()).indexOf(i(s.toUpperCase())),r=s.length;return 0>a?(n.push(o(e)),t):(n.push(o(e.substring(0,a))),n.push("<span class='select2-match'>"),n.push(o(e.substring(a,a+r))),n.push("</span>"),n.push(o(e.substring(a+r,e.length))),t)}function C(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return(e+"").replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function S(s){var i,n=null,o=s.quietMillis||100,a=s.url,r=this;return function(c){window.clearTimeout(i),i=window.setTimeout(function(){var i=s.data,o=a,l=s.transport||e.fn.select2.ajaxDefaults.transport,h={type:s.type||"GET",cache:s.cache||!1,jsonpCallback:s.jsonpCallback||t,dataType:s.dataType||"json"},u=e.extend({},e.fn.select2.ajaxDefaults.params,h);i=i?i.call(r,c.term,c.page,c.context):null,o="function"==typeof o?o.call(r,c.term,c.page,c.context):o,n&&"function"==typeof n.abort&&n.abort(),s.params&&(e.isFunction(s.params)?e.extend(u,s.params.call(r)):e.extend(u,s.params)),e.extend(u,{url:o,dataType:s.dataType,data:i,success:function(e){var t=s.results(e,c.page,c);c.callback(t)},error:function(e,t,s){var i={hasError:!0,jqXHR:e,textStatus:t,errorThrown:s};c.callback(i)}}),n=l.call(r,u)},o)}}function y(s){var i,n,o=s,a=function(e){return""+e.text};e.isArray(o)&&(n=o,o={results:n}),e.isFunction(o)===!1&&(n=o,o=function(){return n});var r=o();return r.text&&(a=r.text,e.isFunction(a)||(i=r.text,a=function(e){return e[i]})),function(s){var i,n=s.term,r={results:[]};return""===n?(s.callback(o()),t):(i=function(t,o){var r,c;if(t=t[0],t.children){r={};for(c in t)t.hasOwnProperty(c)&&(r[c]=t[c]);r.children=[],e(t.children).each2(function(e,t){i(t,r.children)}),(r.children.length||s.matcher(n,a(r),t))&&o.push(r)}else s.matcher(n,a(t),t)&&o.push(t)},e(o().results).each2(function(e,t){i(t,r.results)}),s.callback(r),t)}}function E(s){var i=e.isFunction(s);return function(n){var o=n.term,a={results:[]},r=i?s(n):s;e.isArray(r)&&(e(r).each(function(){var e=this.text!==t,s=e?this.text:this;(""===o||n.matcher(o,s))&&a.results.push(e?this:{id:this,text:this})}),n.callback(a))}}function x(t,s){if(e.isFunction(t))return!0;if(!t)return!1;if("string"==typeof t)return!0;throw Error(s+" must be a string, function, or falsy value")}function T(t,s){if(e.isFunction(t)){var i=Array.prototype.slice.call(arguments,2);return t.apply(s,i)}return t}function O(t){var s=0;return e.each(t,function(e,t){t.children?s+=O(t.children):s++}),s}function P(e,s,i,n){var o,r,c,l,h,u=e,d=!1;if(!n.createSearchChoice||!n.tokenSeparators||1>n.tokenSeparators.length)return t;for(;;){for(r=-1,c=0,l=n.tokenSeparators.length;l>c&&(h=n.tokenSeparators[c],r=e.indexOf(h),!(r>=0));c++);if(0>r)break;if(o=e.substring(0,r),e=e.substring(r+h.length),o.length>0&&(o=n.createSearchChoice.call(this,o,s),o!==t&&null!==o&&n.id(o)!==t&&null!==n.id(o))){for(d=!1,c=0,l=s.length;l>c;c++)if(a(n.id(o),n.id(s[c]))){d=!0;break}d||i(o)}}return u!==e?e:t}function I(){var t=this;e.each(arguments,function(e,s){t[s].remove(),t[s]=null})}function k(t,s){var i=function(){};return i.prototype=new t,i.prototype.constructor=i,i.prototype.parent=t.prototype,i.prototype=e.extend(i.prototype,s),i}if(window.Select2===t){var A,R,D,H,M,L,N,U,F={x:0,y:0},A={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(e){switch(e=e.which?e.which:e){case A.LEFT:case A.RIGHT:case A.UP:case A.DOWN:return!0}return!1},isControl:function(e){var t=e.which;switch(t){case A.SHIFT:case A.CTRL:case A.ALT:return!0}return e.metaKey?!0:!1},isFunctionKey:function(e){return e=e.which?e.which:e,e>=112&&123>=e}},z="<div class='select2-measure-scrollbar'></div>",j={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};N=e(document),M=function(){var e=1;return function(){return e++}}(),R=k(Object,{bind:function(e){var t=this;return function(){e.apply(t,arguments)}},init:function(s){var i,n,a=".select2-results";this.opts=s=this.prepareOpts(s),this.id=s.id,s.element.data("select2")!==t&&null!==s.element.data("select2")&&s.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=e("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body),this.containerId="s2id_"+(s.element.attr("id")||"autogen"+M()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",s.element.attr("title")),this.body=e("body"),b(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",s.element.attr("style")),this.container.css(T(s.containerCss,this.opts.element)),this.container.addClass(T(s.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",g),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),b(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(s.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",g),this.results=i=this.container.find(a),this.search=n=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",g),h(this.results),this.dropdown.on("mousemove-filtered",a,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",a,this.bind(function(e){this._touchEvent=!0,this.highlightUnderEvent(e)})),this.dropdown.on("touchmove",a,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",a,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),d(80,this.results),this.dropdown.on("scroll-debounced",a,this.bind(this.loadMoreIfNeeded)),e(this.container).on("change",".select2-input",function(e){e.stopPropagation()}),e(this.dropdown).on("change",".select2-input",function(e){e.stopPropagation()}),e.fn.mousewheel&&i.mousewheel(function(e,t,s,n){var o=i.scrollTop();n>0&&0>=o-n?(i.scrollTop(0),g(e)):0>n&&i.get(0).scrollHeight-i.scrollTop()+n<=i.height()&&(i.scrollTop(i.get(0).scrollHeight-i.height()),g(e))}),l(n),n.on("keyup-change input paste",this.bind(this.updateResults)),n.on("focus",function(){n.addClass("select2-focused")}),n.on("blur",function(){n.removeClass("select2-focused")}),this.dropdown.on("mouseup",a,this.bind(function(t){e(t.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(t),this.selectHighlighted(t))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(e){e.stopPropagation()}),this.nextSearchTerm=t,e.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==s.maximumInputLength&&this.search.attr("maxlength",s.maximumInputLength);var r=s.element.prop("disabled");r===t&&(r=!1),this.enable(!r);var c=s.element.prop("readonly");c===t&&(c=!1),this.readonly(c),U=U||o(),this.autofocus=s.element.prop("autofocus"),s.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",s.searchInputPlaceholder)},destroy:function(){var e=this.opts.element,s=e.data("select2"),i=this;this.close(),e.length&&e[0].detachEvent&&e.each(function(){this.detachEvent("onpropertychange",i._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,s!==t&&(s.container.remove(),s.liveRegion.remove(),s.dropdown.remove(),e.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?e.attr({tabindex:this.elementTabIndex}):e.removeAttr("tabindex"),e.show()),I.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(e){return e.is("option")?{id:e.prop("value"),text:e.text(),element:e.get(),css:e.attr("class"),disabled:e.prop("disabled"),locked:a(e.attr("locked"),"locked")||a(e.data("locked"),!0)}:e.is("optgroup")?{text:e.attr("label"),children:[],element:e.get(),css:e.attr("class")}:t},prepareOpts:function(s){var i,n,o,c,l=this;if(i=s.element,"select"===i.get(0).tagName.toLowerCase()&&(this.select=n=s.element),n&&e.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in s)throw Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),s=e.extend({},{populateResults:function(i,n,o){var a,r=this.opts.id,c=this.liveRegion;a=function(i,n,h){var u,d,p,f,g,m,v,b,w,C;i=s.sortResults(i,n,o);var S=[];for(u=0,d=i.length;d>u;u+=1)p=i[u],g=p.disabled===!0,f=!g&&r(p)!==t,m=p.children&&p.children.length>0,v=e("<li></li>"),v.addClass("select2-results-dept-"+h),v.addClass("select2-result"),v.addClass(f?"select2-result-selectable":"select2-result-unselectable"),g&&v.addClass("select2-disabled"),m&&v.addClass("select2-result-with-children"),v.addClass(l.opts.formatResultCssClass(p)),v.attr("role","presentation"),b=e(document.createElement("div")),b.addClass("select2-result-label"),b.attr("id","select2-result-label-"+M()),b.attr("role","option"),C=s.formatResult(p,b,o,l.opts.escapeMarkup),C!==t&&(b.html(C),v.append(b)),m&&(w=e("<ul></ul>"),w.addClass("select2-result-sub"),a(p.children,w,h+1),v.append(w)),v.data("select2-data",p),S.push(v[0]);n.append(S),c.text(s.formatMatches(i.length))},a(n,i,0)}},e.fn.select2.defaults,s),"function"!=typeof s.id&&(o=s.id,s.id=function(e){return e[o]}),e.isArray(s.element.data("select2Tags"))){if("tags"in s)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+s.element.attr("id");s.tags=s.element.data("select2Tags")}if(n?(s.query=this.bind(function(e){var s,n,o,a={results:[],more:!1},r=e.term;o=function(t,s){var i;t.is("option")?e.matcher(r,t.text(),t)&&s.push(l.optionToData(t)):t.is("optgroup")&&(i=l.optionToData(t),t.children().each2(function(e,t){o(t,i.children)}),i.children.length>0&&s.push(i))},s=i.children(),this.getPlaceholder()!==t&&s.length>0&&(n=this.getPlaceholderOption(),n&&(s=s.not(n))),s.each2(function(e,t){o(t,a.results)}),e.callback(a)}),s.id=function(e){return e.id}):"query"in s||("ajax"in s?(c=s.element.data("ajax-url"),c&&c.length>0&&(s.ajax.url=c),s.query=S.call(s.element,s.ajax)):"data"in s?s.query=y(s.data):"tags"in s&&(s.query=E(s.tags),s.createSearchChoice===t&&(s.createSearchChoice=function(t){return{id:e.trim(t),text:e.trim(t)}}),s.initSelection===t&&(s.initSelection=function(i,n){var o=[];e(r(i.val(),s.separator)).each(function(){var i={id:this,text:this},n=s.tags;e.isFunction(n)&&(n=n()),e(n).each(function(){return a(this.id,i.id)?(i=this,!1):t}),o.push(i)}),n(o)}))),"function"!=typeof s.query)throw"query function not defined for Select2 "+s.element.attr("id");if("top"===s.createSearchChoicePosition)s.createSearchChoicePosition=function(e,t){e.unshift(t)};else if("bottom"===s.createSearchChoicePosition)s.createSearchChoicePosition=function(e,t){e.push(t)};else if("function"!=typeof s.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return s},monitorSource:function(){var s,i=this.opts.element,n=this;i.on("change.select2",this.bind(function(){this.opts.element.data("select2-change-triggered")!==!0&&this.initSelection()})),this._sync=this.bind(function(){var e=i.prop("disabled");e===t&&(e=!1),this.enable(!e);var s=i.prop("readonly");s===t&&(s=!1),this.readonly(s),b(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(T(this.opts.containerCssClass,this.opts.element)),b(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(this.opts.dropdownCssClass,this.opts.element))}),i.length&&i[0].attachEvent&&i.each(function(){this.attachEvent("onpropertychange",n._sync)}),s=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,s!==t&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new s(function(t){e.each(t,n._sync)}),this.propertyObserver.observe(i.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(t){var s=e.Event("select2-selecting",{val:this.id(t),object:t,choice:t});return this.opts.element.trigger(s),!s.isDefaultPrevented()},triggerChange:function(t){t=t||{},t=e.extend({},t,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(t),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return this.enabledInterface===!0},enableInterface:function(){var e=this._enabled&&!this._readonly,t=!e;return e===this.enabledInterface?!1:(this.container.toggleClass("select2-container-disabled",t),this.close(),this.enabledInterface=e,!0)},enable:function(e){e===t&&(e=!0),this._enabled!==e&&(this._enabled=e,this.opts.element.prop("disabled",!e),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(e){e===t&&(e=!1),this._readonly!==e&&(this._readonly=e,this.opts.element.prop("readonly",e),this.enableInterface())},opened:function(){return this.container?this.container.hasClass("select2-dropdown-open"):!1},positionDropdown:function(){var t,s,i,n,o,a=this.dropdown,r=this.container.offset(),c=this.container.outerHeight(!1),l=this.container.outerWidth(!1),h=a.outerHeight(!1),u=e(window),d=u.width(),p=u.height(),f=u.scrollLeft()+d,g=u.scrollTop()+p,m=r.top+c,v=r.left,b=g>=m+h,w=r.top-h>=u.scrollTop(),C=a.outerWidth(!1),S=f>=v+C,y=a.hasClass("select2-drop-above");y?(s=!0,!w&&b&&(i=!0,s=!1)):(s=!1,!b&&w&&(i=!0,s=!0)),i&&(a.hide(),r=this.container.offset(),c=this.container.outerHeight(!1),l=this.container.outerWidth(!1),h=a.outerHeight(!1),f=u.scrollLeft()+d,g=u.scrollTop()+p,m=r.top+c,v=r.left,C=a.outerWidth(!1),S=f>=v+C,a.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(o=e(".select2-results",a)[0],a.addClass("select2-drop-auto-width"),a.css("width",""),C=a.outerWidth(!1)+(o.scrollHeight===o.clientHeight?0:U.width),C>l?l=C:C=l,h=a.outerHeight(!1),S=f>=v+C):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(t=this.body.offset(),m-=t.top,v-=t.left),S||(v=r.left+this.container.outerWidth(!1)-C),n={left:v,width:l},s?(n.top=r.top-h,n.bottom="auto",this.container.addClass("select2-drop-above"),a.addClass("select2-drop-above")):(n.top=m,n.bottom="auto",this.container.removeClass("select2-drop-above"),a.removeClass("select2-drop-above")),n=e.extend(n,T(this.opts.dropdownCss,this.opts.element)),a.css(n)},shouldOpen:function(){var t;return this.opened()?!1:this._enabled===!1||this._readonly===!0?!1:(t=e.Event("select2-opening"),this.opts.element.trigger(t),!t.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return this.shouldOpen()?(this.opening(),N.on("mousemove.select2Event",function(e){F.x=e.pageX,F.y=e.pageY}),!0):!1},opening:function(){var t,i=this.containerEventName,n="scroll."+i,o="resize."+i,a="orientationchange."+i;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),t=e("#select2-drop-mask"),0==t.length&&(t=e(document.createElement("div")),t.attr("id","select2-drop-mask").attr("class","select2-drop-mask"),t.hide(),t.appendTo(this.body),t.on("mousedown touchstart click",function(i){s(t);var n,o=e("#select2-drop");o.length>0&&(n=o.data("select2"),n.opts.selectOnBlur&&n.selectHighlighted({noFocus:!0}),n.close(),i.preventDefault(),i.stopPropagation())})),this.dropdown.prev()[0]!==t[0]&&this.dropdown.before(t),e("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),t.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var r=this;this.container.parents().add(window).each(function(){e(this).on(o+" "+n+" "+a,function(){r.opened()&&r.positionDropdown()})})},close:function(){if(this.opened()){var t=this.containerEventName,s="scroll."+t,i="resize."+t,n="orientationchange."+t;this.container.parents().add(window).each(function(){e(this).off(s).off(i).off(n)}),this.clearDropdownAlignmentPreference(),e("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),N.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.opts.element.trigger(e.Event("select2-close"))}},externalSearch:function(e){this.open(),this.search.val(e),this.updateResults(!1)},clearSearch:function(){},getMaximumSelectionSize:function(){return T(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var s,i,n,o,a,r,c,l,h=this.results;if(i=this.highlight(),!(0>i)){if(0==i)return h.scrollTop(0),t;s=this.findHighlightableChoices().find(".select2-result-label"),n=e(s[i]),l=(n.offset()||{}).top||0,o=l+n.outerHeight(!0),i===s.length-1&&(c=h.find("li.select2-more-results"),c.length>0&&(o=c.offset().top+c.outerHeight(!0))),a=h.offset().top+h.outerHeight(!0),o>a&&h.scrollTop(h.scrollTop()+(o-a)),r=l-h.offset().top,0>r&&"none"!=n.css("display")&&h.scrollTop(h.scrollTop()+r)}},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(t){for(var s=this.findHighlightableChoices(),i=this.highlight();i>-1&&s.length>i;){i+=t;var n=e(s[i]);if(n.hasClass("select2-result-selectable")&&!n.hasClass("select2-disabled")&&!n.hasClass("select2-selected")){this.highlight(i);break}}},highlight:function(s){var i,o,a=this.findHighlightableChoices();return 0===arguments.length?n(a.filter(".select2-highlighted")[0],a.get()):(s>=a.length&&(s=a.length-1),0>s&&(s=0),this.removeHighlight(),i=e(a[s]),i.addClass("select2-highlighted"),this.search.attr("aria-activedescendant",i.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(i.text()),o=i.data("select2-data"),o&&this.opts.element.trigger({type:"select2-highlight",val:this.id(o),choice:o}),t)},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(t){var s=e(t.target).closest(".select2-result-selectable");if(s.length>0&&!s.is(".select2-highlighted")){var i=this.findHighlightableChoices();this.highlight(i.index(s))}else 0==s.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var e,t=this.results,s=t.find("li.select2-more-results"),i=this.resultsPage+1,n=this,o=this.search.val(),a=this.context;0!==s.length&&(e=s.offset().top-t.offset().top-t.height(),this.opts.loadMorePadding>=e&&(s.addClass("select2-active"),this.opts.query({element:this.opts.element,term:o,page:i,context:a,matcher:this.opts.matcher,callback:this.bind(function(e){n.opened()&&(n.opts.populateResults.call(this,t,e.results,{term:o,page:i,context:a}),n.postprocessResults(e,!1,!1),e.more===!0?(s.detach().appendTo(t).text(T(n.opts.formatLoadMore,n.opts.element,i+1)),window.setTimeout(function(){n.loadMoreIfNeeded()},10)):s.remove(),n.positionDropdown(),n.resultsPage=i,n.context=e.context,this.opts.element.trigger({type:"select2-loaded",items:e}))})})))},tokenize:function(){},updateResults:function(s){function i(){l.removeClass("select2-active"),d.positionDropdown(),h.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?d.liveRegion.text(h.text()):d.liveRegion.text(d.opts.formatMatches(h.find(".select2-result-selectable").length))}function n(e){h.html(e),i()}var o,r,c,l=this.search,h=this.results,u=this.opts,d=this,p=l.val(),f=e.data(this.container,"select2-last-term");if((s===!0||!f||!a(p,f))&&(e.data(this.container,"select2-last-term",p),s===!0||this.showSearchInput!==!1&&this.opened())){c=++this.queryCount;var g=this.getMaximumSelectionSize();if(g>=1&&(o=this.data(),e.isArray(o)&&o.length>=g&&x(u.formatSelectionTooBig,"formatSelectionTooBig")))return n("<li class='select2-selection-limit'>"+T(u.formatSelectionTooBig,u.element,g)+"</li>"),t;if(l.val().length<u.minimumInputLength)return x(u.formatInputTooShort,"formatInputTooShort")?n("<li class='select2-no-results'>"+T(u.formatInputTooShort,u.element,l.val(),u.minimumInputLength)+"</li>"):n(""),s&&this.showSearch&&this.showSearch(!0),t;if(u.maximumInputLength&&l.val().length>u.maximumInputLength)return x(u.formatInputTooLong,"formatInputTooLong")?n("<li class='select2-no-results'>"+T(u.formatInputTooLong,u.element,l.val(),u.maximumInputLength)+"</li>"):n(""),t;u.formatSearching&&0===this.findHighlightableChoices().length&&n("<li class='select2-searching'>"+T(u.formatSearching,u.element)+"</li>"),l.addClass("select2-active"),this.removeHighlight(),r=this.tokenize(),r!=t&&null!=r&&l.val(r),this.resultsPage=1,u.query({element:u.element,term:l.val(),page:this.resultsPage,context:null,matcher:u.matcher,callback:this.bind(function(o){var r;if(c==this.queryCount){if(!this.opened())return this.search.removeClass("select2-active"),t;if(o.hasError!==t&&x(u.formatAjaxError,"formatAjaxError"))return n("<li class='select2-ajax-error'>"+T(u.formatAjaxError,u.element,o.jqXHR,o.textStatus,o.errorThrown)+"</li>"),t;if(this.context=o.context===t?null:o.context,this.opts.createSearchChoice&&""!==l.val()&&(r=this.opts.createSearchChoice.call(d,l.val(),o.results),r!==t&&null!==r&&d.id(r)!==t&&null!==d.id(r)&&0===e(o.results).filter(function(){return a(d.id(this),d.id(r))}).length&&this.opts.createSearchChoicePosition(o.results,r)),0===o.results.length&&x(u.formatNoMatches,"formatNoMatches"))return n("<li class='select2-no-results'>"+T(u.formatNoMatches,u.element,l.val())+"</li>"),t;
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  (function(e){e.fn.each2===void 0&&e.extend(e.fn,{each2:function(t){for(var s=e([0]),i=-1,n=this.length;n>++i&&(s.context=s[0]=this[i])&&t.call(s[0],i,s)!==!1;);return this}})})(jQuery),function(e,t){"use strict";function s(t){var s=e(document.createTextNode(""));t.before(s),s.before(t),s.remove()}function i(e){function t(e){return j[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(e,t){for(var s=0,i=t.length;i>s;s+=1)if(a(e,t[s]))return s;return-1}function o(){var t=e(z);t.appendTo("body");var s={width:t.width()-t[0].clientWidth,height:t.height()-t[0].clientHeight};return t.remove(),s}function a(e,s){return e===s?!0:e===t||s===t?!1:null===e||null===s?!1:e.constructor===String?e+""==s+"":s.constructor===String?s+""==e+"":!1}function r(t,s){var i,n,o;if(null===t||1>t.length)return[];for(i=t.split(s),n=0,o=i.length;o>n;n+=1)i[n]=e.trim(i[n]);return i}function c(e){return e.outerWidth(!1)-e.width()}function l(s){var i="keyup-change-value";s.on("keydown",function(){e.data(s,i)===t&&e.data(s,i,s.val())}),s.on("keyup",function(){var n=e.data(s,i);n!==t&&s.val()!==n&&(e.removeData(s,i),s.trigger("keyup-change"))})}function h(s){s.on("mousemove",function(s){var i=F;(i===t||i.x!==s.pageX||i.y!==s.pageY)&&e(s.target).trigger("mousemove-filtered",s)})}function u(e,s,i){i=i||t;var n;return function(){var t=arguments;window.clearTimeout(n),n=window.setTimeout(function(){s.apply(i,t)},e)}}function d(e,t){var s=u(e,function(e){t.trigger("scroll-debounced",e)});t.on("scroll",function(e){n(e.target,t.get())>=0&&s(e)})}function p(e){e[0]!==document.activeElement&&window.setTimeout(function(){var t,s=e[0],i=e.val().length;e.focus();var n=s.offsetWidth>0||s.offsetHeight>0;n&&s===document.activeElement&&(s.setSelectionRange?s.setSelectionRange(i,i):s.createTextRange&&(t=s.createTextRange(),t.collapse(!1),t.select()))},0)}function f(t){t=e(t)[0];var s=0,i=0;if("selectionStart"in t)s=t.selectionStart,i=t.selectionEnd-s;else if("selection"in document){t.focus();var n=document.selection.createRange();i=document.selection.createRange().text.length,n.moveStart("character",-t.value.length),s=n.text.length-i}return{offset:s,length:i}}function g(e){e.preventDefault(),e.stopPropagation()}function m(e){e.preventDefault(),e.stopImmediatePropagation()}function v(t){if(!L){var s=t[0].currentStyle||window.getComputedStyle(t[0],null);L=e(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:s.fontSize,fontFamily:s.fontFamily,fontStyle:s.fontStyle,fontWeight:s.fontWeight,letterSpacing:s.letterSpacing,textTransform:s.textTransform,whiteSpace:"nowrap"}),L.attr("class","select2-sizer"),e("body").append(L)}return L.text(t.val()),L.width()}function b(t,s,i){var n,o,a=[];n=e.trim(t.attr("class")),n&&(n=""+n,e(n.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&a.push(this)})),n=e.trim(s.attr("class")),n&&(n=""+n,e(n.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(o=i(this),o&&a.push(o))})),t.attr("class",a.join(" "))}function w(e,s,n,o){var a=i(e.toUpperCase()).indexOf(i(s.toUpperCase())),r=s.length;return 0>a?(n.push(o(e)),t):(n.push(o(e.substring(0,a))),n.push("<span class='select2-match'>"),n.push(o(e.substring(a,a+r))),n.push("</span>"),n.push(o(e.substring(a+r,e.length))),t)}function C(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return(e+"").replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function S(s){var i,n=null,o=s.quietMillis||100,a=s.url,r=this;return function(c){window.clearTimeout(i),i=window.setTimeout(function(){var i=s.data,o=a,l=s.transport||e.fn.select2.ajaxDefaults.transport,h={type:s.type||"GET",cache:s.cache||!1,jsonpCallback:s.jsonpCallback||t,dataType:s.dataType||"json"},u=e.extend({},e.fn.select2.ajaxDefaults.params,h);i=i?i.call(r,c.term,c.page,c.context):null,o="function"==typeof o?o.call(r,c.term,c.page,c.context):o,n&&"function"==typeof n.abort&&n.abort(),s.params&&(e.isFunction(s.params)?e.extend(u,s.params.call(r)):e.extend(u,s.params)),e.extend(u,{url:o,dataType:s.dataType,data:i,success:function(e){var t=s.results(e,c.page,c);c.callback(t)},error:function(e,t,s){var i={hasError:!0,jqXHR:e,textStatus:t,errorThrown:s};c.callback(i)}}),n=l.call(r,u)},o)}}function y(s){var i,n,o=s,a=function(e){return""+e.text};e.isArray(o)&&(n=o,o={results:n}),e.isFunction(o)===!1&&(n=o,o=function(){return n});var r=o();return r.text&&(a=r.text,e.isFunction(a)||(i=r.text,a=function(e){return e[i]})),function(s){var i,n=s.term,r={results:[]};return""===n?(s.callback(o()),t):(i=function(t,o){var r,c;if(t=t[0],t.children){r={};for(c in t)t.hasOwnProperty(c)&&(r[c]=t[c]);r.children=[],e(t.children).each2(function(e,t){i(t,r.children)}),(r.children.length||s.matcher(n,a(r),t))&&o.push(r)}else s.matcher(n,a(t),t)&&o.push(t)},e(o().results).each2(function(e,t){i(t,r.results)}),s.callback(r),t)}}function E(s){var i=e.isFunction(s);return function(n){var o=n.term,a={results:[]},r=i?s(n):s;e.isArray(r)&&(e(r).each(function(){var e=this.text!==t,s=e?this.text:this;(""===o||n.matcher(o,s))&&a.results.push(e?this:{id:this,text:this})}),n.callback(a))}}function x(t,s){if(e.isFunction(t))return!0;if(!t)return!1;if("string"==typeof t)return!0;throw Error(s+" must be a string, function, or falsy value")}function T(t,s){if(e.isFunction(t)){var i=Array.prototype.slice.call(arguments,2);return t.apply(s,i)}return t}function O(t){var s=0;return e.each(t,function(e,t){t.children?s+=O(t.children):s++}),s}function P(e,s,i,n){var o,r,c,l,h,u=e,d=!1;if(!n.createSearchChoice||!n.tokenSeparators||1>n.tokenSeparators.length)return t;for(;;){for(r=-1,c=0,l=n.tokenSeparators.length;l>c&&(h=n.tokenSeparators[c],r=e.indexOf(h),!(r>=0));c++);if(0>r)break;if(o=e.substring(0,r),e=e.substring(r+h.length),o.length>0&&(o=n.createSearchChoice.call(this,o,s),o!==t&&null!==o&&n.id(o)!==t&&null!==n.id(o))){for(d=!1,c=0,l=s.length;l>c;c++)if(a(n.id(o),n.id(s[c]))){d=!0;break}d||i(o)}}return u!==e?e:t}function I(){var t=this;e.each(arguments,function(e,s){t[s].remove(),t[s]=null})}function k(t,s){var i=function(){};return i.prototype=new t,i.prototype.constructor=i,i.prototype.parent=t.prototype,i.prototype=e.extend(i.prototype,s),i}if(window.Select2===t){var A,R,D,H,M,L,N,U,F={x:0,y:0},A={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(e){switch(e=e.which?e.which:e){case A.LEFT:case A.RIGHT:case A.UP:case A.DOWN:return!0}return!1},isControl:function(e){var t=e.which;switch(t){case A.SHIFT:case A.CTRL:case A.ALT:return!0}return e.metaKey?!0:!1},isFunctionKey:function(e){return e=e.which?e.which:e,e>=112&&123>=e}},z="<div class='select2-measure-scrollbar'></div>",j={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};N=e(document),M=function(){var e=1;return function(){return e++}}(),R=k(Object,{bind:function(e){var t=this;return function(){e.apply(t,arguments)}},init:function(s){var i,n,a=".select2-results";this.opts=s=this.prepareOpts(s),this.id=s.id,s.element.data("select2")!==t&&null!==s.element.data("select2")&&s.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=e("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body),this.containerId="s2id_"+(s.element.attr("id")||"autogen"+M()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",s.element.attr("title")),this.body=e("body"),b(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",s.element.attr("style")),this.container.css(T(s.containerCss,this.opts.element)),this.container.addClass(T(s.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",g),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),b(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(s.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",g),this.results=i=this.container.find(a),this.search=n=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",g),h(this.results),this.dropdown.on("mousemove-filtered",a,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",a,this.bind(function(e){this._touchEvent=!0,this.highlightUnderEvent(e)})),this.dropdown.on("touchmove",a,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",a,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),d(80,this.results),this.dropdown.on("scroll-debounced",a,this.bind(this.loadMoreIfNeeded)),e(this.container).on("change",".select2-input",function(e){e.stopPropagation()}),e(this.dropdown).on("change",".select2-input",function(e){e.stopPropagation()}),e.fn.mousewheel&&i.mousewheel(function(e,t,s,n){var o=i.scrollTop();n>0&&0>=o-n?(i.scrollTop(0),g(e)):0>n&&i.get(0).scrollHeight-i.scrollTop()+n<=i.height()&&(i.scrollTop(i.get(0).scrollHeight-i.height()),g(e))}),l(n),n.on("keyup-change input paste",this.bind(this.updateResults)),n.on("focus",function(){n.addClass("select2-focused")}),n.on("blur",function(){n.removeClass("select2-focused")}),this.dropdown.on("mouseup",a,this.bind(function(t){e(t.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(t),this.selectHighlighted(t))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(e){e.stopPropagation()}),this.nextSearchTerm=t,e.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==s.maximumInputLength&&this.search.attr("maxlength",s.maximumInputLength);var r=s.element.prop("disabled");r===t&&(r=!1),this.enable(!r);var c=s.element.prop("readonly");c===t&&(c=!1),this.readonly(c),U=U||o(),this.autofocus=s.element.prop("autofocus"),s.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",s.searchInputPlaceholder)},destroy:function(){var e=this.opts.element,s=e.data("select2"),i=this;this.close(),e.length&&e[0].detachEvent&&e.each(function(){this.detachEvent("onpropertychange",i._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,s!==t&&(s.container.remove(),s.liveRegion.remove(),s.dropdown.remove(),e.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?e.attr({tabindex:this.elementTabIndex}):e.removeAttr("tabindex"),e.show()),I.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(e){return e.is("option")?{id:e.prop("value"),text:e.text(),element:e.get(),css:e.attr("class"),disabled:e.prop("disabled"),locked:a(e.attr("locked"),"locked")||a(e.data("locked"),!0)}:e.is("optgroup")?{text:e.attr("label"),children:[],element:e.get(),css:e.attr("class")}:t},prepareOpts:function(s){var i,n,o,c,l=this;if(i=s.element,"select"===i.get(0).tagName.toLowerCase()&&(this.select=n=s.element),n&&e.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in s)throw Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),s=e.extend({},{populateResults:function(i,n,o){var a,r=this.opts.id,c=this.liveRegion;a=function(i,n,h){var u,d,p,f,g,m,v,b,w,C;i=s.sortResults(i,n,o);var S=[];for(u=0,d=i.length;d>u;u+=1)p=i[u],g=p.disabled===!0,f=!g&&r(p)!==t,m=p.children&&p.children.length>0,v=e("<li></li>"),v.addClass("select2-results-dept-"+h),v.addClass("select2-result"),v.addClass(f?"select2-result-selectable":"select2-result-unselectable"),g&&v.addClass("select2-disabled"),m&&v.addClass("select2-result-with-children"),v.addClass(l.opts.formatResultCssClass(p)),v.attr("role","presentation"),b=e(document.createElement("div")),b.addClass("select2-result-label"),b.attr("id","select2-result-label-"+M()),b.attr("role","option"),C=s.formatResult(p,b,o,l.opts.escapeMarkup),C!==t&&(b.html(C),v.append(b)),m&&(w=e("<ul></ul>"),w.addClass("select2-result-sub"),a(p.children,w,h+1),v.append(w)),v.data("select2-data",p),S.push(v[0]);n.append(S),c.text(s.formatMatches(i.length))},a(n,i,0)}},e.fn.select2.defaults,s),"function"!=typeof s.id&&(o=s.id,s.id=function(e){return e[o]}),e.isArray(s.element.data("select2Tags"))){if("tags"in s)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+s.element.attr("id");s.tags=s.element.data("select2Tags")}if(n?(s.query=this.bind(function(e){var s,n,o,a={results:[],more:!1},r=e.term;o=function(t,s){var i;t.is("option")?e.matcher(r,t.text(),t)&&s.push(l.optionToData(t)):t.is("optgroup")&&(i=l.optionToData(t),t.children().each2(function(e,t){o(t,i.children)}),i.children.length>0&&s.push(i))},s=i.children(),this.getPlaceholder()!==t&&s.length>0&&(n=this.getPlaceholderOption(),n&&(s=s.not(n))),s.each2(function(e,t){o(t,a.results)}),e.callback(a)}),s.id=function(e){return e.id}):"query"in s||("ajax"in s?(c=s.element.data("ajax-url"),c&&c.length>0&&(s.ajax.url=c),s.query=S.call(s.element,s.ajax)):"data"in s?s.query=y(s.data):"tags"in s&&(s.query=E(s.tags),s.createSearchChoice===t&&(s.createSearchChoice=function(t){return{id:e.trim(t),text:e.trim(t)}}),s.initSelection===t&&(s.initSelection=function(i,n){var o=[];e(r(i.val(),s.separator)).each(function(){var i={id:this,text:this},n=s.tags;e.isFunction(n)&&(n=n()),e(n).each(function(){return a(this.id,i.id)?(i=this,!1):t}),o.push(i)}),n(o)}))),"function"!=typeof s.query)throw"query function not defined for Select2 "+s.element.attr("id");if("top"===s.createSearchChoicePosition)s.createSearchChoicePosition=function(e,t){e.unshift(t)};else if("bottom"===s.createSearchChoicePosition)s.createSearchChoicePosition=function(e,t){e.push(t)};else if("function"!=typeof s.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return s},monitorSource:function(){var s,i=this.opts.element,n=this;i.on("change.select2",this.bind(function(){this.opts.element.data("select2-change-triggered")!==!0&&this.initSelection()})),this._sync=this.bind(function(){var e=i.prop("disabled");e===t&&(e=!1),this.enable(!e);var s=i.prop("readonly");s===t&&(s=!1),this.readonly(s),b(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(T(this.opts.containerCssClass,this.opts.element)),b(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(this.opts.dropdownCssClass,this.opts.element))}),i.length&&i[0].attachEvent&&i.each(function(){this.attachEvent("onpropertychange",n._sync)}),s=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,s!==t&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new s(function(t){e.each(t,n._sync)}),this.propertyObserver.observe(i.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(t){var s=e.Event("select2-selecting",{val:this.id(t),object:t,choice:t});return this.opts.element.trigger(s),!s.isDefaultPrevented()},triggerChange:function(t){t=t||{},t=e.extend({},t,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(t),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return this.enabledInterface===!0},enableInterface:function(){var e=this._enabled&&!this._readonly,t=!e;return e===this.enabledInterface?!1:(this.container.toggleClass("select2-container-disabled",t),this.close(),this.enabledInterface=e,!0)},enable:function(e){e===t&&(e=!0),this._enabled!==e&&(this._enabled=e,this.opts.element.prop("disabled",!e),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(e){e===t&&(e=!1),this._readonly!==e&&(this._readonly=e,this.opts.element.prop("readonly",e),this.enableInterface())},opened:function(){return this.container?this.container.hasClass("select2-dropdown-open"):!1},positionDropdown:function(){var t,s,i,n,o,a=this.dropdown,r=this.container.offset(),c=this.container.outerHeight(!1),l=this.container.outerWidth(!1),h=a.outerHeight(!1),u=e(window),d=u.width(),p=u.height(),f=u.scrollLeft()+d,g=u.scrollTop()+p,m=r.top+c,v=r.left,b=g>=m+h,w=r.top-h>=u.scrollTop(),C=a.outerWidth(!1),S=f>=v+C,y=a.hasClass("select2-drop-above");y?(s=!0,!w&&b&&(i=!0,s=!1)):(s=!1,!b&&w&&(i=!0,s=!0)),i&&(a.hide(),r=this.container.offset(),c=this.container.outerHeight(!1),l=this.container.outerWidth(!1),h=a.outerHeight(!1),f=u.scrollLeft()+d,g=u.scrollTop()+p,m=r.top+c,v=r.left,C=a.outerWidth(!1),S=f>=v+C,a.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(o=e(".select2-results",a)[0],a.addClass("select2-drop-auto-width"),a.css("width",""),C=a.outerWidth(!1)+(o.scrollHeight===o.clientHeight?0:U.width),C>l?l=C:C=l,h=a.outerHeight(!1),S=f>=v+C):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(t=this.body.offset(),m-=t.top,v-=t.left),S||(v=r.left+this.container.outerWidth(!1)-C),n={left:v,width:l},s?(n.top=r.top-h,n.bottom="auto",this.container.addClass("select2-drop-above"),a.addClass("select2-drop-above")):(n.top=m,n.bottom="auto",this.container.removeClass("select2-drop-above"),a.removeClass("select2-drop-above")),n=e.extend(n,T(this.opts.dropdownCss,this.opts.element)),a.css(n)},shouldOpen:function(){var t;return this.opened()?!1:this._enabled===!1||this._readonly===!0?!1:(t=e.Event("select2-opening"),this.opts.element.trigger(t),!t.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return this.shouldOpen()?(this.opening(),N.on("mousemove.select2Event",function(e){F.x=e.pageX,F.y=e.pageY}),!0):!1},opening:function(){var t,i=this.containerEventName,n="scroll."+i,o="resize."+i,a="orientationchange."+i;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),t=e("#select2-drop-mask"),0==t.length&&(t=e(document.createElement("div")),t.attr("id","select2-drop-mask").attr("class","select2-drop-mask"),t.hide(),t.appendTo(this.body),t.on("mousedown touchstart click",function(i){s(t);var n,o=e("#select2-drop");o.length>0&&(n=o.data("select2"),n.opts.selectOnBlur&&n.selectHighlighted({noFocus:!0}),n.close(),i.preventDefault(),i.stopPropagation())})),this.dropdown.prev()[0]!==t[0]&&this.dropdown.before(t),e("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),t.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var r=this;this.container.parents().add(window).each(function(){e(this).on(o+" "+n+" "+a,function(){r.opened()&&r.positionDropdown()})})},close:function(){if(this.opened()){var t=this.containerEventName,s="scroll."+t,i="resize."+t,n="orientationchange."+t;this.container.parents().add(window).each(function(){e(this).off(s).off(i).off(n)}),this.clearDropdownAlignmentPreference(),e("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),N.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.opts.element.trigger(e.Event("select2-close"))}},externalSearch:function(e){this.open(),this.search.val(e),this.updateResults(!1)},clearSearch:function(){},getMaximumSelectionSize:function(){return T(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var s,i,n,o,a,r,c,l,h=this.results;if(i=this.highlight(),!(0>i)){if(0==i)return h.scrollTop(0),t;s=this.findHighlightableChoices().find(".select2-result-label"),n=e(s[i]),l=(n.offset()||{}).top||0,o=l+n.outerHeight(!0),i===s.length-1&&(c=h.find("li.select2-more-results"),c.length>0&&(o=c.offset().top+c.outerHeight(!0))),a=h.offset().top+h.outerHeight(!0),o>a&&h.scrollTop(h.scrollTop()+(o-a)),r=l-h.offset().top,0>r&&"none"!=n.css("display")&&h.scrollTop(h.scrollTop()+r)}},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(t){for(var s=this.findHighlightableChoices(),i=this.highlight();i>-1&&s.length>i;){i+=t;var n=e(s[i]);if(n.hasClass("select2-result-selectable")&&!n.hasClass("select2-disabled")&&!n.hasClass("select2-selected")){this.highlight(i);break}}},highlight:function(s){var i,o,a=this.findHighlightableChoices();return 0===arguments.length?n(a.filter(".select2-highlighted")[0],a.get()):(s>=a.length&&(s=a.length-1),0>s&&(s=0),this.removeHighlight(),i=e(a[s]),i.addClass("select2-highlighted"),this.search.attr("aria-activedescendant",i.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(i.text()),o=i.data("select2-data"),o&&this.opts.element.trigger({type:"select2-highlight",val:this.id(o),choice:o}),t)},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(t){var s=e(t.target).closest(".select2-result-selectable");if(s.length>0&&!s.is(".select2-highlighted")){var i=this.findHighlightableChoices();this.highlight(i.index(s))}else 0==s.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var e,t=this.results,s=t.find("li.select2-more-results"),i=this.resultsPage+1,n=this,o=this.search.val(),a=this.context;0!==s.length&&(e=s.offset().top-t.offset().top-t.height(),this.opts.loadMorePadding>=e&&(s.addClass("select2-active"),this.opts.query({element:this.opts.element,term:o,page:i,context:a,matcher:this.opts.matcher,callback:this.bind(function(e){n.opened()&&(n.opts.populateResults.call(this,t,e.results,{term:o,page:i,context:a}),n.postprocessResults(e,!1,!1),e.more===!0?(s.detach().appendTo(t).text(T(n.opts.formatLoadMore,n.opts.element,i+1)),window.setTimeout(function(){n.loadMoreIfNeeded()},10)):s.remove(),n.positionDropdown(),n.resultsPage=i,n.context=e.context,this.opts.element.trigger({type:"select2-loaded",items:e}))})})))},tokenize:function(){},updateResults:function(s){function i(){l.removeClass("select2-active"),d.positionDropdown(),h.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?d.liveRegion.text(h.text()):d.liveRegion.text(d.opts.formatMatches(h.find(".select2-result-selectable").length))}function n(e){h.html(e),i()}var o,r,c,l=this.search,h=this.results,u=this.opts,d=this,p=l.val(),f=e.data(this.container,"select2-last-term");if((s===!0||!f||!a(p,f))&&(e.data(this.container,"select2-last-term",p),s===!0||this.showSearchInput!==!1&&this.opened())){c=++this.queryCount;var g=this.getMaximumSelectionSize();if(g>=1&&(o=this.data(),e.isArray(o)&&o.length>=g&&x(u.formatSelectionTooBig,"formatSelectionTooBig")))return n("<li class='select2-selection-limit'>"+T(u.formatSelectionTooBig,u.element,g)+"</li>"),t;if(l.val().length<u.minimumInputLength)return x(u.formatInputTooShort,"formatInputTooShort")?n("<li class='select2-no-results'>"+T(u.formatInputTooShort,u.element,l.val(),u.minimumInputLength)+"</li>"):n(""),s&&this.showSearch&&this.showSearch(!0),t;if(u.maximumInputLength&&l.val().length>u.maximumInputLength)return x(u.formatInputTooLong,"formatInputTooLong")?n("<li class='select2-no-results'>"+T(u.formatInputTooLong,u.element,l.val(),u.maximumInputLength)+"</li>"):n(""),t;u.formatSearching&&0===this.findHighlightableChoices().length&&n("<li class='select2-searching'>"+T(u.formatSearching,u.element)+"</li>"),l.addClass("select2-active"),this.removeHighlight(),r=this.tokenize(),r!=t&&null!=r&&l.val(r),this.resultsPage=1,u.query({element:u.element,term:l.val(),page:this.resultsPage,context:null,matcher:u.matcher,callback:this.bind(function(o){var r;if(c==this.queryCount){if(!this.opened())return this.search.removeClass("select2-active"),t;if(o.hasError!==t&&x(u.formatAjaxError,"formatAjaxError"))return n("<li class='select2-ajax-error'>"+T(u.formatAjaxError,u.element,o.jqXHR,o.textStatus,o.errorThrown)+"</li>"),t;if(this.context=o.context===t?null:o.context,this.opts.createSearchChoice&&""!==l.val()&&(r=this.opts.createSearchChoice.call(d,l.val(),o.results),r!==t&&null!==r&&d.id(r)!==t&&null!==d.id(r)&&0===e(o.results).filter(function(){return a(d.id(this),d.id(r))}).length&&this.opts.createSearchChoicePosition(o.results,r)),0===o.results.length&&x(u.formatNoMatches,"formatNoMatches"))return n("<li class='select2-no-results'>"+T(u.formatNoMatches,u.element,l.val())+"</li>"),t;
inc/external/wpmu-lib/js/tiny-scrollbar.2.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*! tinyscrollbar - v2.1.7 - 2014-05-21
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*! tinyscrollbar - v2.1.7 - 2014-05-21
inc/external/wpmu-lib/js/tiny-scrollbar.2.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(t){"use strict";function e(e,n){function o(){return d.update(),r(),d}function a(){v.css(x,d.contentPosition/d.trackRatio),f.css(x,-d.contentPosition),g.css(y,d.trackSize),m.css(y,d.trackSize),v.css(y,d.thumbSize)}function r(){S?p[0].ontouchstart=function(t){1===t.touches.length&&(t.stopPropagation(),c(t.touches[0]))}:(v.bind("mousedown",c),m.bind("mousedown",h)),t(window).resize(function(){d.update("relative")}),d.options.wheel&&window.addEventListener?e[0].addEventListener(C,l,!1):d.options.wheel&&(e[0].onmousewheel=l)}function c(e){t("body").addClass("noSelect"),w=b?e.pageX:e.pageY,d.thumbPosition=parseInt(v.css(x),10)||0,S?(document.ontouchmove=function(t){t.preventDefault(),h(t.touches[0])},document.ontouchend=u):(t(document).bind("mousemove",h),t(document).bind("mouseup",u),v.bind("mouseup",u))}function l(s){if(1>d.contentRatio){var i=s||window.event,n="delta"+d.options.axis.toUpperCase(),o=-(i[n]||i.detail||-1/3*i.wheelDelta)/40;d.contentPosition-=o*d.options.wheelSpeed,d.contentPosition=Math.min(d.contentSize-d.viewportSize,Math.max(0,d.contentPosition)),e.trigger("move"),v.css(x,d.contentPosition/d.trackRatio),f.css(x,-d.contentPosition),(d.options.wheelLock||d.contentPosition!==d.contentSize-d.viewportSize&&0!==d.contentPosition)&&(i=t.event.fix(i),i.preventDefault())}}function h(t){if(1>d.contentRatio){var s=b?t.pageX:t.pageY,i=s-w;d.options.scrollInvert&&S&&(i=w-s);var n=Math.min(d.trackSize-d.thumbSize,Math.max(0,d.thumbPosition+i));d.contentPosition=n*d.trackRatio,e.trigger("move"),v.css(x,n),f.css(x,-d.contentPosition)}}function u(){t("body").removeClass("noSelect"),t(document).unbind("mousemove",h),t(document).unbind("mouseup",u),v.unbind("mouseup",u),document.ontouchmove=document.ontouchend=null}this.options=t.extend({},i,n),this._defaults=i,this._name=s;var d=this,p=e.find(".viewport"),f=e.find(".overview"),g=e.find(".scrollbar"),m=g.find(".track"),v=g.find(".thumb"),w=0,b="x"===this.options.axis,S="ontouchstart"in document.documentElement,C="onwheel"in document||document.documentMode>=9?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",y=b?"width":"height",x=b?"left":"top";return this.contentPosition=0,this.viewportSize=0,this.contentSize=0,this.contentRatio=0,this.trackSize=0,this.trackRatio=0,this.thumbSize=0,this.thumbPosition=0,this.update=function(t){var e=y.charAt(0).toUpperCase()+y.slice(1).toLowerCase();switch(this.viewportSize=p[0]["offset"+e],this.contentSize=f[0]["scroll"+e],this.contentRatio=this.viewportSize/this.contentSize,this.trackSize=this.options.trackSize||this.viewportSize,this.thumbSize=Math.min(this.trackSize,Math.max(0,this.options.thumbSize||this.trackSize*this.contentRatio)),this.trackRatio=this.options.thumbSize?(this.contentSize-this.viewportSize)/(this.trackSize-this.thumbSize):this.contentSize/this.trackSize,g.toggleClass("disable",this.contentRatio>=1),t){case"bottom":this.contentPosition=this.contentSize-this.viewportSize;break;case"relative":this.contentPosition=Math.min(Math.max(this.contentSize-this.viewportSize,0),Math.max(0,this.contentPosition));break;default:this.contentPosition=parseInt(t,10)||0}return a(),d},o()}var s="tinyscrollbar",i={axis:"y",wheel:!0,wheelSpeed:40,wheelLock:!0,scrollInvert:!1,trackSize:!1,thumbSize:!1};t.fn[s]=function(i){return this.each(function(){t.data(this,"plugin_"+s)||t.data(this,"plugin_"+s,new e(t(this),i))})}});
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(t){"use strict";function e(e,n){function o(){return d.update(),r(),d}function a(){v.css(x,d.contentPosition/d.trackRatio),f.css(x,-d.contentPosition),g.css(y,d.trackSize),m.css(y,d.trackSize),v.css(y,d.thumbSize)}function r(){S?p[0].ontouchstart=function(t){1===t.touches.length&&(t.stopPropagation(),c(t.touches[0]))}:(v.bind("mousedown",c),m.bind("mousedown",h)),t(window).resize(function(){d.update("relative")}),d.options.wheel&&window.addEventListener?e[0].addEventListener(C,l,!1):d.options.wheel&&(e[0].onmousewheel=l)}function c(e){t("body").addClass("noSelect"),w=b?e.pageX:e.pageY,d.thumbPosition=parseInt(v.css(x),10)||0,S?(document.ontouchmove=function(t){t.preventDefault(),h(t.touches[0])},document.ontouchend=u):(t(document).bind("mousemove",h),t(document).bind("mouseup",u),v.bind("mouseup",u))}function l(s){if(1>d.contentRatio){var i=s||window.event,n="delta"+d.options.axis.toUpperCase(),o=-(i[n]||i.detail||-1/3*i.wheelDelta)/40;d.contentPosition-=o*d.options.wheelSpeed,d.contentPosition=Math.min(d.contentSize-d.viewportSize,Math.max(0,d.contentPosition)),e.trigger("move"),v.css(x,d.contentPosition/d.trackRatio),f.css(x,-d.contentPosition),(d.options.wheelLock||d.contentPosition!==d.contentSize-d.viewportSize&&0!==d.contentPosition)&&(i=t.event.fix(i),i.preventDefault())}}function h(t){if(1>d.contentRatio){var s=b?t.pageX:t.pageY,i=s-w;d.options.scrollInvert&&S&&(i=w-s);var n=Math.min(d.trackSize-d.thumbSize,Math.max(0,d.thumbPosition+i));d.contentPosition=n*d.trackRatio,e.trigger("move"),v.css(x,n),f.css(x,-d.contentPosition)}}function u(){t("body").removeClass("noSelect"),t(document).unbind("mousemove",h),t(document).unbind("mouseup",u),v.unbind("mouseup",u),document.ontouchmove=document.ontouchend=null}this.options=t.extend({},i,n),this._defaults=i,this._name=s;var d=this,p=e.find(".viewport"),f=e.find(".overview"),g=e.find(".scrollbar"),m=g.find(".track"),v=g.find(".thumb"),w=0,b="x"===this.options.axis,S="ontouchstart"in document.documentElement,C="onwheel"in document||document.documentMode>=9?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",y=b?"width":"height",x=b?"left":"top";return this.contentPosition=0,this.viewportSize=0,this.contentSize=0,this.contentRatio=0,this.trackSize=0,this.trackRatio=0,this.thumbSize=0,this.thumbPosition=0,this.update=function(t){var e=y.charAt(0).toUpperCase()+y.slice(1).toLowerCase();switch(this.viewportSize=p[0]["offset"+e],this.contentSize=f[0]["scroll"+e],this.contentRatio=this.viewportSize/this.contentSize,this.trackSize=this.options.trackSize||this.viewportSize,this.thumbSize=Math.min(this.trackSize,Math.max(0,this.options.thumbSize||this.trackSize*this.contentRatio)),this.trackRatio=this.options.thumbSize?(this.contentSize-this.viewportSize)/(this.trackSize-this.thumbSize):this.contentSize/this.trackSize,g.toggleClass("disable",this.contentRatio>=1),t){case"bottom":this.contentPosition=this.contentSize-this.viewportSize;break;case"relative":this.contentPosition=Math.min(Math.max(this.contentSize-this.viewportSize,0),Math.max(0,this.contentPosition));break;default:this.contentPosition=parseInt(t,10)||0}return a(),d},o()}var s="tinyscrollbar",i={axis:"y",wheel:!0,wheelSpeed:40,wheelLock:!0,scrollInvert:!1,trackSize:!1,thumbSize:!1};t.fn[s]=function(i){return this.each(function(){t.data(this,"plugin_"+s)||t.data(this,"plugin_"+s,new e(t(this),i))})}});
inc/external/wpmu-lib/js/wpmu-card-list.2.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*!
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*!
inc/external/wpmu-lib/js/wpmu-card-list.2.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  jQuery(function(){function t(){var t=jQuery(".wpmui-list-table.has-details"),e=t.find(".list-card.detail-mode"),s=jQuery(window).innerHeight()-132;e.length&&e.height(s)}function e(){var e=jQuery(this).parents(".list-card"),i=e.parents(".wpmui-list-table"),n=jQuery(window).innerHeight()-132;i.hasClass("has-details")?s():(window.scrollTo(0,0),i.addClass("has-details"),e.addClass("detail-mode"),e.height(n),e.hide(),jQuery(window).on("resize",t),t(),window.setTimeout(function(){e.show()},10))}function s(e){var s=!1;if(void 0===e&&(s=!0),void 0!==e&&void 0!==e.target){var i=jQuery(e.target);i.hasClass("wpmui-list-table")&&(s=!0)}if(s){var n=jQuery(".list-card.detail-mode"),o=jQuery(".wpmui-list-table.has-details");o.removeClass("has-details"),n.removeClass("detail-mode"),n.height("auto"),jQuery(window).off("resize",t)}}function i(t,e){var s=jQuery(this),i=s.parents(".list-card");!0!==e._is_detail&&(e.value?i.addClass("active"):i.removeClass("active"))}function n(){var t=jQuery(this),e=t.data("filter"),s=jQuery(".list-card"),i=t.parents(".wp-filter").find(".current");switch(i.removeClass("current"),t.addClass("current"),e){case"active":s.hide().filter(".active").show();break;case"inactive":s.show().filter(".active").hide();break;case"all":s.show();break;default:jQuery(document).trigger("list-filter",[e,s])}return!1}jQuery(document).on("wpmui-radio-slider-updated",".wpmui-radio-slider",i),jQuery(document).on("click",".toggle-details",e),jQuery(document).on("click",".has-details",s),jQuery(document).on("click",".wp-filter .filter",n)});
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  jQuery(function(){function t(){var t=jQuery(".wpmui-list-table.has-details"),e=t.find(".list-card.detail-mode"),s=jQuery(window).innerHeight()-132;e.length&&e.height(s)}function e(){var e=jQuery(this).parents(".list-card"),i=e.parents(".wpmui-list-table"),n=jQuery(window).innerHeight()-132;i.hasClass("has-details")?s():(window.scrollTo(0,0),i.addClass("has-details"),e.addClass("detail-mode"),e.height(n),e.hide(),jQuery(window).on("resize",t),t(),window.setTimeout(function(){e.show()},10))}function s(e){var s=!1;if(void 0===e&&(s=!0),void 0!==e&&void 0!==e.target){var i=jQuery(e.target);i.hasClass("wpmui-list-table")&&(s=!0)}if(s){var n=jQuery(".list-card.detail-mode"),o=jQuery(".wpmui-list-table.has-details");o.removeClass("has-details"),n.removeClass("detail-mode"),n.height("auto"),jQuery(window).off("resize",t)}}function i(t,e){var s=jQuery(this),i=s.parents(".list-card");!0!==e._is_detail&&(e.value?i.addClass("active"):i.removeClass("active"))}function n(){var t=jQuery(this),e=t.data("filter"),s=jQuery(".list-card"),i=t.parents(".wp-filter").find(".current");switch(i.removeClass("current"),t.addClass("current"),e){case"active":s.hide().filter(".active").show();break;case"inactive":s.show().filter(".active").hide();break;case"all":s.show();break;default:jQuery(document).trigger("list-filter",[e,s])}return!1}jQuery(document).on("wpmui-radio-slider-updated",".wpmui-radio-slider",i),jQuery(document).on("click",".toggle-details",e),jQuery(document).on("click",".has-details",s),jQuery(document).on("click",".wp-filter .filter",n)});
inc/external/wpmu-lib/js/wpmu-ui.2.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*!
@@ -72,6 +72,17 @@
72
  return new wpmUi.WpmUiWindow();
73
  };
74
 
 
 
 
 
 
 
 
 
 
 
 
75
  /**
76
  * Creates a new formdata object.
77
  * With this object we can load or submit data via ajax.
@@ -121,8 +132,17 @@
121
  'width': '100%'
122
  };
123
 
 
 
 
 
 
 
124
  if ( el.data( 'wpmui-select' ) === '1' ) { return; }
125
- if ( el.closest( '.no-auto-init' ).length ) { return; }
 
 
 
126
  el.data( 'wpmui-select', '1' );
127
  clean_ghosts( el );
128
 
@@ -185,8 +205,17 @@
185
  'initSelection': init_selection
186
  };
187
 
 
 
 
 
 
 
188
  if ( el.data( 'wpmui-select' ) === '1' ) { return; }
189
- if ( el.closest( '.no-auto-init' ).length ) { return; }
 
 
 
190
  el.data( 'wpmui-select', '1' );
191
  clean_ghosts( el );
192
 
@@ -619,8 +648,14 @@
619
  _init_tabs();
620
 
621
  if ( ! _body.hasClass( 'no-auto-init' ) ) {
622
- wpmUi.upgrade_multiselect();
623
- wpmUi.upgrade_tooltips();
 
 
 
 
 
 
624
  }
625
 
626
  wpmUi.binary = new wpmUi.WpmUiBinary();
@@ -1053,8 +1088,20 @@
1053
  *
1054
  * @since 1.0.0
1055
  */
1056
- this.content = function content( data ) {
1057
- _content = data;
 
 
 
 
 
 
 
 
 
 
 
 
1058
  _need_check_size = true;
1059
  _content_changed = true;
1060
 
@@ -1341,9 +1388,11 @@
1341
 
1342
  // Update the content.
1343
  if ( _content instanceof jQuery ) {
1344
- _el_content.html( _content.html() );
 
1345
  } else {
1346
- _el_content.html( jQuery( _content ).html() );
 
1347
  }
1348
 
1349
  // Move the buttons out of the content area.
@@ -1496,6 +1545,238 @@
1496
 
1497
  }; /* ** End: WpmUiWindow ** */
1498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1499
  }( window.wpmUi = window.wpmUi || {} ));
1500
  /*!
1501
  * WPMU Dev UI library
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*!
72
  return new wpmUi.WpmUiWindow();
73
  };
74
 
75
+ /**
76
+ * Creates a new progress bar element.
77
+ *
78
+ * @since 2.0.2
79
+ * @return WpmUiProgress A new progress bar element.
80
+ */
81
+ wpmUi.progressbar = function progressbar() {
82
+ _init();
83
+ return new wpmUi.WpmUiProgress();
84
+ };
85
+
86
  /**
87
  * Creates a new formdata object.
88
  * With this object we can load or submit data via ajax.
132
  'width': '100%'
133
  };
134
 
135
+ // Prevent double initialization (i.e. conflict with other plugins)
136
+ if ( typeof el.data( 'select2' ) === 'object' ) { return; }
137
+ if ( typeof el.data( 'chosen' ) === 'object' ) { return; }
138
+ if ( el.filter( '[class*=acf-]' ).length ) { return; }
139
+
140
+ // Prevent double initialization (with other WPMU LIB plugin)
141
  if ( el.data( 'wpmui-select' ) === '1' ) { return; }
142
+
143
+ // Prevent auto-initialization when manually disabled.
144
+ if ( el.closest( '.no-auto-init', base[0] ).length ) { return; }
145
+
146
  el.data( 'wpmui-select', '1' );
147
  clean_ghosts( el );
148
 
205
  'initSelection': init_selection
206
  };
207
 
208
+ // Prevent double initialization (i.e. conflict with other plugins)
209
+ if ( typeof el.data( 'select2' ) === 'object' ) { return; }
210
+ if ( typeof el.data( 'chosen' ) === 'object' ) { return; }
211
+ if ( el.filter( '[class*=acf-]' ).length ) { return; }
212
+
213
+ // Prevent double initialization (with other WPMU LIB plugin)
214
  if ( el.data( 'wpmui-select' ) === '1' ) { return; }
215
+
216
+ // Prevent auto-initialization when manually disabled
217
+ if ( el.closest( '.no-auto-init', base[0] ).length ) { return; }
218
+
219
  el.data( 'wpmui-select', '1' );
220
  clean_ghosts( el );
221
 
648
  _init_tabs();
649
 
650
  if ( ! _body.hasClass( 'no-auto-init' ) ) {
651
+ /**
652
+ * Do the auto-initialization stuff after a short delay, so other
653
+ * scripts can run first.
654
+ */
655
+ window.setTimeout(function() {
656
+ wpmUi.upgrade_multiselect();
657
+ wpmUi.upgrade_tooltips();
658
+ }, 20);
659
  }
660
 
661
  wpmUi.binary = new wpmUi.WpmUiBinary();
1088
  *
1089
  * @since 1.0.0
1090
  */
1091
+ this.content = function content( data, move ) {
1092
+ if ( data instanceof jQuery ) {
1093
+ if ( move ) {
1094
+ // Move the object into the popup.
1095
+ _content = data;
1096
+ } else {
1097
+ // Create a copy of the object inside the popup.
1098
+ _content = data.html();
1099
+ }
1100
+ } else {
1101
+ // Content is text, will always be a copy.
1102
+ _content = data;
1103
+ }
1104
+
1105
  _need_check_size = true;
1106
  _content_changed = true;
1107
 
1388
 
1389
  // Update the content.
1390
  if ( _content instanceof jQuery ) {
1391
+ // _content is a jQuery element.
1392
+ _el_content.empty().append( _content );
1393
  } else {
1394
+ // _content is a HTML string.
1395
+ _el_content.html( _content );
1396
  }
1397
 
1398
  // Move the buttons out of the content area.
1545
 
1546
  }; /* ** End: WpmUiWindow ** */
1547
 
1548
+ }( window.wpmUi = window.wpmUi || {} ));
1549
+ /*!
1550
+ * WPMU Dev UI library
1551
+ * (Philipp Stracker for WPMU Dev)
1552
+ *
1553
+ * This module provides the WpmUiProgress object which is a smart and easy to use
1554
+ * Pop-up.
1555
+ *
1556
+ * @version 2.0.2
1557
+ * @author Philipp Stracker for WPMU Dev
1558
+ * @requires jQuery
1559
+ */
1560
+ /*global jQuery:false */
1561
+ /*global window:false */
1562
+ /*global document:false */
1563
+ /*global XMLHttpRequest:false */
1564
+
1565
+ (function( wpmUi ) {
1566
+
1567
+ /*==============================*\
1568
+ ==================================
1569
+ == ==
1570
+ == PROGRESS ==
1571
+ == ==
1572
+ ==================================
1573
+ \*==============================*/
1574
+
1575
+ /**
1576
+ * The progress bar element.
1577
+ *
1578
+ * @type WpmUiProgress
1579
+ * @since 2.0.2
1580
+ */
1581
+ wpmUi.WpmUiProgress = function() {
1582
+
1583
+ /**
1584
+ * Backreference to the WpmUiWindow object.
1585
+ *
1586
+ * @since 2.0.2
1587
+ * @internal
1588
+ */
1589
+ var _me = this;
1590
+
1591
+ /**
1592
+ * Current value of the progress bar.
1593
+ *
1594
+ * @since 2.0.2
1595
+ * @internal
1596
+ */
1597
+ var _current = 0;
1598
+
1599
+ /**
1600
+ * Max value of the progress bar.
1601
+ *
1602
+ * @since 2.0.2
1603
+ * @internal
1604
+ */
1605
+ var _max = 100;
1606
+
1607
+ /**
1608
+ * The label text
1609
+ *
1610
+ * @since 2.0.2
1611
+ * @internal
1612
+ */
1613
+ var _label = '';
1614
+
1615
+ /**
1616
+ * The wrapper around the progress bar elements.
1617
+ *
1618
+ * @since 2.0.2
1619
+ * @internal
1620
+ */
1621
+ var _el = null;
1622
+
1623
+ /**
1624
+ * The progress bar.
1625
+ *
1626
+ * @since 2.0.2
1627
+ * @internal
1628
+ */
1629
+ var _el_bar = null;
1630
+
1631
+ /**
1632
+ * The progress bar full width indicator.
1633
+ *
1634
+ * @since 2.0.2
1635
+ * @internal
1636
+ */
1637
+ var _el_full = null;
1638
+
1639
+ /**
1640
+ * The progress bar title.
1641
+ *
1642
+ * @since 2.0.2
1643
+ * @internal
1644
+ */
1645
+ var _el_label = null;
1646
+
1647
+ /**
1648
+ * Label that displays the current progress percent value.
1649
+ *
1650
+ * @since 2.0.2
1651
+ * @internal
1652
+ */
1653
+ var _el_percent = null;
1654
+
1655
+ /**
1656
+ * Change the value of the progress bar.
1657
+ *
1658
+ * @since 2.0.2
1659
+ * @api
1660
+ */
1661
+ this.value = function value( val ) {
1662
+ if ( ! isNaN( val ) ) {
1663
+ _current = parseInt( val );
1664
+ _update();
1665
+ }
1666
+ return _me;
1667
+ };
1668
+
1669
+ /**
1670
+ * Set the max value of the progess bar.
1671
+ *
1672
+ * @since 2.0.2
1673
+ * @api
1674
+ */
1675
+ this.max = function max( val ) {
1676
+ if ( ! isNaN( val ) ) {
1677
+ _max = parseInt( val );
1678
+ _update();
1679
+ }
1680
+ return _me;
1681
+ };
1682
+
1683
+ /**
1684
+ * Set the contents of the label.
1685
+ *
1686
+ * @since 2.0.2
1687
+ * @api
1688
+ */
1689
+ this.label = function label( val ) {
1690
+ _label = val;
1691
+ _update();
1692
+ return _me;
1693
+ };
1694
+
1695
+ /**
1696
+ * Adds an event handler to the element.
1697
+ *
1698
+ * @since 2.0.1
1699
+ */
1700
+ this.on = function on( event, selector, callback ) {
1701
+ _el.on( event, selector, callback );
1702
+ return _me;
1703
+ };
1704
+
1705
+ /**
1706
+ * Removes an event handler from the element.
1707
+ *
1708
+ * @since 2.0.1
1709
+ */
1710
+ this.off = function off( event, selector, callback ) {
1711
+ _el.off( event, selector, callback );
1712
+ return _me;
1713
+ };
1714
+
1715
+ /**
1716
+ * Returns the jQuery object of the main element
1717
+ *
1718
+ * @since 1.0.0
1719
+ */
1720
+ this.$ = function $() {
1721
+ return _el;
1722
+ };
1723
+
1724
+ // ==============================
1725
+ // == Private functions =========
1726
+
1727
+
1728
+ /**
1729
+ * Create the DOM elements for the window.
1730
+ *
1731
+ * @since 2.0.2
1732
+ * @internal
1733
+ */
1734
+ function _init() {
1735
+ _max = 100;
1736
+ _current = 0;
1737
+
1738
+ _el = jQuery( '<div class="wpmui-progress-wrap"></div>' );
1739
+ _el_full = jQuery( '<div class="wpmui-progress-full"></div>' );
1740
+ _el_bar = jQuery( '<div class="wpmui-progress"></div>' );
1741
+ _el_label = jQuery( '<div class="wpmui-progress-label"></div>' );
1742
+ _el_percent = jQuery( '<div class="wpmui-progress-percent"></div>' );
1743
+
1744
+ // Attach the window to the current page.
1745
+ _el_bar.appendTo( _el_full );
1746
+ _el_percent.appendTo( _el_full );
1747
+ _el_full.appendTo( _el );
1748
+ _el_label.appendTo( _el );
1749
+
1750
+ _update();
1751
+ }
1752
+
1753
+ /**
1754
+ * Updates the progress bar
1755
+ *
1756
+ * @since 2.0.2
1757
+ */
1758
+ function _update() {
1759
+ var percent = _current / _max * 100;
1760
+ if ( percent < 0 ) { percent = 0; }
1761
+ if ( percent > 100 ) { percent = 100; }
1762
+
1763
+ _el_bar.width( percent + '%' );
1764
+ _el_percent.text( parseInt( percent ) + ' %' );
1765
+
1766
+ if ( _label && _label.length ) {
1767
+ _el_label.html( _label );
1768
+ _el_label.show();
1769
+ } else {
1770
+ _el_label.hide();
1771
+ }
1772
+ }
1773
+
1774
+ // Initialize the progress bar.
1775
+ _me = this;
1776
+ _init();
1777
+
1778
+ }; /* ** End: WpmUiProgress ** */
1779
+
1780
  }( window.wpmUi = window.wpmUi || {} ));
1781
  /*!
1782
  * WPMU Dev UI library
inc/external/wpmu-lib/js/wpmu-ui.2.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
- (function(t){function e(){null===o&&(n=jQuery(document),o=jQuery("html"),a=jQuery("body"),i(),s(),a.hasClass("no-auto-init")||(t.upgrade_multiselect(),t.upgrade_tooltips()),t.binary=new t.WpmUiBinary)}function i(){var t=function t(t){var e=jQuery(this).closest(".wpmui-box");return t.preventDefault(),e.hasClass("static")?!1:(e.toggleClass("closed"),!1)};a.on("click",".wpmui-box > h3",t),a.on("click",".wpmui-box > h3 > .toggle",t)}function s(){var t=function t(t){var e=jQuery(this),i=e.closest(".wpmui-tabs"),s=i.next(".wpmui-tab-contents"),n=i.find(".active.tab"),o=e.attr("href"),a=n.attr("href"),r=s.find(o),c=s.find(a);return e.hasClass("active")||(n.removeClass("active"),c.removeClass("active")),e.addClass("active"),r.addClass("active"),t.preventDefault(),!1};a.on("click",".wpmui-tabs .tab",t)}var n=null,o=null,a=null,r=null;t.popup=function(){return e(),new t.WpmUiWindow},t.ajax=function(i,s){return e(),new t.WpmUiAjaxData(i,s)},t.upgrade_multiselect=function(t){e(),t=jQuery(t||a);var i=t.find("select[multiple]"),s=t.find("input[data-select-ajax]"),n=function n(t){var e=t.attr("id"),i="#s2id_"+e,s=t.parent().find(i);s.remove()},o=function o(){var t=jQuery(this),e={closeOnSelect:!1,width:"100%"};"1"!==t.data("wpmui-select")&&(t.closest(".no-auto-init").length||(t.data("wpmui-select","1"),n(t),window.setTimeout(function(){t.select2(e)},1)))},r=function r(){var t=function t(t){return t.val},e=function e(t){return t.key},i=function i(t,e){var i=t.val(),s=[],n=[];jQuery(i.split(",")).each(function(){var t=this.split("::");n.push(t[0]),s.push({key:t[0],val:t[1]})}),t.val(n.join(",")),e(s)},s=jQuery(this),o={closeOnSelect:!1,width:"100%",multiple:!0,minimumInputLength:1,ajax:{url:s.attr("data-select-ajax"),dataType:"json",quietMillis:100,cache:!0,data:function(t){return{q:t}},results:function(t){return{results:t.items}}},id:e,formatResult:t,formatSelection:t,initSelection:i};"1"!==s.data("wpmui-select")&&(s.closest(".no-auto-init").length||(s.data("wpmui-select","1"),n(s),window.setTimeout(function(){s.select2(o)},1)))};"function"==typeof jQuery.fn.each2?(i.each2(o),s.each2(r)):(i.each(o),s.each(r))},t.message=function(t){var i,s,n,o;e();var a=function a(t){return t.preventDefault(),s.remove(),!1},r=function r(){var t=jQuery(this).closest(".wpmui-msg");t.find(".debug").toggle()};return t===void 0?!1:(("string"==typeof t||t instanceof Array)&&(t={message:t}),t.message instanceof Array&&(t.message=t.message.join("<br />")),t.message?(t.type=void 0===t.type?"ok":(""+t.type).toLowerCase(),t.close=void 0===t.close?!0:t.close,t.parent=void 0===t.parent?".wrap":t.parent,t.insert_after=void 0===t.insert_after?"h2":t.insert_after,t.id=void 0===t.id?"":(""+t.id).toLowerCase(),t["class"]=void 0===t["class"]?"":(""+t["class"]).toLowerCase(),t.details=void 0===t.details?!1:t.details,("error"===t.type||"red"===t.type)&&(t.type="err"),("success"===t.type||"green"===t.type)&&(t.type="ok"),i=jQuery(t.parent).first(),i.length?(t.id&&jQuery('.wpmui-msg[data-id="'+t.id+'"]').length?(s=jQuery('.wpmui-msg[data-id="'+t.id+'"]').first(),o=!1):(s=jQuery("<div><p></p></div>"),t.id&&s.attr("data-id",t.id),o=!0),s.find("p").html(t.message),"err"===t.type&&t.details&&window.JSON&&(jQuery('<div class="debug" style="display:none"></div>').appendTo(s).text(JSON.stringify(t.details)),jQuery('<i class="dashicons dashicons-editor-help light"></i>').prependTo(s.find("p:first")).click(r).after(" ")),s.removeClass().addClass("updated wpmui-msg "+t["class"]),"err"===t.type&&s.addClass("error"),o&&(t.close&&(n=jQuery('<a href="#" class="wpmui-close">&times;</a>'),n.prependTo(s),n.click(a)),t.insert_after&&i.find(t.insert_after).length?(i=i.find(t.insert_after).first(),i.after(s)):i.prepend(s)),!0):!1):!1)},t.confirm=function(e){function i(){var i=jQuery(this),s=parseInt(i.data("key"));e.modal&&("fixed"===e.layout?t._close_modal():n.remove()),o.remove(),"function"==typeof e.callback&&e.callback(s)}var s,n,o,r,c,l,h,u;if(!e instanceof Object)return!1;if(void 0===e.message)return!1;for(e.modal=void 0===e.modal?!0:e.modal,e.layout=void 0===e.layout?"fixed":e.layout,e.parent=void 0===e.parent?a:e.parent,e.buttons=void 0===e.buttons?["OK"]:e.buttons,e.callback=void 0===e.callback?!1:e.callback,s=jQuery(e.parent),e.modal&&("fixed"===e.layout?t._make_modal("wpmui-confirm-modal"):n=jQuery('<div class="wpmui-confirm-modal"></div>').css({position:e.layout}).appendTo(s)),o=jQuery('<div class="wpmui-confirm-box"></div>').css({position:e.layout}).appendTo(s),r=jQuery('<div class="wpmui-confirm-msg"></div>').html(e.message),c=jQuery('<div class="wpmui-confirm-btn"></div>'),u=!0,l=0;e.buttons.length>l;l+=1)h=jQuery("<button></button>").html(e.buttons[l]).addClass(u?"button-primary":"button-secondary").data("key",l).click(i).prependTo(c),u=!1;return r.appendTo(o),c.appendTo(o).find(".button-primary").focus(),!0},t.tooltip=function(t,i){var s,n;e();var o=function o(e){var s=e.outerWidth(),n=e.outerHeight(),o=5,a=t.outerWidth(),r=t.outerHeight(),c={};switch(c.left=(a-s)/2,c.top=(r-n)/2,c[i.pos]="auto",i.pos){case"top":c.bottom=r+o;break;case"bottom":c.top=r+o;break;case"left":c.right=a+o;break;case"right":c.left=a+o}e.css(c)},a=function a(){var t=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");t.addClass("wpmui-visible"),t.show(),o(t),window.setTimeout(function(){o(t)},35)},r=function r(){var t=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");t.removeClass("wpmui-visible"),t.hide()},c=function c(t){s.hasClass("wpmui-visible")?r.call(this,t):a.call(this,t)};return"string"==typeof i&&(i={content:i}),void 0===i.content?!1:(t=jQuery(t),t.length?(i.trigger=void 0===i.trigger?"hover":(""+i.trigger).toLowerCase(),i.pos=void 0===i.pos?"top":(""+i.pos).toLowerCase(),i["class"]=void 0===i["class"]?"":(""+i["class"]).toLowerCase(),n=t.parent(),n.hasClass("wpmui-tip-box")||(n=t.wrap('<span class="wpmui-tip-box"></span>').parent().addClass(i["class"]+"-box")),s=n.find("> .wpmui-tip"),t.off(),s.length||(s=jQuery('<div class="wpmui-tip"></div>'),s.addClass(i["class"]).addClass(i.pos).appendTo(t.parent()).hide(),isNaN(i.width)||s.width(i.width)),"hover"===i.trigger?t.on("mouseenter",a).on("mouseleave",r):"click"===i.trigger&&t.on("click",c),s.html(i.content),!0):!1)},t.upgrade_tooltips=function(){var e=jQuery("[data-wpmui-tooltip]");e.each(function(){var e=jQuery(this),i={content:e.attr("data-wpmui-tooltip"),pos:e.attr("data-pos"),trigger:e.attr("data-trigger"),"class":e.attr("data-class"),width:e.attr("data-width")};t.tooltip(e,i)})},t.obj=function(t){var e={};if(t instanceof Object)e=t;else if(t instanceof Array)if("function"==typeof t.reduce)e=t.reduce(function(t,e,i){return t[i]=e,t},{});else for(var i=t.length-1;i>0;i-=1)void 0!==t[i]&&(e[i]=t[i]);else"string"==typeof t?e.scalar=t:"number"==typeof t?e.scalar=t:"boolean"==typeof t&&(e.scalar=t);return e},t._modal_overlay=function(){return null===r&&(r=jQuery("<div></div>").addClass("wpmui-overlay").appendTo(a)),r},t._make_modal=function(e){var i=t._modal_overlay();return i.removeClass().addClass("wpmui-overlay"),void 0!==e&&i.addClass(e),a.addClass("wpmui-has-overlay"),o.addClass("wpmui-no-scroll"),i},t._close_modal=function(){a.removeClass("wpmui-has-overlay"),o.removeClass("wpmui-no-scroll")},jQuery(function(){e()})})(window.wpmUi=window.wpmUi||{}),function(t){var e=1,i={};t.popups=function(){return i},t.WpmUiWindow=function(){function s(){u.id=e,e+=1,i[u.id]=u,T=jQuery('<div class="wpmui-wnd"></div>'),j=jQuery('<div class="wpmui-wnd-title"><span class="the-title"></span></div>'),O=jQuery('<a href="#" class="wpmui-wnd-close"><i class="dashicons dashicons-no-alt"></i></a>'),P=jQuery('<div class="wpmui-wnd-content"></div>'),j.appendTo(T),P.appendTo(T),O.appendTo(j),T.appendTo(jQuery("body")).hide(),n(),d=!1,a()}function n(){T&&(T.on("click",".wpmui-wnd-close",u.close),T.on("click",".close",u.close),T.on("click","thead .check-column :checkbox",l),T.on("click","tfoot .check-column :checkbox",l),T.on("click","tbody .check-column :checkbox",h),jQuery(window).on("resize",c),void 0!==jQuery().draggable&&T.draggable({containment:jQuery("body"),scroll:!1,handle:".wpmui-wnd-title"}))}function o(){T&&(T.off("click",".wpmui-wnd-close",u.close),T.off("click",".close",u.close),T.off("click",".check-column :checkbox",l),jQuery(window).off("resize",c))}function a(e,s){if(!T)return!1;e=e||g,s=s||v;var n={width:e,height:s,"margin-left":-1*(e/2),"margin-top":-1*(s/2)},o=t._modal_overlay();if(j.find(".the-title").html(w),P.css({top:j.height()+1}),f?T.removeClass("no-close"):T.addClass("no-close"),C){T.find(".buttons").remove(),T.removeClass(),T.addClass("wpmui-wnd no-buttons"),b instanceof jQuery?P.html(b.html()):P.html(jQuery(b).html());var a=P.find(".buttons");a.length&&(a.appendTo(T),T.removeClass("no-buttons")),T.addClass(y),C=!1}if(T.is(":visible")?T.animate(n,200):T.css(n),o instanceof jQuery&&o.off("click",r),d)T.show(),p&&t._make_modal(),m&&o.on("click",r),S&&(S=!1,c());else{T.hide();var l,h=!0;for(l in i)if(i[l]!==u&&i[l].is_modal()){h=!1;break}h&&t._close_modal()}}function r(){var e=t._modal_overlay();return T?!e instanceof jQuery?!1:(e.off("click",r),u.close(),void 0):!1}function c(){if(!T)return!1;var t=jQuery(this),e=t.innerWidth(),i=t.innerHeight(),s=g,n=v;g>e&&(s=e),v>i&&(n=i),a(s,n)}function l(t){var e=jQuery(this),i=e.prop("checked");t.shiftKey,e.closest("table").children("tbody, thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",i)}function h(){var t=jQuery(this),e=t.closest("tbody").find(":checkbox").filter(":visible").not(":checked");return t.closest("table").children("thead, tfoot").find(":checkbox").prop("checked",0===e.length),!0}var u=this,d=!1,p=!1,f=!0,m=!0,g=740,v=400,w="Window",b="",y="",C=!1,S=!1,x=null,k=null,E=null,T=null,j=null,O=null,P=null,A="hidden";this.id=0,this.modal=function(t,e){return void 0===e&&(e=!0),p=t?!0:!1,m=e?!0:!1,a(),u},this.is_modal=function(){return p},this.size=function(t,e){var i=Math.abs(parseFloat(t)),s=Math.abs(parseFloat(e));return isNaN(i)||(g=i),isNaN(s)||(v=s),S=!0,a(),u},this.title=function(t,e){return void 0===e&&(e=!0),w=t,f=e?!0:!1,a(),u},this.content=function(t){return b=t,S=!0,C=!0,a(),u},this.set_class=function(t){return y=t,C=!0,a(),u},this.onshow=function(t){return x=t,u},this.onhide=function(t){return k=t,u},this.onclose=function(t){return E=t,u},this.loading=function(t){return t?T.addClass("wpmui-loading"):T.removeClass("wpmui-loading"),u},this.confirm=function(e){return"visible"!==A?u:!e instanceof Object?u:(e.layout="absolute",e.parent=T,t.confirm(e),u)},this.show=function(){return d=!0,S=!0,A="visible",a(),"function"==typeof x&&x.apply(u,[u.$()]),u},this.hide=function(){return d=!1,A="hidden",a(),"function"==typeof k&&k.apply(u,[u.$()]),u},this.close=function(){"closing"!==A&&(u.hide(),A="closing","function"==typeof E&&E.apply(u,[u.$()]),o(),T.remove(),T=null,delete i[u.id])},this.on=function(t,e,i){return T.on(t,e,i),u},this.off=function(t,e,i){return T.off(t,e,i),u},this.$=function(){return T},u=this,s()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiAjaxData=function(t,e){function i(){t||"string"!=typeof window.ajaxurl||(t=window.ajaxurl),u=jQuery("body").find("#wpmui_void"),u.length||(u=jQuery("<iframe></iframe>").attr("name","wpmui_void").attr("id","wpmui_void").css({width:1,height:1,display:"none",visibility:"hidden",position:"absolute",left:-1e3,top:-1e3}).hide().appendTo(jQuery("body"))),s(),h.reset()}function s(){var t=document.createElement("INPUT"),e=new XMLHttpRequest;t.type="file",g="files"in t,m=!!(e&&"upload"in e&&"onprogress"in e.upload),v=!!window.FormData}function n(){var t=new window.XMLHttpRequest;return m&&(t.upload.addEventListener("progress",function(t){if(t.lengthComputable){var e=t.loaded/t.total;o(e)}else o(-1)},!1),t.addEventListener("progress",function(t){if(t.lengthComputable){var e=t.loaded/t.total;o(e)}else o(-1)},!1)),t}function o(t){m&&"function"==typeof p&&p(t)}function a(t,e,i){o(100),"function"==typeof f&&f(t,e,i)}function r(t,e){var i={};if(e=e&&v,d instanceof jQuery)if(d.find(".wp-editor-area").each(function(){var t=jQuery(this).attr("id"),e="#wp-"+t+"-wrap",i=jQuery(e),s=window.tinyMCE.get(t);s&&i.hasClass("tmce-active")&&s.save()}),e)i=new window.FormData(d[0]);else{i={};var s={},n={validate:/^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_-]+$/},o=function(t,e,i){return t[e]=i,t},a=function(t){return void 0===s[t]&&(s[t]=0),s[t]++};jQuery.each(d.serializeArray(),function(){if(n.validate.test(this.name)){for(var t,e=this.name.match(n.key),s=this.value,r=this.name;void 0!==(t=e.pop());)r=r.replace(RegExp("\\["+t+"\\]$"),""),t.match(n.push)?s=o([],a(r),s):t.match(n.fixed)?s=o([],t,s):t.match(n.named)&&(s=o({},t,s));i=jQuery.extend(!0,i,s)}}),d.find("input[type=file]").each(function(){var t=jQuery(this),e=t.attr("name"),s=t.clone(!0)[0];i[":files"]=i[":files"]||{},i[":files"][e]=s})}else if("string"==typeof d){var r=d.split("&").map(function(t){return t.split("=",2)});i=e?new window.FormData:{};for(var c in r){var l=decodeURI(r[c][0]),h=decodeURI(r[c][1]);e?i.append(l,h):void 0!==i[l]?("object"!=typeof i[l]&&(i[l]=[i[l]]),i[l].push(h)):i[l]=h}}else if("object"==typeof d)if(e){i=new window.FormData;for(var u in d)d.hasOwnProperty(u)&&i.append(u,d[u])}else i=jQuery.extend({},d);return i instanceof window.FormData?i.append("action",t):i.action=t,i}function c(e,i){var s=r(e,!0),c={},l=null,h=!1;"json"!==i&&(i="text"),o(-1),c={url:t,type:"POST",dataType:"html",data:s,xhr:n,success:function(t){if(h=!0,l=t,"json"===i)try{l=jQuery.parseJSON(t)}catch(e){l={status:"ERR",data:t}}},error:function(t,e,i){h=!1,l=i},complete:function(t){l instanceof Object&&"ERR"===l.status&&(h=!1),a(l,h,t)}},s instanceof window.FormData&&(c.processData=!1,c.contentType=!1),jQuery.ajax(c)}function l(e,i){var s=r(e,!1),n=jQuery("<form></form>"),o="";for(var a in s)if(s.hasOwnProperty(a))if(":files"===a)for(var c in s[a]){var l=s[a][c];n.append(l)}else"action"===a?o=a+"="+(""+s[a]):jQuery('<input type="hidden" />').attr("name",a).attr("value",s[a]).appendTo(n);o=-1===t.indexOf("?")?"?"+o:"&"+o,n.attr("action",t+o).attr("method","POST").attr("enctype","multipart/form-data").attr("target",i).hide().appendTo(jQuery("body")),n.submit()}var h=this,u=null,d={},p=null,f=null,m=!1,g=!1,v=!1;this.data=function(t){return d=t,h},this.extract_data=function(t){return d=t,r("",!1)},this.onprogress=function(t){return p=t,h},this.ondone=function(t){return f=t,h},this.reset=function(){return d={},p=null,f=null,h},this.load_text=function(t){return t=t||e,c(t,"text"),h},this.load_json=function(t){return t=t||e,c(t,"json"),h},this.load_http=function(t,i){return t=t||"wpmui_void",i=i||e,l(i,t),h},h=this,i()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiBinary=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.WpmUiBinary.utf8_encode=function(t){if("string"!=typeof t)return t;t=t.replace(/\r\n/g,"\n");var e,i="",s=0;for(s;t.length>s;s++)e=t.charCodeAt(s),128>e?i+=String.fromCharCode(e):e>127&&2048>e?(i+=String.fromCharCode(192|e>>6),i+=String.fromCharCode(128|63&e)):(i+=String.fromCharCode(224|e>>12),i+=String.fromCharCode(128|63&e>>6),i+=String.fromCharCode(128|63&e));return i},t.WpmUiBinary.utf8_decode=function(t){if("string"!=typeof t)return t;for(var e="",i=0,s=0;t.length>i;)s=t.charCodeAt(i),128>s?(e+=String.fromCharCode(s),i+=1):s>191&&224>s?(e+=String.fromCharCode((31&s)<<6|63&t.charCodeAt(i+1)),i+=2):(e+=String.fromCharCode((15&s)<<12|(63&t.charCodeAt(i+1))<<6|63&t.charCodeAt(i+2)),i+=3);return e},t.WpmUiBinary.base64_encode=function(i){if("string"!=typeof i)return i;i=t.WpmUiBinary.utf8_encode(i);for(var s,n,o,a,r,c,l,h="",u=0;i.length>u;)s=i.charCodeAt(u++),n=i.charCodeAt(u++),o=i.charCodeAt(u++),a=s>>2,r=(3&s)<<4|n>>4,c=(15&n)<<2|o>>6,l=63&o,isNaN(n)?c=l=64:isNaN(o)&&(l=64),h+=e.charAt(a)+e.charAt(r)+e.charAt(c)+e.charAt(l);return h},t.WpmUiBinary.base64_decode=function(i){if("string"!=typeof i)return i;i.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var s,n,o,a,r,c,l,h="",u=0;i.length>u;)a=e.indexOf(i.charAt(u++)),r=e.indexOf(i.charAt(u++)),c=e.indexOf(i.charAt(u++)),l=e.indexOf(i.charAt(u++)),s=a<<2|r>>4,n=(15&r)<<4|c>>2,o=(3&c)<<6|l,h+=String.fromCharCode(s),64!==c&&(h+=String.fromCharCode(n)),64!==l&&(h+=String.fromCharCode(o));return t.WpmUiBinary.utf8_decode(h)}}}(window.wpmUi=window.wpmUi||{});
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
+ (function(t){function e(){null===o&&(n=jQuery(document),o=jQuery("html"),a=jQuery("body"),i(),s(),a.hasClass("no-auto-init")||window.setTimeout(function(){t.upgrade_multiselect(),t.upgrade_tooltips()},20),t.binary=new t.WpmUiBinary)}function i(){var t=function t(t){var e=jQuery(this).closest(".wpmui-box");return t.preventDefault(),e.hasClass("static")?!1:(e.toggleClass("closed"),!1)};a.on("click",".wpmui-box > h3",t),a.on("click",".wpmui-box > h3 > .toggle",t)}function s(){var t=function t(t){var e=jQuery(this),i=e.closest(".wpmui-tabs"),s=i.next(".wpmui-tab-contents"),n=i.find(".active.tab"),o=e.attr("href"),a=n.attr("href"),r=s.find(o),c=s.find(a);return e.hasClass("active")||(n.removeClass("active"),c.removeClass("active")),e.addClass("active"),r.addClass("active"),t.preventDefault(),!1};a.on("click",".wpmui-tabs .tab",t)}var n=null,o=null,a=null,r=null;t.popup=function(){return e(),new t.WpmUiWindow},t.progressbar=function(){return e(),new t.WpmUiProgress},t.ajax=function(i,s){return e(),new t.WpmUiAjaxData(i,s)},t.upgrade_multiselect=function(t){e(),t=jQuery(t||a);var i=t.find("select[multiple]"),s=t.find("input[data-select-ajax]"),n=function n(t){var e=t.attr("id"),i="#s2id_"+e,s=t.parent().find(i);s.remove()},o=function o(){var e=jQuery(this),i={closeOnSelect:!1,width:"100%"};"object"!=typeof e.data("select2")&&"object"!=typeof e.data("chosen")&&(e.filter("[class*=acf-]").length||"1"!==e.data("wpmui-select")&&(e.closest(".no-auto-init",t[0]).length||(e.data("wpmui-select","1"),n(e),window.setTimeout(function(){e.select2(i)},1))))},r=function r(){var e=function e(t){return t.val},i=function i(t){return t.key},s=function s(t,e){var i=t.val(),s=[],n=[];jQuery(i.split(",")).each(function(){var t=this.split("::");n.push(t[0]),s.push({key:t[0],val:t[1]})}),t.val(n.join(",")),e(s)},o=jQuery(this),a={closeOnSelect:!1,width:"100%",multiple:!0,minimumInputLength:1,ajax:{url:o.attr("data-select-ajax"),dataType:"json",quietMillis:100,cache:!0,data:function(t){return{q:t}},results:function(t){return{results:t.items}}},id:i,formatResult:e,formatSelection:e,initSelection:s};"object"!=typeof o.data("select2")&&"object"!=typeof o.data("chosen")&&(o.filter("[class*=acf-]").length||"1"!==o.data("wpmui-select")&&(o.closest(".no-auto-init",t[0]).length||(o.data("wpmui-select","1"),n(o),window.setTimeout(function(){o.select2(a)},1))))};"function"==typeof jQuery.fn.each2?(i.each2(o),s.each2(r)):(i.each(o),s.each(r))},t.message=function(t){var i,s,n,o;e();var a=function a(t){return t.preventDefault(),s.remove(),!1},r=function r(){var t=jQuery(this).closest(".wpmui-msg");t.find(".debug").toggle()};return t===void 0?!1:(("string"==typeof t||t instanceof Array)&&(t={message:t}),t.message instanceof Array&&(t.message=t.message.join("<br />")),t.message?(t.type=void 0===t.type?"ok":(""+t.type).toLowerCase(),t.close=void 0===t.close?!0:t.close,t.parent=void 0===t.parent?".wrap":t.parent,t.insert_after=void 0===t.insert_after?"h2":t.insert_after,t.id=void 0===t.id?"":(""+t.id).toLowerCase(),t["class"]=void 0===t["class"]?"":(""+t["class"]).toLowerCase(),t.details=void 0===t.details?!1:t.details,("error"===t.type||"red"===t.type)&&(t.type="err"),("success"===t.type||"green"===t.type)&&(t.type="ok"),i=jQuery(t.parent).first(),i.length?(t.id&&jQuery('.wpmui-msg[data-id="'+t.id+'"]').length?(s=jQuery('.wpmui-msg[data-id="'+t.id+'"]').first(),o=!1):(s=jQuery("<div><p></p></div>"),t.id&&s.attr("data-id",t.id),o=!0),s.find("p").html(t.message),"err"===t.type&&t.details&&window.JSON&&(jQuery('<div class="debug" style="display:none"></div>').appendTo(s).text(JSON.stringify(t.details)),jQuery('<i class="dashicons dashicons-editor-help light"></i>').prependTo(s.find("p:first")).click(r).after(" ")),s.removeClass().addClass("updated wpmui-msg "+t["class"]),"err"===t.type&&s.addClass("error"),o&&(t.close&&(n=jQuery('<a href="#" class="wpmui-close">&times;</a>'),n.prependTo(s),n.click(a)),t.insert_after&&i.find(t.insert_after).length?(i=i.find(t.insert_after).first(),i.after(s)):i.prepend(s)),!0):!1):!1)},t.confirm=function(e){function i(){var i=jQuery(this),s=parseInt(i.data("key"));e.modal&&("fixed"===e.layout?t._close_modal():n.remove()),o.remove(),"function"==typeof e.callback&&e.callback(s)}var s,n,o,r,c,l,h,u;if(!e instanceof Object)return!1;if(void 0===e.message)return!1;for(e.modal=void 0===e.modal?!0:e.modal,e.layout=void 0===e.layout?"fixed":e.layout,e.parent=void 0===e.parent?a:e.parent,e.buttons=void 0===e.buttons?["OK"]:e.buttons,e.callback=void 0===e.callback?!1:e.callback,s=jQuery(e.parent),e.modal&&("fixed"===e.layout?t._make_modal("wpmui-confirm-modal"):n=jQuery('<div class="wpmui-confirm-modal"></div>').css({position:e.layout}).appendTo(s)),o=jQuery('<div class="wpmui-confirm-box"></div>').css({position:e.layout}).appendTo(s),r=jQuery('<div class="wpmui-confirm-msg"></div>').html(e.message),c=jQuery('<div class="wpmui-confirm-btn"></div>'),u=!0,l=0;e.buttons.length>l;l+=1)h=jQuery("<button></button>").html(e.buttons[l]).addClass(u?"button-primary":"button-secondary").data("key",l).click(i).prependTo(c),u=!1;return r.appendTo(o),c.appendTo(o).find(".button-primary").focus(),!0},t.tooltip=function(t,i){var s,n;e();var o=function o(e){var s=e.outerWidth(),n=e.outerHeight(),o=5,a=t.outerWidth(),r=t.outerHeight(),c={};switch(c.left=(a-s)/2,c.top=(r-n)/2,c[i.pos]="auto",i.pos){case"top":c.bottom=r+o;break;case"bottom":c.top=r+o;break;case"left":c.right=a+o;break;case"right":c.left=a+o}e.css(c)},a=function a(){var t=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");t.addClass("wpmui-visible"),t.show(),o(t),window.setTimeout(function(){o(t)},35)},r=function r(){var t=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");t.removeClass("wpmui-visible"),t.hide()},c=function c(t){s.hasClass("wpmui-visible")?r.call(this,t):a.call(this,t)};return"string"==typeof i&&(i={content:i}),void 0===i.content?!1:(t=jQuery(t),t.length?(i.trigger=void 0===i.trigger?"hover":(""+i.trigger).toLowerCase(),i.pos=void 0===i.pos?"top":(""+i.pos).toLowerCase(),i["class"]=void 0===i["class"]?"":(""+i["class"]).toLowerCase(),n=t.parent(),n.hasClass("wpmui-tip-box")||(n=t.wrap('<span class="wpmui-tip-box"></span>').parent().addClass(i["class"]+"-box")),s=n.find("> .wpmui-tip"),t.off(),s.length||(s=jQuery('<div class="wpmui-tip"></div>'),s.addClass(i["class"]).addClass(i.pos).appendTo(t.parent()).hide(),isNaN(i.width)||s.width(i.width)),"hover"===i.trigger?t.on("mouseenter",a).on("mouseleave",r):"click"===i.trigger&&t.on("click",c),s.html(i.content),!0):!1)},t.upgrade_tooltips=function(){var e=jQuery("[data-wpmui-tooltip]");e.each(function(){var e=jQuery(this),i={content:e.attr("data-wpmui-tooltip"),pos:e.attr("data-pos"),trigger:e.attr("data-trigger"),"class":e.attr("data-class"),width:e.attr("data-width")};t.tooltip(e,i)})},t.obj=function(t){var e={};if(t instanceof Object)e=t;else if(t instanceof Array)if("function"==typeof t.reduce)e=t.reduce(function(t,e,i){return t[i]=e,t},{});else for(var i=t.length-1;i>0;i-=1)void 0!==t[i]&&(e[i]=t[i]);else"string"==typeof t?e.scalar=t:"number"==typeof t?e.scalar=t:"boolean"==typeof t&&(e.scalar=t);return e},t._modal_overlay=function(){return null===r&&(r=jQuery("<div></div>").addClass("wpmui-overlay").appendTo(a)),r},t._make_modal=function(e){var i=t._modal_overlay();return i.removeClass().addClass("wpmui-overlay"),void 0!==e&&i.addClass(e),a.addClass("wpmui-has-overlay"),o.addClass("wpmui-no-scroll"),i},t._close_modal=function(){a.removeClass("wpmui-has-overlay"),o.removeClass("wpmui-no-scroll")},jQuery(function(){e()})})(window.wpmUi=window.wpmUi||{}),function(t){var e=1,i={};t.popups=function(){return i},t.WpmUiWindow=function(){function s(){u.id=e,e+=1,i[u.id]=u,T=jQuery('<div class="wpmui-wnd"></div>'),j=jQuery('<div class="wpmui-wnd-title"><span class="the-title"></span></div>'),O=jQuery('<a href="#" class="wpmui-wnd-close"><i class="dashicons dashicons-no-alt"></i></a>'),P=jQuery('<div class="wpmui-wnd-content"></div>'),j.appendTo(T),P.appendTo(T),O.appendTo(j),T.appendTo(jQuery("body")).hide(),n(),d=!1,a()}function n(){T&&(T.on("click",".wpmui-wnd-close",u.close),T.on("click",".close",u.close),T.on("click","thead .check-column :checkbox",l),T.on("click","tfoot .check-column :checkbox",l),T.on("click","tbody .check-column :checkbox",h),jQuery(window).on("resize",c),void 0!==jQuery().draggable&&T.draggable({containment:jQuery("body"),scroll:!1,handle:".wpmui-wnd-title"}))}function o(){T&&(T.off("click",".wpmui-wnd-close",u.close),T.off("click",".close",u.close),T.off("click",".check-column :checkbox",l),jQuery(window).off("resize",c))}function a(e,s){if(!T)return!1;e=e||g,s=s||v;var n={width:e,height:s,"margin-left":-1*(e/2),"margin-top":-1*(s/2)},o=t._modal_overlay();if(j.find(".the-title").html(w),P.css({top:j.height()+1}),f?T.removeClass("no-close"):T.addClass("no-close"),C){T.find(".buttons").remove(),T.removeClass(),T.addClass("wpmui-wnd no-buttons"),b instanceof jQuery?P.empty().append(b):P.html(b);var a=P.find(".buttons");a.length&&(a.appendTo(T),T.removeClass("no-buttons")),T.addClass(y),C=!1}if(T.is(":visible")?T.animate(n,200):T.css(n),o instanceof jQuery&&o.off("click",r),d)T.show(),p&&t._make_modal(),m&&o.on("click",r),S&&(S=!1,c());else{T.hide();var l,h=!0;for(l in i)if(i[l]!==u&&i[l].is_modal()){h=!1;break}h&&t._close_modal()}}function r(){var e=t._modal_overlay();return T?!e instanceof jQuery?!1:(e.off("click",r),u.close(),void 0):!1}function c(){if(!T)return!1;var t=jQuery(this),e=t.innerWidth(),i=t.innerHeight(),s=g,n=v;g>e&&(s=e),v>i&&(n=i),a(s,n)}function l(t){var e=jQuery(this),i=e.prop("checked");t.shiftKey,e.closest("table").children("tbody, thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",i)}function h(){var t=jQuery(this),e=t.closest("tbody").find(":checkbox").filter(":visible").not(":checked");return t.closest("table").children("thead, tfoot").find(":checkbox").prop("checked",0===e.length),!0}var u=this,d=!1,p=!1,f=!0,m=!0,g=740,v=400,w="Window",b="",y="",C=!1,S=!1,x=null,k=null,E=null,T=null,j=null,O=null,P=null,A="hidden";this.id=0,this.modal=function(t,e){return void 0===e&&(e=!0),p=t?!0:!1,m=e?!0:!1,a(),u},this.is_modal=function(){return p},this.size=function(t,e){var i=Math.abs(parseFloat(t)),s=Math.abs(parseFloat(e));return isNaN(i)||(g=i),isNaN(s)||(v=s),S=!0,a(),u},this.title=function(t,e){return void 0===e&&(e=!0),w=t,f=e?!0:!1,a(),u},this.content=function(t,e){return b=t instanceof jQuery?e?t:t.html():t,S=!0,C=!0,a(),u},this.set_class=function(t){return y=t,C=!0,a(),u},this.onshow=function(t){return x=t,u},this.onhide=function(t){return k=t,u},this.onclose=function(t){return E=t,u},this.loading=function(t){return t?T.addClass("wpmui-loading"):T.removeClass("wpmui-loading"),u},this.confirm=function(e){return"visible"!==A?u:!e instanceof Object?u:(e.layout="absolute",e.parent=T,t.confirm(e),u)},this.show=function(){return d=!0,S=!0,A="visible",a(),"function"==typeof x&&x.apply(u,[u.$()]),u},this.hide=function(){return d=!1,A="hidden",a(),"function"==typeof k&&k.apply(u,[u.$()]),u},this.close=function(){"closing"!==A&&(u.hide(),A="closing","function"==typeof E&&E.apply(u,[u.$()]),o(),T.remove(),T=null,delete i[u.id])},this.on=function(t,e,i){return T.on(t,e,i),u},this.off=function(t,e,i){return T.off(t,e,i),u},this.$=function(){return T},u=this,s()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiProgress=function(){function t(){n=100,s=0,a=jQuery('<div class="wpmui-progress-wrap"></div>'),c=jQuery('<div class="wpmui-progress-full"></div>'),r=jQuery('<div class="wpmui-progress"></div>'),l=jQuery('<div class="wpmui-progress-label"></div>'),h=jQuery('<div class="wpmui-progress-percent"></div>'),r.appendTo(c),h.appendTo(c),c.appendTo(a),l.appendTo(a),e()}function e(){var t=100*(s/n);0>t&&(t=0),t>100&&(t=100),r.width(t+"%"),h.text(parseInt(t)+" %"),o&&o.length?(l.html(o),l.show()):l.hide()}var i=this,s=0,n=100,o="",a=null,r=null,c=null,l=null,h=null;this.value=function(t){return isNaN(t)||(s=parseInt(t),e()),i},this.max=function(t){return isNaN(t)||(n=parseInt(t),e()),i},this.label=function(t){return o=t,e(),i},this.on=function(t,e,s){return a.on(t,e,s),i},this.off=function(t,e,s){return a.off(t,e,s),i},this.$=function(){return a},i=this,t()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiAjaxData=function(t,e){function i(){t||"string"!=typeof window.ajaxurl||(t=window.ajaxurl),u=jQuery("body").find("#wpmui_void"),u.length||(u=jQuery("<iframe></iframe>").attr("name","wpmui_void").attr("id","wpmui_void").css({width:1,height:1,display:"none",visibility:"hidden",position:"absolute",left:-1e3,top:-1e3}).hide().appendTo(jQuery("body"))),s(),h.reset()}function s(){var t=document.createElement("INPUT"),e=new XMLHttpRequest;t.type="file",g="files"in t,m=!!(e&&"upload"in e&&"onprogress"in e.upload),v=!!window.FormData}function n(){var t=new window.XMLHttpRequest;return m&&(t.upload.addEventListener("progress",function(t){if(t.lengthComputable){var e=t.loaded/t.total;o(e)}else o(-1)},!1),t.addEventListener("progress",function(t){if(t.lengthComputable){var e=t.loaded/t.total;o(e)}else o(-1)},!1)),t}function o(t){m&&"function"==typeof p&&p(t)}function a(t,e,i){o(100),"function"==typeof f&&f(t,e,i)}function r(t,e){var i={};if(e=e&&v,d instanceof jQuery)if(d.find(".wp-editor-area").each(function(){var t=jQuery(this).attr("id"),e="#wp-"+t+"-wrap",i=jQuery(e),s=window.tinyMCE.get(t);s&&i.hasClass("tmce-active")&&s.save()}),e)i=new window.FormData(d[0]);else{i={};var s={},n={validate:/^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_-]+$/},o=function(t,e,i){return t[e]=i,t},a=function(t){return void 0===s[t]&&(s[t]=0),s[t]++};jQuery.each(d.serializeArray(),function(){if(n.validate.test(this.name)){for(var t,e=this.name.match(n.key),s=this.value,r=this.name;void 0!==(t=e.pop());)r=r.replace(RegExp("\\["+t+"\\]$"),""),t.match(n.push)?s=o([],a(r),s):t.match(n.fixed)?s=o([],t,s):t.match(n.named)&&(s=o({},t,s));i=jQuery.extend(!0,i,s)}}),d.find("input[type=file]").each(function(){var t=jQuery(this),e=t.attr("name"),s=t.clone(!0)[0];i[":files"]=i[":files"]||{},i[":files"][e]=s})}else if("string"==typeof d){var r=d.split("&").map(function(t){return t.split("=",2)});i=e?new window.FormData:{};for(var c in r){var l=decodeURI(r[c][0]),h=decodeURI(r[c][1]);e?i.append(l,h):void 0!==i[l]?("object"!=typeof i[l]&&(i[l]=[i[l]]),i[l].push(h)):i[l]=h}}else if("object"==typeof d)if(e){i=new window.FormData;for(var u in d)d.hasOwnProperty(u)&&i.append(u,d[u])}else i=jQuery.extend({},d);return i instanceof window.FormData?i.append("action",t):i.action=t,i}function c(e,i){var s=r(e,!0),c={},l=null,h=!1;"json"!==i&&(i="text"),o(-1),c={url:t,type:"POST",dataType:"html",data:s,xhr:n,success:function(t){if(h=!0,l=t,"json"===i)try{l=jQuery.parseJSON(t)}catch(e){l={status:"ERR",data:t}}},error:function(t,e,i){h=!1,l=i},complete:function(t){l instanceof Object&&"ERR"===l.status&&(h=!1),a(l,h,t)}},s instanceof window.FormData&&(c.processData=!1,c.contentType=!1),jQuery.ajax(c)}function l(e,i){var s=r(e,!1),n=jQuery("<form></form>"),o="";for(var a in s)if(s.hasOwnProperty(a))if(":files"===a)for(var c in s[a]){var l=s[a][c];n.append(l)}else"action"===a?o=a+"="+(""+s[a]):jQuery('<input type="hidden" />').attr("name",a).attr("value",s[a]).appendTo(n);o=-1===t.indexOf("?")?"?"+o:"&"+o,n.attr("action",t+o).attr("method","POST").attr("enctype","multipart/form-data").attr("target",i).hide().appendTo(jQuery("body")),n.submit()}var h=this,u=null,d={},p=null,f=null,m=!1,g=!1,v=!1;this.data=function(t){return d=t,h},this.extract_data=function(t){return d=t,r("",!1)},this.onprogress=function(t){return p=t,h},this.ondone=function(t){return f=t,h},this.reset=function(){return d={},p=null,f=null,h},this.load_text=function(t){return t=t||e,c(t,"text"),h},this.load_json=function(t){return t=t||e,c(t,"json"),h},this.load_http=function(t,i){return t=t||"wpmui_void",i=i||e,l(i,t),h},h=this,i()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiBinary=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.WpmUiBinary.utf8_encode=function(t){if("string"!=typeof t)return t;t=t.replace(/\r\n/g,"\n");var e,i="",s=0;for(s;t.length>s;s++)e=t.charCodeAt(s),128>e?i+=String.fromCharCode(e):e>127&&2048>e?(i+=String.fromCharCode(192|e>>6),i+=String.fromCharCode(128|63&e)):(i+=String.fromCharCode(224|e>>12),i+=String.fromCharCode(128|63&e>>6),i+=String.fromCharCode(128|63&e));return i},t.WpmUiBinary.utf8_decode=function(t){if("string"!=typeof t)return t;for(var e="",i=0,s=0;t.length>i;)s=t.charCodeAt(i),128>s?(e+=String.fromCharCode(s),i+=1):s>191&&224>s?(e+=String.fromCharCode((31&s)<<6|63&t.charCodeAt(i+1)),i+=2):(e+=String.fromCharCode((15&s)<<12|(63&t.charCodeAt(i+1))<<6|63&t.charCodeAt(i+2)),i+=3);return e},t.WpmUiBinary.base64_encode=function(i){if("string"!=typeof i)return i;i=t.WpmUiBinary.utf8_encode(i);for(var s,n,o,a,r,c,l,h="",u=0;i.length>u;)s=i.charCodeAt(u++),n=i.charCodeAt(u++),o=i.charCodeAt(u++),a=s>>2,r=(3&s)<<4|n>>4,c=(15&n)<<2|o>>6,l=63&o,isNaN(n)?c=l=64:isNaN(o)&&(l=64),h+=e.charAt(a)+e.charAt(r)+e.charAt(c)+e.charAt(l);return h},t.WpmUiBinary.base64_decode=function(i){if("string"!=typeof i)return i;i.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var s,n,o,a,r,c,l,h="",u=0;i.length>u;)a=e.indexOf(i.charAt(u++)),r=e.indexOf(i.charAt(u++)),c=e.indexOf(i.charAt(u++)),l=e.indexOf(i.charAt(u++)),s=a<<2|r>>4,n=(15&r)<<4|c>>2,o=(3&c)<<6|l,h+=String.fromCharCode(s),64!==c&&(h+=String.fromCharCode(n)),64!==l&&(h+=String.fromCharCode(o));return t.WpmUiBinary.utf8_decode(h)}}}(window.wpmUi=window.wpmUi||{});
inc/external/wpmu-lib/js/wpmu-vnav.2.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*!
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*!
inc/external/wpmu-lib/js/wpmu-vnav.2.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WPMU Dev code library - v2.0.1
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  jQuery(function(){function t(){var t=jQuery(".vnav");i=jQuery("input[name=_wp_http_referer]"),t.wpmui_vnav()}function e(){var t,e,s,n,o,a,r,c=jQuery(this),l=0,h=jQuery(window),u=c.html(),d=u.split("<h3>"),p=window.location.hash.replace(/^#/,""),f=p.length?"":" active";for(u='<ul class="lst-vnav">',t=0;d.length>t;t+=1)e=d[t],s=e.split("</h3>"),2===s.length&&s[0].length&&("-"===s[0]?u+='<li class="lst-vnav-sep"></li>':(r=s[0].toLowerCase().replace(/\W\W*/g," ").replace(/^\s|\s$/g,"").replace(/\s/g,"-"),p.length&&p===r&&(f=" active"),n='<h3 data-key="'+r+'">'+s[0]+"</h3>",o='<div class="data">'+s[1]+"</div>",u+='<li class="lst-vnav-item'+f+'">'+n+o+"</li>",f=""));u+="</ul>",c.html(u),a=jQuery(".lst-vnav",c).first(),c.find(".lst-vnav-item > .data > table").each(function(){var t=jQuery(this),e=t.find("> tbody > tr > th, > tr > th"),i=e.filter(":empty");e.length===i.length&&e.remove()});var m=function m(){var t=jQuery(this),e=t.parents(".lst-vnav-item").first(),s=jQuery(".lst-vnav-item.active",a),n=t.data("key"),o="";window.location.hash=n,i.each(function(){var t=jQuery(this);o=t.val().split("#").shift(),o+="#"+n,t.val(o)}),s.removeClass("active"),e.addClass("active"),g()},g=function g(){var t=jQuery(".lst-vnav-item.active",a),e=jQuery("> .data",t).first(),i=e.outerHeight();l||(l=a.outerHeight()),a.css({"min-height":i+"px"}),e.css({"min-height":l+"px"})},v=function v(t){a.hasClass("open")?y(t):w(t)},w=function w(){a.addClass("open")},y=function y(){a.removeClass("open")};c.on("click","h3",m),c.on("click","h3",v),h.resize(g),h.resize(y),window.setTimeout(function(){jQuery(".active h3",c).click()},50)}var i="";jQuery.fn.extend({wpmui_vnav:function(){return this.each(function(){return e.apply(this),this})}}),t()});
1
+ /*! WPMU Dev code library - v2.0.3
2
  * http://premium.wpmudev.org/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  jQuery(function(){function t(){var t=jQuery(".vnav");i=jQuery("input[name=_wp_http_referer]"),t.wpmui_vnav()}function e(){var t,e,s,n,o,a,r,c=jQuery(this),l=0,h=jQuery(window),u=c.html(),d=u.split("<h3>"),p=window.location.hash.replace(/^#/,""),f=p.length?"":" active";for(u='<ul class="lst-vnav">',t=0;d.length>t;t+=1)e=d[t],s=e.split("</h3>"),2===s.length&&s[0].length&&("-"===s[0]?u+='<li class="lst-vnav-sep"></li>':(r=s[0].toLowerCase().replace(/\W\W*/g," ").replace(/^\s|\s$/g,"").replace(/\s/g,"-"),p.length&&p===r&&(f=" active"),n='<h3 data-key="'+r+'">'+s[0]+"</h3>",o='<div class="data">'+s[1]+"</div>",u+='<li class="lst-vnav-item'+f+'">'+n+o+"</li>",f=""));u+="</ul>",c.html(u),a=jQuery(".lst-vnav",c).first(),c.find(".lst-vnav-item > .data > table").each(function(){var t=jQuery(this),e=t.find("> tbody > tr > th, > tr > th"),i=e.filter(":empty");e.length===i.length&&e.remove()});var m=function m(){var t=jQuery(this),e=t.parents(".lst-vnav-item").first(),s=jQuery(".lst-vnav-item.active",a),n=t.data("key"),o="";window.location.hash=n,i.each(function(){var t=jQuery(this);o=t.val().split("#").shift(),o+="#"+n,t.val(o)}),s.removeClass("active"),e.addClass("active"),g()},g=function g(){var t=jQuery(".lst-vnav-item.active",a),e=jQuery("> .data",t).first(),i=e.outerHeight();l||(l=a.outerHeight()),a.css({"min-height":i+"px"}),e.css({"min-height":l+"px"})},v=function v(t){a.hasClass("open")?y(t):w(t)},w=function w(){a.addClass("open")},y=function y(){a.removeClass("open")};c.on("click","h3",m),c.on("click","h3",v),h.resize(g),h.resize(y),window.setTimeout(function(){jQuery(".active h3",c).click()},50)}var i="";jQuery.fn.extend({wpmui_vnav:function(){return this.each(function(){return e.apply(this),this})}}),t()});
inc/external/wpmu-lib/view/list.php CHANGED
@@ -62,7 +62,7 @@ $current = 'current';
62
  </span>
63
  <div class="item-icon"><?php echo '' . $item->icon; ?></div>
64
  <div class="name">
65
- <h4 class="toggle-details is-no-detail">
66
  <?php echo esc_html( $item->title ); ?>
67
  </h4>
68
  <h4 class="is-detail">
@@ -101,12 +101,14 @@ $current = 'current';
101
  <span class="list-card-footer is-no-detail">
102
  <?php echo '' . $item->footer; ?>
103
  </span>
 
104
  <span class="toggle-details toggle-link is-no-detail">
105
  <?php echo esc_html( $lang->show_details ); ?>
106
  </span>
107
  <span class="toggle-details toggle-link is-detail">
108
  <?php echo esc_html( $lang->close_details ); ?>
109
  </span>
 
110
  </div>
111
  </div>
112
  <?php endforeach; ?>
62
  </span>
63
  <div class="item-icon"><?php echo '' . $item->icon; ?></div>
64
  <div class="name">
65
+ <h4 class="<?php if ( $item->details ) : ?>toggle-details<?php endif; ?> is-no-detail">
66
  <?php echo esc_html( $item->title ); ?>
67
  </h4>
68
  <h4 class="is-detail">
101
  <span class="list-card-footer is-no-detail">
102
  <?php echo '' . $item->footer; ?>
103
  </span>
104
+ <?php if ( $item->details ) : ?>
105
  <span class="toggle-details toggle-link is-no-detail">
106
  <?php echo esc_html( $lang->show_details ); ?>
107
  </span>
108
  <span class="toggle-details toggle-link is-detail">
109
  <?php echo esc_html( $lang->close_details ); ?>
110
  </span>
111
+ <?php endif; ?>
112
  </div>
113
  </div>
114
  <?php endforeach; ?>
inc/rules/class-popup-rule-datetime.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Name: Date specific
4
+ Plugin URI: http://premium.wpmudev.org/project/the-pop-over-plugin/
5
+ Description: Date/time-related popups.
6
+ Author: Philipp (Incsub)
7
+ Author URI: http://premium.wpmudev.org
8
+ Type: Rule
9
+ Rules: Show PopUp on Date, Hide PopUp on Date
10
+ Limit: pro
11
+ Version: 1.0
12
+
13
+ NOTE: DON'T RENAME THIS FILE!!
14
+ This filename is saved as metadata with each popup that uses these rules.
15
+ Renaming the file will DISABLE the rules, which is very bad!
16
+ */
inc/rules/class-popup-rule-popup.php CHANGED
@@ -87,14 +87,17 @@ class IncPopupRule_Popup extends IncPopupRule {
87
  * Update and return the $settings array to save the form values.
88
  *
89
  * @since 4.6
 
90
  * @return mixed Data collection of this rule.
91
  */
92
- protected function save_count() {
93
- $count = absint( @$_POST['po_rule_data']['count'] );
 
 
94
  if ( $count < 1 ) { $count = 1; }
95
  return $count;
96
  }
97
 
98
  };
99
 
100
- IncPopupRules::register( 'IncPopupRule_Popup' );
87
  * Update and return the $settings array to save the form values.
88
  *
89
  * @since 4.6
90
+ * @param array $data The contents of $_POST['po_rule_data'].
91
  * @return mixed Data collection of this rule.
92
  */
93
+ protected function save_count( $data ) {
94
+ lib2()->array->equip( $data, 'count' );
95
+
96
+ $count = absint( $data['count'] );
97
  if ( $count < 1 ) { $count = 1; }
98
  return $count;
99
  }
100
 
101
  };
102
 
103
+ IncPopupRules::register( 'IncPopupRule_Popup' );
inc/rules/class-popup-rule-protectedcontent.php CHANGED
@@ -1,16 +1,19 @@
1
  <?php
2
  /*
3
- Name: Protected Content
4
  Plugin URI: http://premium.wpmudev.org/project/the-pop-over-plugin/
5
- Description: Conditions based on the users Protected Content subscriptions. <a href="http://premium.wpmudev.org/project/protected-content/" target="_blank">Learn more &raquo;</a>
6
  Author: Philipp Stracker
7
  Author URI: http://premium.wpmudev.org
8
  Type: Rule
9
- Rules: For Members (Protected Content)
10
  Limit: pro
11
  Version: 1.0
12
 
13
  NOTE: DON'T RENAME THIS FILE!!
14
  This filename is saved as metadata with each popup that uses these rules.
15
  Renaming the file will DISABLE the rules, which is very bad!
16
- */
 
 
 
1
  <?php
2
  /*
3
+ Name: Membership 2
4
  Plugin URI: http://premium.wpmudev.org/project/the-pop-over-plugin/
5
+ Description: Conditions based on the users Membership2 subscriptions. (Former "Protected Content") <a href="http://premium.wpmudev.org/project/membership/" target="_blank">Learn more &raquo;</a>
6
  Author: Philipp Stracker
7
  Author URI: http://premium.wpmudev.org
8
  Type: Rule
9
+ Rules: For Members (Membership 2), For Non-Members (Membership 2)
10
  Limit: pro
11
  Version: 1.0
12
 
13
  NOTE: DON'T RENAME THIS FILE!!
14
  This filename is saved as metadata with each popup that uses these rules.
15
  Renaming the file will DISABLE the rules, which is very bad!
16
+
17
+ This rule is called PROTECTED CONTENT but it actually handles the MEMBERSHIP 2
18
+ integration since the plugin was re-branded as M2.
19
+ */
inc/rules/class-popup-rule-referrer.php CHANGED
@@ -106,10 +106,12 @@ class IncPopupRule_Referrer extends IncPopupRule {
106
  * Update and return the $settings array to save the form values.
107
  *
108
  * @since 4.6
 
109
  * @return mixed Data collection of this rule.
110
  */
111
- protected function save_referrer() {
112
- return explode( "\n", $_POST['po_rule_data']['referrer'] );
 
113
  }
114
 
115
 
@@ -156,10 +158,12 @@ class IncPopupRule_Referrer extends IncPopupRule {
156
  * Update and return the $settings array to save the form values.
157
  *
158
  * @since 4.6
 
159
  * @return mixed Data collection of this rule.
160
  */
161
- protected function save_no_referrer() {
162
- return explode( "\n", $_POST['po_rule_data']['no_referrer'] );
 
163
  }
164
 
165
 
@@ -347,4 +351,4 @@ class IncPopupRule_Referrer extends IncPopupRule {
347
 
348
  };
349
 
350
- IncPopupRules::register( 'IncPopupRule_Referrer' );
106
  * Update and return the $settings array to save the form values.
107
  *
108
  * @since 4.6
109
+ * @param array $data The contents of $_POST['po_rule_data'].
110
  * @return mixed Data collection of this rule.
111
  */
112
+ protected function save_referrer( $data ) {
113
+ lib2()->array->equip( $data, 'referrer' );
114
+ return explode( "\n", $data['referrer'] );
115
  }
116
 
117
 
158
  * Update and return the $settings array to save the form values.
159
  *
160
  * @since 4.6
161
+ * @param array $data The contents of $_POST['po_rule_data'].
162
  * @return mixed Data collection of this rule.
163
  */
164
+ protected function save_no_referrer( $data ) {
165
+ lib2()->array->equip( $data, 'no_referrer' );
166
+ return explode( "\n", $data['no_referrer'] );
167
  }
168
 
169
 
351
 
352
  };
353
 
354
+ IncPopupRules::register( 'IncPopupRule_Referrer' );
inc/rules/class-popup-rule-url.php CHANGED
@@ -95,10 +95,10 @@ class IncPopupRule_Url extends IncPopupRule {
95
  * Update and return the $settings array to save the form values.
96
  *
97
  * @since 4.6
 
98
  * @return mixed Data collection of this rule.
99
  */
100
- protected function save_url() {
101
- $data = lib2()->array->get( $_POST['po_rule_data'] );
102
  lib2()->array->equip( $data, 'url' );
103
  return $this->sanitize_values( $data['url'] );
104
  }
@@ -155,10 +155,10 @@ class IncPopupRule_Url extends IncPopupRule {
155
  * Update and return the $settings array to save the form values.
156
  *
157
  * @since 4.6
 
158
  * @return mixed Data collection of this rule.
159
  */
160
- protected function save_no_url() {
161
- $data = lib2()->array->get( $_POST['po_rule_data'] );
162
  lib2()->array->equip( $data, 'no_url' );
163
  return $this->sanitize_values( $data['no_url'] );
164
  }
@@ -252,10 +252,9 @@ class IncPopupRule_Url extends IncPopupRule {
252
  }
253
  }
254
 
255
-
256
  return $response;
257
  }
258
 
259
  };
260
 
261
- IncPopupRules::register( 'IncPopupRule_Url' );
95
  * Update and return the $settings array to save the form values.
96
  *
97
  * @since 4.6
98
+ * @param array $data The contents of $_POST['po_rule_data'].
99
  * @return mixed Data collection of this rule.
100
  */
101
+ protected function save_url( $data ) {
 
102
  lib2()->array->equip( $data, 'url' );
103
  return $this->sanitize_values( $data['url'] );
104
  }
155
  * Update and return the $settings array to save the form values.
156
  *
157
  * @since 4.6
158
+ * @param array $data The contents of $_POST['po_rule_data'].
159
  * @return mixed Data collection of this rule.
160
  */
161
+ protected function save_no_url( $data ) {
 
162
  lib2()->array->equip( $data, 'no_url' );
163
  return $this->sanitize_values( $data['no_url'] );
164
  }
252
  }
253
  }
254
 
 
255
  return $response;
256
  }
257
 
258
  };
259
 
260
+ IncPopupRules::register( 'IncPopupRule_Url' );
js/ace.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /**
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /**
js/ace.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  (function(){function e(e){var t=function(e,t){return s("",e,t)},r=i;e&&(i[e]||(i[e]={}),r=i[e]),r.define&&r.define.packaged||(n.original=r.define,r.define=n,r.define.packaged=!0),r.require&&r.require.packaged||(s.original=r.require,r.require=t,r.require.packaged=!0)}var t="ace",i=function(){return this}();if(t||"undefined"==typeof requirejs){var n=function(e,t,i){return"string"!=typeof e?(n.original?n.original.apply(window,arguments):(console.error("dropping module because define wasn't a string."),console.trace()),void 0):(2==arguments.length&&(i=t),n.modules||(n.modules={},n.payloads={}),n.payloads[e]=i,n.modules[e]=null,void 0)},s=function(e,t,i){if("[object Array]"===Object.prototype.toString.call(t)){for(var n=[],r=0,a=t.length;a>r;++r){var l=o(e,t[r]);if(!l&&s.original)return s.original.apply(window,arguments);n.push(l)}i&&i.apply(null,n)}else{if("string"==typeof t){var h=o(e,t);return!h&&s.original?s.original.apply(window,arguments):(i&&i(),h)}if(s.original)return s.original.apply(window,arguments)}},r=function(e,t){if(-1!==t.indexOf("!")){var i=t.split("!");return r(e,i[0])+"!"+r(e,i[1])}if("."==t.charAt(0)){var n=e.split("/").slice(0,-1).join("/");for(t=n+"/"+t;-1!==t.indexOf(".")&&s!=t;){var s=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return t},o=function(e,t){t=r(e,t);var i=n.modules[t];if(!i){if(i=n.payloads[t],"function"==typeof i){var o={},a={id:t,uri:"",exports:o,packaged:!0},l=function(e,i){return s(t,e,i)},h=i(l,o,a);o=h||a.exports,n.modules[t]=o,delete n.payloads[t]}i=n.modules[t]=o||i}return i};e(t)}})(),ace.define("ace/lib/regexp",["require","exports","module"],function(){"use strict";function e(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function t(e,t,i){if(Array.prototype.indexOf)return e.indexOf(t,i);for(var n=i||0;e.length>n;n++)if(e[n]===t)return n;return-1}var i={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},n=void 0===i.exec.call(/()??/,"")[1],s=function(){var e=/^/g;return i.test.call(e,""),!e.lastIndex}();s&&n||(RegExp.prototype.exec=function(r){var o,a,l=i.exec.apply(this,arguments);if("string"==typeof r&&l){if(!n&&l.length>1&&t(l,"")>-1&&(a=RegExp(this.source,i.replace.call(e(this),"g","")),i.replace.call(r.slice(l.index),a,function(){for(var e=1;arguments.length-2>e;e++)void 0===arguments[e]&&(l[e]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var h=1;l.length>h;h++)o=this._xregexp.captureNames[h-1],o&&(l[o]=l[h]);!s&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--}return l},s||(RegExp.prototype.test=function(e){var t=i.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function e(){}function t(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){}}function i(e){return e=+e,e!==e?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(t){var i=this;if("function"!=typeof i)throw new TypeError("Function.prototype.bind called on incompatible "+i);var n=u.call(arguments,1),s=function(){if(this instanceof s){var e=i.apply(this,n.concat(u.call(arguments)));return Object(e)===e?e:this}return i.apply(t,n.concat(u.call(arguments)))};return i.prototype&&(e.prototype=i.prototype,s.prototype=new e,e.prototype=null),s});var n,s,r,o,a,l=Function.prototype.call,h=Array.prototype,c=Object.prototype,u=h.slice,d=l.bind(c.toString),g=l.bind(c.hasOwnProperty);if((a=g(c,"__defineGetter__"))&&(n=l.bind(c.__defineGetter__),s=l.bind(c.__defineSetter__),r=l.bind(c.__lookupGetter__),o=l.bind(c.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=Array(e+2);return t[0]=t[1]=0,t}var t,i=[];return i.splice.apply(i,e(20)),i.splice.apply(i,e(26)),t=i.length,i.splice(5,0,"XXX"),t+1==i.length,t+1==i.length?!0:void 0}()){var f=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?f.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(u.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var i=this.length;e>0?e>i&&(e=i):void 0==e?e=0:0>e&&(e=Math.max(i+e,0)),i>e+t||(t=i-e);var n=this.slice(e,e+t),s=u.call(arguments,2),r=s.length;if(e===i)r&&this.push.apply(this,s);else{var o=Math.min(t,i-e),a=e+o,l=a+r-o,h=i-a,c=i-o;if(a>l)for(var d=0;h>d;++d)this[l+d]=this[a+d];else if(l>a)for(d=h;d--;)this[l+d]=this[a+d];if(r&&e===c)this.length=c,this.push.apply(this,s);else for(this.length=c+r,d=0;r>d;++d)this[e+d]=s[d]}return n};Array.isArray||(Array.isArray=function(e){return"[object Array]"==d(e)});var m=Object("a"),p="a"!=m[0]||!(0 in m);if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=arguments[1],s=-1,r=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError;for(;r>++s;)s in i&&e.call(n,i[s],s,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=Array(n),r=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;n>o;o++)o in i&&(s[o]=e.call(r,i[o],o,t));return s}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,i=T(this),n=p&&"[object String]"==d(this)?this.split(""):i,s=n.length>>>0,r=[],o=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var a=0;s>a;a++)a in n&&(t=n[a],e.call(o,t,a,i)&&r.push(t));return r}),Array.prototype.every||(Array.prototype.every=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;n>r;r++)if(r in i&&!e.call(s,i[r],r,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;n>r;r++)if(r in i&&e.call(s,i[r],r,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var s,r=0;if(arguments.length>=2)s=arguments[1];else for(;;){if(r in i){s=i[r++];break}if(++r>=n)throw new TypeError("reduce of empty array with no initial value")}for(;n>r;r++)r in i&&(s=e.call(void 0,s,i[r],r,t));return s}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var s,r=n-1;if(arguments.length>=2)s=arguments[1];else for(;;){if(r in i){s=i[r--];break}if(0>--r)throw new TypeError("reduceRight of empty array with no initial value")}do r in this&&(s=e.call(void 0,s,i[r],r,t));while(r--);return s}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=p&&"[object String]"==d(this)?this.split(""):T(this),n=t.length>>>0;if(!n)return-1;var s=0;for(arguments.length>1&&(s=i(arguments[1])),s=s>=0?s:Math.max(0,n+s);n>s;s++)if(s in t&&t[s]===e)return s;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){var t=p&&"[object String]"==d(this)?this.split(""):T(this),n=t.length>>>0;if(!n)return-1;var s=n-1;for(arguments.length>1&&(s=Math.min(s,i(arguments[1]))),s=s>=0?s:n-Math.abs(s);s>=0;s--)if(s in t&&e===t[s])return s;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:c)}),!Object.getOwnPropertyDescriptor){var A="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError(A+e);if(g(e,t)){var i,n,s;if(i={enumerable:!0,configurable:!0},a){var l=e.__proto__;e.__proto__=c;var n=r(e,t),s=o(e,t);if(e.__proto__=l,n||s)return n&&(i.get=n),s&&(i.set=s),i}return i.value=e[t],i}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),!Object.create){var v;v=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var i;if(null===e)i=v();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var n=function(){};n.prototype=e,i=new n,i.__proto__=e}return void 0!==t&&Object.defineProperties(i,t),i}}if(Object.defineProperty){var C=t({}),F="undefined"==typeof document||t(document.createElement("div"));if(!C||!F)var w=Object.defineProperty}if(!Object.defineProperty||w){var E="Property description must be an object: ",b="Object.defineProperty called on non-object: ",y="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(e,t,i){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError(b+e);if("object"!=typeof i&&"function"!=typeof i||null===i)throw new TypeError(E+i);if(w)try{return w.call(Object,e,t,i)}catch(l){}if(g(i,"value"))if(a&&(r(e,t)||o(e,t))){var h=e.__proto__;e.__proto__=c,delete e[t],e[t]=i.value,e.__proto__=h}else e[t]=i.value;else{if(!a)throw new TypeError(y);g(i,"get")&&n(e,t,i.get),g(i,"set")&&s(e,t,i.set)}return e}}Object.defineProperties||(Object.defineProperties=function(e,t){for(var i in t)g(t,i)&&Object.defineProperty(e,i,t[i]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch($){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";g(e,t);)t+="?";e[t]=!0;var i=g(e,t);return delete e[t],i}),!Object.keys){var B=!0,D=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=D.length;for(var k in{toString:null})B=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var i in e)g(e,i)&&t.push(i);if(B)for(var n=0,s=S;s>n;n++){var r=D[n];g(e,r)&&t.push(r)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var x=" \n\f\r   ᠎              \u2028\u2029";if(!String.prototype.trim||x.trim()){x="["+x+"]";var L=RegExp("^"+x+x+"*"),R=RegExp(x+x+"*$");String.prototype.trim=function(){return(this+"").replace(L,"").replace(R,"")}}var T=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e){"use strict";e("./regexp"),e("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(e,t){"use strict";if("undefined"!=typeof document){var i="http://www.w3.org/1999/xhtml";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||i,e):document.createElement(e)},t.hasCssClass=function(e,t){var i=(e.className||"").split(/\s+/g);return-1!==i.indexOf(t)},t.addCssClass=function(e,i){t.hasCssClass(e,i)||(e.className+=" "+i)},t.removeCssClass=function(e,t){for(var i=e.className.split(/\s+/g);;){var n=i.indexOf(t);if(-1==n)break;i.splice(n,1)}e.className=i.join(" ")},t.toggleCssClass=function(e,t){for(var i=e.className.split(/\s+/g),n=!0;;){var s=i.indexOf(t);if(-1==s)break;n=!1,i.splice(s,1)}return n&&i.push(t),e.className=i.join(" "),n},t.setCssClass=function(e,i,n){n?t.addCssClass(e,i):t.removeCssClass(e,i)},t.hasCssString=function(e,t){var i,n=0;if(t=t||document,t.createStyleSheet&&(i=t.styleSheets)){for(;i.length>n;)if(i[n++].owningElement.id===e)return!0}else if(i=t.getElementsByTagName("style"))for(;i.length>n;)if(i[n++].id===e)return!0;return!1},t.importCssString=function(e,n,s){if(s=s||document,n&&t.hasCssString(n,s))return null;var r;s.createStyleSheet?(r=s.createStyleSheet(),r.cssText=e,n&&(r.owningElement.id=n)):(r=s.createElementNS?s.createElementNS(i,"style"):s.createElement("style"),r.appendChild(s.createTextNode(e)),n&&(r.id=n),t.getDocumentHead(s).appendChild(r))},t.importCssStylsheet=function(e,i){if(i.createStyleSheet)i.createStyleSheet(e);else{var n=t.createElement("link");n.rel="stylesheet",n.href=e,t.getDocumentHead(i).appendChild(n)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},void 0!==window.pageYOffset?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),t.computedStyle=window.getComputedStyle?function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.scrollbarWidth=function(e){var i=t.createElement("ace_inner");i.style.width="100%",i.style.minWidth="0px",i.style.height="200px",i.style.display="block";var n=t.createElement("ace_outer"),s=n.style;s.position="absolute",s.left="-10000px",s.overflow="hidden",s.width="200px",s.minWidth="0px",s.height="150px",s.display="block",n.appendChild(i);var r=e.documentElement;r.appendChild(n);var o=i.offsetWidth;s.overflow="scroll";var a=i.offsetWidth;return o==a&&(a=n.clientWidth),r.removeChild(n),o-a},t.setInnerHtml=function(e,t){var i=e.cloneNode(!1);return i.innerHTML=t,e.parentNode.replaceChild(i,e),i},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}}}),ace.define("ace/lib/oop",["require","exports","module"],function(e,t){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var i in t)e[i]=t[i];return e},t.implement=function(e,i){t.mixin(e,i)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t){"use strict";e("./fixoldbrowsers");var i=e("./oop"),n=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,"super":8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return i.mixin(n,n.MODIFIER_KEYS),i.mixin(n,n.PRINTABLE_KEYS),i.mixin(n,n.FUNCTION_KEYS),n.enter=n["return"],n.escape=n.esc,n.del=n["delete"],n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter(function(e){return t&n.KEY_MODS[e]}).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input",n}();i.mixin(t,n),t.keyCodeToString=function(e){var t=n[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,t){"use strict";if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},"object"==typeof navigator){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),n=navigator.userAgent;t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((n.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((n.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&9>t.isIE,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&4>parseInt((n.match(/rv\:(\d+)/)||[])[1],10),t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(n.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(n.split(" Chrome/")[1])||void 0,t.isAIR=n.indexOf("AdobeAIR")>=0,t.isIPad=n.indexOf("iPad")>=0,t.isTouchPad=n.indexOf("TouchPad")>=0,t.isChromeOS=n.indexOf(" CrOS ")>=0}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t){"use strict";function i(e,t,i){var l=r(t);if(!s.isMac&&o){if((o[91]||o[92])&&(l|=8),o.altGr){if(3==(3&l))return;o.altGr=0}if(18===i||17===i){var h="location"in t?t.location:t.keyLocation;if(17===i&&1===h)a=t.timeStamp;else if(18===i&&3===l&&2===h){var c=-a;a=t.timeStamp,c+=a,3>c&&(o.altGr=!0)}}}if(i in n.MODIFIER_KEYS){switch(n.MODIFIER_KEYS[i]){case"Alt":l=2;break;case"Shift":l=4;break;case"Ctrl":l=1;break;default:l=8}i=-1}if(8&l&&(91===i||93===i)&&(i=-1),!l&&13===i){var h="location"in t?t.location:t.keyLocation;if(3===h&&(e(t,l,-i),t.defaultPrevented))return}if(s.isChromeOS&&8&l){if(e(t,l,i),t.defaultPrevented)return;l&=-9}return l||i in n.FUNCTION_KEYS||i in n.PRINTABLE_KEYS?e(t,l,i):!1}var n=e("./keys"),s=e("./useragent");t.addListener=function(e,t,i){if(e.addEventListener)return e.addEventListener(t,i,!1);if(e.attachEvent){var n=function(){i.call(e,window.event)};i._wrapper=n,e.attachEvent("on"+t,n)}},t.removeListener=function(e,t,i){return e.removeEventListener?e.removeEventListener(t,i,!1):(e.detachEvent&&e.detachEvent("on"+t,i._wrapper||i),void 0)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||s.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,i,n){function s(e){i&&i(e),n&&n(e),t.removeListener(document,"mousemove",i,!0),t.removeListener(document,"mouseup",s,!0),t.removeListener(document,"dragstart",s,!0)}return t.addListener(document,"mousemove",i,!0),t.addListener(document,"mouseup",s,!0),t.addListener(document,"dragstart",s,!0),s},t.addMouseWheelListener=function(e,i){"onmousewheel"in e?t.addListener(e,"mousewheel",function(e){var t=8;void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/t,e.wheelY=-e.wheelDeltaY/t):(e.wheelX=0,e.wheelY=-e.wheelDelta/t),i(e)}):"onwheel"in e?t.addListener(e,"wheel",function(e){var t=.35;switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=e.deltaX*t||0,e.wheelY=e.deltaY*t||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}i(e)}):t.addListener(e,"DOMMouseScroll",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),i(e)})},t.addMultiMouseDownListener=function(e,i,n,r){var o,a,l,h=0,c={2:"dblclick",3:"tripleclick",4:"quadclick"};t.addListener(e,"mousedown",function(e){if(0!==t.getButton(e)?h=0:e.detail>1?(h++,h>4&&(h=1)):h=1,s.isIE){var u=Math.abs(e.clientX-o)>5||Math.abs(e.clientY-a)>5;(!l||u)&&(h=1),l&&clearTimeout(l),l=setTimeout(function(){l=null},i[h-1]||600),1==h&&(o=e.clientX,a=e.clientY)}if(e._clicks=h,n[r]("mousedown",e),h>4)h=0;else if(h>1)return n[r](c[h],e)}),s.isOldIE&&t.addListener(e,"dblclick",function(e){h=2,l&&clearTimeout(l),l=setTimeout(function(){l=null},i[h-1]||600),n[r]("mousedown",e),n[r](c[h],e)})};var r=!s.isMac||!s.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};t.getModifierString=function(e){return n.KEY_MODS[r(e)]};var o=null,a=0;if(t.addCommandKeyListener=function(e,n){var r=t.addListener;if(s.isOldGecko||s.isOpera&&!("KeyboardEvent"in window)){var a=null;r(e,"keydown",function(e){a=e.keyCode}),r(e,"keypress",function(e){return i(n,e,a)})}else{var l=null;r(e,"keydown",function(e){o[e.keyCode]=!0;var t=i(n,e,e.keyCode);return l=e.defaultPrevented,t}),r(e,"keypress",function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),r(e,"keyup",function(e){o[e.keyCode]=null}),o||(o=Object.create(null),r(window,"focus",function(){o=Object.create(null)}))}},window.postMessage&&!s.isOldIE){var l=1;t.nextTick=function(e,i){i=i||window;var n="zero-timeout-message-"+l;t.addListener(i,"message",function s(r){r.data==n&&(t.stopPropagation(r),t.removeListener(i,"message",s),e())}),i.postMessage(n,"*")}}t.nextFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame,t.nextFrame=t.nextFrame?t.nextFrame.bind(window):function(e){setTimeout(e,17)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var i=/^\s\s*/,n=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(n,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;n>i;i++)t[i]=e[i]&&"object"==typeof e[i]?this.copyObject(e[i]):e[i];return t},t.deepCopy=function(e){if("object"!=typeof e||!e)return e;var i=e.constructor;if(i===RegExp)return e;var n=i();for(var s in e)n[s]="object"==typeof e[s]?t.deepCopy(e[s]):e[s];return n},t.arrayToMap=function(e){for(var t={},i=0;e.length>i;i++)t[e[i]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var i in e)t[i]=e[i];return t},t.arrayRemove=function(e,t){for(var i=0;e.length>=i;i++)t===e[i]&&e.splice(i,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var i=[];return e.replace(t,function(e){i.push({offset:arguments[arguments.length-2],length:e.length})}),i},t.deferredCall=function(e){var t=null,i=function(){t=null,e()},n=function(e){return n.cancel(),t=setTimeout(i,e||0),n};return n.schedule=n,n.call=function(){return this.cancel(),e(),n},n.cancel=function(){return clearTimeout(t),t=null,n},n.isPending=function(){return t},n},t.delayedCall=function(e,t){var i=null,n=function(){i=null,e()},s=function(e){null==i&&(i=setTimeout(n,e||t))};return s.delay=function(e){i&&clearTimeout(i),i=setTimeout(n,e||t)},s.schedule=s,s.call=function(){this.cancel(),e()},s.cancel=function(){i&&clearTimeout(i),i=null},s.isPending=function(){return i},s}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang"],function(e,t){"use strict";var i=e("../lib/event"),n=e("../lib/useragent"),s=e("../lib/dom"),r=e("../lib/lang"),o=18>n.isChrome,a=n.isIE,l=function(e,t){function l(e){if(!m){if(S)t=0,i=e?0:u.value.length-1;else var t=e?2:1,i=2;try{u.setSelectionRange(t,i)}catch(n){}}}function h(){m||(u.value=d,n.isWebKit&&w.schedule())}function c(){clearTimeout(z),z=setTimeout(function(){p&&(u.style.cssText=p,p=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},n.isOldIE?200:0)}var u=s.createElement("textarea");u.className="ace_text-input",n.isTouchPad&&u.setAttribute("x-palm-disable-auto-cap",!0),u.wrap="off",u.autocorrect="off",u.autocapitalize="off",u.spellcheck=!1,u.style.opacity="0",n.isOldIE&&(u.style.top="-100px"),e.insertBefore(u,e.firstChild);var d="",g=!1,f=!1,m=!1,p="",A=!0;try{var v=document.activeElement===u}catch(C){}i.addListener(u,"blur",function(e){t.onBlur(e),v=!1}),i.addListener(u,"focus",function(e){v=!0,t.onFocus(e),l()}),this.focus=function(){u.focus()},this.blur=function(){u.blur()},this.isFocused=function(){return v};var F=r.delayedCall(function(){v&&l(A)}),w=r.delayedCall(function(){m||(u.value=d,v&&l())});n.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=A&&(A=!A,F.schedule())}),h(),v&&t.onFocus();var E=function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length};if(!u.setSelectionRange&&u.createTextRange&&(u.setSelectionRange=function(e,t){var i=this.createTextRange();i.collapse(!0),i.moveStart("character",e),i.moveEnd("character",t),i.select()},E=function(e){try{var t=e.ownerDocument.selection.createRange()}catch(i){}return t&&t.parentElement()==e?t.text==e.value:!1}),n.isOldIE){var b=!1,y=function(e){if(!b){var t=u.value;if(!m&&t&&t!=d){if(e&&t==d[0])return $.schedule();x(t),b=!0,h(),b=!1}}},$=r.delayedCall(y);i.addListener(u,"propertychange",y);var B={13:1,27:1};i.addListener(u,"keyup",function(e){return!m||u.value&&!B[e.keyCode]||setTimeout(P,0),129>(u.value.charCodeAt(0)||0)?$.call():(m?W():I(),void 0)}),i.addListener(u,"keydown",function(){$.schedule(50)})}var D=function(){g?g=!1:E(u)?(t.selectAll(),l()):S&&l(t.selection.isEmpty())},S=null;this.setInputHandler=function(e){S=e},this.getInputHandler=function(){return S};var k=!1,x=function(e){S&&(e=S(e),S=null),f?(l(),e&&t.onPaste(e),f=!1):e==d.charAt(0)?k?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):(e.substring(0,2)==d?e=e.substr(2):e.charAt(0)==d.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),k&&(k=!1)},L=function(){if(!m){var e=u.value;x(e),h()}},R=function(e,t){var i=e.clipboardData||window.clipboardData;if(i&&!o){var n=a?"Text":"text/plain";return t?i.setData(n,t)!==!1:i.getData(n)}},T=function(e,n){var s=t.getCopyText();return s?(R(e,s)?(n?t.onCut():t.onCopy(),i.preventDefault(e)):(g=!0,u.value=s,u.select(),setTimeout(function(){g=!1,h(),l(),n?t.onCut():t.onCopy()})),void 0):i.preventDefault(e)},M=function(e){T(e,!0)},_=function(e){T(e,!1)},O=function(e){var s=R(e);"string"==typeof s?(s&&t.onPaste(s),n.isIE&&setTimeout(l),i.preventDefault(e)):(u.value="",f=!0)};i.addCommandKeyListener(u,t.onCommandKey.bind(t)),i.addListener(u,"select",D),i.addListener(u,"input",L),i.addListener(u,"cut",M),i.addListener(u,"copy",_),i.addListener(u,"paste",O),"oncut"in u&&"oncopy"in u&&"onpaste"in u||i.addListener(e,"keydown",function(e){if((!n.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:_(e);break;case 86:O(e);break;case 88:M(e)}});var I=function(){m||!t.onCompositionStart||t.$readOnly||(m={},t.onCompositionStart(),setTimeout(W,0),t.on("mousedown",P),t.selection.isEmpty()||(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},W=function(){if(m&&t.onCompositionUpdate&&!t.$readOnly){var e=u.value.replace(/\x01/g,"");if(m.lastValue!==e&&(t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.lastValue=e,m.lastValue)){var i=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(i),t.selection.clearSelection()}}},P=function(e){if(t.onCompositionEnd&&!t.$readOnly){var i=m;m=!1;var n=setTimeout(function(){n=null;var e=u.value.replace(/\x01/g,"");m||(e==i.lastValue?h():!i.lastValue&&e&&(h(),x(e)))});S=function(e){return n&&clearTimeout(n),e=e.replace(/\x01/g,""),e==i.lastValue?"":(i.lastValue&&n&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",P),"compositionend"==e.type&&i.range&&t.selection.setRange(i.range)}},H=r.delayedCall(W,50);i.addListener(u,"compositionstart",I),n.isGecko?i.addListener(u,"text",function(){H.schedule()}):(i.addListener(u,"keyup",function(){H.schedule()}),i.addListener(u,"keydown",function(){H.schedule()})),i.addListener(u,"compositionend",P),this.getElement=function(){return u},this.setReadOnly=function(e){u.readOnly=e},this.onContextMenu=function(e){k=!0,l(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,r){if(r||!n.isOldIE){p||(p=u.style.cssText),u.style.cssText=(r?"z-index:100000;":"")+"height:"+u.style.height+";"+(n.isIE?"opacity:0.1;":"");var o=t.container.getBoundingClientRect(),a=s.computedStyle(t.container),l=o.top+(parseInt(a.borderTopWidth)||0),h=o.left+(parseInt(o.borderLeftWidth)||0),d=o.bottom-l-u.clientHeight-2,g=function(e){u.style.left=e.clientX-h-2+"px",u.style.top=Math.min(e.clientY-l-2,d)+"px"};g(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),n.isWin&&!n.isOldIE&&i.capture(t.container,g,c))}},this.onContextMenuClose=c;var z,N=function(e){t.textInput.onContextMenu(e),c()};i.addListener(t.renderer.scroller,"contextmenu",N),i.addListener(u,"contextmenu",N)};t.TextInput=l}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t){"use strict";function i(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));var i=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];i.forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function n(e,t,i,n){return Math.sqrt(Math.pow(i-e,2)+Math.pow(n-t,2))}function s(e,t){if(e.start.row==e.end.row)var i=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)var i=2*t.row-e.start.row-e.end.row;else var i=t.column-4;return 0>i?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  (function(){function e(e){var t=function(e,t){return s("",e,t)},r=i;e&&(i[e]||(i[e]={}),r=i[e]),r.define&&r.define.packaged||(n.original=r.define,r.define=n,r.define.packaged=!0),r.require&&r.require.packaged||(s.original=r.require,r.require=t,r.require.packaged=!0)}var t="ace",i=function(){return this}();if(t||"undefined"==typeof requirejs){var n=function(e,t,i){return"string"!=typeof e?(n.original?n.original.apply(window,arguments):(console.error("dropping module because define wasn't a string."),console.trace()),void 0):(2==arguments.length&&(i=t),n.modules||(n.modules={},n.payloads={}),n.payloads[e]=i,n.modules[e]=null,void 0)},s=function(e,t,i){if("[object Array]"===Object.prototype.toString.call(t)){for(var n=[],r=0,a=t.length;a>r;++r){var l=o(e,t[r]);if(!l&&s.original)return s.original.apply(window,arguments);n.push(l)}i&&i.apply(null,n)}else{if("string"==typeof t){var h=o(e,t);return!h&&s.original?s.original.apply(window,arguments):(i&&i(),h)}if(s.original)return s.original.apply(window,arguments)}},r=function(e,t){if(-1!==t.indexOf("!")){var i=t.split("!");return r(e,i[0])+"!"+r(e,i[1])}if("."==t.charAt(0)){var n=e.split("/").slice(0,-1).join("/");for(t=n+"/"+t;-1!==t.indexOf(".")&&s!=t;){var s=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return t},o=function(e,t){t=r(e,t);var i=n.modules[t];if(!i){if(i=n.payloads[t],"function"==typeof i){var o={},a={id:t,uri:"",exports:o,packaged:!0},l=function(e,i){return s(t,e,i)},h=i(l,o,a);o=h||a.exports,n.modules[t]=o,delete n.payloads[t]}i=n.modules[t]=o||i}return i};e(t)}})(),ace.define("ace/lib/regexp",["require","exports","module"],function(){"use strict";function e(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function t(e,t,i){if(Array.prototype.indexOf)return e.indexOf(t,i);for(var n=i||0;e.length>n;n++)if(e[n]===t)return n;return-1}var i={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},n=void 0===i.exec.call(/()??/,"")[1],s=function(){var e=/^/g;return i.test.call(e,""),!e.lastIndex}();s&&n||(RegExp.prototype.exec=function(r){var o,a,l=i.exec.apply(this,arguments);if("string"==typeof r&&l){if(!n&&l.length>1&&t(l,"")>-1&&(a=RegExp(this.source,i.replace.call(e(this),"g","")),i.replace.call(r.slice(l.index),a,function(){for(var e=1;arguments.length-2>e;e++)void 0===arguments[e]&&(l[e]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var h=1;l.length>h;h++)o=this._xregexp.captureNames[h-1],o&&(l[o]=l[h]);!s&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--}return l},s||(RegExp.prototype.test=function(e){var t=i.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function e(){}function t(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){}}function i(e){return e=+e,e!==e?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(t){var i=this;if("function"!=typeof i)throw new TypeError("Function.prototype.bind called on incompatible "+i);var n=u.call(arguments,1),s=function(){if(this instanceof s){var e=i.apply(this,n.concat(u.call(arguments)));return Object(e)===e?e:this}return i.apply(t,n.concat(u.call(arguments)))};return i.prototype&&(e.prototype=i.prototype,s.prototype=new e,e.prototype=null),s});var n,s,r,o,a,l=Function.prototype.call,h=Array.prototype,c=Object.prototype,u=h.slice,d=l.bind(c.toString),g=l.bind(c.hasOwnProperty);if((a=g(c,"__defineGetter__"))&&(n=l.bind(c.__defineGetter__),s=l.bind(c.__defineSetter__),r=l.bind(c.__lookupGetter__),o=l.bind(c.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=Array(e+2);return t[0]=t[1]=0,t}var t,i=[];return i.splice.apply(i,e(20)),i.splice.apply(i,e(26)),t=i.length,i.splice(5,0,"XXX"),t+1==i.length,t+1==i.length?!0:void 0}()){var f=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?f.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(u.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var i=this.length;e>0?e>i&&(e=i):void 0==e?e=0:0>e&&(e=Math.max(i+e,0)),i>e+t||(t=i-e);var n=this.slice(e,e+t),s=u.call(arguments,2),r=s.length;if(e===i)r&&this.push.apply(this,s);else{var o=Math.min(t,i-e),a=e+o,l=a+r-o,h=i-a,c=i-o;if(a>l)for(var d=0;h>d;++d)this[l+d]=this[a+d];else if(l>a)for(d=h;d--;)this[l+d]=this[a+d];if(r&&e===c)this.length=c,this.push.apply(this,s);else for(this.length=c+r,d=0;r>d;++d)this[e+d]=s[d]}return n};Array.isArray||(Array.isArray=function(e){return"[object Array]"==d(e)});var m=Object("a"),p="a"!=m[0]||!(0 in m);if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=arguments[1],s=-1,r=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError;for(;r>++s;)s in i&&e.call(n,i[s],s,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=Array(n),r=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;n>o;o++)o in i&&(s[o]=e.call(r,i[o],o,t));return s}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,i=T(this),n=p&&"[object String]"==d(this)?this.split(""):i,s=n.length>>>0,r=[],o=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var a=0;s>a;a++)a in n&&(t=n[a],e.call(o,t,a,i)&&r.push(t));return r}),Array.prototype.every||(Array.prototype.every=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;n>r;r++)if(r in i&&!e.call(s,i[r],r,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;n>r;r++)if(r in i&&e.call(s,i[r],r,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var s,r=0;if(arguments.length>=2)s=arguments[1];else for(;;){if(r in i){s=i[r++];break}if(++r>=n)throw new TypeError("reduce of empty array with no initial value")}for(;n>r;r++)r in i&&(s=e.call(void 0,s,i[r],r,t));return s}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var s,r=n-1;if(arguments.length>=2)s=arguments[1];else for(;;){if(r in i){s=i[r--];break}if(0>--r)throw new TypeError("reduceRight of empty array with no initial value")}do r in this&&(s=e.call(void 0,s,i[r],r,t));while(r--);return s}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=p&&"[object String]"==d(this)?this.split(""):T(this),n=t.length>>>0;if(!n)return-1;var s=0;for(arguments.length>1&&(s=i(arguments[1])),s=s>=0?s:Math.max(0,n+s);n>s;s++)if(s in t&&t[s]===e)return s;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){var t=p&&"[object String]"==d(this)?this.split(""):T(this),n=t.length>>>0;if(!n)return-1;var s=n-1;for(arguments.length>1&&(s=Math.min(s,i(arguments[1]))),s=s>=0?s:n-Math.abs(s);s>=0;s--)if(s in t&&e===t[s])return s;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:c)}),!Object.getOwnPropertyDescriptor){var A="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError(A+e);if(g(e,t)){var i,n,s;if(i={enumerable:!0,configurable:!0},a){var l=e.__proto__;e.__proto__=c;var n=r(e,t),s=o(e,t);if(e.__proto__=l,n||s)return n&&(i.get=n),s&&(i.set=s),i}return i.value=e[t],i}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),!Object.create){var v;v=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var i;if(null===e)i=v();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var n=function(){};n.prototype=e,i=new n,i.__proto__=e}return void 0!==t&&Object.defineProperties(i,t),i}}if(Object.defineProperty){var C=t({}),F="undefined"==typeof document||t(document.createElement("div"));if(!C||!F)var w=Object.defineProperty}if(!Object.defineProperty||w){var E="Property description must be an object: ",b="Object.defineProperty called on non-object: ",y="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(e,t,i){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError(b+e);if("object"!=typeof i&&"function"!=typeof i||null===i)throw new TypeError(E+i);if(w)try{return w.call(Object,e,t,i)}catch(l){}if(g(i,"value"))if(a&&(r(e,t)||o(e,t))){var h=e.__proto__;e.__proto__=c,delete e[t],e[t]=i.value,e.__proto__=h}else e[t]=i.value;else{if(!a)throw new TypeError(y);g(i,"get")&&n(e,t,i.get),g(i,"set")&&s(e,t,i.set)}return e}}Object.defineProperties||(Object.defineProperties=function(e,t){for(var i in t)g(t,i)&&Object.defineProperty(e,i,t[i]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch($){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";g(e,t);)t+="?";e[t]=!0;var i=g(e,t);return delete e[t],i}),!Object.keys){var B=!0,D=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=D.length;for(var k in{toString:null})B=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var i in e)g(e,i)&&t.push(i);if(B)for(var n=0,s=S;s>n;n++){var r=D[n];g(e,r)&&t.push(r)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var x=" \n\f\r   ᠎              \u2028\u2029";if(!String.prototype.trim||x.trim()){x="["+x+"]";var L=RegExp("^"+x+x+"*"),R=RegExp(x+x+"*$");String.prototype.trim=function(){return(this+"").replace(L,"").replace(R,"")}}var T=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e){"use strict";e("./regexp"),e("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(e,t){"use strict";if("undefined"!=typeof document){var i="http://www.w3.org/1999/xhtml";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||i,e):document.createElement(e)},t.hasCssClass=function(e,t){var i=(e.className||"").split(/\s+/g);return-1!==i.indexOf(t)},t.addCssClass=function(e,i){t.hasCssClass(e,i)||(e.className+=" "+i)},t.removeCssClass=function(e,t){for(var i=e.className.split(/\s+/g);;){var n=i.indexOf(t);if(-1==n)break;i.splice(n,1)}e.className=i.join(" ")},t.toggleCssClass=function(e,t){for(var i=e.className.split(/\s+/g),n=!0;;){var s=i.indexOf(t);if(-1==s)break;n=!1,i.splice(s,1)}return n&&i.push(t),e.className=i.join(" "),n},t.setCssClass=function(e,i,n){n?t.addCssClass(e,i):t.removeCssClass(e,i)},t.hasCssString=function(e,t){var i,n=0;if(t=t||document,t.createStyleSheet&&(i=t.styleSheets)){for(;i.length>n;)if(i[n++].owningElement.id===e)return!0}else if(i=t.getElementsByTagName("style"))for(;i.length>n;)if(i[n++].id===e)return!0;return!1},t.importCssString=function(e,n,s){if(s=s||document,n&&t.hasCssString(n,s))return null;var r;s.createStyleSheet?(r=s.createStyleSheet(),r.cssText=e,n&&(r.owningElement.id=n)):(r=s.createElementNS?s.createElementNS(i,"style"):s.createElement("style"),r.appendChild(s.createTextNode(e)),n&&(r.id=n),t.getDocumentHead(s).appendChild(r))},t.importCssStylsheet=function(e,i){if(i.createStyleSheet)i.createStyleSheet(e);else{var n=t.createElement("link");n.rel="stylesheet",n.href=e,t.getDocumentHead(i).appendChild(n)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},void 0!==window.pageYOffset?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),t.computedStyle=window.getComputedStyle?function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.scrollbarWidth=function(e){var i=t.createElement("ace_inner");i.style.width="100%",i.style.minWidth="0px",i.style.height="200px",i.style.display="block";var n=t.createElement("ace_outer"),s=n.style;s.position="absolute",s.left="-10000px",s.overflow="hidden",s.width="200px",s.minWidth="0px",s.height="150px",s.display="block",n.appendChild(i);var r=e.documentElement;r.appendChild(n);var o=i.offsetWidth;s.overflow="scroll";var a=i.offsetWidth;return o==a&&(a=n.clientWidth),r.removeChild(n),o-a},t.setInnerHtml=function(e,t){var i=e.cloneNode(!1);return i.innerHTML=t,e.parentNode.replaceChild(i,e),i},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}}}),ace.define("ace/lib/oop",["require","exports","module"],function(e,t){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var i in t)e[i]=t[i];return e},t.implement=function(e,i){t.mixin(e,i)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t){"use strict";e("./fixoldbrowsers");var i=e("./oop"),n=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,"super":8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return i.mixin(n,n.MODIFIER_KEYS),i.mixin(n,n.PRINTABLE_KEYS),i.mixin(n,n.FUNCTION_KEYS),n.enter=n["return"],n.escape=n.esc,n.del=n["delete"],n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter(function(e){return t&n.KEY_MODS[e]}).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input",n}();i.mixin(t,n),t.keyCodeToString=function(e){var t=n[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,t){"use strict";if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},"object"==typeof navigator){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),n=navigator.userAgent;t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((n.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((n.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&9>t.isIE,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&4>parseInt((n.match(/rv\:(\d+)/)||[])[1],10),t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(n.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(n.split(" Chrome/")[1])||void 0,t.isAIR=n.indexOf("AdobeAIR")>=0,t.isIPad=n.indexOf("iPad")>=0,t.isTouchPad=n.indexOf("TouchPad")>=0,t.isChromeOS=n.indexOf(" CrOS ")>=0}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t){"use strict";function i(e,t,i){var l=r(t);if(!s.isMac&&o){if((o[91]||o[92])&&(l|=8),o.altGr){if(3==(3&l))return;o.altGr=0}if(18===i||17===i){var h="location"in t?t.location:t.keyLocation;if(17===i&&1===h)a=t.timeStamp;else if(18===i&&3===l&&2===h){var c=-a;a=t.timeStamp,c+=a,3>c&&(o.altGr=!0)}}}if(i in n.MODIFIER_KEYS){switch(n.MODIFIER_KEYS[i]){case"Alt":l=2;break;case"Shift":l=4;break;case"Ctrl":l=1;break;default:l=8}i=-1}if(8&l&&(91===i||93===i)&&(i=-1),!l&&13===i){var h="location"in t?t.location:t.keyLocation;if(3===h&&(e(t,l,-i),t.defaultPrevented))return}if(s.isChromeOS&&8&l){if(e(t,l,i),t.defaultPrevented)return;l&=-9}return l||i in n.FUNCTION_KEYS||i in n.PRINTABLE_KEYS?e(t,l,i):!1}var n=e("./keys"),s=e("./useragent");t.addListener=function(e,t,i){if(e.addEventListener)return e.addEventListener(t,i,!1);if(e.attachEvent){var n=function(){i.call(e,window.event)};i._wrapper=n,e.attachEvent("on"+t,n)}},t.removeListener=function(e,t,i){return e.removeEventListener?e.removeEventListener(t,i,!1):(e.detachEvent&&e.detachEvent("on"+t,i._wrapper||i),void 0)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||s.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,i,n){function s(e){i&&i(e),n&&n(e),t.removeListener(document,"mousemove",i,!0),t.removeListener(document,"mouseup",s,!0),t.removeListener(document,"dragstart",s,!0)}return t.addListener(document,"mousemove",i,!0),t.addListener(document,"mouseup",s,!0),t.addListener(document,"dragstart",s,!0),s},t.addMouseWheelListener=function(e,i){"onmousewheel"in e?t.addListener(e,"mousewheel",function(e){var t=8;void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/t,e.wheelY=-e.wheelDeltaY/t):(e.wheelX=0,e.wheelY=-e.wheelDelta/t),i(e)}):"onwheel"in e?t.addListener(e,"wheel",function(e){var t=.35;switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=e.deltaX*t||0,e.wheelY=e.deltaY*t||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}i(e)}):t.addListener(e,"DOMMouseScroll",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),i(e)})},t.addMultiMouseDownListener=function(e,i,n,r){var o,a,l,h=0,c={2:"dblclick",3:"tripleclick",4:"quadclick"};t.addListener(e,"mousedown",function(e){if(0!==t.getButton(e)?h=0:e.detail>1?(h++,h>4&&(h=1)):h=1,s.isIE){var u=Math.abs(e.clientX-o)>5||Math.abs(e.clientY-a)>5;(!l||u)&&(h=1),l&&clearTimeout(l),l=setTimeout(function(){l=null},i[h-1]||600),1==h&&(o=e.clientX,a=e.clientY)}if(e._clicks=h,n[r]("mousedown",e),h>4)h=0;else if(h>1)return n[r](c[h],e)}),s.isOldIE&&t.addListener(e,"dblclick",function(e){h=2,l&&clearTimeout(l),l=setTimeout(function(){l=null},i[h-1]||600),n[r]("mousedown",e),n[r](c[h],e)})};var r=!s.isMac||!s.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};t.getModifierString=function(e){return n.KEY_MODS[r(e)]};var o=null,a=0;if(t.addCommandKeyListener=function(e,n){var r=t.addListener;if(s.isOldGecko||s.isOpera&&!("KeyboardEvent"in window)){var a=null;r(e,"keydown",function(e){a=e.keyCode}),r(e,"keypress",function(e){return i(n,e,a)})}else{var l=null;r(e,"keydown",function(e){o[e.keyCode]=!0;var t=i(n,e,e.keyCode);return l=e.defaultPrevented,t}),r(e,"keypress",function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),r(e,"keyup",function(e){o[e.keyCode]=null}),o||(o=Object.create(null),r(window,"focus",function(){o=Object.create(null)}))}},window.postMessage&&!s.isOldIE){var l=1;t.nextTick=function(e,i){i=i||window;var n="zero-timeout-message-"+l;t.addListener(i,"message",function s(r){r.data==n&&(t.stopPropagation(r),t.removeListener(i,"message",s),e())}),i.postMessage(n,"*")}}t.nextFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame,t.nextFrame=t.nextFrame?t.nextFrame.bind(window):function(e){setTimeout(e,17)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var i=/^\s\s*/,n=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(n,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;n>i;i++)t[i]=e[i]&&"object"==typeof e[i]?this.copyObject(e[i]):e[i];return t},t.deepCopy=function(e){if("object"!=typeof e||!e)return e;var i=e.constructor;if(i===RegExp)return e;var n=i();for(var s in e)n[s]="object"==typeof e[s]?t.deepCopy(e[s]):e[s];return n},t.arrayToMap=function(e){for(var t={},i=0;e.length>i;i++)t[e[i]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var i in e)t[i]=e[i];return t},t.arrayRemove=function(e,t){for(var i=0;e.length>=i;i++)t===e[i]&&e.splice(i,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var i=[];return e.replace(t,function(e){i.push({offset:arguments[arguments.length-2],length:e.length})}),i},t.deferredCall=function(e){var t=null,i=function(){t=null,e()},n=function(e){return n.cancel(),t=setTimeout(i,e||0),n};return n.schedule=n,n.call=function(){return this.cancel(),e(),n},n.cancel=function(){return clearTimeout(t),t=null,n},n.isPending=function(){return t},n},t.delayedCall=function(e,t){var i=null,n=function(){i=null,e()},s=function(e){null==i&&(i=setTimeout(n,e||t))};return s.delay=function(e){i&&clearTimeout(i),i=setTimeout(n,e||t)},s.schedule=s,s.call=function(){this.cancel(),e()},s.cancel=function(){i&&clearTimeout(i),i=null},s.isPending=function(){return i},s}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang"],function(e,t){"use strict";var i=e("../lib/event"),n=e("../lib/useragent"),s=e("../lib/dom"),r=e("../lib/lang"),o=18>n.isChrome,a=n.isIE,l=function(e,t){function l(e){if(!m){if(S)t=0,i=e?0:u.value.length-1;else var t=e?2:1,i=2;try{u.setSelectionRange(t,i)}catch(n){}}}function h(){m||(u.value=d,n.isWebKit&&w.schedule())}function c(){clearTimeout(z),z=setTimeout(function(){p&&(u.style.cssText=p,p=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},n.isOldIE?200:0)}var u=s.createElement("textarea");u.className="ace_text-input",n.isTouchPad&&u.setAttribute("x-palm-disable-auto-cap",!0),u.wrap="off",u.autocorrect="off",u.autocapitalize="off",u.spellcheck=!1,u.style.opacity="0",n.isOldIE&&(u.style.top="-100px"),e.insertBefore(u,e.firstChild);var d="",g=!1,f=!1,m=!1,p="",A=!0;try{var v=document.activeElement===u}catch(C){}i.addListener(u,"blur",function(e){t.onBlur(e),v=!1}),i.addListener(u,"focus",function(e){v=!0,t.onFocus(e),l()}),this.focus=function(){u.focus()},this.blur=function(){u.blur()},this.isFocused=function(){return v};var F=r.delayedCall(function(){v&&l(A)}),w=r.delayedCall(function(){m||(u.value=d,v&&l())});n.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=A&&(A=!A,F.schedule())}),h(),v&&t.onFocus();var E=function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length};if(!u.setSelectionRange&&u.createTextRange&&(u.setSelectionRange=function(e,t){var i=this.createTextRange();i.collapse(!0),i.moveStart("character",e),i.moveEnd("character",t),i.select()},E=function(e){try{var t=e.ownerDocument.selection.createRange()}catch(i){}return t&&t.parentElement()==e?t.text==e.value:!1}),n.isOldIE){var b=!1,y=function(e){if(!b){var t=u.value;if(!m&&t&&t!=d){if(e&&t==d[0])return $.schedule();x(t),b=!0,h(),b=!1}}},$=r.delayedCall(y);i.addListener(u,"propertychange",y);var B={13:1,27:1};i.addListener(u,"keyup",function(e){return!m||u.value&&!B[e.keyCode]||setTimeout(P,0),129>(u.value.charCodeAt(0)||0)?$.call():(m?W():I(),void 0)}),i.addListener(u,"keydown",function(){$.schedule(50)})}var D=function(){g?g=!1:E(u)?(t.selectAll(),l()):S&&l(t.selection.isEmpty())},S=null;this.setInputHandler=function(e){S=e},this.getInputHandler=function(){return S};var k=!1,x=function(e){S&&(e=S(e),S=null),f?(l(),e&&t.onPaste(e),f=!1):e==d.charAt(0)?k?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):(e.substring(0,2)==d?e=e.substr(2):e.charAt(0)==d.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),k&&(k=!1)},L=function(){if(!m){var e=u.value;x(e),h()}},R=function(e,t){var i=e.clipboardData||window.clipboardData;if(i&&!o){var n=a?"Text":"text/plain";return t?i.setData(n,t)!==!1:i.getData(n)}},T=function(e,n){var s=t.getCopyText();return s?(R(e,s)?(n?t.onCut():t.onCopy(),i.preventDefault(e)):(g=!0,u.value=s,u.select(),setTimeout(function(){g=!1,h(),l(),n?t.onCut():t.onCopy()})),void 0):i.preventDefault(e)},M=function(e){T(e,!0)},_=function(e){T(e,!1)},O=function(e){var s=R(e);"string"==typeof s?(s&&t.onPaste(s),n.isIE&&setTimeout(l),i.preventDefault(e)):(u.value="",f=!0)};i.addCommandKeyListener(u,t.onCommandKey.bind(t)),i.addListener(u,"select",D),i.addListener(u,"input",L),i.addListener(u,"cut",M),i.addListener(u,"copy",_),i.addListener(u,"paste",O),"oncut"in u&&"oncopy"in u&&"onpaste"in u||i.addListener(e,"keydown",function(e){if((!n.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:_(e);break;case 86:O(e);break;case 88:M(e)}});var I=function(){m||!t.onCompositionStart||t.$readOnly||(m={},t.onCompositionStart(),setTimeout(W,0),t.on("mousedown",P),t.selection.isEmpty()||(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},W=function(){if(m&&t.onCompositionUpdate&&!t.$readOnly){var e=u.value.replace(/\x01/g,"");if(m.lastValue!==e&&(t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.lastValue=e,m.lastValue)){var i=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(i),t.selection.clearSelection()}}},P=function(e){if(t.onCompositionEnd&&!t.$readOnly){var i=m;m=!1;var n=setTimeout(function(){n=null;var e=u.value.replace(/\x01/g,"");m||(e==i.lastValue?h():!i.lastValue&&e&&(h(),x(e)))});S=function(e){return n&&clearTimeout(n),e=e.replace(/\x01/g,""),e==i.lastValue?"":(i.lastValue&&n&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",P),"compositionend"==e.type&&i.range&&t.selection.setRange(i.range)}},H=r.delayedCall(W,50);i.addListener(u,"compositionstart",I),n.isGecko?i.addListener(u,"text",function(){H.schedule()}):(i.addListener(u,"keyup",function(){H.schedule()}),i.addListener(u,"keydown",function(){H.schedule()})),i.addListener(u,"compositionend",P),this.getElement=function(){return u},this.setReadOnly=function(e){u.readOnly=e},this.onContextMenu=function(e){k=!0,l(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,r){if(r||!n.isOldIE){p||(p=u.style.cssText),u.style.cssText=(r?"z-index:100000;":"")+"height:"+u.style.height+";"+(n.isIE?"opacity:0.1;":"");var o=t.container.getBoundingClientRect(),a=s.computedStyle(t.container),l=o.top+(parseInt(a.borderTopWidth)||0),h=o.left+(parseInt(o.borderLeftWidth)||0),d=o.bottom-l-u.clientHeight-2,g=function(e){u.style.left=e.clientX-h-2+"px",u.style.top=Math.min(e.clientY-l-2,d)+"px"};g(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),n.isWin&&!n.isOldIE&&i.capture(t.container,g,c))}},this.onContextMenuClose=c;var z,N=function(e){t.textInput.onContextMenu(e),c()};i.addListener(t.renderer.scroller,"contextmenu",N),i.addListener(u,"contextmenu",N)};t.TextInput=l}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t){"use strict";function i(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));var i=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];i.forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function n(e,t,i,n){return Math.sqrt(Math.pow(i-e,2)+Math.pow(n-t,2))}function s(e,t){if(e.start.row==e.end.row)var i=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)var i=2*t.row-e.start.row-e.end.row;else var i=t.column-4;return 0>i?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}
js/popup-admin.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*global window:false */
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*global window:false */
js/popup-admin.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  jQuery(function(){function e(){var e=jQuery(".meta-box-sortables"),t=jQuery(".postbox .hndle");e.length&&(e.sortable({disabled:!0}),t.css("cursor","pointer"))}function t(){var e,t,i=jQuery("#submitdiv"),n=jQuery("#post-body"),s=jQuery("body"),o=20;if(i.length){t=i.position().top;var r=function(){s.hasClass("sticky-submit")||(s.addClass("sticky-submit"),i.css({marginTop:0}),i.find(".sticky-actions").show(),i.find(".non-sticky").hide())},a=function(){s.hasClass("sticky-submit")&&(s.removeClass("sticky-submit"),i.find(".sticky-actions").hide(),i.find(".non-sticky").show())};jQuery(window).resize(function(){var e=850>=jQuery(window).width();e?s.hasClass("po-small")||s.addClass("po-small"):s.hasClass("po-small")&&(s.removeClass("po-small"),a())}).scroll(function(){n.hasClass("columns-1")||s.hasClass("po-small")?(e=jQuery(window).scrollTop()-t,e>0?r():a()):(e=jQuery(window).scrollTop()-t+o,e>0?i.css({marginTop:e}):i.css({marginTop:0}))}),window.setTimeout(function(){jQuery(window).trigger("scroll")},100)}}function i(){var e=jQuery(".colorpicker");if(e.length&&"function"==typeof e.wpColorPicker){var t=function t(e){var t=jQuery(e.target),i=t.closest(".wp-picker-container"),n=i.find(".colorpicker"),s=jQuery(".colorpicker");i.length&&(s=s.not(n)),s.each(function(){var e=jQuery(this),t=e.closest(".wp-picker-container");e.iris("hide"),e.hide(),t.find(".wp-picker-clear").addClass("hidden"),t.find(".wp-picker-open").removeClass("wp-picker-open")})};e.wpColorPicker(),jQuery(document).on("mousedown",t),jQuery(document).on("click",t),jQuery(document).on("mouseup",t)}}function n(){var e=jQuery("#po-custom-colors"),t=jQuery("#po-custom-size"),i=jQuery("[name=po_display]"),n=jQuery("#po-can-hide"),s=jQuery("#po-close-hides");if(e.length){var o=function o(){var e,t=jQuery(this),i=t.data("toggle"),n=jQuery(i),s=t.data("or"),o=t.data("and"),r=!1;s?(e=jQuery(s),r=e.filter(":checked").length>0):o?(e=jQuery(o),r=e.length===e.filter(":checked").length):r=t.prop("checked"),r?(n.removeClass("inactive"),n.find("input,select,textarea,a").prop("readonly",!1).removeClass("disabled")):(n.addClass("inactive"),n.find("input,select,textarea,a").prop("readonly",!0).addClass("disabled")),n.addClass("inactive-anim")},r=function r(){var e=jQuery(this),t=e.attr("name"),i=jQuery('[name="'+t+'"]');i.each(function(){o.call(this)})},a=function a(){jQuery(".slider").each(function(){var e=jQuery(this),t=e.closest(".slider-wrap"),i=e.data("input"),n=t.find(i+"min"),s=t.find(i+"max"),o=t.find(".slider-min-input"),r=t.find(".slider-min-ignore"),a=t.find(".slider-max-input"),l=t.find(".slider-max-ignore"),c=e.data("min"),h=e.data("max");isNaN(c)&&(c=0),isNaN(h)&&(h=9999),n.prop("readonly",!0),s.prop("readonly",!0);var u=function u(e,t){n.val(e),s.val(t),e===c?(o.hide(),r.show()):(o.show(),r.hide()),t===h?(a.hide(),l.show()):(a.show(),l.hide())};e.slider({range:!0,min:c,max:h,values:[n.val(),s.val()],slide:function(e,t){u(t.values[0],t.values[1])}}),u(n.val(),s.val())})};e.click(o),t.click(o),n.click(o),s.click(o),i.click(r),o.call(e),o.call(t),o.call(n),o.call(s),i.each(function(){o.call(jQuery(this))}),a()}}function s(){var e=jQuery("#meta-rules .all-rules"),t=jQuery("#meta-rules .active-rules");if(e.length){var i=function i(e){var t=jQuery(e.target),i=t.find("input.wpmui-toggle-checkbox");if(!t.closest(".wpmui-toggle").length)return t.hasClass("inactive")?!1:(i.trigger("click"),void 0)},n=function n(){var e=jQuery(this),i=e.closest(".rule"),n=e.data("form"),o=t.find(n),r=e.prop("checked");r?(i.removeClass("off").addClass("on"),o.removeClass("off").addClass("on open")):(i.removeClass("on").addClass("off"),o.removeClass("on").addClass("off")),s(e,r)},s=function s(i,n){var s,o,r,a=i.data("exclude"),l=a?a.split(","):[];for(s=l.length-1;s>=0;s-=1)o=e.find(".rule-"+l[s]),r=t.find("#po-rule-"+l[s]),o.hasClass("on")||(o.prop("disabled",n),n?(o.addClass("inactive off").removeClass("on"),r.addClass("off").removeClass("on")):o.removeClass("inactive off"))},o=function o(){var e=jQuery(this),t=e.closest(".rule");t.toggleClass("open")};e.find("input.wpmui-toggle-checkbox").click(n),e.find(".rule").click(i),t.on("click",".rule-title,.rule-toggle",o),e.find(".rule.on input.wpmui-toggle-checkbox").each(function(){s(jQuery(this),!0)}),jQuery(".init-loading").removeClass("wpmui-loading")}}function o(){var e,t=jQuery(".content-image"),i=t.find(".add_image"),n=t.find(".featured-img"),s=t.find(".reset"),o=t.find(".po-image"),r=t.find(".img-preview"),a=t.find(".lbl-empty"),l=t.find(".img-pos"),c=function c(e){o.val(e),r.attr("src",e).show(),a.hide(),l.show(),n.addClass("has-image")},h=function h(){o.val(""),r.attr("src","").hide(),a.show(),l.hide(),n.removeClass("has-image")},u=function u(t){return t.preventDefault(),e?(e.open(),void 0):(e=wp.media.frames.file_frame=wp.media({title:i.attr("data-title"),button:{text:i.attr("data-button")},multiple:!1}),e.on("select",function(){var t=e.state().get("selection").first().toJSON();c(t.url)}),e.open(),void 0)},d=function d(){var e=jQuery(this);l.find(".option").removeClass("selected"),e.addClass("selected")};i.on("click",u),s.on("click",h),l.on("click",".option",d)}function r(){var e,t=jQuery('select[name="action"] '),i=jQuery('select[name="action2"] ');if(t.length&&"object"==typeof window.po_bulk)for(e in window.po_bulk)jQuery("<option>").val(e).text(window.po_bulk[e]).appendTo(t).clone().appendTo(i)}function a(){var e=jQuery("table.posts"),t=e.find("#the-list");if(t.length){var i=function i(i,n){if(e.removeClass("wpmui-loading"),n)for(var s in i)i.hasOwnProperty(s)&&t.find("#post-"+s+" .the-pos").text(i[s])},n=function n(){var n,s=t.find("tr"),o=[];for(n=0;s.length>n;n+=1)o.push(jQuery(s[n]).attr("id"));e.addClass("wpmui-loading"),wpmUi.ajax(null,"po-ajax").data({"do":"order",order:o}).ondone(i).load_json()};t.sortable({placeholder:"ui-sortable-placeholder",axis:"y",handle:".column-po_order",helper:"clone",opacity:.75,update:n}),t.disableSelection()}}function l(){var e=jQuery(document),t=jQuery("#wpcontent"),i=function i(e){var i=jQuery(this),n=i.data("id");return e.preventDefault(),void 0===window.inc_popup?!1:(t.addClass("wpmui-loading"),window.inc_popup.load(n),!1)},n=function n(e){var i,n=(jQuery(this),jQuery("#post")),s=wpmUi.ajax();return e.preventDefault(),void 0===window.inc_popup?!1:(i=s.extract_data(n),t.addClass("wpmui-loading"),window.inc_popup.load(0,i),!1)},s=function s(e,i){t.removeClass("wpmui-loading"),i.init()};e.on("click",".posts .po-preview",i),e.on("click","#post .preview",n),e.on("popup-initialized",s)}function c(){jQuery(".po_css_editor").each(function(){var e=ace.edit(this.id);jQuery(this).data("editor",e),e.setTheme("ace/theme/chrome"),e.getSession().setMode("ace/mode/css"),e.getSession().setUseWrapMode(!0),e.getSession().setUseWrapMode(!1)}),jQuery(".po_css_editor").each(function(){var e=this,t=jQuery(jQuery(this).data("input"));jQuery(this).data("editor").getSession().on("change",function(){t.val(jQuery(e).data("editor").getSession().getValue())})})}jQuery("body.post-type-inc_popup").length&&(jQuery("body.post-php").length||jQuery("body.post-new-php").length?(e(),t(),i(),n(),s(),l(),o(),c(),wpmUi.upgrade_multiselect()):jQuery("body.edit-php").length&&(a(),r(),l()))});
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  jQuery(function(){function e(){var e=jQuery(".meta-box-sortables"),t=jQuery(".postbox .hndle");e.length&&(e.sortable({disabled:!0}),t.css("cursor","pointer"))}function t(){var e,t,i=jQuery("#submitdiv"),n=jQuery("#post-body"),s=jQuery("body"),o=20;if(i.length){t=i.position().top;var r=function(){s.hasClass("sticky-submit")||(s.addClass("sticky-submit"),i.css({marginTop:0}),i.find(".sticky-actions").show(),i.find(".non-sticky").hide())},a=function(){s.hasClass("sticky-submit")&&(s.removeClass("sticky-submit"),i.find(".sticky-actions").hide(),i.find(".non-sticky").show())};jQuery(window).resize(function(){var e=850>=jQuery(window).width();e?s.hasClass("po-small")||s.addClass("po-small"):s.hasClass("po-small")&&(s.removeClass("po-small"),a())}).scroll(function(){n.hasClass("columns-1")||s.hasClass("po-small")?(e=jQuery(window).scrollTop()-t,e>0?r():a()):(e=jQuery(window).scrollTop()-t+o,e>0?i.css({marginTop:e}):i.css({marginTop:0}))}),window.setTimeout(function(){jQuery(window).trigger("scroll")},100)}}function i(){var e=jQuery(".colorpicker");if(e.length&&"function"==typeof e.wpColorPicker){var t=function t(e){var t=jQuery(e.target),i=t.closest(".wp-picker-container"),n=i.find(".colorpicker"),s=jQuery(".colorpicker");i.length&&(s=s.not(n)),s.each(function(){var e=jQuery(this),t=e.closest(".wp-picker-container");e.iris("hide"),e.hide(),t.find(".wp-picker-clear").addClass("hidden"),t.find(".wp-picker-open").removeClass("wp-picker-open")})};e.wpColorPicker(),jQuery(document).on("mousedown",t),jQuery(document).on("click",t),jQuery(document).on("mouseup",t)}}function n(){var e=jQuery("#po-custom-colors"),t=jQuery("#po-custom-size"),i=jQuery("[name=po_display]"),n=jQuery("#po-can-hide"),s=jQuery("#po-close-hides");if(e.length){var o=function o(){var e,t=jQuery(this),i=t.data("toggle"),n=jQuery(i),s=t.data("or"),o=t.data("and"),r=!1;s?(e=jQuery(s),r=e.filter(":checked").length>0):o?(e=jQuery(o),r=e.length===e.filter(":checked").length):r=t.prop("checked"),r?(n.removeClass("inactive"),n.find("input,select,textarea,a").prop("readonly",!1).removeClass("disabled")):(n.addClass("inactive"),n.find("input,select,textarea,a").prop("readonly",!0).addClass("disabled")),n.addClass("inactive-anim")},r=function r(){var e=jQuery(this),t=e.attr("name"),i=jQuery('[name="'+t+'"]');i.each(function(){o.call(this)})},a=function a(){jQuery(".slider").each(function(){var e=jQuery(this),t=e.closest(".slider-wrap"),i=e.data("input"),n=t.find(i+"min"),s=t.find(i+"max"),o=t.find(".slider-min-input"),r=t.find(".slider-min-ignore"),a=t.find(".slider-max-input"),l=t.find(".slider-max-ignore"),c=e.data("min"),h=e.data("max");isNaN(c)&&(c=0),isNaN(h)&&(h=9999),n.prop("readonly",!0),s.prop("readonly",!0);var u=function u(e,t){n.val(e),s.val(t),e===c?(o.hide(),r.show()):(o.show(),r.hide()),t===h?(a.hide(),l.show()):(a.show(),l.hide())};e.slider({range:!0,min:c,max:h,values:[n.val(),s.val()],slide:function(e,t){u(t.values[0],t.values[1])}}),u(n.val(),s.val())})};e.click(o),t.click(o),n.click(o),s.click(o),i.click(r),o.call(e),o.call(t),o.call(n),o.call(s),i.each(function(){o.call(jQuery(this))}),a()}}function s(){var e=jQuery("#meta-rules .all-rules"),t=jQuery("#meta-rules .active-rules");if(e.length){var i=function i(e){var t=jQuery(e.target),i=t.find("input.wpmui-toggle-checkbox");if(!t.closest(".wpmui-toggle").length)return t.hasClass("inactive")?!1:(i.trigger("click"),void 0)},n=function n(){var e=jQuery(this),i=e.closest(".rule"),n=e.data("form"),o=t.find(n),r=e.prop("checked");r?(i.removeClass("off").addClass("on"),o.removeClass("off").addClass("on open")):(i.removeClass("on").addClass("off"),o.removeClass("on").addClass("off")),s(e,r)},s=function s(i,n){var s,o,r,a=i.data("exclude"),l=a?a.split(","):[];for(s=l.length-1;s>=0;s-=1)o=e.find(".rule-"+l[s]),r=t.find("#po-rule-"+l[s]),o.hasClass("on")||(o.prop("disabled",n),n?(o.addClass("inactive off").removeClass("on"),r.addClass("off").removeClass("on")):o.removeClass("inactive off"))},o=function o(){var e=jQuery(this),t=e.closest(".rule");t.toggleClass("open")};e.find("input.wpmui-toggle-checkbox").click(n),e.find(".rule").click(i),t.on("click",".rule-title,.rule-toggle",o),e.find(".rule.on input.wpmui-toggle-checkbox").each(function(){s(jQuery(this),!0)}),jQuery(".init-loading").removeClass("wpmui-loading")}}function o(){var e,t=jQuery(".content-image"),i=t.find(".add_image"),n=t.find(".featured-img"),s=t.find(".reset"),o=t.find(".po-image"),r=t.find(".img-preview"),a=t.find(".lbl-empty"),l=t.find(".img-pos"),c=function c(e){o.val(e),r.attr("src",e).show(),a.hide(),l.show(),n.addClass("has-image")},h=function h(){o.val(""),r.attr("src","").hide(),a.show(),l.hide(),n.removeClass("has-image")},u=function u(t){return t.preventDefault(),e?(e.open(),void 0):(e=wp.media.frames.file_frame=wp.media({title:i.attr("data-title"),button:{text:i.attr("data-button")},multiple:!1}),e.on("select",function(){var t=e.state().get("selection").first().toJSON();c(t.url)}),e.open(),void 0)},d=function d(){var e=jQuery(this);l.find(".option").removeClass("selected"),e.addClass("selected")};i.on("click",u),s.on("click",h),l.on("click",".option",d)}function r(){var e,t=jQuery('select[name="action"] '),i=jQuery('select[name="action2"] ');if(t.length&&"object"==typeof window.po_bulk)for(e in window.po_bulk)jQuery("<option>").val(e).text(window.po_bulk[e]).appendTo(t).clone().appendTo(i)}function a(){var e=jQuery("table.posts"),t=e.find("#the-list");if(t.length){var i=function i(i,n){if(e.removeClass("wpmui-loading"),n)for(var s in i)i.hasOwnProperty(s)&&t.find("#post-"+s+" .the-pos").text(i[s])},n=function n(){var n,s=t.find("tr"),o=[];for(n=0;s.length>n;n+=1)o.push(jQuery(s[n]).attr("id"));e.addClass("wpmui-loading"),wpmUi.ajax(null,"po-ajax").data({"do":"order",order:o}).ondone(i).load_json()};t.sortable({placeholder:"ui-sortable-placeholder",axis:"y",handle:".column-po_order",helper:"clone",opacity:.75,update:n}),t.disableSelection()}}function l(){var e=jQuery(document),t=jQuery("#wpcontent"),i=function i(e){var i=jQuery(this),n=i.data("id");return e.preventDefault(),void 0===window.inc_popup?!1:(t.addClass("wpmui-loading"),window.inc_popup.load(n),!1)},n=function n(e){var i,n=(jQuery(this),jQuery("#post")),s=wpmUi.ajax();return e.preventDefault(),void 0===window.inc_popup?!1:(i=s.extract_data(n),t.addClass("wpmui-loading"),window.inc_popup.load(0,i),!1)},s=function s(e,i){t.removeClass("wpmui-loading"),i.init()};e.on("click",".posts .po-preview",i),e.on("click","#post .preview",n),e.on("popup-initialized",s)}function c(){jQuery(".po_css_editor").each(function(){var e=ace.edit(this.id);jQuery(this).data("editor",e),e.setTheme("ace/theme/chrome"),e.getSession().setMode("ace/mode/css"),e.getSession().setUseWrapMode(!0),e.getSession().setUseWrapMode(!1)}),jQuery(".po_css_editor").each(function(){var e=this,t=jQuery(jQuery(this).data("input"));jQuery(this).data("editor").getSession().on("change",function(){t.val(jQuery(e).data("editor").getSession().getValue())})})}jQuery("body.post-type-inc_popup").length&&(jQuery("body.post-php").length||jQuery("body.post-new-php").length?(e(),t(),i(),n(),s(),l(),o(),c(),wpmUi.upgrade_multiselect()):jQuery("body.edit-php").length&&(a(),r(),l()))});
js/public.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*global window:false */
@@ -66,7 +66,16 @@
66
  $doc.trigger( 'popover-closed' );
67
  }
68
 
69
- close_it();
 
 
 
 
 
 
 
 
 
70
 
71
  popup_close( me );
72
  return false;
@@ -340,9 +349,42 @@
340
  me.move_popup(me.data);
341
  me.setup_popup();
342
 
 
 
 
 
 
 
 
 
 
 
 
343
  return true;
344
  };
345
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
346
  /**
347
  * Add event handlers to the PopUp controls.
348
  */
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  /*global window:false */
66
  $doc.trigger( 'popover-closed' );
67
  }
68
 
69
+ if ( me.data.animation_out ) {
70
+ $po_msg.addClass( me.data.animation_out + ' animated' );
71
+ $po_msg.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() {
72
+ $po_msg.removeClass( 'animated' );
73
+ $po_msg.removeClass( me.data.animation_out );
74
+ close_it();
75
+ });
76
+ } else {
77
+ close_it();
78
+ }
79
 
80
  popup_close( me );
81
  return false;
349
  me.move_popup(me.data);
350
  me.setup_popup();
351
 
352
+ // Disables the CSS animation is browser does not support them.
353
+ me.prepare_animation();
354
+
355
+ if ( me.data.animation_in ) {
356
+ $po_msg.addClass( me.data.animation_in + ' animated' );
357
+ $po_msg.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() {
358
+ $po_msg.removeClass( 'animated' );
359
+ $po_msg.removeClass( me.data.animation_in );
360
+ });
361
+ }
362
+
363
  return true;
364
  };
365
 
366
+ this.prepare_animation = function prepare_animation() {
367
+ var can_animate = false,
368
+ domPrefixes = 'Webkit Moz O ms Khtml'.split(' ');
369
+
370
+ if ( $po_msg[0].style.animationName !== undefined ) { can_animate = true; }
371
+
372
+ if ( can_animate === false ) {
373
+ for ( var i = 0; i < domPrefixes.length; i++ ) {
374
+ if ( $po_msg[0].style[ domPrefixes[i] + 'AnimationName' ] !== undefined ) {
375
+ can_animate = true;
376
+ break;
377
+ }
378
+ }
379
+ }
380
+
381
+ if ( ! can_animate ) {
382
+ // Sorry guys, CSS animations are not supported...
383
+ me.data.animation_in = '';
384
+ me.data.animation_out = '';
385
+ }
386
+ };
387
+
388
  /**
389
  * Add event handlers to the PopUp controls.
390
  */
js/public.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
- (function(){function e(e){"closed"===l?e._show()?(h=e,l="open"):t(e):c[c.length]=e}function t(){if(l="closed",h=null,c.length>0){var t=c.shift();e(t)}}function i(e,t,i){var o,r,a=0,l=s(""+window.location),c=s(""+document.referrer),h=null,u=function u(t){h=jQuery.extend({},e),h.popup=t,n(h)};return void 0!==window.force_popover&&(a=""+window.force_popover),void 0!==t&&(a=""+t),e.ajax_data=e.ajax_data||{},r=jQuery.extend({},e.ajax_data),r.action="inc_popup",r["do"]=e["do"],r.thefrom=l,r.thereferrer=c,a&&(r.po_id=a),i&&(r.data=i),e.preview&&(r.preview=!0),o={url:e.ajaxurl,dataType:"jsonp",jsonpCallback:"po_data",data:r,success:function(e){u(e)},complete:function(){jQuery(document).trigger("popup-load-done",[h])}},jQuery.ajax(o)}function n(e){if(void 0!==e){var t=function t(e){void 0!==e&&(void 0!==e.popup&&void 0!==e.popup.html&&(jQuery('<style type="text/css">'+e.popup.styles+"</style>").appendTo("head"),jQuery(e.popup.html).appendTo("body").hide()),window.inc_popup=new a(e),window.inc_popups[window.inc_popups.length]=window.inc_popup,jQuery(document).trigger("popup-initialized",[window.inc_popup]),e.noinit||e.preview||window.inc_popup.init())};if(e.popup instanceof Array)for(var i=0;e.popup.length>i;i+=1){var n=jQuery.extend({},e);n.popup=e.popup[i],t(n)}else e instanceof Object&&t(e)}}function s(e){for(var t=[],i=0;e.length>i;i++){if(e.length>i+1){var n=e.charCodeAt(i),s=e.charCodeAt(i+1);if(n>=55296&&56319>=n&&56320===(64512&s)||s>=768&&879>=s){t.unshift(e.substring(i,i+2)),i++;continue}}t.unshift(e[i])}return t.join("")}var o=[],r=!1,a=function(n){var s=this,a=jQuery(document),l=jQuery(window),c=null,h=null,u=null,d=null,g=null,f=null,m=null,p=null;return this.data={},this.have_popup=!1,this.ajax_data={},this.opened=0,this.close_forever=function(){var e=s.data.expiry||365;return s.close_popup(),n.preview?!1:(s.set_cookie("po_h",1,e),!1)},this.close_popup=function(){function e(){s.data.display_data.click_multi?(p.hide(),c.hide()):(p.remove(),c.remove(),s.have_popup=!1),a.trigger("popup-closed"),a.trigger("popover-closed")}return jQuery("html").removeClass("has-popup"),e(),t(s),!1},this.background_clicked=function(e){var t=jQuery(e.target);if(t.hasClass("wdpu-background")){if(!s.data.overlay_close)return;s.data.close_hide?s.close_forever():s.close_popup()}},this.move_popup=function(){var e,t,i,n=0,o=0;s.data.custom_size&&(s.data.height&&!isNaN(s.data.height)&&(f.data("reduce-height")&&(i=jQuery(f.data("reduce-height")),o=i.outerHeight()),t=s.data.height-o,100>t&&(t=100),f.height(t)),s.data.width&&!isNaN(s.data.width)&&(f.data("reduce-width")&&(i=jQuery(f.data("reduce-width")),n=i.outerWidth()),e=s.data.width-n,100>e&&(e=100),f.width(e)));var r=function r(){if(!g.hasClass("no-move-x")){var e=l.width(),t=h.outerWidth(),i=(e-t)/2;10>i&&(i=10),g.css({left:i})}if(!g.hasClass("no-move-y")){var n=l.height(),s=h.outerHeight(),o=(n-s)/2;10>o&&(o=10),g.css({top:o})}if(m.length){var r,a,c=m.width(),u=m.height(),d=m.parent().width(),f=m.parent().height();c>d?(r=(d-c)/2,m.css({"margin-left":r})):m.css({"margin-left":0}),u>f?(a=(f-u)/2,m.css({"margin-top":a})):m.css({"margin-top":0})}};window.setTimeout(r,20),r()},this.reject=function(){s.have_popup=!1,s.data={}},this.prepare=function(){if(s.fetch_dom(),c.css({opacity:0,"z-index":-1,position:"fixed",left:-1e3,width:100,right:"auto",top:-1e3,height:100,bottom:"auto"}).show(),a.trigger("popup-init",[s,s.data]),s.have_popup)switch(s.data.display){case"scroll":l.on("scroll",s.show_at_position);break;case"anchor":l.on("scroll",s.show_at_element);break;case"delay":var t=1e3*s.data.display_data.delay;"m"===s.data.display_data.delay_type&&(t*=60),window.setTimeout(function(){e(s)},t);break;default:window.setTimeout(function(){"function"==typeof s.custom_handler&&s.custom_handler(s)},20)}},this.show_at_position=function(){var t,i,n=jQuery(this),o=n.scrollTop();"px"===s.data.display_data.scroll_type?o>=s.data.display_data.scroll&&(l.off("scroll",s.show_at_position),e(s)):(t=a.height()-l.height(),i=100*o/t,i>=s.data.display_data.scroll&&(l.off("scroll",s.show_at_position),e(s)))},this.show_at_element=function(){var t=jQuery(s.data.display_data.anchor),i=l.scrollTop(),n=i+l.height(),o=t.offset().top,r=n-o;r>10&&(l.off("scroll",s.show_at_element),e(s))},this.show_popup=function(){return e(s),!1},this._show=function(){var e;return c.length?(e=parseInt(s.get_cookie("po_c"),10),isNaN(e)&&(e=0),s.set_cookie("po_c",e+1,365),s.opened+=1,p.on("click",s.background_clicked),l.off("resize.popup").on("resize.popup",function(){s.move_popup(s.data)}),c.removeAttr("style").show(),p.show(),s.data.scroll_body?jQuery("html").addClass("has-popup can-scroll"):jQuery("html").addClass("has-popup no-scroll"),h.hide(),window.setTimeout(function(){h.show()},2),s.move_popup(s.data),s.setup_popup(),!0):!1},this.setup_popup=function(){d.off("click",s.close_forever).on("click",s.close_forever),s.data&&s.data.close_hide?(u.off("click",s.close_forever).on("click",s.close_forever),h.off("click",".close",s.close_forever).on("click",".close",s.close_forever)):(u.off("click",s.close_popup).on("click",s.close_popup),h.off("click",".close",s.close_popup).on("click",".close",s.close_popup)),h.hover(function(){jQuery(".claimbutton").removeClass("hide")},function(){jQuery(".claimbutton").addClass("hide")}),a.trigger("popup-displayed",[s.data,s]),a.trigger("popover-displayed",[s.data,s]),c.off("submit","form",s.form_submit).on("submit","form",s.form_submit)},this.fetch_dom=function(){c=jQuery("#"+s.data.html_id),c.length||s.reject(),f=c.find(".resize"),g=c.find(".move"),h=c.find(".wdpu-msg"),u=c.find(".wdpu-close"),d=c.find(".wdpu-hide-forever"),m=c.find(".wdpu-image > img"),c.hasClass("wdpu-background")?p=c:(p=c.find(".wdpu-background"),p.length||(p=c.parents(".wdpu-background"))),g.length||(g=c),f.length||(f=c)},this.load_popup=function(e,t){void 0===e&&n.preview||(s.have_popup=!1,i(n,e,t))},this.form_submit=function(){function e(){var e=!1;"complete"!==c[0].contentDocument.readyState||r?(h+=1,h>200&&(a.trigger("popup-submit-timeout",[s,s.data]),e=!0)):e=!0,e&&(window.clearInterval(l),n())}function t(e){return void 0!==e&&(s.data.close_popup=e),o?(s.data.ajax_history=o,o.length&&(s.data.last_ajax=o[0])):(s.data.ajax_history=[],s.data.last_ajax={}),a.trigger("popup-submit-done",[s,s.data]),s.data.close_popup?(s.close_popup(),!0):!1}function i(e,i,n){var o=e,r=d.find(".wdpu-msg-inner"),l=d.find(".wdpu-title"),c=d.find(".wdpu-subtitle");o instanceof jQuery||(o=jQuery("<div></div>").html(e)),o instanceof jQuery&&(o.hasClass("wdpu-msg-inner")?r.replaceWith(o):r.find(".wdpu-content").empty().append(o)),void 0!==i&&l.html(i),void 0!==n&&c.html(n),s.move_popup(),s.setup_popup(),t(),s.fetch_dom(),s.setup_popup(),a.trigger("popup-init",[s,s.data])}function n(){var e,n,o,r,l;if(a.trigger("popup-submit-process",[c,s,s.data]),!s.data.form_submit)return!1;l="ignore"===s.data.form_submit?!1:!0;try{o=jQuery(m,c[0].contentDocument),r=s.data.did_ajax}catch(h){o=jQuery("<html></html>"),r=!0}s.data.close_popup=!1,g.removeClass("wdpu-loading"),e=o.find(".wdpu-msg-inner"),n=d.find(".wdpu-msg-inner"),jQuery("#wdpu-frame").remove(),s.data.last_ajax=void 0,"close"===s.data.form_submit?t(!0):s.data.new_content?i(s.data.new_content,s.data.new_title,s.data.new_subtitle):r?t(l):o.length&&o.html().length?n.length&&e.length&&e.text().length?i(e):t(l):t(!0)}var l,c,h,u=jQuery(this),d=u.parents(".wdpu-container").first(),g=d.find(".wdpu-msg"),f=jQuery('<input type="hidden" name="_po_method_" />'),m=".wdpu-"+s.data.popup_id;return d.length?("redirect"!==s.data.form_submit&&(c=jQuery('<iframe id="wdpu-frame" name="wdpu-frame"></iframe>').hide().appendTo("body"),u.attr("target","wdpu-frame"),f.appendTo(u).val("raw")),g.addClass("wdpu-loading"),"redirect"===s.data.form_submit?window.setTimeout(function(){s.close_popup()},10):r?(s.data.did_ajax=!0,h=0,l=window.setInterval(e,50)):(s.data.did_ajax=!1,c.load(n)),!0):!0},this.init=function(){n.popup?(s.have_popup=!0,s.data=n.popup,s.exec_scripts(),s.prepare()):s.load_popup()},this.exec_scripts=function(){var e;void 0!==s.data.script&&(e=Function("me",s.data.script),e(s))},this.get_cookie=function(e){var t,i,n,o=document.cookie.split(";");for(n=s.data&&s.data.popup_id?e+"-"+s.data.popup_id+"=":e+"=",t=0;o.length>t;t+=1){for(i=o[t];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n))return i.substring(n.length,i.length)}return null},this.set_cookie=function(e,t,i){var o,r,a;n.preview||(isNaN(i)?r="":(o=new Date,o.setTime(o.getTime()+1e3*60*60*24*i),r="; expires="+o.toGMTString()),a=s.data&&s.data.popup_id?e+"-"+s.data.popup_id:e,document.cookie=a+"="+t+r+"; path=/")},{init:s.init,load:s.load_popup,extend:s}},l="closed",c=[],h=null;jQuery(document).ajaxStart(function(){r=!0}),jQuery(document).ajaxComplete(function(e,t){r=!1,o.unshift(t)}),jQuery(function(){window.inc_popups=[],n(_popup_data)})})();
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
+ (function(){function e(e){"closed"===l?e._show()?(h=e,l="open"):t(e):c[c.length]=e}function t(){if(l="closed",h=null,c.length>0){var t=c.shift();e(t)}}function i(e,t,i){var o,r,a=0,l=s(""+window.location),c=s(""+document.referrer),h=null,u=function u(t){h=jQuery.extend({},e),h.popup=t,n(h)};return void 0!==window.force_popover&&(a=""+window.force_popover),void 0!==t&&(a=""+t),e.ajax_data=e.ajax_data||{},r=jQuery.extend({},e.ajax_data),r.action="inc_popup",r["do"]=e["do"],r.thefrom=l,r.thereferrer=c,a&&(r.po_id=a),i&&(r.data=i),e.preview&&(r.preview=!0),o={url:e.ajaxurl,dataType:"jsonp",jsonpCallback:"po_data",data:r,success:function(e){u(e)},complete:function(){jQuery(document).trigger("popup-load-done",[h])}},jQuery.ajax(o)}function n(e){if(void 0!==e){var t=function t(e){void 0!==e&&(void 0!==e.popup&&void 0!==e.popup.html&&(jQuery('<style type="text/css">'+e.popup.styles+"</style>").appendTo("head"),jQuery(e.popup.html).appendTo("body").hide()),window.inc_popup=new a(e),window.inc_popups[window.inc_popups.length]=window.inc_popup,jQuery(document).trigger("popup-initialized",[window.inc_popup]),e.noinit||e.preview||window.inc_popup.init())};if(e.popup instanceof Array)for(var i=0;e.popup.length>i;i+=1){var n=jQuery.extend({},e);n.popup=e.popup[i],t(n)}else e instanceof Object&&t(e)}}function s(e){for(var t=[],i=0;e.length>i;i++){if(e.length>i+1){var n=e.charCodeAt(i),s=e.charCodeAt(i+1);if(n>=55296&&56319>=n&&56320===(64512&s)||s>=768&&879>=s){t.unshift(e.substring(i,i+2)),i++;continue}}t.unshift(e[i])}return t.join("")}var o=[],r=!1,a=function(n){var s=this,a=jQuery(document),l=jQuery(window),c=null,h=null,u=null,d=null,g=null,f=null,m=null,p=null;return this.data={},this.have_popup=!1,this.ajax_data={},this.opened=0,this.close_forever=function(){var e=s.data.expiry||365;return s.close_popup(),n.preview?!1:(s.set_cookie("po_h",1,e),!1)},this.close_popup=function(){function e(){s.data.display_data.click_multi?(p.hide(),c.hide()):(p.remove(),c.remove(),s.have_popup=!1),a.trigger("popup-closed"),a.trigger("popover-closed")}return jQuery("html").removeClass("has-popup"),s.data.animation_out?(h.addClass(s.data.animation_out+" animated"),h.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){h.removeClass("animated"),h.removeClass(s.data.animation_out),e()})):e(),t(s),!1},this.background_clicked=function(e){var t=jQuery(e.target);if(t.hasClass("wdpu-background")){if(!s.data.overlay_close)return;s.data.close_hide?s.close_forever():s.close_popup()}},this.move_popup=function(){var e,t,i,n=0,o=0;s.data.custom_size&&(s.data.height&&!isNaN(s.data.height)&&(f.data("reduce-height")&&(i=jQuery(f.data("reduce-height")),o=i.outerHeight()),t=s.data.height-o,100>t&&(t=100),f.height(t)),s.data.width&&!isNaN(s.data.width)&&(f.data("reduce-width")&&(i=jQuery(f.data("reduce-width")),n=i.outerWidth()),e=s.data.width-n,100>e&&(e=100),f.width(e)));var r=function r(){if(!g.hasClass("no-move-x")){var e=l.width(),t=h.outerWidth(),i=(e-t)/2;10>i&&(i=10),g.css({left:i})}if(!g.hasClass("no-move-y")){var n=l.height(),s=h.outerHeight(),o=(n-s)/2;10>o&&(o=10),g.css({top:o})}if(m.length){var r,a,c=m.width(),u=m.height(),d=m.parent().width(),f=m.parent().height();c>d?(r=(d-c)/2,m.css({"margin-left":r})):m.css({"margin-left":0}),u>f?(a=(f-u)/2,m.css({"margin-top":a})):m.css({"margin-top":0})}};window.setTimeout(r,20),r()},this.reject=function(){s.have_popup=!1,s.data={}},this.prepare=function(){if(s.fetch_dom(),c.css({opacity:0,"z-index":-1,position:"fixed",left:-1e3,width:100,right:"auto",top:-1e3,height:100,bottom:"auto"}).show(),a.trigger("popup-init",[s,s.data]),s.have_popup)switch(s.data.display){case"scroll":l.on("scroll",s.show_at_position);break;case"anchor":l.on("scroll",s.show_at_element);break;case"delay":var t=1e3*s.data.display_data.delay;"m"===s.data.display_data.delay_type&&(t*=60),window.setTimeout(function(){e(s)},t);break;default:window.setTimeout(function(){"function"==typeof s.custom_handler&&s.custom_handler(s)},20)}},this.show_at_position=function(){var t,i,n=jQuery(this),o=n.scrollTop();"px"===s.data.display_data.scroll_type?o>=s.data.display_data.scroll&&(l.off("scroll",s.show_at_position),e(s)):(t=a.height()-l.height(),i=100*o/t,i>=s.data.display_data.scroll&&(l.off("scroll",s.show_at_position),e(s)))},this.show_at_element=function(){var t=jQuery(s.data.display_data.anchor),i=l.scrollTop(),n=i+l.height(),o=t.offset().top,r=n-o;r>10&&(l.off("scroll",s.show_at_element),e(s))},this.show_popup=function(){return e(s),!1},this._show=function(){var e;return c.length?(e=parseInt(s.get_cookie("po_c"),10),isNaN(e)&&(e=0),s.set_cookie("po_c",e+1,365),s.opened+=1,p.on("click",s.background_clicked),l.off("resize.popup").on("resize.popup",function(){s.move_popup(s.data)}),c.removeAttr("style").show(),p.show(),s.data.scroll_body?jQuery("html").addClass("has-popup can-scroll"):jQuery("html").addClass("has-popup no-scroll"),h.hide(),window.setTimeout(function(){h.show()},2),s.move_popup(s.data),s.setup_popup(),s.prepare_animation(),s.data.animation_in&&(h.addClass(s.data.animation_in+" animated"),h.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){h.removeClass("animated"),h.removeClass(s.data.animation_in)})),!0):!1},this.prepare_animation=function(){var e=!1,t="Webkit Moz O ms Khtml".split(" ");if(void 0!==h[0].style.animationName&&(e=!0),e===!1)for(var i=0;t.length>i;i++)if(void 0!==h[0].style[t[i]+"AnimationName"]){e=!0;break}e||(s.data.animation_in="",s.data.animation_out="")},this.setup_popup=function(){d.off("click",s.close_forever).on("click",s.close_forever),s.data&&s.data.close_hide?(u.off("click",s.close_forever).on("click",s.close_forever),h.off("click",".close",s.close_forever).on("click",".close",s.close_forever)):(u.off("click",s.close_popup).on("click",s.close_popup),h.off("click",".close",s.close_popup).on("click",".close",s.close_popup)),h.hover(function(){jQuery(".claimbutton").removeClass("hide")},function(){jQuery(".claimbutton").addClass("hide")}),a.trigger("popup-displayed",[s.data,s]),a.trigger("popover-displayed",[s.data,s]),c.off("submit","form",s.form_submit).on("submit","form",s.form_submit)},this.fetch_dom=function(){c=jQuery("#"+s.data.html_id),c.length||s.reject(),f=c.find(".resize"),g=c.find(".move"),h=c.find(".wdpu-msg"),u=c.find(".wdpu-close"),d=c.find(".wdpu-hide-forever"),m=c.find(".wdpu-image > img"),c.hasClass("wdpu-background")?p=c:(p=c.find(".wdpu-background"),p.length||(p=c.parents(".wdpu-background"))),g.length||(g=c),f.length||(f=c)},this.load_popup=function(e,t){void 0===e&&n.preview||(s.have_popup=!1,i(n,e,t))},this.form_submit=function(){function e(){var e=!1;"complete"!==c[0].contentDocument.readyState||r?(h+=1,h>200&&(a.trigger("popup-submit-timeout",[s,s.data]),e=!0)):e=!0,e&&(window.clearInterval(l),n())}function t(e){return void 0!==e&&(s.data.close_popup=e),o?(s.data.ajax_history=o,o.length&&(s.data.last_ajax=o[0])):(s.data.ajax_history=[],s.data.last_ajax={}),a.trigger("popup-submit-done",[s,s.data]),s.data.close_popup?(s.close_popup(),!0):!1}function i(e,i,n){var o=e,r=d.find(".wdpu-msg-inner"),l=d.find(".wdpu-title"),c=d.find(".wdpu-subtitle");o instanceof jQuery||(o=jQuery("<div></div>").html(e)),o instanceof jQuery&&(o.hasClass("wdpu-msg-inner")?r.replaceWith(o):r.find(".wdpu-content").empty().append(o)),void 0!==i&&l.html(i),void 0!==n&&c.html(n),s.move_popup(),s.setup_popup(),t(),s.fetch_dom(),s.setup_popup(),a.trigger("popup-init",[s,s.data])}function n(){var e,n,o,r,l;if(a.trigger("popup-submit-process",[c,s,s.data]),!s.data.form_submit)return!1;l="ignore"===s.data.form_submit?!1:!0;try{o=jQuery(m,c[0].contentDocument),r=s.data.did_ajax}catch(h){o=jQuery("<html></html>"),r=!0}s.data.close_popup=!1,g.removeClass("wdpu-loading"),e=o.find(".wdpu-msg-inner"),n=d.find(".wdpu-msg-inner"),jQuery("#wdpu-frame").remove(),s.data.last_ajax=void 0,"close"===s.data.form_submit?t(!0):s.data.new_content?i(s.data.new_content,s.data.new_title,s.data.new_subtitle):r?t(l):o.length&&o.html().length?n.length&&e.length&&e.text().length?i(e):t(l):t(!0)}var l,c,h,u=jQuery(this),d=u.parents(".wdpu-container").first(),g=d.find(".wdpu-msg"),f=jQuery('<input type="hidden" name="_po_method_" />'),m=".wdpu-"+s.data.popup_id;return d.length?("redirect"!==s.data.form_submit&&(c=jQuery('<iframe id="wdpu-frame" name="wdpu-frame"></iframe>').hide().appendTo("body"),u.attr("target","wdpu-frame"),f.appendTo(u).val("raw")),g.addClass("wdpu-loading"),"redirect"===s.data.form_submit?window.setTimeout(function(){s.close_popup()},10):r?(s.data.did_ajax=!0,h=0,l=window.setInterval(e,50)):(s.data.did_ajax=!1,c.load(n)),!0):!0},this.init=function(){n.popup?(s.have_popup=!0,s.data=n.popup,s.exec_scripts(),s.prepare()):s.load_popup()},this.exec_scripts=function(){var e;void 0!==s.data.script&&(e=Function("me",s.data.script),e(s))},this.get_cookie=function(e){var t,i,n,o=document.cookie.split(";");for(n=s.data&&s.data.popup_id?e+"-"+s.data.popup_id+"=":e+"=",t=0;o.length>t;t+=1){for(i=o[t];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n))return i.substring(n.length,i.length)}return null},this.set_cookie=function(e,t,i){var o,r,a;n.preview||(isNaN(i)?r="":(o=new Date,o.setTime(o.getTime()+1e3*60*60*24*i),r="; expires="+o.toGMTString()),a=s.data&&s.data.popup_id?e+"-"+s.data.popup_id:e,document.cookie=a+"="+t+r+"; path=/")},{init:s.init,load:s.load_popup,extend:s}},l="closed",c=[],h=null;jQuery(document).ajaxStart(function(){r=!0}),jQuery(document).ajaxComplete(function(e,t){r=!1,o.unshift(t)}),jQuery(function(){window.inc_popups=[],n(_popup_data)})})();
js/theme-chrome.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  ace.define("ace/theme/chrome", ["require", "exports", "module", "ace/lib/dom"], function(require, exports, module) {
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  ace.define("ace/theme/chrome", ["require", "exports", "module", "ace/lib/dom"], function(require, exports, module) {
js/theme-chrome.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],function(e,t){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var i=e("../lib/dom");i.importCssString(t.cssText,t.cssClass)});
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],function(e,t){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var i=e("../lib/dom");i.importCssString(t.cssText,t.cssClass)});
js/worker-css.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  "no use strict";;
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  "no use strict";;
js/worker-css.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! PopUp Free - v4.7.07
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  "no use strict";(function(e){if(void 0===e.window||!e.document){e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console,e.window=e,e.ace=e,e.onerror=function(e,t,i,n,r){postMessage({type:"error",data:{message:e,file:t,line:i,col:n,stack:r.stack}})},e.normalizeModule=function(t,i){if(-1!==i.indexOf("!")){var n=i.split("!");return e.normalizeModule(t,n[0])+"!"+e.normalizeModule(t,n[1])}if("."==i.charAt(0)){var r=t.split("/").slice(0,-1).join("/");for(i=(r?r+"/":"")+i;-1!==i.indexOf(".")&&o!=i;){var o=i;i=i.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},e.require=function(t,i){if(i||(i=t,t=null),!i.charAt)throw Error("worker.js require() accepts only (parentId, id) as arguments");i=e.normalizeModule(t,i);var n=e.require.modules[i];if(n)return n.initialized||(n.initialized=!0,n.exports=n.factory().exports),n.exports;var r=i.split("/");if(!e.require.tlns)return console.log("unable to load "+i);r[0]=e.require.tlns[r[0]]||r[0];var o=r.join("/")+".js";return e.require.id=i,importScripts(o),e.require(t,i)},e.require.modules={},e.require.tlns={},e.define=function(t,i,n){if(2==arguments.length?(n=i,"string"!=typeof t&&(i=t,t=e.require.id)):1==arguments.length&&(n=t,i=[],t=e.require.id),"function"!=typeof n)return e.require.modules[t]={exports:n,initialized:!0},void 0;i.length||(i=["require","exports","module"]);var r=function(i){return e.require(t,i)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=n.apply(this,i.map(function(t){switch(t){case"require":return r;case"exports":return e.exports;case"module":return e;default:return r(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},e.initBaseUrls=function t(e){require.tlns=e},e.initSender=function i(){var t=e.require("ace/lib/event_emitter").EventEmitter,i=e.require("ace/lib/oop"),n=function(){};return function(){i.implement(this,t),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(n.prototype),new n};var n=e.main=null,r=e.sender=null;e.onmessage=function(o){var s=o.data;if(s.command){if(!n[s.command])throw Error("Unknown command:"+s.command);n[s.command].apply(n,s.args)}else if(s.init){t(s.tlns),require("ace/lib/es5-shim"),r=e.sender=i();var a=require(s.module)[s.classname];n=e.main=new a(r)}else s.event&&r&&r._signal(s.event,s.data)}}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(e,t){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var i in t)e[i]=t[i];return e},t.implement=function(e,i){t.mixin(e,i)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var i=/^\s\s*/,n=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(n,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;n>i;i++)t[i]=e[i]&&"object"==typeof e[i]?this.copyObject(e[i]):e[i];return t},t.deepCopy=function(e){if("object"!=typeof e||!e)return e;var i=e.constructor;if(i===RegExp)return e;var n=i();for(var r in e)n[r]="object"==typeof e[r]?t.deepCopy(e[r]):e[r];return n},t.arrayToMap=function(e){for(var t={},i=0;e.length>i;i++)t[e[i]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var i in e)t[i]=e[i];return t},t.arrayRemove=function(e,t){for(var i=0;e.length>=i;i++)t===e[i]&&e.splice(i,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var i=[];return e.replace(t,function(e){i.push({offset:arguments[arguments.length-2],length:e.length})}),i},t.deferredCall=function(e){var t=null,i=function(){t=null,e()},n=function(e){return n.cancel(),t=setTimeout(i,e||0),n};return n.schedule=n,n.call=function(){return this.cancel(),e(),n},n.cancel=function(){return clearTimeout(t),t=null,n},n.isPending=function(){return t},n},t.delayedCall=function(e,t){var i=null,n=function(){i=null,e()},r=function(e){null==i&&(i=setTimeout(n,e||t))};return r.delay=function(e){i&&clearTimeout(i),i=setTimeout(n,e||t)},r.schedule=r,r.call=function(){this.cancel(),e()},r.cancel=function(){i&&clearTimeout(i),i=null},r.isPending=function(){return i},r}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t){"use strict";var i={},n=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var i=this._eventRegistry[e]||[],o=this._defaultHandlers[e];if(i.length||o){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=n),t.preventDefault||(t.preventDefault=r),i=i.slice();for(var s=0;i.length>s&&(i[s](t,this),!t.propagationStopped);s++);return o&&!t.defaultPrevented?o(t,this):void 0}},i._signal=function(e,t){var i=(this._eventRegistry||{})[e];if(i){i=i.slice();for(var n=0;i.length>n;n++)i[n](t,this)}},i.once=function(e,t){var i=this;t&&this.addEventListener(e,function n(){i.removeEventListener(e,n),t.apply(null,arguments)})},i.setDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i||(i=this._defaultHandlers={_disabled_:{}}),i[e]){var n=i[e],r=i._disabled_[e];r||(i._disabled_[e]=r=[]),r.push(n);var o=r.indexOf(t);-1!=o&&r.splice(o,1)}i[e]=t},i.removeDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i){var n=i._disabled_[e];if(i[e]==t)i[e],n&&this.setDefaultHandler(e,n.pop());else if(n){var r=n.indexOf(t);-1!=r&&n.splice(r,1)}}},i.on=i.addEventListener=function(e,t,i){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];return n||(n=this._eventRegistry[e]=[]),-1==n.indexOf(t)&&n[i?"unshift":"push"](t),t},i.off=i.removeListener=i.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var i=this._eventRegistry[e];if(i){var n=i.indexOf(t);-1!==n&&i.splice(n,1)}},i.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=i}),ace.define("ace/range",["require","exports","module"],function(e,t){"use strict";var i=function(e,t){return e.row-t.row||e.column-t.column},n=function(e,t,i,n){this.start={row:e,column:t},this.end={row:i,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,i=e.end,n=e.start;return t=this.compare(i.row,i.column),1==t?(t=this.compare(n.row,n.column),1==t?2:0==t?1:0):-1==t?-2:(t=this.compare(n.row,n.column),-1==t?-1:1==t?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return 0==this.compare(e,t)?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?this.start.row>e?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?this.end.column>=t?0:1:0:this.start.column>t?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var i={row:t+1,column:0};else if(e>this.end.row)var i={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(e>this.start.row)var r={row:e,column:0};return n.fromPoints(r||this.start,i||this.end)},this.extend=function(e,t){var i=this.compare(e,t);if(0==i)return this;if(-1==i)var r={row:e,column:t};else var o={row:e,column:t};return n.fromPoints(r||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return n.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new n(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new n(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),i=e.documentToScreenPosition(this.end);return new n(t.row,t.column,i.row,i.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(n.prototype),n.fromPoints=function(e,t){return new n(e.row,e.column,t.row,t.column)},n.comparePoints=i,n.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=n}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/event_emitter").EventEmitter,r=t.Anchor=function(e,t,i){this.$onChange=this.onChange.bind(this),this.attach(e),i===void 0?this.setPosition(t.row,t.column):this.setPosition(t,i)};(function(){i.implement(this,n),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){var t=e.data,i=t.range;if(!(i.start.row==i.end.row&&i.start.row!=this.row||i.start.row>this.row||i.start.row==this.row&&i.start.column>this.column)){var n=this.row,r=this.column,o=i.start,s=i.end;"insertText"===t.action?o.row===n&&r>=o.column?o.column===r&&this.$insertRight||(o.row===s.row?r+=s.column-o.column:(r-=o.column,n+=s.row-o.row)):o.row!==s.row&&n>o.row&&(n+=s.row-o.row):"insertLines"===t.action?o.row===n&&0===r&&this.$insertRight||n>=o.row&&(n+=s.row-o.row):"removeText"===t.action?o.row===n&&r>o.column?r=s.column>=r?o.column:Math.max(0,r-(s.column-o.column)):o.row!==s.row&&n>o.row?(s.row===n&&(r=Math.max(0,r-s.column)+o.column),n-=s.row-o.row):s.row===n&&(n-=s.row-o.row,r=Math.max(0,r-s.column)+o.column):"removeLines"==t.action&&n>=o.row&&(n>=s.row?n-=s.row-o.row:(n=o.row,r=0)),this.setPosition(n,r,!0)}},this.setPosition=function(e,t,i){var n;if(n=i?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var r={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:r,value:n})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var i={};return e>=this.document.getLength()?(i.row=Math.max(0,this.document.getLength()-1),i.column=this.document.getLine(i.row).length):0>e?(i.row=0,i.column=0):(i.row=e,i.column=Math.min(this.document.getLine(i.row).length,Math.max(0,t))),0>t&&(i.column=0),i}}).call(r.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/event_emitter").EventEmitter,r=e("./range").Range,o=e("./anchor").Anchor,s=function(e){this.$lines=[],0===e.length?this.$lines=[""]:Array.isArray(e)?this._insertLines(0,e):this.insert({row:0,column:0},e)};(function(){i.implement(this,n),this.setValue=function(e){var t=this.getLength();this.remove(new r(0,0,t,this.getLine(t-1).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new o(this,e,t)},this.$split=0==="aaa".split(/a/).length?function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){if(e.start.row==e.end.row)return this.getLine(e.start.row).substring(e.start.column,e.end.column);var t=this.getLines(e.start.row,e.end.row);t[0]=(t[0]||"").substring(e.start.column);var i=t.length-1;return e.end.row-e.start.row==i&&(t[i]=t[i].substring(0,e.end.column)),t.join(this.getNewLineCharacter())},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):0>e.row&&(e.row=0),e},this.insert=function(e,t){if(!t||0===t.length)return e;e=this.$clipPosition(e),1>=this.getLength()&&this.$detectNewLine(t);var i=this.$split(t),n=i.splice(0,1)[0],r=0==i.length?null:i.splice(i.length-1,1)[0];return e=this.insertInLine(e,n),null!==r&&(e=this.insertNewLine(e),e=this._insertLines(e.row,i),e=this.insertInLine(e,r||"")),e},this.insertLines=function(e,t){return e>=this.getLength()?this.insert({row:e,column:0},"\n"+t.join("\n")):this._insertLines(Math.max(e,0),t)},this._insertLines=function(e,t){if(0==t.length)return{row:e,column:0};for(;t.length>61440;){var i=this._insertLines(e,t.slice(0,61440));t=t.slice(61440),e=i.row}var n=[e,0];n.push.apply(n,t),this.$lines.splice.apply(this.$lines,n);var o=new r(e,0,e+t.length,0),s={action:"insertLines",range:o,lines:t};return this._signal("change",{data:s}),o.end},this.insertNewLine=function(e){e=this.$clipPosition(e);var t=this.$lines[e.row]||"";this.$lines[e.row]=t.substring(0,e.column),this.$lines.splice(e.row+1,0,t.substring(e.column,t.length));var i={row:e.row+1,column:0},n={action:"insertText",range:r.fromPoints(e,i),text:this.getNewLineCharacter()};return this._signal("change",{data:n}),i},this.insertInLine=function(e,t){if(0==t.length)return e;var i=this.$lines[e.row]||"";this.$lines[e.row]=i.substring(0,e.column)+t+i.substring(e.column);var n={row:e.row,column:e.column+t.length},o={action:"insertText",range:r.fromPoints(e,n),text:t};return this._signal("change",{data:o}),n},this.remove=function(e){if(e instanceof r||(e=r.fromPoints(e.start,e.end)),e.start=this.$clipPosition(e.start),e.end=this.$clipPosition(e.end),e.isEmpty())return e.start;var t=e.start.row,i=e.end.row;if(e.isMultiLine()){var n=0==e.start.column?t:t+1,o=i-1;e.end.column>0&&this.removeInLine(i,0,e.end.column),o>=n&&this._removeLines(n,o),n!=t&&(this.removeInLine(t,e.start.column,this.getLine(t).length),this.removeNewLine(e.start.row))}else this.removeInLine(t,e.start.column,e.end.column);return e.start},this.removeInLine=function(e,t,i){if(t!=i){var n=new r(e,t,e,i),o=this.getLine(e),s=o.substring(t,i),a=o.substring(0,t)+o.substring(i,o.length);this.$lines.splice(e,1,a);var l={action:"removeText",range:n,text:s};return this._signal("change",{data:l}),n.start}},this.removeLines=function(e,t){return 0>e||t>=this.getLength()?this.remove(new r(e,0,t+1,0)):this._removeLines(e,t)},this._removeLines=function(e,t){var i=new r(e,0,t+1,0),n=this.$lines.splice(e,t-e+1),o={action:"removeLines",range:i,nl:this.getNewLineCharacter(),lines:n};return this._signal("change",{data:o}),n},this.removeNewLine=function(e){var t=this.getLine(e),i=this.getLine(e+1),n=new r(e,t.length,e+1,0),o=t+i;this.$lines.splice(e,2,o);var s={action:"removeText",range:n,text:this.getNewLineCharacter()};this._signal("change",{data:s})},this.replace=function(e,t){if(e instanceof r||(e=r.fromPoints(e.start,e.end)),0==t.length&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;if(this.remove(e),t)var i=this.insert(e.start,t);else i=e.start;return i},this.applyDeltas=function(e){for(var t=0;e.length>t;t++){var i=e[t],n=r.fromPoints(i.range.start,i.range.end);"insertLines"==i.action?this.insertLines(n.start.row,i.lines):"insertText"==i.action?this.insert(n.start,i.text):"removeLines"==i.action?this._removeLines(n.start.row,n.end.row-1):"removeText"==i.action&&this.remove(n)}},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--){var i=e[t],n=r.fromPoints(i.range.start,i.range.end);"insertLines"==i.action?this._removeLines(n.start.row,n.end.row-1):"insertText"==i.action?this.remove(n):"removeLines"==i.action?this._insertLines(n.start.row,i.lines):"removeText"==i.action&&this.insert(n.start,i.text)}},this.indexToPosition=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,r=t||0,o=i.length;o>r;r++)if(e-=i[r].length+n,0>e)return{row:r,column:e+i[r].length+n};return{row:o-1,column:i[o-1].length}},this.positionToIndex=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,r=0,o=Math.min(e.row,i.length),s=t||0;o>s;++s)r+=i[s].length+n;return r+e.column}}).call(s.prototype),t.Document=s}),ace.define("ace/worker/mirror",["require","exports","module","ace/document","ace/lib/lang"],function(e,t){"use strict";var i=e("../document").Document,n=e("../lib/lang"),r=t.Mirror=function(e){this.sender=e;var t=this.doc=new i(""),r=this.deferredUpdate=n.delayedCall(this.onUpdate.bind(this)),o=this;e.on("change",function(e){return t.applyDeltas(e.data),o.$timeout?r.schedule(o.$timeout):(o.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(r.prototype)}),ace.define("ace/mode/css/csslint",["require","exports","module"],function(require,exports,module){function objectToString(e){return Object.prototype.toString.call(e)}function clone(e,t,i,n){function r(e,i){if(null===e)return null;if(0==i)return e;var l;if("object"!=typeof e)return e;if(util.isArray(e))l=[];else if(util.isRegExp(e))l=RegExp(e.source,util.getRegExpFlags(e)),e.lastIndex&&(l.lastIndex=e.lastIndex);else if(util.isDate(e))l=new Date(e.getTime());else{if(a&&Buffer.isBuffer(e))return l=new Buffer(e.length),e.copy(l),l;l=n===void 0?Object.create(Object.getPrototypeOf(e)):Object.create(n)}if(t){var c=o.indexOf(e);if(-1!=c)return s[c];o.push(e),s.push(l)}for(var h in e)l[h]=r(e[h],i-1);return l}var o=[],s=[],a="undefined"!=typeof Buffer;return t===void 0&&(t=!0),i===void 0&&(i=1/0),r(e,i)}function Reporter(e,t){this.messages=[],this.stats=[],this.lines=e,this.ruleset=t}var parserlib={};(function(){function e(){this._listeners={}}function t(e){this._input=e.replace(/\n\r?/g,"\n"),this._line=1,this._col=1,this._cursor=0}function i(e,t,i){this.col=i,this.line=t,this.message=e}function n(e,t,i,n){this.col=i,this.line=t,this.text=e,this.type=n}function r(e,i){this._reader=e?new t(""+e):null,this._token=null,this._tokenData=i,this._lt=[],this._ltIndex=0,this._ltIndexCache=[]}e.prototype={constructor:e,addListener:function(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)},fire:function(e){if("string"==typeof e&&(e={type:e}),e.target!==void 0&&(e.target=this),e.type===void 0)throw Error("Event object missing 'type' property.");if(this._listeners[e.type])for(var t=this._listeners[e.type].concat(),i=0,n=t.length;n>i;i++)t[i].call(this,e)},removeListener:function(e,t){if(this._listeners[e])for(var i=this._listeners[e],n=0,r=i.length;r>n;n++)if(i[n]===t){i.splice(n,1);break}}},t.prototype={constructor:t,getCol:function(){return this._col},getLine:function(){return this._line},eof:function(){return this._cursor==this._input.length},peek:function(e){var t=null;return e=e===void 0?1:e,this._cursor<this._input.length&&(t=this._input.charAt(this._cursor+e-1)),t},read:function(){var e=null;return this._cursor<this._input.length&&("\n"==this._input.charAt(this._cursor)?(this._line++,this._col=1):this._col++,e=this._input.charAt(this._cursor++)),e},mark:function(){this._bookmark={cursor:this._cursor,line:this._line,col:this._col}},reset:function(){this._bookmark&&(this._cursor=this._bookmark.cursor,this._line=this._bookmark.line,this._col=this._bookmark.col,delete this._bookmark)},readTo:function(e){for(var t,i="";i.length<e.length||i.lastIndexOf(e)!=i.length-e.length;){if(t=this.read(),!t)throw Error('Expected "'+e+'" at line '+this._line+", col "+this._col+".");i+=t}return i},readWhile:function(e){for(var t="",i=this.read();null!==i&&e(i);)t+=i,i=this.read();return t},readMatch:function(e){var t=this._input.substring(this._cursor),i=null;return"string"==typeof e?0===t.indexOf(e)&&(i=this.readCount(e.length)):e instanceof RegExp&&e.test(t)&&(i=this.readCount(RegExp.lastMatch.length)),i},readCount:function(e){for(var t="";e--;)t+=this.read();return t}},i.prototype=Error(),n.fromToken=function(e){return new n(e.value,e.startLine,e.startCol)},n.prototype={constructor:n,valueOf:function(){return this.text},toString:function(){return this.text}},r.createTokenData=function(e){var t=[],i={},n=e.concat([]),r=0,o=n.length+1;for(n.UNKNOWN=-1,n.unshift({name:"EOF"});o>r;r++)t.push(n[r].name),n[n[r].name]=r,n[r].text&&(i[n[r].text]=r);return n.name=function(e){return t[e]},n.type=function(e){return i[e]},n},r.prototype={constructor:r,match:function(e,t){e instanceof Array||(e=[e]);for(var i=this.get(t),n=0,r=e.length;r>n;)if(i==e[n++])return!0;return this.unget(),!1},mustMatch:function(e){var t;if(e instanceof Array||(e=[e]),!this.match.apply(this,arguments))throw t=this.LT(1),new i("Expected "+this._tokenData[e[0]].name+" at line "+t.startLine+", col "+t.startCol+".",t.startLine,t.startCol)},advance:function(e,t){for(;0!==this.LA(0)&&!this.match(e,t);)this.get();return this.LA(0)},get:function(e){var t,i,n=this._tokenData,r=(this._reader,0);if(n.length,this._lt.length&&this._ltIndex>=0&&this._ltIndex<this._lt.length){for(r++,this._token=this._lt[this._ltIndex++],i=n[this._token.type];void 0!==i.channel&&e!==i.channel&&this._ltIndex<this._lt.length;)this._token=this._lt[this._ltIndex++],i=n[this._token.type],r++;if((void 0===i.channel||e===i.channel)&&this._ltIndex<=this._lt.length)return this._ltIndexCache.push(r),this._token.type}return t=this._getToken(),t.type>-1&&!n[t.type].hide&&(t.channel=n[t.type].channel,this._token=t,this._lt.push(t),this._ltIndexCache.push(this._lt.length-this._ltIndex+r),this._lt.length>5&&this._lt.shift(),this._ltIndexCache.length>5&&this._ltIndexCache.shift(),this._ltIndex=this._lt.length),i=n[t.type],i&&(i.hide||void 0!==i.channel&&e!==i.channel)?this.get(e):t.type},LA:function(e){var t,i=e;if(e>0){if(e>5)throw Error("Too much lookahead.");for(;i;)t=this.get(),i--;for(;e>i;)this.unget(),i++}else if(0>e){if(!this._lt[this._ltIndex+e])throw Error("Too much lookbehind.");t=this._lt[this._ltIndex+e].type}else t=this._token.type;return t},LT:function(e){return this.LA(e),this._lt[this._ltIndex+e-1]},peek:function(){return this.LA(1)},token:function(){return this._token},tokenName:function(e){return 0>e||e>this._tokenData.length?"UNKNOWN_TOKEN":this._tokenData[e].name},tokenType:function(e){return this._tokenData[e]||-1},unget:function(){if(!this._ltIndexCache.length)throw Error("Too much lookahead.");this._ltIndex-=this._ltIndexCache.pop(),this._token=this._lt[this._ltIndex-1]}},parserlib.util={StringReader:t,SyntaxError:i,SyntaxUnit:n,EventTarget:e,TokenStreamBase:r}})(),function(){function Combinator(e,t,i){SyntaxUnit.call(this,e,t,i,Parser.COMBINATOR_TYPE),this.type="unknown",/^\s+$/.test(e)?this.type="descendant":">"==e?this.type="child":"+"==e?this.type="adjacent-sibling":"~"==e&&(this.type="sibling")}function MediaFeature(e,t){SyntaxUnit.call(this,"("+e+(null!==t?":"+t:"")+")",e.startLine,e.startCol,Parser.MEDIA_FEATURE_TYPE),this.name=e,this.value=t}function MediaQuery(e,t,i,n,r){SyntaxUnit.call(this,(e?e+" ":"")+(t?t:"")+(t&&i.length>0?" and ":"")+i.join(" and "),n,r,Parser.MEDIA_QUERY_TYPE),this.modifier=e,this.mediaType=t,this.features=i}function Parser(e){EventTarget.call(this),this.options=e||{},this._tokenStream=null}function PropertyName(e,t,i,n){SyntaxUnit.call(this,e,i,n,Parser.PROPERTY_NAME_TYPE),this.hack=t}function PropertyValue(e,t,i){SyntaxUnit.call(this,e.join(" "),t,i,Parser.PROPERTY_VALUE_TYPE),this.parts=e}function PropertyValueIterator(e){this._i=0,this._parts=e.parts,this._marks=[],this.value=e}function PropertyValuePart(text,line,col){SyntaxUnit.call(this,text,line,col,Parser.PROPERTY_VALUE_PART_TYPE),this.type="unknown";var temp;if(/^([+\-]?[\d\.]+)([a-z]+)$/i.test(text))switch(this.type="dimension",this.value=+RegExp.$1,this.units=RegExp.$2,this.units.toLowerCase()){case"em":case"rem":case"ex":case"px":case"cm":case"mm":case"in":case"pt":case"pc":case"ch":case"vh":case"vw":case"vmax":case"vmin":this.type="length";break;case"deg":case"rad":case"grad":this.type="angle";break;case"ms":case"s":this.type="time";break;case"hz":case"khz":this.type="frequency";break;case"dpi":case"dpcm":this.type="resolution"}else/^([+\-]?[\d\.]+)%$/i.test(text)?(this.type="percentage",this.value=+RegExp.$1):/^([+\-]?\d+)$/i.test(text)?(this.type="integer",this.value=+RegExp.$1):/^([+\-]?[\d\.]+)$/i.test(text)?(this.type="number",this.value=+RegExp.$1):/^#([a-f0-9]{3,6})/i.test(text)?(this.type="color",temp=RegExp.$1,3==temp.length?(this.red=parseInt(temp.charAt(0)+temp.charAt(0),16),this.green=parseInt(temp.charAt(1)+temp.charAt(1),16),this.blue=parseInt(temp.charAt(2)+temp.charAt(2),16)):(this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16))):/^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3):/^rgb\(\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100):/^rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3,this.alpha=+RegExp.$4):/^rgba\(\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100,this.alpha=+RegExp.$4):/^hsl\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100):/^hsla\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100,this.alpha=+RegExp.$4):/^url\(["']?([^\)"']+)["']?\)/i.test(text)?(this.type="uri",this.uri=RegExp.$1):/^([^\(]+)\(/i.test(text)?(this.type="function",this.name=RegExp.$1,this.value=text):/^["'][^"']*["']/.test(text)?(this.type="string",this.value=eval(text)):Colors[text.toLowerCase()]?(this.type="color",temp=Colors[text.toLowerCase()].substring(1),this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16)):/^[\,\/]$/.test(text)?(this.type="operator",this.value=text):/^[a-z\-_\u0080-\uFFFF][a-z0-9\-_\u0080-\uFFFF]*$/i.test(text)&&(this.type="identifier",this.value=text)}function Selector(e,t,i){SyntaxUnit.call(this,e.join(" "),t,i,Parser.SELECTOR_TYPE),this.parts=e,this.specificity=Specificity.calculate(this)}function SelectorPart(e,t,i,n,r){SyntaxUnit.call(this,i,n,r,Parser.SELECTOR_PART_TYPE),this.elementName=e,this.modifiers=t}function SelectorSubPart(e,t,i,n){SyntaxUnit.call(this,e,i,n,Parser.SELECTOR_SUB_PART_TYPE),this.type=t,this.args=[]}function Specificity(e,t,i,n){this.a=e,this.b=t,this.c=i,this.d=n}function isHexDigit(e){return null!==e&&h.test(e)}function isDigit(e){return null!==e&&/\d/.test(e)}function isWhitespace(e){return null!==e&&/\s/.test(e)}function isNewLine(e){return null!==e&&nl.test(e)}function isNameStart(e){return null!==e&&/[a-z_\u0080-\uFFFF\\]/i.test(e)}function isNameChar(e){return null!==e&&(isNameStart(e)||/[0-9\-\\]/.test(e))}function isIdentStart(e){return null!==e&&(isNameStart(e)||/\-\\/.test(e))}function mix(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function TokenStream(e){TokenStreamBase.call(this,e,Tokens)}function ValidationError(e,t,i){this.col=i,this.line=t,this.message=e}var EventTarget=parserlib.util.EventTarget,TokenStreamBase=parserlib.util.TokenStreamBase,StringReader=parserlib.util.StringReader,SyntaxError=parserlib.util.SyntaxError,SyntaxUnit=parserlib.util.SyntaxUnit,Colors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",activeBorder:"Active window border.",activecaption:"Active window caption.",appworkspace:"Background color of multiple document interface.",background:"Desktop background.",buttonface:"The face background color for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonhighlight:"The color of the border facing the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonshadow:"The color of the border away from the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttontext:"Text on push buttons.",captiontext:"Text in caption, size box, and scrollbar arrow box.",graytext:"Grayed (disabled) text. This color is set to #000 if the current display driver does not support a solid gray color.",greytext:"Greyed (disabled) text. This color is set to #000 if the current display driver does not support a solid grey color.",highlight:"Item(s) selected in a control.",highlighttext:"Text of item(s) selected in a control.",inactiveborder:"Inactive window border.",inactivecaption:"Inactive window caption.",inactivecaptiontext:"Color of text in an inactive caption.",infobackground:"Background color for tooltip controls.",infotext:"Text color for tooltip controls.",menu:"Menu background.",menutext:"Text in menus.",scrollbar:"Scroll bar gray area.",threeddarkshadow:"The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedface:"The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedhighlight:"The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedlightshadow:"The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedshadow:"The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",window:"Window background.",windowframe:"Window frame.",windowtext:"Text in windows."};
1
+ /*! PopUp Free - v4.7.10
2
  * https://wordpress.org/plugins/wordpress-popup/
3
  * Copyright (c) 2015; * Licensed GPLv2+ */
4
  "no use strict";(function(e){if(void 0===e.window||!e.document){e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console,e.window=e,e.ace=e,e.onerror=function(e,t,i,n,r){postMessage({type:"error",data:{message:e,file:t,line:i,col:n,stack:r.stack}})},e.normalizeModule=function(t,i){if(-1!==i.indexOf("!")){var n=i.split("!");return e.normalizeModule(t,n[0])+"!"+e.normalizeModule(t,n[1])}if("."==i.charAt(0)){var r=t.split("/").slice(0,-1).join("/");for(i=(r?r+"/":"")+i;-1!==i.indexOf(".")&&o!=i;){var o=i;i=i.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},e.require=function(t,i){if(i||(i=t,t=null),!i.charAt)throw Error("worker.js require() accepts only (parentId, id) as arguments");i=e.normalizeModule(t,i);var n=e.require.modules[i];if(n)return n.initialized||(n.initialized=!0,n.exports=n.factory().exports),n.exports;var r=i.split("/");if(!e.require.tlns)return console.log("unable to load "+i);r[0]=e.require.tlns[r[0]]||r[0];var o=r.join("/")+".js";return e.require.id=i,importScripts(o),e.require(t,i)},e.require.modules={},e.require.tlns={},e.define=function(t,i,n){if(2==arguments.length?(n=i,"string"!=typeof t&&(i=t,t=e.require.id)):1==arguments.length&&(n=t,i=[],t=e.require.id),"function"!=typeof n)return e.require.modules[t]={exports:n,initialized:!0},void 0;i.length||(i=["require","exports","module"]);var r=function(i){return e.require(t,i)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=n.apply(this,i.map(function(t){switch(t){case"require":return r;case"exports":return e.exports;case"module":return e;default:return r(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},e.initBaseUrls=function t(e){require.tlns=e},e.initSender=function i(){var t=e.require("ace/lib/event_emitter").EventEmitter,i=e.require("ace/lib/oop"),n=function(){};return function(){i.implement(this,t),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(n.prototype),new n};var n=e.main=null,r=e.sender=null;e.onmessage=function(o){var s=o.data;if(s.command){if(!n[s.command])throw Error("Unknown command:"+s.command);n[s.command].apply(n,s.args)}else if(s.init){t(s.tlns),require("ace/lib/es5-shim"),r=e.sender=i();var a=require(s.module)[s.classname];n=e.main=new a(r)}else s.event&&r&&r._signal(s.event,s.data)}}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(e,t){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var i in t)e[i]=t[i];return e},t.implement=function(e,i){t.mixin(e,i)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var i=/^\s\s*/,n=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(n,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;n>i;i++)t[i]=e[i]&&"object"==typeof e[i]?this.copyObject(e[i]):e[i];return t},t.deepCopy=function(e){if("object"!=typeof e||!e)return e;var i=e.constructor;if(i===RegExp)return e;var n=i();for(var r in e)n[r]="object"==typeof e[r]?t.deepCopy(e[r]):e[r];return n},t.arrayToMap=function(e){for(var t={},i=0;e.length>i;i++)t[e[i]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var i in e)t[i]=e[i];return t},t.arrayRemove=function(e,t){for(var i=0;e.length>=i;i++)t===e[i]&&e.splice(i,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var i=[];return e.replace(t,function(e){i.push({offset:arguments[arguments.length-2],length:e.length})}),i},t.deferredCall=function(e){var t=null,i=function(){t=null,e()},n=function(e){return n.cancel(),t=setTimeout(i,e||0),n};return n.schedule=n,n.call=function(){return this.cancel(),e(),n},n.cancel=function(){return clearTimeout(t),t=null,n},n.isPending=function(){return t},n},t.delayedCall=function(e,t){var i=null,n=function(){i=null,e()},r=function(e){null==i&&(i=setTimeout(n,e||t))};return r.delay=function(e){i&&clearTimeout(i),i=setTimeout(n,e||t)},r.schedule=r,r.call=function(){this.cancel(),e()},r.cancel=function(){i&&clearTimeout(i),i=null},r.isPending=function(){return i},r}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t){"use strict";var i={},n=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var i=this._eventRegistry[e]||[],o=this._defaultHandlers[e];if(i.length||o){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=n),t.preventDefault||(t.preventDefault=r),i=i.slice();for(var s=0;i.length>s&&(i[s](t,this),!t.propagationStopped);s++);return o&&!t.defaultPrevented?o(t,this):void 0}},i._signal=function(e,t){var i=(this._eventRegistry||{})[e];if(i){i=i.slice();for(var n=0;i.length>n;n++)i[n](t,this)}},i.once=function(e,t){var i=this;t&&this.addEventListener(e,function n(){i.removeEventListener(e,n),t.apply(null,arguments)})},i.setDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i||(i=this._defaultHandlers={_disabled_:{}}),i[e]){var n=i[e],r=i._disabled_[e];r||(i._disabled_[e]=r=[]),r.push(n);var o=r.indexOf(t);-1!=o&&r.splice(o,1)}i[e]=t},i.removeDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i){var n=i._disabled_[e];if(i[e]==t)i[e],n&&this.setDefaultHandler(e,n.pop());else if(n){var r=n.indexOf(t);-1!=r&&n.splice(r,1)}}},i.on=i.addEventListener=function(e,t,i){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];return n||(n=this._eventRegistry[e]=[]),-1==n.indexOf(t)&&n[i?"unshift":"push"](t),t},i.off=i.removeListener=i.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var i=this._eventRegistry[e];if(i){var n=i.indexOf(t);-1!==n&&i.splice(n,1)}},i.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=i}),ace.define("ace/range",["require","exports","module"],function(e,t){"use strict";var i=function(e,t){return e.row-t.row||e.column-t.column},n=function(e,t,i,n){this.start={row:e,column:t},this.end={row:i,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,i=e.end,n=e.start;return t=this.compare(i.row,i.column),1==t?(t=this.compare(n.row,n.column),1==t?2:0==t?1:0):-1==t?-2:(t=this.compare(n.row,n.column),-1==t?-1:1==t?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return 0==this.compare(e,t)?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?this.start.row>e?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?this.end.column>=t?0:1:0:this.start.column>t?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var i={row:t+1,column:0};else if(e>this.end.row)var i={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(e>this.start.row)var r={row:e,column:0};return n.fromPoints(r||this.start,i||this.end)},this.extend=function(e,t){var i=this.compare(e,t);if(0==i)return this;if(-1==i)var r={row:e,column:t};else var o={row:e,column:t};return n.fromPoints(r||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return n.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new n(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new n(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),i=e.documentToScreenPosition(this.end);return new n(t.row,t.column,i.row,i.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(n.prototype),n.fromPoints=function(e,t){return new n(e.row,e.column,t.row,t.column)},n.comparePoints=i,n.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=n}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/event_emitter").EventEmitter,r=t.Anchor=function(e,t,i){this.$onChange=this.onChange.bind(this),this.attach(e),i===void 0?this.setPosition(t.row,t.column):this.setPosition(t,i)};(function(){i.implement(this,n),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){var t=e.data,i=t.range;if(!(i.start.row==i.end.row&&i.start.row!=this.row||i.start.row>this.row||i.start.row==this.row&&i.start.column>this.column)){var n=this.row,r=this.column,o=i.start,s=i.end;"insertText"===t.action?o.row===n&&r>=o.column?o.column===r&&this.$insertRight||(o.row===s.row?r+=s.column-o.column:(r-=o.column,n+=s.row-o.row)):o.row!==s.row&&n>o.row&&(n+=s.row-o.row):"insertLines"===t.action?o.row===n&&0===r&&this.$insertRight||n>=o.row&&(n+=s.row-o.row):"removeText"===t.action?o.row===n&&r>o.column?r=s.column>=r?o.column:Math.max(0,r-(s.column-o.column)):o.row!==s.row&&n>o.row?(s.row===n&&(r=Math.max(0,r-s.column)+o.column),n-=s.row-o.row):s.row===n&&(n-=s.row-o.row,r=Math.max(0,r-s.column)+o.column):"removeLines"==t.action&&n>=o.row&&(n>=s.row?n-=s.row-o.row:(n=o.row,r=0)),this.setPosition(n,r,!0)}},this.setPosition=function(e,t,i){var n;if(n=i?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var r={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:r,value:n})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var i={};return e>=this.document.getLength()?(i.row=Math.max(0,this.document.getLength()-1),i.column=this.document.getLine(i.row).length):0>e?(i.row=0,i.column=0):(i.row=e,i.column=Math.min(this.document.getLine(i.row).length,Math.max(0,t))),0>t&&(i.column=0),i}}).call(r.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/event_emitter").EventEmitter,r=e("./range").Range,o=e("./anchor").Anchor,s=function(e){this.$lines=[],0===e.length?this.$lines=[""]:Array.isArray(e)?this._insertLines(0,e):this.insert({row:0,column:0},e)};(function(){i.implement(this,n),this.setValue=function(e){var t=this.getLength();this.remove(new r(0,0,t,this.getLine(t-1).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new o(this,e,t)},this.$split=0==="aaa".split(/a/).length?function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){if(e.start.row==e.end.row)return this.getLine(e.start.row).substring(e.start.column,e.end.column);var t=this.getLines(e.start.row,e.end.row);t[0]=(t[0]||"").substring(e.start.column);var i=t.length-1;return e.end.row-e.start.row==i&&(t[i]=t[i].substring(0,e.end.column)),t.join(this.getNewLineCharacter())},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):0>e.row&&(e.row=0),e},this.insert=function(e,t){if(!t||0===t.length)return e;e=this.$clipPosition(e),1>=this.getLength()&&this.$detectNewLine(t);var i=this.$split(t),n=i.splice(0,1)[0],r=0==i.length?null:i.splice(i.length-1,1)[0];return e=this.insertInLine(e,n),null!==r&&(e=this.insertNewLine(e),e=this._insertLines(e.row,i),e=this.insertInLine(e,r||"")),e},this.insertLines=function(e,t){return e>=this.getLength()?this.insert({row:e,column:0},"\n"+t.join("\n")):this._insertLines(Math.max(e,0),t)},this._insertLines=function(e,t){if(0==t.length)return{row:e,column:0};for(;t.length>61440;){var i=this._insertLines(e,t.slice(0,61440));t=t.slice(61440),e=i.row}var n=[e,0];n.push.apply(n,t),this.$lines.splice.apply(this.$lines,n);var o=new r(e,0,e+t.length,0),s={action:"insertLines",range:o,lines:t};return this._signal("change",{data:s}),o.end},this.insertNewLine=function(e){e=this.$clipPosition(e);var t=this.$lines[e.row]||"";this.$lines[e.row]=t.substring(0,e.column),this.$lines.splice(e.row+1,0,t.substring(e.column,t.length));var i={row:e.row+1,column:0},n={action:"insertText",range:r.fromPoints(e,i),text:this.getNewLineCharacter()};return this._signal("change",{data:n}),i},this.insertInLine=function(e,t){if(0==t.length)return e;var i=this.$lines[e.row]||"";this.$lines[e.row]=i.substring(0,e.column)+t+i.substring(e.column);var n={row:e.row,column:e.column+t.length},o={action:"insertText",range:r.fromPoints(e,n),text:t};return this._signal("change",{data:o}),n},this.remove=function(e){if(e instanceof r||(e=r.fromPoints(e.start,e.end)),e.start=this.$clipPosition(e.start),e.end=this.$clipPosition(e.end),e.isEmpty())return e.start;var t=e.start.row,i=e.end.row;if(e.isMultiLine()){var n=0==e.start.column?t:t+1,o=i-1;e.end.column>0&&this.removeInLine(i,0,e.end.column),o>=n&&this._removeLines(n,o),n!=t&&(this.removeInLine(t,e.start.column,this.getLine(t).length),this.removeNewLine(e.start.row))}else this.removeInLine(t,e.start.column,e.end.column);return e.start},this.removeInLine=function(e,t,i){if(t!=i){var n=new r(e,t,e,i),o=this.getLine(e),s=o.substring(t,i),a=o.substring(0,t)+o.substring(i,o.length);this.$lines.splice(e,1,a);var l={action:"removeText",range:n,text:s};return this._signal("change",{data:l}),n.start}},this.removeLines=function(e,t){return 0>e||t>=this.getLength()?this.remove(new r(e,0,t+1,0)):this._removeLines(e,t)},this._removeLines=function(e,t){var i=new r(e,0,t+1,0),n=this.$lines.splice(e,t-e+1),o={action:"removeLines",range:i,nl:this.getNewLineCharacter(),lines:n};return this._signal("change",{data:o}),n},this.removeNewLine=function(e){var t=this.getLine(e),i=this.getLine(e+1),n=new r(e,t.length,e+1,0),o=t+i;this.$lines.splice(e,2,o);var s={action:"removeText",range:n,text:this.getNewLineCharacter()};this._signal("change",{data:s})},this.replace=function(e,t){if(e instanceof r||(e=r.fromPoints(e.start,e.end)),0==t.length&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;if(this.remove(e),t)var i=this.insert(e.start,t);else i=e.start;return i},this.applyDeltas=function(e){for(var t=0;e.length>t;t++){var i=e[t],n=r.fromPoints(i.range.start,i.range.end);"insertLines"==i.action?this.insertLines(n.start.row,i.lines):"insertText"==i.action?this.insert(n.start,i.text):"removeLines"==i.action?this._removeLines(n.start.row,n.end.row-1):"removeText"==i.action&&this.remove(n)}},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--){var i=e[t],n=r.fromPoints(i.range.start,i.range.end);"insertLines"==i.action?this._removeLines(n.start.row,n.end.row-1):"insertText"==i.action?this.remove(n):"removeLines"==i.action?this._insertLines(n.start.row,i.lines):"removeText"==i.action&&this.insert(n.start,i.text)}},this.indexToPosition=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,r=t||0,o=i.length;o>r;r++)if(e-=i[r].length+n,0>e)return{row:r,column:e+i[r].length+n};return{row:o-1,column:i[o-1].length}},this.positionToIndex=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,r=0,o=Math.min(e.row,i.length),s=t||0;o>s;++s)r+=i[s].length+n;return r+e.column}}).call(s.prototype),t.Document=s}),ace.define("ace/worker/mirror",["require","exports","module","ace/document","ace/lib/lang"],function(e,t){"use strict";var i=e("../document").Document,n=e("../lib/lang"),r=t.Mirror=function(e){this.sender=e;var t=this.doc=new i(""),r=this.deferredUpdate=n.delayedCall(this.onUpdate.bind(this)),o=this;e.on("change",function(e){return t.applyDeltas(e.data),o.$timeout?r.schedule(o.$timeout):(o.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(r.prototype)}),ace.define("ace/mode/css/csslint",["require","exports","module"],function(require,exports,module){function objectToString(e){return Object.prototype.toString.call(e)}function clone(e,t,i,n){function r(e,i){if(null===e)return null;if(0==i)return e;var l;if("object"!=typeof e)return e;if(util.isArray(e))l=[];else if(util.isRegExp(e))l=RegExp(e.source,util.getRegExpFlags(e)),e.lastIndex&&(l.lastIndex=e.lastIndex);else if(util.isDate(e))l=new Date(e.getTime());else{if(a&&Buffer.isBuffer(e))return l=new Buffer(e.length),e.copy(l),l;l=n===void 0?Object.create(Object.getPrototypeOf(e)):Object.create(n)}if(t){var c=o.indexOf(e);if(-1!=c)return s[c];o.push(e),s.push(l)}for(var h in e)l[h]=r(e[h],i-1);return l}var o=[],s=[],a="undefined"!=typeof Buffer;return t===void 0&&(t=!0),i===void 0&&(i=1/0),r(e,i)}function Reporter(e,t){this.messages=[],this.stats=[],this.lines=e,this.ruleset=t}var parserlib={};(function(){function e(){this._listeners={}}function t(e){this._input=e.replace(/\n\r?/g,"\n"),this._line=1,this._col=1,this._cursor=0}function i(e,t,i){this.col=i,this.line=t,this.message=e}function n(e,t,i,n){this.col=i,this.line=t,this.text=e,this.type=n}function r(e,i){this._reader=e?new t(""+e):null,this._token=null,this._tokenData=i,this._lt=[],this._ltIndex=0,this._ltIndexCache=[]}e.prototype={constructor:e,addListener:function(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)},fire:function(e){if("string"==typeof e&&(e={type:e}),e.target!==void 0&&(e.target=this),e.type===void 0)throw Error("Event object missing 'type' property.");if(this._listeners[e.type])for(var t=this._listeners[e.type].concat(),i=0,n=t.length;n>i;i++)t[i].call(this,e)},removeListener:function(e,t){if(this._listeners[e])for(var i=this._listeners[e],n=0,r=i.length;r>n;n++)if(i[n]===t){i.splice(n,1);break}}},t.prototype={constructor:t,getCol:function(){return this._col},getLine:function(){return this._line},eof:function(){return this._cursor==this._input.length},peek:function(e){var t=null;return e=e===void 0?1:e,this._cursor<this._input.length&&(t=this._input.charAt(this._cursor+e-1)),t},read:function(){var e=null;return this._cursor<this._input.length&&("\n"==this._input.charAt(this._cursor)?(this._line++,this._col=1):this._col++,e=this._input.charAt(this._cursor++)),e},mark:function(){this._bookmark={cursor:this._cursor,line:this._line,col:this._col}},reset:function(){this._bookmark&&(this._cursor=this._bookmark.cursor,this._line=this._bookmark.line,this._col=this._bookmark.col,delete this._bookmark)},readTo:function(e){for(var t,i="";i.length<e.length||i.lastIndexOf(e)!=i.length-e.length;){if(t=this.read(),!t)throw Error('Expected "'+e+'" at line '+this._line+", col "+this._col+".");i+=t}return i},readWhile:function(e){for(var t="",i=this.read();null!==i&&e(i);)t+=i,i=this.read();return t},readMatch:function(e){var t=this._input.substring(this._cursor),i=null;return"string"==typeof e?0===t.indexOf(e)&&(i=this.readCount(e.length)):e instanceof RegExp&&e.test(t)&&(i=this.readCount(RegExp.lastMatch.length)),i},readCount:function(e){for(var t="";e--;)t+=this.read();return t}},i.prototype=Error(),n.fromToken=function(e){return new n(e.value,e.startLine,e.startCol)},n.prototype={constructor:n,valueOf:function(){return this.text},toString:function(){return this.text}},r.createTokenData=function(e){var t=[],i={},n=e.concat([]),r=0,o=n.length+1;for(n.UNKNOWN=-1,n.unshift({name:"EOF"});o>r;r++)t.push(n[r].name),n[n[r].name]=r,n[r].text&&(i[n[r].text]=r);return n.name=function(e){return t[e]},n.type=function(e){return i[e]},n},r.prototype={constructor:r,match:function(e,t){e instanceof Array||(e=[e]);for(var i=this.get(t),n=0,r=e.length;r>n;)if(i==e[n++])return!0;return this.unget(),!1},mustMatch:function(e){var t;if(e instanceof Array||(e=[e]),!this.match.apply(this,arguments))throw t=this.LT(1),new i("Expected "+this._tokenData[e[0]].name+" at line "+t.startLine+", col "+t.startCol+".",t.startLine,t.startCol)},advance:function(e,t){for(;0!==this.LA(0)&&!this.match(e,t);)this.get();return this.LA(0)},get:function(e){var t,i,n=this._tokenData,r=(this._reader,0);if(n.length,this._lt.length&&this._ltIndex>=0&&this._ltIndex<this._lt.length){for(r++,this._token=this._lt[this._ltIndex++],i=n[this._token.type];void 0!==i.channel&&e!==i.channel&&this._ltIndex<this._lt.length;)this._token=this._lt[this._ltIndex++],i=n[this._token.type],r++;if((void 0===i.channel||e===i.channel)&&this._ltIndex<=this._lt.length)return this._ltIndexCache.push(r),this._token.type}return t=this._getToken(),t.type>-1&&!n[t.type].hide&&(t.channel=n[t.type].channel,this._token=t,this._lt.push(t),this._ltIndexCache.push(this._lt.length-this._ltIndex+r),this._lt.length>5&&this._lt.shift(),this._ltIndexCache.length>5&&this._ltIndexCache.shift(),this._ltIndex=this._lt.length),i=n[t.type],i&&(i.hide||void 0!==i.channel&&e!==i.channel)?this.get(e):t.type},LA:function(e){var t,i=e;if(e>0){if(e>5)throw Error("Too much lookahead.");for(;i;)t=this.get(),i--;for(;e>i;)this.unget(),i++}else if(0>e){if(!this._lt[this._ltIndex+e])throw Error("Too much lookbehind.");t=this._lt[this._ltIndex+e].type}else t=this._token.type;return t},LT:function(e){return this.LA(e),this._lt[this._ltIndex+e-1]},peek:function(){return this.LA(1)},token:function(){return this._token},tokenName:function(e){return 0>e||e>this._tokenData.length?"UNKNOWN_TOKEN":this._tokenData[e].name},tokenType:function(e){return this._tokenData[e]||-1},unget:function(){if(!this._ltIndexCache.length)throw Error("Too much lookahead.");this._ltIndex-=this._ltIndexCache.pop(),this._token=this._lt[this._ltIndex-1]}},parserlib.util={StringReader:t,SyntaxError:i,SyntaxUnit:n,EventTarget:e,TokenStreamBase:r}})(),function(){function Combinator(e,t,i){SyntaxUnit.call(this,e,t,i,Parser.COMBINATOR_TYPE),this.type="unknown",/^\s+$/.test(e)?this.type="descendant":">"==e?this.type="child":"+"==e?this.type="adjacent-sibling":"~"==e&&(this.type="sibling")}function MediaFeature(e,t){SyntaxUnit.call(this,"("+e+(null!==t?":"+t:"")+")",e.startLine,e.startCol,Parser.MEDIA_FEATURE_TYPE),this.name=e,this.value=t}function MediaQuery(e,t,i,n,r){SyntaxUnit.call(this,(e?e+" ":"")+(t?t:"")+(t&&i.length>0?" and ":"")+i.join(" and "),n,r,Parser.MEDIA_QUERY_TYPE),this.modifier=e,this.mediaType=t,this.features=i}function Parser(e){EventTarget.call(this),this.options=e||{},this._tokenStream=null}function PropertyName(e,t,i,n){SyntaxUnit.call(this,e,i,n,Parser.PROPERTY_NAME_TYPE),this.hack=t}function PropertyValue(e,t,i){SyntaxUnit.call(this,e.join(" "),t,i,Parser.PROPERTY_VALUE_TYPE),this.parts=e}function PropertyValueIterator(e){this._i=0,this._parts=e.parts,this._marks=[],this.value=e}function PropertyValuePart(text,line,col){SyntaxUnit.call(this,text,line,col,Parser.PROPERTY_VALUE_PART_TYPE),this.type="unknown";var temp;if(/^([+\-]?[\d\.]+)([a-z]+)$/i.test(text))switch(this.type="dimension",this.value=+RegExp.$1,this.units=RegExp.$2,this.units.toLowerCase()){case"em":case"rem":case"ex":case"px":case"cm":case"mm":case"in":case"pt":case"pc":case"ch":case"vh":case"vw":case"vmax":case"vmin":this.type="length";break;case"deg":case"rad":case"grad":this.type="angle";break;case"ms":case"s":this.type="time";break;case"hz":case"khz":this.type="frequency";break;case"dpi":case"dpcm":this.type="resolution"}else/^([+\-]?[\d\.]+)%$/i.test(text)?(this.type="percentage",this.value=+RegExp.$1):/^([+\-]?\d+)$/i.test(text)?(this.type="integer",this.value=+RegExp.$1):/^([+\-]?[\d\.]+)$/i.test(text)?(this.type="number",this.value=+RegExp.$1):/^#([a-f0-9]{3,6})/i.test(text)?(this.type="color",temp=RegExp.$1,3==temp.length?(this.red=parseInt(temp.charAt(0)+temp.charAt(0),16),this.green=parseInt(temp.charAt(1)+temp.charAt(1),16),this.blue=parseInt(temp.charAt(2)+temp.charAt(2),16)):(this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16))):/^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3):/^rgb\(\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100):/^rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3,this.alpha=+RegExp.$4):/^rgba\(\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100,this.alpha=+RegExp.$4):/^hsl\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100):/^hsla\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100,this.alpha=+RegExp.$4):/^url\(["']?([^\)"']+)["']?\)/i.test(text)?(this.type="uri",this.uri=RegExp.$1):/^([^\(]+)\(/i.test(text)?(this.type="function",this.name=RegExp.$1,this.value=text):/^["'][^"']*["']/.test(text)?(this.type="string",this.value=eval(text)):Colors[text.toLowerCase()]?(this.type="color",temp=Colors[text.toLowerCase()].substring(1),this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16)):/^[\,\/]$/.test(text)?(this.type="operator",this.value=text):/^[a-z\-_\u0080-\uFFFF][a-z0-9\-_\u0080-\uFFFF]*$/i.test(text)&&(this.type="identifier",this.value=text)}function Selector(e,t,i){SyntaxUnit.call(this,e.join(" "),t,i,Parser.SELECTOR_TYPE),this.parts=e,this.specificity=Specificity.calculate(this)}function SelectorPart(e,t,i,n,r){SyntaxUnit.call(this,i,n,r,Parser.SELECTOR_PART_TYPE),this.elementName=e,this.modifiers=t}function SelectorSubPart(e,t,i,n){SyntaxUnit.call(this,e,i,n,Parser.SELECTOR_SUB_PART_TYPE),this.type=t,this.args=[]}function Specificity(e,t,i,n){this.a=e,this.b=t,this.c=i,this.d=n}function isHexDigit(e){return null!==e&&h.test(e)}function isDigit(e){return null!==e&&/\d/.test(e)}function isWhitespace(e){return null!==e&&/\s/.test(e)}function isNewLine(e){return null!==e&&nl.test(e)}function isNameStart(e){return null!==e&&/[a-z_\u0080-\uFFFF\\]/i.test(e)}function isNameChar(e){return null!==e&&(isNameStart(e)||/[0-9\-\\]/.test(e))}function isIdentStart(e){return null!==e&&(isNameStart(e)||/\-\\/.test(e))}function mix(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function TokenStream(e){TokenStreamBase.call(this,e,Tokens)}function ValidationError(e,t,i){this.col=i,this.line=t,this.message=e}var EventTarget=parserlib.util.EventTarget,TokenStreamBase=parserlib.util.TokenStreamBase,StringReader=parserlib.util.StringReader,SyntaxError=parserlib.util.SyntaxError,SyntaxUnit=parserlib.util.SyntaxUnit,Colors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",activeBorder:"Active window border.",activecaption:"Active window caption.",appworkspace:"Background color of multiple document interface.",background:"Desktop background.",buttonface:"The face background color for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonhighlight:"The color of the border facing the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonshadow:"The color of the border away from the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttontext:"Text on push buttons.",captiontext:"Text in caption, size box, and scrollbar arrow box.",graytext:"Grayed (disabled) text. This color is set to #000 if the current display driver does not support a solid gray color.",greytext:"Greyed (disabled) text. This color is set to #000 if the current display driver does not support a solid grey color.",highlight:"Item(s) selected in a control.",highlighttext:"Text of item(s) selected in a control.",inactiveborder:"Inactive window border.",inactivecaption:"Inactive window caption.",inactivecaptiontext:"Color of text in an inactive caption.",infobackground:"Background color for tooltip controls.",infotext:"Text color for tooltip controls.",menu:"Menu background.",menutext:"Text in menus.",scrollbar:"Scroll bar gray area.",threeddarkshadow:"The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedface:"The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedhighlight:"The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedlightshadow:"The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedshadow:"The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",window:"Window background.",windowframe:"Window frame.",windowtext:"Text in windows."};
lang/{popover-en_EN.mo → popover-en_US.mo} RENAMED
File without changes
lang/{popover-en_EN.po → popover-en_US.po} RENAMED
File without changes
popover.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WordPress PopUp
4
  Plugin URI: http://premium.wpmudev.org/project/the-pop-over-plugin/
5
  Description: Allows you to display a fancy PopUp to visitors sitewide or per blog. A *very* effective way of advertising a mailing list, special offer or running a plain old ad.
6
- Version: 4.7.0.7
7
  Author: WPMU DEV
8
  Author URI: http://premium.wpmudev.org
9
  Textdomain: popover
@@ -61,9 +61,22 @@ function inc_popup_free_init() {
61
  define( 'PO_IMG_URL', $plugin_url . 'img/' );
62
 
63
  // Include function library.
64
- if ( file_exists( PO_INC_DIR . 'external/wpmu-lib/core.php' ) ) {
65
- require_once PO_INC_DIR . 'external/wpmu-lib/core.php';
66
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
  require_once( PO_INC_DIR . 'config-defaults.php');
69
  if ( is_admin() ) {
3
  Plugin Name: WordPress PopUp
4
  Plugin URI: http://premium.wpmudev.org/project/the-pop-over-plugin/
5
  Description: Allows you to display a fancy PopUp to visitors sitewide or per blog. A *very* effective way of advertising a mailing list, special offer or running a plain old ad.
6
+ Version: 4.7.1.0
7
  Author: WPMU DEV
8
  Author URI: http://premium.wpmudev.org
9
  Textdomain: popover
61
  define( 'PO_IMG_URL', $plugin_url . 'img/' );
62
 
63
  // Include function library.
64
+ require_once PO_INC_DIR . 'external/wpmu-lib/core.php';
65
+
66
+ lib2()->translate_plugin( PO_LANG, PO_LANG_DIR );
67
+
68
+ require_once PO_INC_DIR . 'external/wdev-frash/module.php';
69
+
70
+ // Register the current plugin.
71
+ do_action(
72
+ 'wdev-register-plugin',
73
+ /* Plugin ID */ plugin_basename( __FILE__ ),
74
+ /* Plugin Title */ 'WordPress PopUp',
75
+ /* https://wordpress.org */ '/plugins/wordpress-popup/',
76
+ /* Email Button CTA */ __( 'Get Tips!', PO_LANG ),
77
+ /* getdrip Plugin param */ ''
78
+ );
79
+ // All done!
80
 
81
  require_once( PO_INC_DIR . 'config-defaults.php');
82
  if ( is_admin() ) {
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: WPMUDEV
3
  Tags: Popup, Pop-up, Pop Over, popover, Responsive Popup, Advertise, Promotion, Marketing, Lightbox, Mailing list pop-up
4
  Requires at least: 3.1
5
- Tested up to: 4.1
6
  Stable tag: trunk
7
 
8
  WordPress PopUp is the smart, responsive, customizable and beautifully coded pop-up and pop-over plugin for WordPress and Multisite.
@@ -28,7 +28,7 @@ While WordPress PopUp is feature-rich and flexible, you may need more - so we cr
28
 
29
  <ul>
30
  <li>Design pop-ups from a familiar intuitive interface</li>
31
- <li>Unlimited pop-ups that display across an entire network, on individual sites or on specific URLs - limited to 1 active pop-up in free version</li>
32
  <li>Both responsive and fixed design options mean your pop-ups look great on every device</li>
33
  <li>3 built-in modern templates for displaying clean, simple or sophisticated pop-ups - 1 easy-to-use layout in the free version</li>
34
  <li>Choose to hide pop-ups from mobile devices - pro version only</li>
@@ -72,6 +72,20 @@ For network wide control - add the line define('PO_GLOBAL', true); to your wp-co
72
 
73
  == Changelog ==
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  = 4.7.0.7 =
76
  * Add a link target option for CTA Button (use _blank to open CTA in new tab)
77
  * Add JS hook 'popup-submit-process' to allow manual updating of popup contents after form submit
2
  Contributors: WPMUDEV
3
  Tags: Popup, Pop-up, Pop Over, popover, Responsive Popup, Advertise, Promotion, Marketing, Lightbox, Mailing list pop-up
4
  Requires at least: 3.1
5
+ Tested up to: 4.2.2
6
  Stable tag: trunk
7
 
8
  WordPress PopUp is the smart, responsive, customizable and beautifully coded pop-up and pop-over plugin for WordPress and Multisite.
28
 
29
  <ul>
30
  <li>Design pop-ups from a familiar intuitive interface</li>
31
+ <li>Unlimited pop-ups that display across an entire network, on individual sites or on specific URLs - limited to 3 active pop-ups in free version</li>
32
  <li>Both responsive and fixed design options mean your pop-ups look great on every device</li>
33
  <li>3 built-in modern templates for displaying clean, simple or sophisticated pop-ups - 1 easy-to-use layout in the free version</li>
34
  <li>Choose to hide pop-ups from mobile devices - pro version only</li>
72
 
73
  == Changelog ==
74
 
75
+ = 4.7.1.0 =
76
+ * Fix incompatibility with ACF Pro plugin
77
+ * Fix issue that made rules inaccessible (not clickable in editor)
78
+ * Fix several PHP warnings and notices
79
+
80
+ = 4.7.0.9 =
81
+ We added a lot of PRO features to the free version:
82
+ * Free version can activate up to 3 PopUps at the same time!
83
+ * Free version can now use the custom CSS editor for PopUps!
84
+ * Free version now suppors PopUp Animations!
85
+ * Free version can use all Form Submit actions!
86
+ * Free version unlocked the Color options for PopUps!
87
+ * Small code improvements to avoid PHP notices
88
+
89
  = 4.7.0.7 =
90
  * Add a link target option for CTA Button (use _blank to open CTA in new tab)
91
  * Add JS hook 'popup-submit-process' to allow manual updating of popup contents after form submit
views/info-shortcodes.php CHANGED
@@ -13,6 +13,7 @@ $limited = array(
13
  'app_.*',
14
  '.*-form.*',
15
  '.*_form.*',
 
16
  );
17
 
18
  $shortcodes = array();
@@ -93,6 +94,11 @@ endif;
93
  <?php _e( 'Cust AJAX', PO_LANG ); ?>
94
  </div>
95
  </th>
 
 
 
 
 
96
  <th class="flag">
97
  <div data-tooltip="<?php _e( 'When opening a PopUp-Preview in the Editor', PO_LANG ); ?>">
98
  <?php _e( 'Preview', PO_LANG ); ?>
@@ -107,6 +113,7 @@ endif;
107
  <td class="flag sc-front load-footer"><i class="icon dashicons"></i></td>
108
  <td class="flag sc-admin load-ajax"><i class="icon dashicons"></i></td>
109
  <td class="flag sc-front load-front"><i class="icon dashicons"></i></td>
 
110
  <td class="flag sc-admin"><i class="icon dashicons"></i></td>
111
  </tr>
112
  <?php endforeach; ?>
13
  'app_.*',
14
  '.*-form.*',
15
  '.*_form.*',
16
+ 'embed',
17
  );
18
 
19
  $shortcodes = array();
94
  <?php _e( 'Cust AJAX', PO_LANG ); ?>
95
  </div>
96
  </th>
97
+ <th class="flag load-anonymous">
98
+ <div data-tooltip="<?php _e( 'Loading method \'Anonymous Script\'', PO_LANG ); ?>">
99
+ <?php _e( 'Script', PO_LANG ); ?>
100
+ </div>
101
+ </th>
102
  <th class="flag">
103
  <div data-tooltip="<?php _e( 'When opening a PopUp-Preview in the Editor', PO_LANG ); ?>">
104
  <?php _e( 'Preview', PO_LANG ); ?>
113
  <td class="flag sc-front load-footer"><i class="icon dashicons"></i></td>
114
  <td class="flag sc-admin load-ajax"><i class="icon dashicons"></i></td>
115
  <td class="flag sc-front load-front"><i class="icon dashicons"></i></td>
116
+ <td class="flag sc-admin load-anonymous"><i class="icon dashicons"></i></td>
117
  <td class="flag sc-admin"><i class="icon dashicons"></i></td>
118
  </tr>
119
  <?php endforeach; ?>
views/meta-appearance.php CHANGED
@@ -71,57 +71,49 @@ $animations = IncPopup::get_animations();
71
  ?>
72
  <div class="wpmui-grid-12">
73
  <div class="col-12">
74
- <p style="margin-top:0"><em><?php _e(
 
75
  '*) This style is outdated and does not support all options '.
76
  'on this page. ' .
77
  'Once you save your PopUp with a new style you cannot ' .
78
  'revert to this style!<br />' .
79
  'Tipp: Use the Preview function to test this PopUp with one ' .
80
  'of the new styles before saving it.', PO_LANG
81
- ); ?></em></p>
 
82
  </div>
83
  </div>
84
  <?php
85
  endif; ?>
86
 
87
- <div class="pro-only">
88
- <div class="wpmui-grid-12">
89
- <div class="col-12 inp-row">
90
- <label>
91
- <input type="checkbox"
92
- readonly="readonly"
93
- id="po-custom-colors"
94
- data-toggle=".chk-custom-colors"
95
- />
96
- <?php _e( 'Use custom colors', PO_LANG ); ?>
97
- </label>
98
- </div>
99
  </div>
100
- <div class="wpmui-grid-12 chk-custom-colors">
101
- <div class="col-colorpicker inp-row">
102
- <input type="text"
103
- class="colorpicker inp-small"
104
- readonly="readonly"
105
- value="<?php echo esc_attr( $popup->color['col1'] ); ?>" />
106
- <br />
107
- <?php _e( 'Links, button background, heading and subheading', PO_LANG ); ?>
108
- </div>
109
- <div class="col-colorpicker inp-row">
110
- <input type="text"
111
- class="colorpicker inp-small"
112
- readonly="readonly"
113
- value="<?php echo esc_attr( $popup->color['col2'] ); ?>" />
114
- <br />
115
- <?php _e( 'Button text', PO_LANG ); ?>
116
- </div>
117
  </div>
118
- <div class="pro-note">
119
- <div style="padding:50px 0 0;">
120
- <?php printf(
121
- __( 'Pro feature only. <a href="%1$s" target="_blank">Find out more &raquo;</a>', PO_LANG ),
122
- 'http://premium.wpmudev.org/project/the-pop-over-plugin/'
123
- ); ?>
124
- </div>
125
  </div>
126
  </div>
127
 
@@ -186,22 +178,24 @@ endif; ?>
186
  </div>
187
  <div class="col-6 inp-row">
188
  <select id="po-animation-in" name="po_animation_in">
 
189
  <?php foreach ( $animations->in as $group => $items ) : ?>
190
  <?php if ( ! empty( $group ) ) : ?>
191
  <optgroup label="<?php echo esc_attr( $group ); ?>">
192
  <?php endif; ?>
193
 
194
  <?php foreach ( $items as $key => $label ) {
195
- if ( empty( $key ) ) {
196
  printf(
197
- '<option>%s</option>',
198
  esc_attr( $label )
199
  );
200
  } else {
201
  printf(
202
- '<option disabled="disabled">%s - %s</option>',
203
  esc_attr( $label ),
204
- __( 'PRO Version only', PO_LANG )
 
205
  );
206
  }
207
  } ?>
@@ -220,20 +214,21 @@ endif; ?>
220
  <optgroup label="<?php echo esc_attr( $group ); ?>">
221
  <?php endif; ?>
222
 
223
- <?php foreach ( $items as $key => $label ) :
224
- if ( empty( $key ) ) {
225
  printf(
226
- '<option>%s</option>',
227
  esc_attr( $label )
228
  );
229
  } else {
230
  printf(
231
- '<option disabled="disabled">%s - %s</option>',
232
  esc_attr( $label ),
233
- __( 'PRO Version only', PO_LANG )
 
234
  );
235
  }
236
- endforeach; ?>
237
 
238
  <?php if ( ! empty( $group ) ) : ?>
239
  </optgroup>
71
  ?>
72
  <div class="wpmui-grid-12">
73
  <div class="col-12">
74
+ <p style="margin-top:0"><em><?php
75
+ _e(
76
  '*) This style is outdated and does not support all options '.
77
  'on this page. ' .
78
  'Once you save your PopUp with a new style you cannot ' .
79
  'revert to this style!<br />' .
80
  'Tipp: Use the Preview function to test this PopUp with one ' .
81
  'of the new styles before saving it.', PO_LANG
82
+ );
83
+ ?></em></p>
84
  </div>
85
  </div>
86
  <?php
87
  endif; ?>
88
 
89
+ <div class="wpmui-grid-12">
90
+ <div class="col-12 inp-row">
91
+ <label>
92
+ <input type="checkbox"
93
+ name="po_custom_colors"
94
+ id="po-custom-colors"
95
+ data-toggle=".chk-custom-colors"
96
+ <?php checked( $popup->custom_colors ); ?> />
97
+ <?php _e( 'Use custom colors', PO_LANG ); ?>
98
+ </label>
 
 
99
  </div>
100
+ </div>
101
+ <div class="wpmui-grid-12 chk-custom-colors">
102
+ <div class="col-colorpicker inp-row">
103
+ <input type="text"
104
+ class="colorpicker inp-small"
105
+ name="po_color[col1]"
106
+ value="<?php echo esc_attr( $popup->color['col1'] ); ?>" />
107
+ <br />
108
+ <?php _e( 'Links, button background, heading and subheading', PO_LANG ); ?>
 
 
 
 
 
 
 
 
109
  </div>
110
+ <div class="col-colorpicker inp-row">
111
+ <input type="text"
112
+ class="colorpicker inp-small"
113
+ name="po_color[col2]"
114
+ value="<?php echo esc_attr( $popup->color['col2'] ); ?>" />
115
+ <br />
116
+ <?php _e( 'Button text', PO_LANG ); ?>
117
  </div>
118
  </div>
119
 
178
  </div>
179
  <div class="col-6 inp-row">
180
  <select id="po-animation-in" name="po_animation_in">
181
+ <?php $pro_only = ' - ' . __( 'PRO Version', PO_LANG ); ?>
182
  <?php foreach ( $animations->in as $group => $items ) : ?>
183
  <?php if ( ! empty( $group ) ) : ?>
184
  <optgroup label="<?php echo esc_attr( $group ); ?>">
185
  <?php endif; ?>
186
 
187
  <?php foreach ( $items as $key => $label ) {
188
+ if ( strpos( $label, $pro_only ) ) {
189
  printf(
190
+ '<option disabled>%1$s</option>',
191
  esc_attr( $label )
192
  );
193
  } else {
194
  printf(
195
+ '<option value="%2$s" %3$s>%1$s</option>',
196
  esc_attr( $label ),
197
+ esc_attr( $key ),
198
+ selected( $key, $popup->animation_in, false )
199
  );
200
  }
201
  } ?>
214
  <optgroup label="<?php echo esc_attr( $group ); ?>">
215
  <?php endif; ?>
216
 
217
+ <?php foreach ( $items as $key => $label ) {
218
+ if ( strpos( $label, $pro_only ) ) {
219
  printf(
220
+ '<option disabled>%1$s</option>',
221
  esc_attr( $label )
222
  );
223
  } else {
224
  printf(
225
+ '<option value="%2$s" %3$s>%1$s</option>',
226
  esc_attr( $label ),
227
+ esc_attr( $key ),
228
+ selected( $key, $popup->animation_out, false )
229
  );
230
  }
231
+ } ?>
232
 
233
  <?php if ( ! empty( $group ) ) : ?>
234
  </optgroup>
views/meta-behavior.php CHANGED
@@ -51,7 +51,9 @@
51
  id="po-display-scroll"
52
  value="scroll"
53
  data-toggle=".opt-display-scroll"
54
- readonly="readonly" />
 
 
55
  <?php _e( 'Appear after', PO_LANG ); ?>
56
  </label>
57
  <span class="opt-display-scroll">
@@ -81,7 +83,9 @@
81
  id="po-display-anchor"
82
  value="anchor"
83
  data-toggle=".opt-display-anchor"
84
- readonly="readonly" />
 
 
85
  <?php _e( 'Appear after user scrolled until CSS selector', PO_LANG ); ?>
86
  </label>
87
  <span class="opt-display-anchor">
@@ -94,12 +98,15 @@
94
  </div>
95
  <?php do_action( 'popup-display-behavior', $popup ); ?>
96
  <div class="pro-note">
97
- <div style="padding:30px 0 0;">
98
- <?php printf(
99
- __( 'Pro feature only. <a href="%1$s" target="_blank">Find out more &raquo;</a>', PO_LANG ),
 
 
100
  'http://premium.wpmudev.org/project/the-pop-over-plugin/'
101
- ); ?>
102
- </div>
 
103
  </div>
104
  </div>
105
  </div>
@@ -131,7 +138,8 @@
131
  id="po-close-hides"
132
  data-toggle=".chk-can-hide"
133
  data-or="#po-can-hide,#po-close-hides"
134
- />
 
135
  <?php _e( 'Close button acts as "Never see this message again" link', PO_LANG ); ?>
136
  </label>
137
  </div>
@@ -149,12 +157,15 @@
149
  </label>
150
  </div>
151
  <div class="pro-note">
152
- <div style="padding:30px 0 0;">
153
- <?php printf(
154
- __( 'Pro feature only. <a href="%1$s" target="_blank">Find out more &raquo;</a>', PO_LANG ),
 
 
155
  'http://premium.wpmudev.org/project/the-pop-over-plugin/'
156
- ); ?>
157
- </div>
 
158
  </div>
159
  </div>
160
  </div>
@@ -166,26 +177,17 @@
166
  <strong><?php _e( 'Closing Pop-up conditions', PO_LANG ); ?></strong>
167
  </div>
168
  </div>
169
- <div class="pro-only">
170
  <div class="wpmui-grid-12">
171
  <div class="col-12 inp-row">
172
  <label>
173
  <input type="checkbox"
174
- readonly="readonly"
175
  name="po_overlay_close"
 
176
  />
177
  <?php _e( 'Click on the background does not close PopUp.', PO_LANG ); ?>
178
  </label>
179
  </div>
180
- </div>
181
- <div class="pro-note">
182
- <div style="padding:15px 0 0;">
183
- <?php printf(
184
- __( 'Pro feature only. <a href="%1$s" target="_blank">Find out more &raquo;</a>', PO_LANG ),
185
- 'http://premium.wpmudev.org/project/the-pop-over-plugin/'
186
- ); ?>
187
- </div>
188
- </div>
189
  </div>
190
 
191
  <hr />
@@ -216,13 +218,11 @@
216
  <option value="default" <?php selected( $popup->form_submit, 'default' ); ?>>
217
  <?php _e( 'Refresh PopUp or close (default)', PO_LANG ); ?>
218
  </option>
219
- <option value="ignore" disabled="disabled">
220
- <?php _e( 'Refresh PopUp or do nothing (use for Ajax Forms)', PO_LANG ); ?> -
221
- <?php _e( 'PRO Version only', PO_LANG ); ?>
222
  </option>
223
- <option value="redirect" disabled="disabled">
224
- <?php _e( 'Redirect to form target URL', PO_LANG ); ?> -
225
- <?php _e( 'PRO Version only', PO_LANG ); ?>
226
  </option>
227
  </select>
228
  </div>
51
  id="po-display-scroll"
52
  value="scroll"
53
  data-toggle=".opt-display-scroll"
54
+ readonly="readonly"
55
+ style="display:none" />
56
+ <i class="pro-icon"></i>
57
  <?php _e( 'Appear after', PO_LANG ); ?>
58
  </label>
59
  <span class="opt-display-scroll">
83
  id="po-display-anchor"
84
  value="anchor"
85
  data-toggle=".opt-display-anchor"
86
+ readonly="readonly"
87
+ style="display:none" />
88
+ <i class="pro-icon"></i>
89
  <?php _e( 'Appear after user scrolled until CSS selector', PO_LANG ); ?>
90
  </label>
91
  <span class="opt-display-anchor">
98
  </div>
99
  <?php do_action( 'popup-display-behavior', $popup ); ?>
100
  <div class="pro-note">
101
+ <i class="pro-icon"></i>
102
+ <span class="text">
103
+ <?php
104
+ printf(
105
+ __( 'Pro feature. <a href="%1$s" target="_blank">Find out more &raquo;</a>', PO_LANG ),
106
  'http://premium.wpmudev.org/project/the-pop-over-plugin/'
107
+ );
108
+ ?>
109
+ </span>
110
  </div>
111
  </div>
112
  </div>
138
  id="po-close-hides"
139
  data-toggle=".chk-can-hide"
140
  data-or="#po-can-hide,#po-close-hides"
141
+ style="display:none" />
142
+ <i class="pro-icon"></i>
143
  <?php _e( 'Close button acts as "Never see this message again" link', PO_LANG ); ?>
144
  </label>
145
  </div>
157
  </label>
158
  </div>
159
  <div class="pro-note">
160
+ <i class="pro-icon"></i>
161
+ <span class="text">
162
+ <?php
163
+ printf(
164
+ __( 'Pro feature. <a href="%1$s" target="_blank">Find out more &raquo;</a>', PO_LANG ),
165
  'http://premium.wpmudev.org/project/the-pop-over-plugin/'
166
+ );
167
+ ?>
168
+ </span>
169
  </div>
170
  </div>
171
  </div>
177
  <strong><?php _e( 'Closing Pop-up conditions', PO_LANG ); ?></strong>
178
  </div>
179
  </div>
 
180
  <div class="wpmui-grid-12">
181
  <div class="col-12 inp-row">
182
  <label>
183
  <input type="checkbox"
 
184
  name="po_overlay_close"
185
+ <?php checked( ! $popup->overlay_close ); ?>
186
  />
187
  <?php _e( 'Click on the background does not close PopUp.', PO_LANG ); ?>
188
  </label>
189
  </div>
190
+
 
 
 
 
 
 
 
 
191
  </div>
192
 
193
  <hr />
218
  <option value="default" <?php selected( $popup->form_submit, 'default' ); ?>>
219
  <?php _e( 'Refresh PopUp or close (default)', PO_LANG ); ?>
220
  </option>
221
+ <option value="ignore" <?php selected( $popup->form_submit, 'ignore' ); ?>>
222
+ <?php _e( 'Refresh PopUp or do nothing (use for Ajax Forms)', PO_LANG ); ?>
 
223
  </option>
224
+ <option value="redirect" <?php selected( $popup->form_submit, 'redirect' ); ?>>
225
+ <?php _e( 'Redirect to form target URL', PO_LANG ); ?>
 
226
  </option>
227
  </select>
228
  </div>
views/meta-customcss.php CHANGED
@@ -8,40 +8,24 @@
8
  * Available variables: $popup
9
  */
10
 
11
- $demo_css = '#popup .wdpu-text {
12
- color: #333;
13
- }';
14
  ?>
15
- <div class="pro-only">
16
-
17
  <div class="wpmui-grid-12">
18
  <label for="po-custom-css">
19
  <?php _e( 'Provide custom CSS rules to customize this PopUp', PO_LANG ); ?>
20
  </label>
21
  </div>
22
  <div class="wpmui-grid-12">
23
- <input type="hidden" name="po_custom_css" value="<?php echo esc_textarea( $popup->custom_css ); ?>" />
24
- <textarea name="demo_css" id="po-custom-css" style="display: none"><?php
25
- echo esc_textarea( $demo_css );
26
  ?></textarea>
27
  <div class="po_css_editor"
28
  id="po-css-editor"
29
  data-input="#po-custom-css"
30
  style="width:100%; height: 20em;"
31
  ><?php
32
- echo esc_textarea( $demo_css );
33
  ?></div>
34
  </div>
35
  <div class="wpmui-grid-12">
36
  <?php _e( 'Note: To target this PopUp you need to prefix all rules with <code>#popup</code>, e.g. <code>#popup .wdpu-text { font-family: sans }</code>', PO_LANG ); ?>
37
  </div>
38
-
39
- <div class="pro-note">
40
- <div style="padding:150px 0 0;">
41
- <?php printf(
42
- __( 'Pro feature only. <a href="%1$s" target="_blank">Find out more &raquo;</a>', PO_LANG ),
43
- 'http://premium.wpmudev.org/project/the-pop-over-plugin/'
44
- ); ?>
45
- </div>
46
- </div>
47
- </div>
8
  * Available variables: $popup
9
  */
10
 
 
 
 
11
  ?>
 
 
12
  <div class="wpmui-grid-12">
13
  <label for="po-custom-css">
14
  <?php _e( 'Provide custom CSS rules to customize this PopUp', PO_LANG ); ?>
15
  </label>
16
  </div>
17
  <div class="wpmui-grid-12">
18
+ <textarea name="po_custom_css" id="po-custom-css" style="display: none"><?php
19
+ echo esc_textarea( $popup->custom_css );
 
20
  ?></textarea>
21
  <div class="po_css_editor"
22
  id="po-css-editor"
23
  data-input="#po-custom-css"
24
  style="width:100%; height: 20em;"
25
  ><?php
26
+ echo esc_textarea( $popup->custom_css );
27
  ?></div>
28
  </div>
29
  <div class="wpmui-grid-12">
30
  <?php _e( 'Note: To target this PopUp you need to prefix all rules with <code>#popup</code>, e.g. <code>#popup .wdpu-text { font-family: sans }</code>', PO_LANG ); ?>
31
  </div>
 
 
 
 
 
 
 
 
 
 
views/meta-rules.php CHANGED
@@ -13,7 +13,7 @@
13
  <strong><?php _e( 'Available Conditions', PO_LANG ); ?></strong>
14
  </div>
15
  <div class="col-active-rules">
16
- <strong><?php _e( 'Show this PopUp if the following conditions are met', PO_LANG ); ?></strong>
17
  </div>
18
  </div>
19
  <div class="wpmui-grid-12">
13
  <strong><?php _e( 'Available Conditions', PO_LANG ); ?></strong>
14
  </div>
15
  <div class="col-active-rules">
16
+ <strong><?php _e( 'Show this PopUp if all of the following conditions are met', PO_LANG ); ?></strong>
17
  </div>
18
  </div>
19
  <div class="wpmui-grid-12">
views/meta-submitdiv.php CHANGED
@@ -69,7 +69,8 @@ $warn = ( 0 != IncPopupDatabase::count_active( $post->ID ) );
69
  <?php _e( 'Duplicate', PO_LANG ); ?>
70
  </a>
71
  <?php endif; ?>
72
- <button class="button-primary" id="publish" name="po-action" value="save">
 
73
  <?php _e( 'Save', PO_LANG ); ?>
74
  </button>
75
  </div>
@@ -88,7 +89,8 @@ $warn = ( 0 != IncPopupDatabase::count_active( $post->ID ) );
88
  </div>
89
 
90
  <div class="publishing-action">
91
- <button class="button-primary" name="po-action" value="save">
 
92
  <?php _e( 'Save', PO_LANG ); ?>
93
  </button>
94
  </div>
69
  <?php _e( 'Duplicate', PO_LANG ); ?>
70
  </a>
71
  <?php endif; ?>
72
+ <input type="hidden" name="po-action" value="save" />
73
+ <button class="button-primary" id="publish" name="publish">
74
  <?php _e( 'Save', PO_LANG ); ?>
75
  </button>
76
  </div>
89
  </div>
90
 
91
  <div class="publishing-action">
92
+ <input type="hidden" name="po-action" value="save" />
93
+ <button class="button-primary" id="publish" name="publish">
94
  <?php _e( 'Save', PO_LANG ); ?>
95
  </button>
96
  </div>
views/settings.php CHANGED
@@ -64,6 +64,7 @@ $ordered_rules = array();
64
  <?php foreach ( $loading_methods as $item ) : ?>
65
  <option
66
  value="<?php echo esc_attr( $item->id ); ?>"
 
67
  <?php selected( $cur_method, $item->id ); ?>>
68
  <?php _e( $item->label, PO_LANG ); ?>
69
  </option>
64
  <?php foreach ( $loading_methods as $item ) : ?>
65
  <option
66
  value="<?php echo esc_attr( $item->id ); ?>"
67
+ <?php if ( ! empty( $item->disabled ) ) { echo 'disabled="disabled"'; } ?>
68
  <?php selected( $cur_method, $item->id ); ?>>
69
  <?php _e( $item->label, PO_LANG ); ?>
70
  </option>