WP ULike - Version 4.5.9

Version Description

  • Improved: Compatibility with WordPress 5.9 applied.
  • Updated: Options panel framework.
  • Fixed: Minor bug fixes.
Download this release

Release Info

Developer alimir
Plugin Icon 128x128 WP ULike
Version 4.5.9
Comparing to
See all releases

Code changes from version 4.5.8 to 4.5.9

Files changed (91) hide show
  1. admin/admin-ajax.php +1 -1
  2. admin/admin-functions.php +1 -1
  3. admin/admin-hooks.php +1 -1
  4. admin/assets/js/plugins.js +2 -2
  5. admin/classes/class-wp-ulike-admin-assets.php +1 -1
  6. admin/classes/class-wp-ulike-admin-pages.php +1 -1
  7. admin/classes/class-wp-ulike-admin-panel.php +1 -1
  8. admin/classes/class-wp-ulike-notices.php +1 -1
  9. admin/classes/class-wp-ulike-pagination.php +1 -1
  10. admin/classes/class-wp-ulike-settings.php +1 -1
  11. admin/classes/class-wp-ulike-stats.php +1 -1
  12. admin/classes/class-wp-ulike-widget.php +1 -1
  13. admin/includes/templates/about.php +1 -1
  14. admin/includes/templates/activities-logs.php +1 -1
  15. admin/includes/templates/comments-logs.php +1 -1
  16. admin/includes/templates/go-pro.php +1 -1
  17. admin/includes/templates/posts-logs.php +1 -1
  18. admin/includes/templates/statistics.php +1 -1
  19. admin/includes/templates/topics-logs.php +1 -1
  20. admin/index.php +1 -1
  21. admin/settings/assets/css/style.css +1049 -107
  22. admin/settings/assets/css/style.min.css +1 -1
  23. admin/settings/assets/js/main.js +37 -2
  24. admin/settings/assets/js/main.min.js +2 -2
  25. admin/settings/assets/js/plugins.js +2674 -1
  26. admin/settings/assets/js/plugins.min.js +2 -2
  27. admin/settings/assets/scss/{vendor → partials}/_base.scss +0 -0
  28. admin/settings/assets/scss/{vendor → partials}/_chosen.scss +0 -0
  29. admin/settings/assets/scss/{vendor → partials}/_customizer.scss +7 -1
  30. admin/settings/assets/scss/{vendor → partials}/_fields.scss +134 -81
  31. admin/settings/assets/scss/partials/_flatpickr.scss +794 -0
  32. admin/settings/assets/scss/{vendor → partials}/_helper.scss +0 -0
  33. admin/settings/assets/scss/{vendor → partials}/_modal.scss +0 -0
  34. admin/settings/assets/scss/{vendor → partials}/_navmenu.scss +0 -0
  35. admin/settings/assets/scss/{vendor → partials}/_profile.scss +0 -0
  36. admin/settings/assets/scss/{vendor → partials}/_responsive.scss +24 -33
  37. admin/settings/assets/scss/{vendor → partials}/_taxonomy.scss +0 -0
  38. admin/settings/assets/scss/{vendor → partials}/_themes.scss +0 -0
  39. admin/settings/assets/scss/{vendor → partials}/_welcome.scss +0 -0
  40. admin/settings/assets/scss/{vendor → partials}/_widget.scss +0 -0
  41. admin/settings/assets/scss/style.scss +43 -41
  42. admin/settings/classes/admin-options.class.php +5 -1
  43. admin/settings/classes/setup.class.php +46 -41
  44. admin/settings/fields/checkbox/checkbox.php +1 -1
  45. admin/settings/fields/code_editor/code_editor.php +1 -1
  46. admin/settings/fields/datetime/datetime.php +61 -0
  47. admin/settings/fields/typography/google-fonts.php +348 -65
  48. admin/settings/fields/wp_editor/wp_editor.php +7 -3
  49. admin/settings/languages/zh_CN.mo +0 -0
  50. admin/settings/languages/zh_CN.po +672 -14
  51. assets/js/wp-ulike.js +2 -2
  52. assets/js/wp-ulike.min.js +2 -2
  53. includes/action.php +1 -1
  54. includes/classes/class-wp-ulike-activator.php +1 -1
  55. includes/classes/class-wp-ulike-ajax-listener-base.php +4 -4
  56. includes/classes/class-wp-ulike-cta-listener.php +1 -1
  57. includes/classes/class-wp-ulike-cta-process.php +1 -1
  58. includes/classes/class-wp-ulike-cta-template.php +1 -1
  59. includes/classes/class-wp-ulike-customizer.php +1 -1
  60. includes/classes/class-wp-ulike-deactivator.php +1 -1
  61. includes/classes/class-wp-ulike-entities-process.php +2 -2
  62. includes/classes/class-wp-ulike-frontend-assets.php +1 -1
  63. includes/classes/class-wp-ulike-mycred.php +1 -1
  64. includes/classes/class-wp-ulike.php +1 -1
  65. includes/functions/content-types.php +1 -1
  66. includes/functions/counter.php +1 -1
  67. includes/functions/general.php +1 -1
  68. includes/functions/meta.php +1 -1
  69. includes/functions/queries.php +1 -1
  70. includes/functions/templates.php +1 -1
  71. includes/functions/utilities.php +1 -1
  72. includes/hooks/frontend-ajax.php +1 -1
  73. includes/hooks/general.php +1 -1
  74. includes/hooks/shortcodes.php +1 -1
  75. includes/hooks/third-party.php +1 -1
  76. includes/index.php +1 -1
  77. includes/plugin.php +1 -1
  78. includes/public/index.php +1 -1
  79. languages/wp-ulike-ar.po +6 -6
  80. languages/wp-ulike-de.po +6 -6
  81. languages/wp-ulike-es-co.po +6 -6
  82. languages/wp-ulike-fa_IR.po +6 -6
  83. languages/wp-ulike-fr.po +6 -6
  84. languages/wp-ulike-ja.po +6 -6
  85. languages/wp-ulike-nl.po +6 -6
  86. languages/wp-ulike-ru.po +6 -6
  87. languages/wp-ulike-sv.po +6 -6
  88. languages/wp-ulike-zh-cn.po +6 -6
  89. languages/wp-ulike.pot +9 -9
  90. readme.txt +6 -1
  91. wp-ulike.php +2 -2
admin/admin-ajax.php CHANGED
@@ -3,7 +3,7 @@
3
  * Back-end AJAX Functionalities
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Back-end AJAX Functionalities
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/admin-functions.php CHANGED
@@ -3,7 +3,7 @@
3
  * Admin Functions
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Admin Functions
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/admin-hooks.php CHANGED
@@ -3,7 +3,7 @@
3
  * Admin Hooks
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Admin Hooks
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/assets/js/plugins.js CHANGED
@@ -1,6 +1,6 @@
1
- /*! WP ULike - v4.5.8
2
  * https://wpulike.com
3
- * TechnoWich 2021;
4
  */
5
  /*!
6
  * Chart.js v3.4.1
1
+ /*! WP ULike - v4.5.9
2
  * https://wpulike.com
3
+ * TechnoWich 2022;
4
  */
5
  /*!
6
  * Chart.js v3.4.1
admin/classes/class-wp-ulike-admin-assets.php CHANGED
@@ -3,7 +3,7 @@
3
  * Wp ULike Admin Scripts Class.
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Wp ULike Admin Scripts Class.
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/classes/class-wp-ulike-admin-pages.php CHANGED
@@ -3,7 +3,7 @@
3
  * Wp ULike Admin Pages Class.
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Wp ULike Admin Pages Class.
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/classes/class-wp-ulike-admin-panel.php CHANGED
@@ -3,7 +3,7 @@
3
  * Wp ULike Admin Panel
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Wp ULike Admin Panel
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/classes/class-wp-ulike-notices.php CHANGED
@@ -3,7 +3,7 @@
3
  * Wp ULike Admin Notices
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Wp ULike Admin Notices
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/classes/class-wp-ulike-pagination.php CHANGED
@@ -3,7 +3,7 @@
3
  * Class for pagination functionality
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Class for pagination functionality
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/classes/class-wp-ulike-settings.php CHANGED
@@ -3,7 +3,7 @@
3
  * Class for settings panel
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Class for settings panel
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/classes/class-wp-ulike-stats.php CHANGED
@@ -3,7 +3,7 @@
3
  * Class for statistics process
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Class for statistics process
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/classes/class-wp-ulike-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Class for our widget support
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Class for our widget support
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/includes/templates/about.php CHANGED
@@ -3,7 +3,7 @@
3
  * About page template
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * About page template
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/includes/templates/activities-logs.php CHANGED
@@ -3,7 +3,7 @@
3
  * Activities logs page template
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Activities logs page template
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/includes/templates/comments-logs.php CHANGED
@@ -3,7 +3,7 @@
3
  * Comments logs page template
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Comments logs page template
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/includes/templates/go-pro.php CHANGED
@@ -3,7 +3,7 @@
3
  * About page template
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * About page template
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/includes/templates/posts-logs.php CHANGED
@@ -3,7 +3,7 @@
3
  * Posts logs page template
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Posts logs page template
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/includes/templates/statistics.php CHANGED
@@ -3,7 +3,7 @@
3
  * Statistics page template
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Statistics page template
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/includes/templates/topics-logs.php CHANGED
@@ -3,7 +3,7 @@
3
  * Topics logs page template
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Topics logs page template
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/index.php CHANGED
@@ -3,7 +3,7 @@
3
  * Include admin files
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Include admin files
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
admin/settings/assets/css/style.css CHANGED
@@ -35,34 +35,35 @@
35
  * 03. 10. Field: color_group
36
  * 03. 11. Field: fieldset
37
  * 03. 12. Field: date
38
- * 03. 13. Field: gallery
39
- * 03. 14. Field: group
40
- * 03. 15. Field: icon
41
- * 03. 16. Field: image_select
42
- * 03. 17. Field: link_color
43
- * 03. 18. Field: map
44
- * 03. 19. Field: media
45
- * 03. 20. Field: palette
46
- * 03. 21. Field: repeater
47
- * 03. 22. Field: select
48
- * 03. 23. Field: slider
49
- * 03. 24. Field: sortable
50
- * 03. 25. Field: sorter
51
- * 03. 26. Field: spinner
52
- * 03. 27. Field: switcher
53
- * 03. 28. Field: tabbed
54
- * 03. 29. Field: text
55
- * 03. 30. Field: textarea
56
- * 03. 31. Field: typography
57
- * 03. 32. Field: upload
58
- * 03. 33. Field: wp_editor
59
- * 03. 34. Field: heading
60
- * 03. 35. Field: subheading
61
- * 03. 36. Field: submessage
62
- * 03. 37. Field: notice
63
- * 03. 38. Field: number
64
- * 03. 39. Field: link
65
- * 03. 40. Field: others
 
66
  * 04. Widget
67
  * 05. Customizer
68
  * 06. Taxonomy
@@ -1194,7 +1195,29 @@
1194
  }
1195
 
1196
  /**
1197
- * 03. 13. Field: gallery
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1198
  */
1199
  .ulf-field-gallery ul {
1200
  margin: 0;
@@ -1222,7 +1245,7 @@
1222
  }
1223
 
1224
  /**
1225
- * 03. 14. Field: group
1226
  */
1227
  .ulf-field-group .ulf-cloneable-hidden {
1228
  display: none !important;
@@ -1326,7 +1349,7 @@
1326
  }
1327
 
1328
  /**
1329
- * 03. 15. Field: icon
1330
  */
1331
  .ulf-field-icon .button {
1332
  margin-right: 5px;
@@ -1354,7 +1377,7 @@
1354
  }
1355
 
1356
  /**
1357
- * 03. 16. Field: image_select
1358
  */
1359
  .ulf-field-image_select .ulf--image {
1360
  display: inline-block;
@@ -1409,7 +1432,7 @@
1409
  }
1410
 
1411
  /**
1412
- * 03. 17. Field: link_color
1413
  */
1414
  .ulf-field-link_color .ulf--left {
1415
  float: left;
@@ -1422,7 +1445,7 @@
1422
  }
1423
 
1424
  /**
1425
- * 03. 18. Field: map
1426
  */
1427
  .ulf-field-map input {
1428
  width: 100%;
@@ -1470,7 +1493,7 @@
1470
  }
1471
 
1472
  /**
1473
- * 03. 19. Field: media
1474
  */
1475
  .ulf-field-media .ulf--placeholder {
1476
  display: flex;
@@ -1491,7 +1514,7 @@
1491
  }
1492
 
1493
  /**
1494
- * 03. 20. Field: palette
1495
  */
1496
  .ulf-field-palette .ulf--palette {
1497
  position: relative;
@@ -1542,7 +1565,7 @@
1542
  }
1543
 
1544
  /**
1545
- * 03. 21. Field: repeater
1546
  */
1547
  .ulf-field-repeater .ulf-field-text input {
1548
  width: 100%;
@@ -1617,7 +1640,7 @@
1617
  }
1618
 
1619
  /**
1620
- * 03. 22. Field: select
1621
  */
1622
  .ulf-field-select .ulf-fieldset {
1623
  min-height: 30px;
@@ -1634,7 +1657,7 @@
1634
  }
1635
 
1636
  /**
1637
- * 03. 23. Field: slider
1638
  */
1639
  .ulf-field-slider .ulf--wrap {
1640
  display: flex;
@@ -1702,7 +1725,7 @@
1702
  }
1703
 
1704
  /**
1705
- * 03. 24. Field: sortable
1706
  */
1707
  .ulf-field-sortable .ulf-field-text input {
1708
  width: 100%;
@@ -1764,7 +1787,7 @@
1764
  }
1765
 
1766
  /**
1767
- * 03. 25. Field: sorter
1768
  */
1769
  .ulf-field-sorter .ui-sortable-placeholder {
1770
  height: 20px;
@@ -1826,65 +1849,77 @@
1826
  }
1827
 
1828
  /**
1829
- * 03. 26. Field: spinner
1830
  */
1831
  .ulf-field-spinner .ulf--spin {
1832
  display: flex;
1833
  }
 
 
 
1834
  .ulf-field-spinner .ui-spinner {
1835
  display: flex;
 
 
 
 
 
1836
  }
1837
- .ulf-field-spinner .ui-button {
1838
  display: flex;
1839
  flex-direction: column;
1840
  justify-content: center;
1841
  text-align: center;
1842
  min-width: 20px;
1843
  padding: 0 4px;
 
1844
  color: #555;
1845
- border: 1px solid #7e8993;
1846
  background-color: #f5f5f5;
 
1847
  }
1848
- .ulf-field-spinner .ui-spinner-button {
 
1849
  cursor: pointer;
 
1850
  }
1851
- .ulf-field-spinner .ui-spinner-button:hover {
1852
  background-color: #e7e7e7;
1853
  }
1854
- .ulf-field-spinner .ui-spinner-button:active {
1855
  background-color: #ddd;
1856
  }
1857
- .ulf-field-spinner .ui-spinner-button:before {
1858
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
1859
  font-weight: 900;
1860
  font-size: 14px;
1861
  line-height: 14px;
1862
  }
1863
- .ulf-field-spinner .ui-spinner-down {
1864
- order: 1;
1865
  border-right: 0;
1866
  border-radius: 4px 0 0 4px;
1867
  }
1868
- .ulf-field-spinner .ui-spinner-down:before {
1869
  content: "\f0d9";
1870
  }
1871
- .ulf-field-spinner .ui-spinner-input {
1872
- order: 2;
1873
- }
1874
- .ulf-field-spinner .ulf--unit {
1875
- order: 3;
1876
- border-left: 0;
1877
- user-select: none;
1878
- }
1879
- .ulf-field-spinner .ui-spinner-up {
1880
- order: 4;
1881
  border-left: 0;
1882
  border-radius: 0 4px 4px 0;
1883
  }
1884
- .ulf-field-spinner .ui-spinner-up:before {
1885
  content: "\f0da";
1886
  }
1887
- .ulf-field-spinner input {
 
 
 
 
 
 
 
 
 
 
 
1888
  position: relative;
1889
  z-index: 1;
1890
  width: 50px;
@@ -1893,14 +1928,21 @@
1893
  padding: 0 8px;
1894
  border-radius: 0;
1895
  }
1896
- .ulf-field-spinner .ui-button-text,
1897
- .ulf-field-spinner .ui-button-icon,
1898
- .ulf-field-spinner .ui-button-icon-space {
1899
- display: none;
 
 
 
 
 
 
 
1900
  }
1901
 
1902
  /**
1903
- * 03. 27. Field: switcher
1904
  */
1905
  .ulf-field-switcher .ulf--switcher {
1906
  float: left;
@@ -1971,7 +2013,7 @@
1971
  }
1972
 
1973
  /**
1974
- * 03. 28. Field: tabbed
1975
  */
1976
  .ulf-field-tabbed .ulf-tabbed-content {
1977
  border: 1px solid #ccd0d4;
@@ -2011,7 +2053,7 @@
2011
  }
2012
 
2013
  /**
2014
- * 03. 29. Field: text
2015
  */
2016
  .ulf-field-text input {
2017
  width: 50%;
@@ -2020,7 +2062,7 @@
2020
  }
2021
 
2022
  /**
2023
- * 03. 30. Field: textarea
2024
  */
2025
  .ulf-field-textarea textarea {
2026
  width: 100%;
@@ -2033,7 +2075,7 @@
2033
  }
2034
 
2035
  /**
2036
- * 03. 31. Field: typography
2037
  */
2038
  .ulf-field-typography textarea,
2039
  .ulf-field-typography select {
@@ -2117,7 +2159,7 @@
2117
  }
2118
 
2119
  /**
2120
- * 03. 32. Field: upload
2121
  */
2122
  .ulf-field-upload input {
2123
  width: 100%;
@@ -2135,7 +2177,7 @@
2135
  }
2136
 
2137
  /**
2138
- * 03. 33. Field: wp_editor
2139
  */
2140
  .ulf-field-wp_editor .ulf-wp-editor {
2141
  float: left;
@@ -2177,7 +2219,7 @@
2177
  }
2178
 
2179
  /**
2180
- * 03. 34. Field: heading
2181
  */
2182
  .ulf-field-heading {
2183
  font-size: 1.5em;
@@ -2187,7 +2229,7 @@
2187
  }
2188
 
2189
  /**
2190
- * 03. 35. Field: subheading
2191
  */
2192
  .ulf-field-subheading {
2193
  font-size: 14px;
@@ -2199,7 +2241,7 @@
2199
  }
2200
 
2201
  /**
2202
- * 03. 36. Field: submessage
2203
  */
2204
  .ulf-field-submessage {
2205
  padding: 0 !important;
@@ -2247,7 +2289,7 @@
2247
  }
2248
 
2249
  /**
2250
- * 03. 37. Field: notice
2251
  */
2252
  .ulf-field-notice {
2253
  background-color: #f7f7f7;
@@ -2282,7 +2324,7 @@
2282
  }
2283
 
2284
  /**
2285
- * 03. 38. Field: number
2286
  */
2287
  .ulf-field-number input {
2288
  width: 100%;
@@ -2312,7 +2354,7 @@
2312
  }
2313
 
2314
  /**
2315
- * 03. 39. Field: link
2316
  */
2317
  .ulf-field-link .ulf--result {
2318
  display: inline-block;
@@ -2350,7 +2392,7 @@
2350
  }
2351
 
2352
  /**
2353
- * 03. 40. others
2354
  */
2355
  .ulf-help {
2356
  cursor: help;
@@ -2711,7 +2753,13 @@
2711
  margin-left: 0;
2712
  margin-right: 0;
2713
  }
2714
- .control-section .ulf-field-date .ulf--to {
 
 
 
 
 
 
2715
  margin-left: 0;
2716
  }
2717
  .control-section .ulf-field-sorter ul li {
@@ -3782,31 +3830,6 @@
3782
  min-height: 32px;
3783
  }
3784
 
3785
- .ulf-modal-inner {
3786
- width: 350px;
3787
- height: 400px;
3788
- }
3789
-
3790
- .ulf-modal-content {
3791
- height: 237px;
3792
- }
3793
-
3794
- .ulf-icon-dialog .ulf-modal-inner {
3795
- width: 305px;
3796
- height: 380px;
3797
- }
3798
- .ulf-icon-dialog .ulf-modal-content {
3799
- height: 267px;
3800
- }
3801
-
3802
- .ulf-modal-icon .ulf-modal-inner {
3803
- width: 330px;
3804
- height: 385px;
3805
- }
3806
- .ulf-modal-icon .ulf-modal-content {
3807
- height: 252px;
3808
- }
3809
-
3810
  .ulf-profile-options > .ulf-field > .ulf-title,
3811
  .ulf-taxonomy-edit-fields > .ulf-field > .ulf-title {
3812
  float: none;
@@ -3827,6 +3850,19 @@
3827
  padding: 10px;
3828
  }
3829
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
3830
  /**
3831
  * Chosen JS Styles
3832
  */
@@ -4232,3 +4268,909 @@
4232
  padding: 4px 5px 4px 20px;
4233
  direction: rtl;
4234
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  * 03. 10. Field: color_group
36
  * 03. 11. Field: fieldset
37
  * 03. 12. Field: date
38
+ * 03. 13. Field: datetime
39
+ * 03. 14. Field: gallery
40
+ * 03. 15. Field: group
41
+ * 03. 16. Field: icon
42
+ * 03. 17. Field: image_select
43
+ * 03. 18. Field: link_color
44
+ * 03. 19. Field: map
45
+ * 03. 20. Field: media
46
+ * 03. 21. Field: palette
47
+ * 03. 22. Field: repeater
48
+ * 03. 23. Field: select
49
+ * 03. 24. Field: slider
50
+ * 03. 25. Field: sortable
51
+ * 03. 26. Field: sorter
52
+ * 03. 27. Field: spinner
53
+ * 03. 28. Field: switcher
54
+ * 03. 29. Field: tabbed
55
+ * 03. 30. Field: text
56
+ * 03. 31. Field: textarea
57
+ * 03. 32. Field: typography
58
+ * 03. 33. Field: upload
59
+ * 03. 34. Field: wp_editor
60
+ * 03. 35. Field: heading
61
+ * 03. 36. Field: subheading
62
+ * 03. 37. Field: submessage
63
+ * 03. 38. Field: notice
64
+ * 03. 39. Field: number
65
+ * 03. 40. Field: link
66
+ * 03. 41. Field: others
67
  * 04. Widget
68
  * 05. Customizer
69
  * 06. Taxonomy
1195
  }
1196
 
1197
  /**
1198
+ * 03. 13. Field: datetime
1199
+ */
1200
+ .ulf-field-datetime input {
1201
+ margin: 0;
1202
+ }
1203
+ .ulf-field-datetime .ulf--to {
1204
+ margin-left: 7px;
1205
+ }
1206
+
1207
+ .ulf-flatpickr select,
1208
+ .ulf-flatpickr input {
1209
+ min-height: auto;
1210
+ }
1211
+ .ulf-flatpickr select:focus,
1212
+ .ulf-flatpickr input:focus {
1213
+ box-shadow: none;
1214
+ }
1215
+ .ulf-flatpickr.open {
1216
+ z-index: 9999999 !important;
1217
+ }
1218
+
1219
+ /**
1220
+ * 03. 14. Field: gallery
1221
  */
1222
  .ulf-field-gallery ul {
1223
  margin: 0;
1245
  }
1246
 
1247
  /**
1248
+ * 03. 15. Field: group
1249
  */
1250
  .ulf-field-group .ulf-cloneable-hidden {
1251
  display: none !important;
1349
  }
1350
 
1351
  /**
1352
+ * 03. 16. Field: icon
1353
  */
1354
  .ulf-field-icon .button {
1355
  margin-right: 5px;
1377
  }
1378
 
1379
  /**
1380
+ * 03. 17. Field: image_select
1381
  */
1382
  .ulf-field-image_select .ulf--image {
1383
  display: inline-block;
1432
  }
1433
 
1434
  /**
1435
+ * 03. 18. Field: link_color
1436
  */
1437
  .ulf-field-link_color .ulf--left {
1438
  float: left;
1445
  }
1446
 
1447
  /**
1448
+ * 03. 19. Field: map
1449
  */
1450
  .ulf-field-map input {
1451
  width: 100%;
1493
  }
1494
 
1495
  /**
1496
+ * 03. 20. Field: media
1497
  */
1498
  .ulf-field-media .ulf--placeholder {
1499
  display: flex;
1514
  }
1515
 
1516
  /**
1517
+ * 03. 21. Field: palette
1518
  */
1519
  .ulf-field-palette .ulf--palette {
1520
  position: relative;
1565
  }
1566
 
1567
  /**
1568
+ * 03. 22. Field: repeater
1569
  */
1570
  .ulf-field-repeater .ulf-field-text input {
1571
  width: 100%;
1640
  }
1641
 
1642
  /**
1643
+ * 03. 23. Field: select
1644
  */
1645
  .ulf-field-select .ulf-fieldset {
1646
  min-height: 30px;
1657
  }
1658
 
1659
  /**
1660
+ * 03. 24. Field: slider
1661
  */
1662
  .ulf-field-slider .ulf--wrap {
1663
  display: flex;
1725
  }
1726
 
1727
  /**
1728
+ * 03. 25. Field: sortable
1729
  */
1730
  .ulf-field-sortable .ulf-field-text input {
1731
  width: 100%;
1787
  }
1788
 
1789
  /**
1790
+ * 03. 26. Field: sorter
1791
  */
1792
  .ulf-field-sorter .ui-sortable-placeholder {
1793
  height: 20px;
1849
  }
1850
 
1851
  /**
1852
+ * 03. 27. Field: spinner
1853
  */
1854
  .ulf-field-spinner .ulf--spin {
1855
  display: flex;
1856
  }
1857
+ .ulf-field-spinner .ui-widget {
1858
+ font-family: inherit;
1859
+ }
1860
  .ulf-field-spinner .ui-spinner {
1861
  display: flex;
1862
+ align-items: stretch;
1863
+ overflow: unset;
1864
+ border: none;
1865
+ background: none;
1866
+ border-radius: 0;
1867
  }
1868
+ .ulf-field-spinner .ui-spinner .ui-button {
1869
  display: flex;
1870
  flex-direction: column;
1871
  justify-content: center;
1872
  text-align: center;
1873
  min-width: 20px;
1874
  padding: 0 4px;
1875
+ margin: 0;
1876
  color: #555;
 
1877
  background-color: #f5f5f5;
1878
+ border: 1px solid #7e8993;
1879
  }
1880
+ .ulf-field-spinner .ui-spinner .ui-spinner-button {
1881
+ position: relative;
1882
  cursor: pointer;
1883
+ height: auto;
1884
  }
1885
+ .ulf-field-spinner .ui-spinner .ui-spinner-button:hover {
1886
  background-color: #e7e7e7;
1887
  }
1888
+ .ulf-field-spinner .ui-spinner .ui-spinner-button:active {
1889
  background-color: #ddd;
1890
  }
1891
+ .ulf-field-spinner .ui-spinner .ui-spinner-button:before {
1892
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
1893
  font-weight: 900;
1894
  font-size: 14px;
1895
  line-height: 14px;
1896
  }
1897
+ .ulf-field-spinner .ui-spinner .ui-spinner-down {
 
1898
  border-right: 0;
1899
  border-radius: 4px 0 0 4px;
1900
  }
1901
+ .ulf-field-spinner .ui-spinner .ui-spinner-down:before {
1902
  content: "\f0d9";
1903
  }
1904
+ .ulf-field-spinner .ui-spinner .ui-spinner-up {
 
 
 
 
 
 
 
 
 
1905
  border-left: 0;
1906
  border-radius: 0 4px 4px 0;
1907
  }
1908
+ .ulf-field-spinner .ui-spinner .ui-spinner-up:before {
1909
  content: "\f0da";
1910
  }
1911
+ .ulf-field-spinner .ui-spinner .ulf--unit {
1912
+ border-left: 0;
1913
+ user-select: none;
1914
+ }
1915
+ .ulf-field-spinner .ui-spinner .ui-button-text,
1916
+ .ulf-field-spinner .ui-spinner .ui-button-icon,
1917
+ .ulf-field-spinner .ui-spinner .ui-button-icon-space {
1918
+ display: none;
1919
+ }
1920
+ .ulf-field-spinner .ui-spinner input {
1921
+ font-family: inherit;
1922
+ font-size: inherit;
1923
  position: relative;
1924
  z-index: 1;
1925
  width: 50px;
1928
  padding: 0 8px;
1929
  border-radius: 0;
1930
  }
1931
+ .ulf-field-spinner .ui-spinner-down {
1932
+ order: 1;
1933
+ }
1934
+ .ulf-field-spinner .ui-spinner-input {
1935
+ order: 2;
1936
+ }
1937
+ .ulf-field-spinner .ulf--unit {
1938
+ order: 3;
1939
+ }
1940
+ .ulf-field-spinner .ui-spinner-up {
1941
+ order: 4;
1942
  }
1943
 
1944
  /**
1945
+ * 03. 28. Field: switcher
1946
  */
1947
  .ulf-field-switcher .ulf--switcher {
1948
  float: left;
2013
  }
2014
 
2015
  /**
2016
+ * 03. 29. Field: tabbed
2017
  */
2018
  .ulf-field-tabbed .ulf-tabbed-content {
2019
  border: 1px solid #ccd0d4;
2053
  }
2054
 
2055
  /**
2056
+ * 03. 30. Field: text
2057
  */
2058
  .ulf-field-text input {
2059
  width: 50%;
2062
  }
2063
 
2064
  /**
2065
+ * 03. 31. Field: textarea
2066
  */
2067
  .ulf-field-textarea textarea {
2068
  width: 100%;
2075
  }
2076
 
2077
  /**
2078
+ * 03. 32. Field: typography
2079
  */
2080
  .ulf-field-typography textarea,
2081
  .ulf-field-typography select {
2159
  }
2160
 
2161
  /**
2162
+ * 03. 33. Field: upload
2163
  */
2164
  .ulf-field-upload input {
2165
  width: 100%;
2177
  }
2178
 
2179
  /**
2180
+ * 03. 34. Field: wp_editor
2181
  */
2182
  .ulf-field-wp_editor .ulf-wp-editor {
2183
  float: left;
2219
  }
2220
 
2221
  /**
2222
+ * 03. 35. Field: heading
2223
  */
2224
  .ulf-field-heading {
2225
  font-size: 1.5em;
2229
  }
2230
 
2231
  /**
2232
+ * 03. 36. Field: subheading
2233
  */
2234
  .ulf-field-subheading {
2235
  font-size: 14px;
2241
  }
2242
 
2243
  /**
2244
+ * 03. 37. Field: submessage
2245
  */
2246
  .ulf-field-submessage {
2247
  padding: 0 !important;
2289
  }
2290
 
2291
  /**
2292
+ * 03. 38. Field: notice
2293
  */
2294
  .ulf-field-notice {
2295
  background-color: #f7f7f7;
2324
  }
2325
 
2326
  /**
2327
+ * 03. 39. Field: number
2328
  */
2329
  .ulf-field-number input {
2330
  width: 100%;
2354
  }
2355
 
2356
  /**
2357
+ * 03. 40. Field: link
2358
  */
2359
  .ulf-field-link .ulf--result {
2360
  display: inline-block;
2392
  }
2393
 
2394
  /**
2395
+ * 03. 41. others
2396
  */
2397
  .ulf-help {
2398
  cursor: help;
2753
  margin-left: 0;
2754
  margin-right: 0;
2755
  }
2756
+ .control-section .ulf-field-date label,
2757
+ .control-section .ulf-field-datetime label {
2758
+ display: block;
2759
+ }
2760
+ .control-section .ulf-field-date .ulf--to,
2761
+ .control-section .ulf-field-datetime .ulf--to {
2762
+ margin-top: 4px;
2763
  margin-left: 0;
2764
  }
2765
  .control-section .ulf-field-sorter ul li {
3830
  min-height: 32px;
3831
  }
3832
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3833
  .ulf-profile-options > .ulf-field > .ulf-title,
3834
  .ulf-taxonomy-edit-fields > .ulf-field > .ulf-title {
3835
  float: none;
3850
  padding: 10px;
3851
  }
3852
  }
3853
+ @media only screen and (max-width: 782px) {
3854
+ .ulf-modal .ulf-modal-inner {
3855
+ width: 90%;
3856
+ }
3857
+ }
3858
+ @media only screen and (max-height: 750px) {
3859
+ .ulf-modal .ulf-modal-inner {
3860
+ height: auto;
3861
+ }
3862
+ .ulf-modal .ulf-modal-content {
3863
+ height: calc(100vh - 200px);
3864
+ }
3865
+ }
3866
  /**
3867
  * Chosen JS Styles
3868
  */
4268
  padding: 4px 5px 4px 20px;
4269
  direction: rtl;
4270
  }
4271
+
4272
+ /**
4273
+ * Flatpickr
4274
+ */
4275
+ .flatpickr-calendar {
4276
+ background: transparent;
4277
+ opacity: 0;
4278
+ display: none;
4279
+ text-align: center;
4280
+ visibility: hidden;
4281
+ padding: 0;
4282
+ -webkit-animation: none;
4283
+ animation: none;
4284
+ direction: ltr;
4285
+ border: 0;
4286
+ font-size: 14px;
4287
+ line-height: 24px;
4288
+ border-radius: 5px;
4289
+ position: absolute;
4290
+ width: 307.875px;
4291
+ -webkit-box-sizing: border-box;
4292
+ box-sizing: border-box;
4293
+ -ms-touch-action: manipulation;
4294
+ touch-action: manipulation;
4295
+ background: #fff;
4296
+ -webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
4297
+ box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
4298
+ }
4299
+
4300
+ .flatpickr-calendar.open,
4301
+ .flatpickr-calendar.inline {
4302
+ opacity: 1;
4303
+ max-height: 640px;
4304
+ visibility: visible;
4305
+ }
4306
+
4307
+ .flatpickr-calendar.open {
4308
+ display: inline-block;
4309
+ z-index: 99999;
4310
+ }
4311
+
4312
+ .flatpickr-calendar.animate.open {
4313
+ -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
4314
+ animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
4315
+ }
4316
+
4317
+ .flatpickr-calendar.inline {
4318
+ display: block;
4319
+ position: relative;
4320
+ top: 2px;
4321
+ }
4322
+
4323
+ .flatpickr-calendar.static {
4324
+ position: absolute;
4325
+ top: calc(100% + 2px);
4326
+ }
4327
+
4328
+ .flatpickr-calendar.static.open {
4329
+ z-index: 999;
4330
+ display: block;
4331
+ }
4332
+
4333
+ .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
4334
+ -webkit-box-shadow: none !important;
4335
+ box-shadow: none !important;
4336
+ }
4337
+
4338
+ .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
4339
+ -webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
4340
+ box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
4341
+ }
4342
+
4343
+ .flatpickr-calendar .hasWeeks .dayContainer,
4344
+ .flatpickr-calendar .hasTime .dayContainer {
4345
+ border-bottom: 0;
4346
+ border-bottom-right-radius: 0;
4347
+ border-bottom-left-radius: 0;
4348
+ }
4349
+
4350
+ .flatpickr-calendar .hasWeeks .dayContainer {
4351
+ border-left: 0;
4352
+ }
4353
+
4354
+ .flatpickr-calendar.hasTime .flatpickr-time {
4355
+ height: 40px;
4356
+ border-top: 1px solid #e6e6e6;
4357
+ }
4358
+
4359
+ .flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
4360
+ height: auto;
4361
+ }
4362
+
4363
+ .flatpickr-calendar:before,
4364
+ .flatpickr-calendar:after {
4365
+ position: absolute;
4366
+ display: block;
4367
+ pointer-events: none;
4368
+ border: solid transparent;
4369
+ content: '';
4370
+ height: 0;
4371
+ width: 0;
4372
+ left: 22px;
4373
+ }
4374
+
4375
+ .flatpickr-calendar.rightMost:before,
4376
+ .flatpickr-calendar.arrowRight:before,
4377
+ .flatpickr-calendar.rightMost:after,
4378
+ .flatpickr-calendar.arrowRight:after {
4379
+ left: auto;
4380
+ right: 22px;
4381
+ }
4382
+
4383
+ .flatpickr-calendar.arrowCenter:before,
4384
+ .flatpickr-calendar.arrowCenter:after {
4385
+ left: 50%;
4386
+ right: 50%;
4387
+ }
4388
+
4389
+ .flatpickr-calendar:before {
4390
+ border-width: 5px;
4391
+ margin: 0 -5px;
4392
+ }
4393
+
4394
+ .flatpickr-calendar:after {
4395
+ border-width: 4px;
4396
+ margin: 0 -4px;
4397
+ }
4398
+
4399
+ .flatpickr-calendar.arrowTop:before,
4400
+ .flatpickr-calendar.arrowTop:after {
4401
+ bottom: 100%;
4402
+ }
4403
+
4404
+ .flatpickr-calendar.arrowTop:before {
4405
+ border-bottom-color: #e6e6e6;
4406
+ }
4407
+
4408
+ .flatpickr-calendar.arrowTop:after {
4409
+ border-bottom-color: #fff;
4410
+ }
4411
+
4412
+ .flatpickr-calendar.arrowBottom:before,
4413
+ .flatpickr-calendar.arrowBottom:after {
4414
+ top: 100%;
4415
+ }
4416
+
4417
+ .flatpickr-calendar.arrowBottom:before {
4418
+ border-top-color: #e6e6e6;
4419
+ }
4420
+
4421
+ .flatpickr-calendar.arrowBottom:after {
4422
+ border-top-color: #fff;
4423
+ }
4424
+
4425
+ .flatpickr-calendar:focus {
4426
+ outline: 0;
4427
+ }
4428
+
4429
+ .flatpickr-wrapper {
4430
+ position: relative;
4431
+ display: inline-block;
4432
+ }
4433
+
4434
+ .flatpickr-months {
4435
+ display: -webkit-box;
4436
+ display: -webkit-flex;
4437
+ display: -ms-flexbox;
4438
+ display: flex;
4439
+ }
4440
+
4441
+ .flatpickr-months .flatpickr-month {
4442
+ background: transparent;
4443
+ color: rgba(0, 0, 0, 0.9);
4444
+ fill: rgba(0, 0, 0, 0.9);
4445
+ height: 34px;
4446
+ line-height: 1;
4447
+ text-align: center;
4448
+ position: relative;
4449
+ -webkit-user-select: none;
4450
+ -moz-user-select: none;
4451
+ -ms-user-select: none;
4452
+ user-select: none;
4453
+ overflow: hidden;
4454
+ -webkit-box-flex: 1;
4455
+ -webkit-flex: 1;
4456
+ -ms-flex: 1;
4457
+ flex: 1;
4458
+ }
4459
+
4460
+ .flatpickr-months .flatpickr-prev-month,
4461
+ .flatpickr-months .flatpickr-next-month {
4462
+ text-decoration: none;
4463
+ cursor: pointer;
4464
+ position: absolute;
4465
+ top: 0;
4466
+ height: 34px;
4467
+ padding: 10px;
4468
+ z-index: 3;
4469
+ color: rgba(0, 0, 0, 0.9);
4470
+ fill: rgba(0, 0, 0, 0.9);
4471
+ }
4472
+
4473
+ .flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
4474
+ .flatpickr-months .flatpickr-next-month.flatpickr-disabled {
4475
+ display: none;
4476
+ }
4477
+
4478
+ .flatpickr-months .flatpickr-prev-month i,
4479
+ .flatpickr-months .flatpickr-next-month i {
4480
+ position: relative;
4481
+ }
4482
+
4483
+ .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
4484
+ .flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
4485
+ /*
4486
+ /*rtl:begin:ignore*/
4487
+ /*
4488
+ */
4489
+ left: 0;
4490
+ /*
4491
+ /*rtl:end:ignore*/
4492
+ /*
4493
+ */
4494
+ }
4495
+
4496
+ /*
4497
+ /*rtl:begin:ignore*/
4498
+ /*
4499
+ /*rtl:end:ignore*/
4500
+ .flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
4501
+ .flatpickr-months .flatpickr-next-month.flatpickr-next-month {
4502
+ /*
4503
+ /*rtl:begin:ignore*/
4504
+ /*
4505
+ */
4506
+ right: 0;
4507
+ /*
4508
+ /*rtl:end:ignore*/
4509
+ /*
4510
+ */
4511
+ }
4512
+
4513
+ /*
4514
+ /*rtl:begin:ignore*/
4515
+ /*
4516
+ /*rtl:end:ignore*/
4517
+ .flatpickr-months .flatpickr-prev-month:hover,
4518
+ .flatpickr-months .flatpickr-next-month:hover {
4519
+ color: #959ea9;
4520
+ }
4521
+
4522
+ .flatpickr-months .flatpickr-prev-month:hover svg,
4523
+ .flatpickr-months .flatpickr-next-month:hover svg {
4524
+ fill: #f64747;
4525
+ }
4526
+
4527
+ .flatpickr-months .flatpickr-prev-month svg,
4528
+ .flatpickr-months .flatpickr-next-month svg {
4529
+ width: 14px;
4530
+ height: 14px;
4531
+ }
4532
+
4533
+ .flatpickr-months .flatpickr-prev-month svg path,
4534
+ .flatpickr-months .flatpickr-next-month svg path {
4535
+ -webkit-transition: fill 0.1s;
4536
+ transition: fill 0.1s;
4537
+ fill: inherit;
4538
+ }
4539
+
4540
+ .numInputWrapper {
4541
+ position: relative;
4542
+ height: auto;
4543
+ }
4544
+
4545
+ .numInputWrapper input,
4546
+ .numInputWrapper span {
4547
+ display: inline-block;
4548
+ }
4549
+
4550
+ .numInputWrapper input {
4551
+ width: 100%;
4552
+ }
4553
+
4554
+ .numInputWrapper input::-ms-clear {
4555
+ display: none;
4556
+ }
4557
+
4558
+ .numInputWrapper input::-webkit-outer-spin-button,
4559
+ .numInputWrapper input::-webkit-inner-spin-button {
4560
+ margin: 0;
4561
+ -webkit-appearance: none;
4562
+ }
4563
+
4564
+ .numInputWrapper span {
4565
+ position: absolute;
4566
+ right: 0;
4567
+ width: 14px;
4568
+ padding: 0 4px 0 2px;
4569
+ height: 50%;
4570
+ line-height: 50%;
4571
+ opacity: 0;
4572
+ cursor: pointer;
4573
+ border: 1px solid rgba(57, 57, 57, 0.15);
4574
+ -webkit-box-sizing: border-box;
4575
+ box-sizing: border-box;
4576
+ }
4577
+
4578
+ .numInputWrapper span:hover {
4579
+ background: rgba(0, 0, 0, 0.1);
4580
+ }
4581
+
4582
+ .numInputWrapper span:active {
4583
+ background: rgba(0, 0, 0, 0.2);
4584
+ }
4585
+
4586
+ .numInputWrapper span:after {
4587
+ display: block;
4588
+ content: "";
4589
+ position: absolute;
4590
+ }
4591
+
4592
+ .numInputWrapper span.arrowUp {
4593
+ top: 0;
4594
+ border-bottom: 0;
4595
+ }
4596
+
4597
+ .numInputWrapper span.arrowUp:after {
4598
+ border-left: 4px solid transparent;
4599
+ border-right: 4px solid transparent;
4600
+ border-bottom: 4px solid rgba(57, 57, 57, 0.6);
4601
+ top: 26%;
4602
+ }
4603
+
4604
+ .numInputWrapper span.arrowDown {
4605
+ top: 50%;
4606
+ }
4607
+
4608
+ .numInputWrapper span.arrowDown:after {
4609
+ border-left: 4px solid transparent;
4610
+ border-right: 4px solid transparent;
4611
+ border-top: 4px solid rgba(57, 57, 57, 0.6);
4612
+ top: 40%;
4613
+ }
4614
+
4615
+ .numInputWrapper span svg {
4616
+ width: inherit;
4617
+ height: auto;
4618
+ }
4619
+
4620
+ .numInputWrapper span svg path {
4621
+ fill: rgba(0, 0, 0, 0.5);
4622
+ }
4623
+
4624
+ .numInputWrapper:hover {
4625
+ background: rgba(0, 0, 0, 0.05);
4626
+ }
4627
+
4628
+ .numInputWrapper:hover span {
4629
+ opacity: 1;
4630
+ }
4631
+
4632
+ .flatpickr-current-month {
4633
+ font-size: 135%;
4634
+ line-height: inherit;
4635
+ font-weight: 300;
4636
+ color: inherit;
4637
+ position: absolute;
4638
+ width: 75%;
4639
+ left: 12.5%;
4640
+ padding: 7.48px 0 0 0;
4641
+ line-height: 1;
4642
+ height: 34px;
4643
+ display: inline-block;
4644
+ text-align: center;
4645
+ -webkit-transform: translate3d(0px, 0px, 0px);
4646
+ transform: translate3d(0px, 0px, 0px);
4647
+ }
4648
+
4649
+ .flatpickr-current-month span.cur-month {
4650
+ font-family: inherit;
4651
+ font-weight: 700;
4652
+ color: inherit;
4653
+ display: inline-block;
4654
+ margin-left: 0.5ch;
4655
+ padding: 0;
4656
+ }
4657
+
4658
+ .flatpickr-current-month span.cur-month:hover {
4659
+ background: rgba(0, 0, 0, 0.05);
4660
+ }
4661
+
4662
+ .flatpickr-current-month .numInputWrapper {
4663
+ width: 6ch;
4664
+ width: 7ch\0;
4665
+ display: inline-block;
4666
+ }
4667
+
4668
+ .flatpickr-current-month .numInputWrapper span.arrowUp:after {
4669
+ border-bottom-color: rgba(0, 0, 0, 0.9);
4670
+ }
4671
+
4672
+ .flatpickr-current-month .numInputWrapper span.arrowDown:after {
4673
+ border-top-color: rgba(0, 0, 0, 0.9);
4674
+ }
4675
+
4676
+ .flatpickr-current-month input.cur-year {
4677
+ background: transparent;
4678
+ -webkit-box-sizing: border-box;
4679
+ box-sizing: border-box;
4680
+ color: inherit;
4681
+ cursor: text;
4682
+ padding: 0 0 0 0.5ch;
4683
+ margin: 0;
4684
+ display: inline-block;
4685
+ font-size: inherit;
4686
+ font-family: inherit;
4687
+ font-weight: 300;
4688
+ line-height: inherit;
4689
+ height: auto;
4690
+ border: 0;
4691
+ border-radius: 0;
4692
+ vertical-align: initial;
4693
+ -webkit-appearance: textfield;
4694
+ -moz-appearance: textfield;
4695
+ appearance: textfield;
4696
+ }
4697
+
4698
+ .flatpickr-current-month input.cur-year:focus {
4699
+ outline: 0;
4700
+ }
4701
+
4702
+ .flatpickr-current-month input.cur-year[disabled],
4703
+ .flatpickr-current-month input.cur-year[disabled]:hover {
4704
+ font-size: 100%;
4705
+ color: rgba(0, 0, 0, 0.5);
4706
+ background: transparent;
4707
+ pointer-events: none;
4708
+ }
4709
+
4710
+ .flatpickr-current-month .flatpickr-monthDropdown-months {
4711
+ appearance: menulist;
4712
+ background: transparent;
4713
+ border: none;
4714
+ border-radius: 0;
4715
+ box-sizing: border-box;
4716
+ color: inherit;
4717
+ cursor: pointer;
4718
+ font-size: inherit;
4719
+ font-family: inherit;
4720
+ font-weight: 300;
4721
+ height: auto;
4722
+ line-height: inherit;
4723
+ margin: -1px 0 0 0;
4724
+ outline: none;
4725
+ padding: 0 0 0 0.5ch;
4726
+ position: relative;
4727
+ vertical-align: initial;
4728
+ -webkit-box-sizing: border-box;
4729
+ -webkit-appearance: menulist;
4730
+ -moz-appearance: menulist;
4731
+ width: auto;
4732
+ }
4733
+
4734
+ .flatpickr-current-month .flatpickr-monthDropdown-months:focus,
4735
+ .flatpickr-current-month .flatpickr-monthDropdown-months:active {
4736
+ outline: none;
4737
+ }
4738
+
4739
+ .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
4740
+ background: rgba(0, 0, 0, 0.05);
4741
+ }
4742
+
4743
+ .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
4744
+ background-color: transparent;
4745
+ outline: none;
4746
+ padding: 0;
4747
+ }
4748
+
4749
+ .flatpickr-weekdays {
4750
+ background: transparent;
4751
+ text-align: center;
4752
+ overflow: hidden;
4753
+ width: 100%;
4754
+ display: -webkit-box;
4755
+ display: -webkit-flex;
4756
+ display: -ms-flexbox;
4757
+ display: flex;
4758
+ -webkit-box-align: center;
4759
+ -webkit-align-items: center;
4760
+ -ms-flex-align: center;
4761
+ align-items: center;
4762
+ height: 28px;
4763
+ }
4764
+
4765
+ .flatpickr-weekdays .flatpickr-weekdaycontainer {
4766
+ display: -webkit-box;
4767
+ display: -webkit-flex;
4768
+ display: -ms-flexbox;
4769
+ display: flex;
4770
+ -webkit-box-flex: 1;
4771
+ -webkit-flex: 1;
4772
+ -ms-flex: 1;
4773
+ flex: 1;
4774
+ }
4775
+
4776
+ span.flatpickr-weekday {
4777
+ cursor: default;
4778
+ font-size: 90%;
4779
+ background: transparent;
4780
+ color: rgba(0, 0, 0, 0.54);
4781
+ line-height: 1;
4782
+ margin: 0;
4783
+ text-align: center;
4784
+ display: block;
4785
+ -webkit-box-flex: 1;
4786
+ -webkit-flex: 1;
4787
+ -ms-flex: 1;
4788
+ flex: 1;
4789
+ font-weight: bolder;
4790
+ }
4791
+
4792
+ .dayContainer,
4793
+ .flatpickr-weeks {
4794
+ padding: 1px 0 0 0;
4795
+ }
4796
+
4797
+ .flatpickr-days {
4798
+ position: relative;
4799
+ overflow: hidden;
4800
+ display: -webkit-box;
4801
+ display: -webkit-flex;
4802
+ display: -ms-flexbox;
4803
+ display: flex;
4804
+ -webkit-box-align: start;
4805
+ -webkit-align-items: flex-start;
4806
+ -ms-flex-align: start;
4807
+ align-items: flex-start;
4808
+ width: 307.875px;
4809
+ }
4810
+
4811
+ .flatpickr-days:focus {
4812
+ outline: 0;
4813
+ }
4814
+
4815
+ .dayContainer {
4816
+ padding: 0;
4817
+ outline: 0;
4818
+ text-align: left;
4819
+ width: 307.875px;
4820
+ min-width: 307.875px;
4821
+ max-width: 307.875px;
4822
+ -webkit-box-sizing: border-box;
4823
+ box-sizing: border-box;
4824
+ display: inline-block;
4825
+ display: -ms-flexbox;
4826
+ display: -webkit-box;
4827
+ display: -webkit-flex;
4828
+ display: flex;
4829
+ -webkit-flex-wrap: wrap;
4830
+ flex-wrap: wrap;
4831
+ -ms-flex-wrap: wrap;
4832
+ -ms-flex-pack: justify;
4833
+ -webkit-justify-content: space-around;
4834
+ justify-content: space-around;
4835
+ -webkit-transform: translate3d(0px, 0px, 0px);
4836
+ transform: translate3d(0px, 0px, 0px);
4837
+ opacity: 1;
4838
+ }
4839
+
4840
+ .dayContainer + .dayContainer {
4841
+ -webkit-box-shadow: -1px 0 0 #e6e6e6;
4842
+ box-shadow: -1px 0 0 #e6e6e6;
4843
+ }
4844
+
4845
+ .flatpickr-day {
4846
+ background: none;
4847
+ border: 1px solid transparent;
4848
+ border-radius: 150px;
4849
+ -webkit-box-sizing: border-box;
4850
+ box-sizing: border-box;
4851
+ color: #393939;
4852
+ cursor: pointer;
4853
+ font-weight: 400;
4854
+ width: 14.2857143%;
4855
+ -webkit-flex-basis: 14.2857143%;
4856
+ -ms-flex-preferred-size: 14.2857143%;
4857
+ flex-basis: 14.2857143%;
4858
+ max-width: 39px;
4859
+ height: 39px;
4860
+ line-height: 39px;
4861
+ margin: 0;
4862
+ display: inline-block;
4863
+ position: relative;
4864
+ -webkit-box-pack: center;
4865
+ -webkit-justify-content: center;
4866
+ -ms-flex-pack: center;
4867
+ justify-content: center;
4868
+ text-align: center;
4869
+ }
4870
+
4871
+ .flatpickr-day.inRange,
4872
+ .flatpickr-day.prevMonthDay.inRange,
4873
+ .flatpickr-day.nextMonthDay.inRange,
4874
+ .flatpickr-day.today.inRange,
4875
+ .flatpickr-day.prevMonthDay.today.inRange,
4876
+ .flatpickr-day.nextMonthDay.today.inRange,
4877
+ .flatpickr-day:hover,
4878
+ .flatpickr-day.prevMonthDay:hover,
4879
+ .flatpickr-day.nextMonthDay:hover,
4880
+ .flatpickr-day:focus,
4881
+ .flatpickr-day.prevMonthDay:focus,
4882
+ .flatpickr-day.nextMonthDay:focus {
4883
+ cursor: pointer;
4884
+ outline: 0;
4885
+ background: #e6e6e6;
4886
+ border-color: #e6e6e6;
4887
+ }
4888
+
4889
+ .flatpickr-day.today {
4890
+ border-color: #959ea9;
4891
+ }
4892
+
4893
+ .flatpickr-day.today:hover,
4894
+ .flatpickr-day.today:focus {
4895
+ border-color: #959ea9;
4896
+ background: #959ea9;
4897
+ color: #fff;
4898
+ }
4899
+
4900
+ .flatpickr-day.selected,
4901
+ .flatpickr-day.startRange,
4902
+ .flatpickr-day.endRange,
4903
+ .flatpickr-day.selected.inRange,
4904
+ .flatpickr-day.startRange.inRange,
4905
+ .flatpickr-day.endRange.inRange,
4906
+ .flatpickr-day.selected:focus,
4907
+ .flatpickr-day.startRange:focus,
4908
+ .flatpickr-day.endRange:focus,
4909
+ .flatpickr-day.selected:hover,
4910
+ .flatpickr-day.startRange:hover,
4911
+ .flatpickr-day.endRange:hover,
4912
+ .flatpickr-day.selected.prevMonthDay,
4913
+ .flatpickr-day.startRange.prevMonthDay,
4914
+ .flatpickr-day.endRange.prevMonthDay,
4915
+ .flatpickr-day.selected.nextMonthDay,
4916
+ .flatpickr-day.startRange.nextMonthDay,
4917
+ .flatpickr-day.endRange.nextMonthDay {
4918
+ background: #569ff7;
4919
+ -webkit-box-shadow: none;
4920
+ box-shadow: none;
4921
+ color: #fff;
4922
+ border-color: #569ff7;
4923
+ }
4924
+
4925
+ .flatpickr-day.selected.startRange,
4926
+ .flatpickr-day.startRange.startRange,
4927
+ .flatpickr-day.endRange.startRange {
4928
+ border-radius: 50px 0 0 50px;
4929
+ }
4930
+
4931
+ .flatpickr-day.selected.endRange,
4932
+ .flatpickr-day.startRange.endRange,
4933
+ .flatpickr-day.endRange.endRange {
4934
+ border-radius: 0 50px 50px 0;
4935
+ }
4936
+
4937
+ .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
4938
+ .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
4939
+ .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
4940
+ -webkit-box-shadow: -10px 0 0 #569ff7;
4941
+ box-shadow: -10px 0 0 #569ff7;
4942
+ }
4943
+
4944
+ .flatpickr-day.selected.startRange.endRange,
4945
+ .flatpickr-day.startRange.startRange.endRange,
4946
+ .flatpickr-day.endRange.startRange.endRange {
4947
+ border-radius: 50px;
4948
+ }
4949
+
4950
+ .flatpickr-day.inRange {
4951
+ border-radius: 0;
4952
+ -webkit-box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
4953
+ box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
4954
+ }
4955
+
4956
+ .flatpickr-day.flatpickr-disabled,
4957
+ .flatpickr-day.flatpickr-disabled:hover,
4958
+ .flatpickr-day.prevMonthDay,
4959
+ .flatpickr-day.nextMonthDay,
4960
+ .flatpickr-day.notAllowed,
4961
+ .flatpickr-day.notAllowed.prevMonthDay,
4962
+ .flatpickr-day.notAllowed.nextMonthDay {
4963
+ color: rgba(57, 57, 57, 0.3);
4964
+ background: transparent;
4965
+ border-color: transparent;
4966
+ cursor: default;
4967
+ }
4968
+
4969
+ .flatpickr-day.flatpickr-disabled,
4970
+ .flatpickr-day.flatpickr-disabled:hover {
4971
+ cursor: not-allowed;
4972
+ color: rgba(57, 57, 57, 0.1);
4973
+ }
4974
+
4975
+ .flatpickr-day.week.selected {
4976
+ border-radius: 0;
4977
+ -webkit-box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
4978
+ box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
4979
+ }
4980
+
4981
+ .flatpickr-day.hidden {
4982
+ visibility: hidden;
4983
+ }
4984
+
4985
+ .rangeMode .flatpickr-day {
4986
+ margin-top: 1px;
4987
+ }
4988
+
4989
+ .flatpickr-weekwrapper {
4990
+ float: left;
4991
+ }
4992
+
4993
+ .flatpickr-weekwrapper .flatpickr-weeks {
4994
+ padding: 0 12px;
4995
+ -webkit-box-shadow: 1px 0 0 #e6e6e6;
4996
+ box-shadow: 1px 0 0 #e6e6e6;
4997
+ }
4998
+
4999
+ .flatpickr-weekwrapper .flatpickr-weekday {
5000
+ float: none;
5001
+ width: 100%;
5002
+ line-height: 28px;
5003
+ }
5004
+
5005
+ .flatpickr-weekwrapper span.flatpickr-day,
5006
+ .flatpickr-weekwrapper span.flatpickr-day:hover {
5007
+ display: block;
5008
+ width: 100%;
5009
+ max-width: none;
5010
+ color: rgba(57, 57, 57, 0.3);
5011
+ background: transparent;
5012
+ cursor: default;
5013
+ border: none;
5014
+ }
5015
+
5016
+ .flatpickr-innerContainer {
5017
+ display: block;
5018
+ display: -webkit-box;
5019
+ display: -webkit-flex;
5020
+ display: -ms-flexbox;
5021
+ display: flex;
5022
+ -webkit-box-sizing: border-box;
5023
+ box-sizing: border-box;
5024
+ overflow: hidden;
5025
+ }
5026
+
5027
+ .flatpickr-rContainer {
5028
+ display: inline-block;
5029
+ padding: 0;
5030
+ -webkit-box-sizing: border-box;
5031
+ box-sizing: border-box;
5032
+ }
5033
+
5034
+ .flatpickr-time {
5035
+ text-align: center;
5036
+ outline: 0;
5037
+ display: block;
5038
+ height: 0;
5039
+ line-height: 40px;
5040
+ max-height: 40px;
5041
+ -webkit-box-sizing: border-box;
5042
+ box-sizing: border-box;
5043
+ overflow: hidden;
5044
+ display: -webkit-box;
5045
+ display: -webkit-flex;
5046
+ display: -ms-flexbox;
5047
+ display: flex;
5048
+ }
5049
+
5050
+ .flatpickr-time:after {
5051
+ content: "";
5052
+ display: table;
5053
+ clear: both;
5054
+ }
5055
+
5056
+ .flatpickr-time .numInputWrapper {
5057
+ -webkit-box-flex: 1;
5058
+ -webkit-flex: 1;
5059
+ -ms-flex: 1;
5060
+ flex: 1;
5061
+ width: 40%;
5062
+ height: 40px;
5063
+ float: left;
5064
+ }
5065
+
5066
+ .flatpickr-time .numInputWrapper span.arrowUp:after {
5067
+ border-bottom-color: #393939;
5068
+ }
5069
+
5070
+ .flatpickr-time .numInputWrapper span.arrowDown:after {
5071
+ border-top-color: #393939;
5072
+ }
5073
+
5074
+ .flatpickr-time.hasSeconds .numInputWrapper {
5075
+ width: 26%;
5076
+ }
5077
+
5078
+ .flatpickr-time.time24hr .numInputWrapper {
5079
+ width: 49%;
5080
+ }
5081
+
5082
+ .flatpickr-time input {
5083
+ background: transparent;
5084
+ -webkit-box-shadow: none;
5085
+ box-shadow: none;
5086
+ border: 0;
5087
+ border-radius: 0;
5088
+ text-align: center;
5089
+ margin: 0;
5090
+ padding: 0;
5091
+ height: inherit;
5092
+ line-height: inherit;
5093
+ color: #393939;
5094
+ font-size: 14px;
5095
+ position: relative;
5096
+ -webkit-box-sizing: border-box;
5097
+ box-sizing: border-box;
5098
+ -webkit-appearance: textfield;
5099
+ -moz-appearance: textfield;
5100
+ appearance: textfield;
5101
+ }
5102
+
5103
+ .flatpickr-time input.flatpickr-hour {
5104
+ font-weight: bold;
5105
+ }
5106
+
5107
+ .flatpickr-time input.flatpickr-minute,
5108
+ .flatpickr-time input.flatpickr-second {
5109
+ font-weight: 400;
5110
+ }
5111
+
5112
+ .flatpickr-time input:focus {
5113
+ outline: 0;
5114
+ border: 0;
5115
+ }
5116
+
5117
+ .flatpickr-time .flatpickr-time-separator,
5118
+ .flatpickr-time .flatpickr-am-pm {
5119
+ height: inherit;
5120
+ float: left;
5121
+ line-height: inherit;
5122
+ color: #393939;
5123
+ font-weight: bold;
5124
+ width: 2%;
5125
+ -webkit-user-select: none;
5126
+ -moz-user-select: none;
5127
+ -ms-user-select: none;
5128
+ user-select: none;
5129
+ -webkit-align-self: center;
5130
+ -ms-flex-item-align: center;
5131
+ align-self: center;
5132
+ }
5133
+
5134
+ .flatpickr-time .flatpickr-am-pm {
5135
+ outline: 0;
5136
+ width: 18%;
5137
+ cursor: pointer;
5138
+ text-align: center;
5139
+ font-weight: 400;
5140
+ }
5141
+
5142
+ .flatpickr-time input:hover,
5143
+ .flatpickr-time .flatpickr-am-pm:hover,
5144
+ .flatpickr-time input:focus,
5145
+ .flatpickr-time .flatpickr-am-pm:focus {
5146
+ background: #eee;
5147
+ }
5148
+
5149
+ .flatpickr-input[readonly] {
5150
+ cursor: pointer;
5151
+ }
5152
+
5153
+ @-webkit-keyframes fpFadeInDown {
5154
+ from {
5155
+ opacity: 0;
5156
+ -webkit-transform: translate3d(0, -20px, 0);
5157
+ transform: translate3d(0, -20px, 0);
5158
+ }
5159
+ to {
5160
+ opacity: 1;
5161
+ -webkit-transform: translate3d(0, 0, 0);
5162
+ transform: translate3d(0, 0, 0);
5163
+ }
5164
+ }
5165
+ @keyframes fpFadeInDown {
5166
+ from {
5167
+ opacity: 0;
5168
+ -webkit-transform: translate3d(0, -20px, 0);
5169
+ transform: translate3d(0, -20px, 0);
5170
+ }
5171
+ to {
5172
+ opacity: 1;
5173
+ -webkit-transform: translate3d(0, 0, 0);
5174
+ transform: translate3d(0, 0, 0);
5175
+ }
5176
+ }
admin/settings/assets/css/style.min.css CHANGED
@@ -1 +1 @@
1
- .ulf{position:relative}.ulf label{padding:0;margin:0;display:inline-block}.ulf-ab-icon{top:2px}#screen-meta-links+.ulf-options{margin-top:40px}.ulf-options{margin-top:20px;margin-right:20px}.ulf-header{position:relative}.ulf-header-inner{padding:25px;transition:box-shadow .3s ease}.ulf-header-inner h1{float:left;font-size:1.5em;line-height:26px;font-weight:400;margin:0}.ulf-header-inner h1 small{font-size:11px;font-weight:500}.ulf-sticky .ulf-header-inner{position:fixed;z-index:99;top:32px;box-shadow:0 5px 10px rgba(0,0,0,.1)}.ulf-buttons{float:right}.ulf-buttons .button{margin:0 2px;line-height:26px}.ulf-buttons .button:focus{outline:0!important;box-shadow:none!important}.ulf-buttons .ulf-save{min-width:72px}.ulf-header-left{float:left}.ulf-header-right{float:right}.ulf-nav{display:block;position:relative;z-index:10;float:left}.ulf-nav ul{clear:left;margin:0;list-style-type:none}.ulf-nav ul li{margin-bottom:0}.ulf-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;transition-property:color,background;transition-duration:.2s;transition-timing-function:ease}.ulf-nav ul li a:focus{outline:0;box-shadow:none}.ulf-nav ul li .ulf-arrow:after{content:"\f054";display:inline-block;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px}.ulf-nav ul li.ulf-tab-expanded .ulf-arrow:after{transform:rotate(90deg)}.ulf-nav ul li.ulf-tab-expanded ul{display:block}.ulf-nav ul ul{display:none;position:relative}.ulf-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.ulf-nav .ulf-tab-icon{width:20px;margin-right:5px;font-size:13px;text-align:center}.ulf-nav .ulf-label-error{margin-left:4px;vertical-align:top}.ulf-nav-normal{width:225px}.ulf-nav-normal+.ulf-content{margin-left:225px}.ulf-nav-inline{width:100%}.ulf-nav-inline ul li{display:inline-block;vertical-align:top}.ulf-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:225px}.ulf-wrapper{position:relative}.ulf-content{position:relative;background-color:#fff}.ulf-sections{float:left;width:100%}.ulf-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.ulf-section-title .ulf-section-icon{margin-right:5px}.ulf-footer{padding:20px;font-size:11px}.ulf-copyright{float:left;margin-top:5px}.ulf-search-all .ulf-nav,.ulf-search-all .ulf-nav-background,.ulf-show-all .ulf-nav,.ulf-show-all .ulf-nav-background{display:none}.ulf-search-all .ulf-content,.ulf-show-all .ulf-content{margin-left:0}.ulf-search-all .ulf-section,.ulf-search-all .ulf-section-title,.ulf-show-all .ulf-section,.ulf-show-all .ulf-section-title{display:block!important}.ulf-search-all .ulf-section-title{display:none!important}.ulf-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:13px;line-height:30px;cursor:pointer;user-select:none;border-radius:2px;transition:all .2s}.ulf-expand-all span{font-size:11px;vertical-align:middle}.ulf-search{float:left}.ulf-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:30px;min-height:30px;text-align:inherit;padding:0 10px;border-radius:2px;box-shadow:none}.ulf-search input:focus{box-shadow:none}.ulf-saving .ulf-buttons,.ulf-saving .ulf-content{cursor:default;pointer-events:none;opacity:.5}.ulf-metabox{margin:-6px -12px -12px -12px}.ulf-metabox .ulf-field{padding:20px}.ulf-metabox .ulf-section-title{padding:20px}.block-editor-page .ulf-metabox{margin:-6px -14px -14px -14px}.block-editor-editor-skeleton__content .ulf-metabox{border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.ulf-sections-reset{float:left;width:100%;text-align:right;border-top:1px solid #eee}.ulf-sections-reset .ulf-button-cancel,.ulf-sections-reset input{display:none}.ulf-sections-reset label{padding:10px}.ulf-sections-reset span{-webkit-user-select:none;user-select:none}.ulf-sections-reset input:checked~.ulf-button-reset{display:none}.ulf-sections-reset input:checked~.ulf-button-cancel{display:inline-block}#side-sortables .ulf-section-title{padding:12px}#side-sortables .ulf-field{padding:10px 15px}#side-sortables .ulf-field .ulf-title{float:none;width:100%;margin-bottom:6px}#side-sortables .ulf-field .ulf-fieldset{float:none;width:100%}#side-sortables .ulf-field-text input{width:100%}#side-sortables .ulf-notice{padding:10px 15px}.ulf-comment-metabox{margin:-6px -12px -12px -12px}.ulf-comment-metabox .ulf-field{padding:20px}.ulf-comment-metabox .ulf-section-title{padding:20px}.ulf-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:center;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);border-radius:4px}.ulf-theme-dark .ulf-header-inner{background-color:#050505}.ulf-theme-dark .ulf-header-inner h1{color:#fff}.ulf-theme-dark .ulf-header-inner h1 small{color:#555}.ulf-theme-dark .ulf-expand-all{color:#999;background-color:#222}.ulf-theme-dark .ulf-expand-all:hover{color:#fff;background-color:#333}.ulf-theme-dark .ulf-search input{color:#fff;background-color:#222}.ulf-theme-dark .ulf-search:focus{background-color:#444}.ulf-theme-dark .ulf-search::-webkit-input-placeholder{color:#666}.ulf-theme-dark .ulf-nav ul li a{color:#999;border-color:#2f2f2f;background-color:#222}.ulf-theme-dark .ulf-nav ul li a:hover{color:#fff}.ulf-theme-dark .ulf-nav ul li .ulf-active{color:#fff;background-color:#111}.ulf-theme-dark .ulf-nav ul ul li a{border-color:#2f2f2f;background-color:#191919}.ulf-theme-dark .ulf-nav ul ul li .ulf-active{background-color:#101010}.ulf-theme-dark .ulf-nav ul ul:before{background-color:rgba(34,34,34,.75)}.ulf-theme-dark .ulf-nav>ul>li:last-child>a{border:none}.ulf-theme-dark .ulf-nav-normal ul li a{border-bottom-width:1px;border-bottom-style:solid}.ulf-theme-dark .ulf-nav-normal ul li .ulf-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.ulf-theme-dark .ulf-nav-inline{background-color:#222}.ulf-theme-dark .ulf-nav-inline ul li a{text-align:center;border-right-width:1px;border-right-style:solid}.ulf-theme-dark .ulf-nav-inline ul li .ulf-active:after{content:" ";position:absolute;left:50%;bottom:0;height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#fff;border-width:4px;margin-left:-4px}.ulf-theme-dark .ulf-nav-background{background-color:#222}.ulf-theme-dark .ulf-footer{color:#555;background-color:#050505}.ulf-theme-light .ulf-container{border:1px solid #ccd0d4;box-shadow:0 0 15 rgba(0,0,0,.04)}.ulf-theme-light .ulf-header-inner{border-bottom:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fefefe,#f5f5f5)}.ulf-theme-light .ulf-header-inner h1 small{color:#999}.ulf-theme-light .ulf-expand-all{color:#999;background-color:#eee}.ulf-theme-light .ulf-expand-all:hover{color:#555}.ulf-theme-light .ulf-search input{color:#555;background-color:#eee}.ulf-theme-light .ulf-search input::-webkit-input-placeholder{color:#999}.ulf-theme-light .ulf-nav ul li a{font-weight:500;color:#444;background-color:#f5f5f5}.ulf-theme-light .ulf-nav ul li a:hover{color:#111;background-color:#fff}.ulf-theme-light .ulf-nav ul li .ulf-active{color:#111;background-color:#fff}.ulf-theme-light .ulf-nav ul ul li a{background-color:#eee}.ulf-theme-light .ulf-nav-normal>ul{margin-right:-1px;margin-bottom:-1px}.ulf-theme-light .ulf-nav-normal>ul li a{border-bottom:1px solid #ccd0d4;border-right:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-normal>ul li .ulf-active{border-right-color:#fff}.ulf-theme-light .ulf-nav-inline{background-color:#f5f5f5;border-bottom:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-inline>ul{margin-bottom:-1px}.ulf-theme-light .ulf-nav-inline>ul li a{text-align:center;border-right:1px solid #ccd0d4;border-bottom:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-inline>ul li .ulf-active{border-bottom-color:#fff}.ulf-theme-light .ulf-nav-inline>ul ul{display:none!important}.ulf-theme-light .ulf-nav-inline .ulf-arrow:after{display:none}.ulf-theme-light .ulf-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4}.ulf-theme-light .ulf-footer{color:#555;border-top:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.ulf-field{position:relative;padding:30px}.ulf-field+.ulf-field{border-top:1px solid #eee}.ulf-field p:first-child{margin-top:0}.ulf-field p:last-child{margin-bottom:0}.ulf-field:after,.ulf-field:before{content:" ";display:table}.ulf-field:after{clear:both}.ulf-field h4{margin-top:0}.ulf-field .ulf-title{position:relative;width:20%;float:left}.ulf-field .ulf-title h4{margin:0;color:#23282d}.ulf-field .ulf-fieldset{float:right;width:calc(80% - 20px)}.ulf-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.ulf-pseudo-field+.ulf-pseudo-field{border:0}.ulf-pseudo-field pre{display:none}.ulf-field-accordion .ulf-accordion-item{position:relative;margin-bottom:5px}.ulf-field-accordion .ulf-accordion-item:last-child{margin-bottom:0}.ulf-field-accordion .ulf-accordion-item h4{font-size:1em}.ulf-field-accordion .ulf-accordion-title{display:block;cursor:pointer;position:relative;margin:0;padding:15px;min-height:0;font-size:100%;user-select:none;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.ulf-field-accordion .ulf-accordion-title:active,.ulf-field-accordion .ulf-accordion-title:focus,.ulf-field-accordion .ulf-accordion-title:hover{outline:0;border-color:#999}.ulf-field-accordion .ulf-accordion-title .ulf--icon{width:20px;text-align:center;margin-right:2px}.ulf-field-accordion .ulf-accordion-icon{width:16px;text-align:center}.ulf-field-accordion .ulf-accordion-content{display:none;padding:0;border:1px solid #ccd0d4;border-top:none;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-accordion .ulf-accordion-content>.ulf-field{padding:15px}.ulf-field-accordion .ulf-accordion-open{display:block}.ulf-field-background .ulf-field{border:0!important;padding:0;margin-bottom:6px;margin-right:6px}.ulf-field-background .ulf--title{color:#777;font-size:12px}.ulf-field-background .ulf--background-colors{display:flex;flex-wrap:wrap}.ulf-field-background .ulf--background-attributes{display:flex;flex-wrap:wrap}.ulf-field-background .ulf--background-attributes select{min-width:100%;margin:0}.ulf-field-background .ulf--background-attributes .ulf-field{flex:1}.ulf-field-background .ulf--attributes-hidden{display:none}.ulf-field-backup textarea{width:100%;min-height:200px;margin-bottom:5px}.ulf-field-backup small{display:inline-block;margin:5px}.ulf-field-backup hr{margin:20px 0;border:none;border-bottom:1px solid #e5e5e5}.ulf-field-border .ulf--inputs,.ulf-field-dimensions .ulf--inputs,.ulf-field-spacing .ulf--inputs{float:left;display:flex;flex-wrap:wrap}.ulf-field-border .ulf--input,.ulf-field-dimensions .ulf--input,.ulf-field-spacing .ulf--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.ulf-field-border .ulf--input select,.ulf-field-dimensions .ulf--input select,.ulf-field-spacing .ulf--input select{margin:0}.ulf-field-border .ulf--input input,.ulf-field-dimensions .ulf--input input,.ulf-field-spacing .ulf--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;text-align:center}.ulf-field-border .ulf--color,.ulf-field-dimensions .ulf--color,.ulf-field-spacing .ulf--color{float:left}.ulf-field-border .ulf--label,.ulf-field-dimensions .ulf--label,.ulf-field-spacing .ulf--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.ulf-field-border .ulf--icon,.ulf-field-dimensions .ulf--icon,.ulf-field-spacing .ulf--icon{border-right:0;border-radius:4px 0 0 4px}.ulf-field-border .ulf--icon+input,.ulf-field-dimensions .ulf--icon+input,.ulf-field-spacing .ulf--icon+input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.ulf-field-border .ulf--unit,.ulf-field-dimensions .ulf--unit,.ulf-field-spacing .ulf--unit{border-left:0;border-radius:0 4px 4px 0}.ulf-field-border .ulf--is-unit,.ulf-field-dimensions .ulf--is-unit,.ulf-field-spacing .ulf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ulf-field-button_set .ulf--buttons{display:inline-block}.ulf-field-button_set .ulf--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:16px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.ulf-field-button_set .ulf--button:first-child{border-radius:4px 0 0 4px}.ulf-field-button_set .ulf--button:last-child{border-radius:0 4px 4px 0}.ulf-field-button_set .ulf--button:not(:first-child){margin-left:-1px}.ulf-field-button_set .ulf--button:hover{background-color:#eee}.ulf-field-button_set .ulf--active,.ulf-field-button_set .ulf--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.ulf-field-button_set input{display:none}.ulf-field-checkbox ul,.ulf-field-radio ul{margin:0;padding:0;list-style-type:none;overflow-y:auto;max-height:305px}.ulf-field-checkbox ul li,.ulf-field-radio ul li{margin-bottom:6px}.ulf-field-checkbox ul ul,.ulf-field-radio ul ul{max-height:none}.ulf-field-checkbox ul ul li,.ulf-field-radio ul ul li{margin-left:8px}.ulf-field-checkbox ul ul li:first-child,.ulf-field-radio ul ul li:first-child{margin-left:0}.ulf-field-checkbox input,.ulf-field-radio input{margin:0 1px}.ulf-field-checkbox .ulf--inline-list li,.ulf-field-radio .ulf--inline-list li{display:inline-block;margin-right:15px}.ulf-field-checkbox .ulf--text,.ulf-field-radio .ulf--text{margin-left:5px;vertical-align:middle}.ulf-field-checkbox .ulf-checker,.ulf-field-radio .ulf-checker{cursor:pointer}.ulf-field-code_editor .CodeMirror{width:100%;height:400px}.ulf-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.ulf-field-code_editor textarea{width:100%;height:400px}.ulf-field-color>input{opacity:.75;width:115px;max-width:100%}.ulf-field-color .button.wp-picker-clear{padding:0 8px;margin-left:6px;line-height:2.54545455;min-height:30px}.ulf-field-color_group .ulf--left{float:left;margin-right:10px;margin-bottom:5px}.ulf-field-color_group .ulf--title{color:#999;margin-bottom:5px}.ulf-field-fieldset .ulf-fieldset-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-fieldset .ulf-fieldset-content>.ulf-field{padding:15px}.ulf-field-fieldset .ulf-field-subheading{font-size:13px}.ulf-field-date input{margin:0}.ulf-field-date .ulf--to{margin-left:7px}.ulf-datepicker-wrapper{margin-top:5px;width:auto;background-color:#fff;z-index:9999999!important;box-shadow:0 0 30px rgba(0,0,0,.15)}.ulf-datepicker-wrapper *{float:none;margin:0;padding:0;font-family:inherit;font-weight:400;font-style:normal;text-decoration:none;border:0;border-radius:0;box-shadow:none}.ulf-datepicker-wrapper .ui-datepicker-header,.ulf-datepicker-wrapper .ui-widget-header{color:#fff;background:#00a0d2}.ulf-datepicker-wrapper .ui-datepicker-header .ui-state-hover{cursor:pointer}.ulf-datepicker-wrapper .ui-datepicker-title{font-size:14px;line-height:40px;text-align:center}.ulf-datepicker-wrapper .ui-datepicker-next,.ulf-datepicker-wrapper .ui-datepicker-prev{position:static;top:auto;left:auto;right:auto;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;text-align:center;width:41px;height:40px;line-height:40px;color:#fff;background-color:rgba(255,255,255,.1);text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ulf-datepicker-wrapper .ui-datepicker-next span,.ulf-datepicker-wrapper .ui-datepicker-prev span{display:none}.ulf-datepicker-wrapper .ui-datepicker-prev{float:left}.ulf-datepicker-wrapper .ui-datepicker-next{float:right}.ulf-datepicker-wrapper .ui-datepicker-prev:before{content:'\f053'}.ulf-datepicker-wrapper .ui-datepicker-next:before{content:'\f054'}.ulf-datepicker-wrapper .ui-datepicker-next-hover,.ulf-datepicker-wrapper .ui-datepicker-prev-hover{opacity:.75}.ulf-datepicker-wrapper tbody .ui-datepicker-week-col{background-color:#f7f7f7}.ulf-datepicker-wrapper .ui-datepicker-buttonpane{padding:10px;text-align:center;background-color:#f7f7f7}.ulf-datepicker-wrapper .ui-datepicker-buttonpane button{cursor:pointer;margin:0 5px;padding:7px 14px;border:1px solid #eee;background-color:#fff}.ulf-datepicker-wrapper select{margin:0 4px}.ulf-datepicker-wrapper select option{color:#555}.ulf-datepicker-wrapper table{font-size:13px;border-collapse:collapse;width:100%}.ulf-datepicker-wrapper thead{color:#fff;background:#32373c}.ulf-datepicker-wrapper th{text-align:center;padding:7px;border:1px solid #444}.ulf-datepicker-wrapper td{text-align:center;border:1px solid #f4f4f4}.ulf-datepicker-wrapper td.ui-datepicker-other-month{border:transparent}.ulf-datepicker-wrapper td .ui-state-default{color:#555;width:auto;display:block;padding:6px 12px}.ulf-datepicker-wrapper td .ui-state-active,.ulf-datepicker-wrapper td .ui-state-hover{color:#fff;background-color:#0073aa}.ulf-datepicker-wrapper td.ui-state-disabled .ui-state-default{opacity:.5}.ulf-field-gallery ul{margin:0;padding:0;list-style-type:none}.ulf-field-gallery ul li{display:inline-block;position:relative;padding:4px;margin:0 5px 10px 0;border:1px solid #ccc;background-color:#f9f9f9;border-radius:2px;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-field-gallery ul li img{max-height:60px;display:inline-block;vertical-align:middle}.ulf-field-gallery .button{margin-right:5px;margin-bottom:5px}.ulf-field-group .ulf-cloneable-hidden{display:none!important}.ulf-field-group .ulf-cloneable-wrapper{position:relative}.ulf-field-group .ulf-cloneable-item{display:none;position:relative;margin-bottom:5px}.ulf-field-group .ulf-cloneable-item h4{font-size:1em}.ulf-field-group .ui-accordion .ulf-cloneable-item{display:block}.ulf-field-group .ulf-cloneable-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-group .ulf-cloneable-content>.ulf-field{padding:15px}.ulf-field-group .ulf-cloneable-title{display:block;cursor:pointer;position:relative;user-select:none;margin:0;padding:15px 65px 15px 10px;min-height:0;font-size:100%;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.ulf-field-group .ulf-cloneable-title:active,.ulf-field-group .ulf-cloneable-title:focus,.ulf-field-group .ulf-cloneable-title:hover{border-color:#999;outline:0}.ulf-field-group .ulf-cloneable-helper{position:absolute;top:12px;right:10px;z-index:1;font-size:14px;line-height:1em}.ulf-field-group .ulf-cloneable-helper i{display:inline-block;cursor:pointer;padding:5px;color:#999}.ulf-field-group .ulf-cloneable-helper i:hover{color:#555}.ulf-field-group .ulf-cloneable-content{padding:0;border-top:0}.ulf-field-group .ulf-cloneable-title-number,.ulf-field-group .ulf-cloneable-title-prefix{margin-right:5px}.ulf-field-group .ulf-cloneable-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.ulf-field-group .widget-placeholder{margin-bottom:10px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-group .ulf-cloneable-header-icon{display:inline-block;text-align:center;font-size:14px;width:17px;text-indent:0;vertical-align:text-top}.ulf-field-group .ulf-cloneable-placeholder{background-color:#ddd;margin-top:4px;width:100px;height:10px;font-size:10px;line-height:10px;display:inline-block;vertical-align:top;border-radius:2px}.ulf-field-icon .button{margin-right:5px}.ulf-field-icon .ulf-icon-select{display:flex}.ulf-field-icon .ulf-icon-preview:not(.hidden){display:flex}.ulf-field-icon .ulf-icon-preview i{display:flex;justify-content:center;align-items:center;width:30px;font-size:14px;margin-right:5px;text-align:center;vertical-align:top;color:#555;border:1px solid #ccc;background-color:#f7f7f7;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-field-image_select .ulf--image{display:inline-block;margin:0 5px 5px 0}.ulf-field-image_select .ulf--inline-list .ulf--image{display:block}.ulf-field-image_select figure{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;transition:all .2s}.ulf-field-image_select figure:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.ulf-field-image_select .ulf--active figure{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.ulf-field-image_select .ulf--active figure:before{opacity:1}.ulf-field-image_select img{max-width:100%;height:auto;vertical-align:top}.ulf-field-image_select input{display:none}.ulf-field-link_color .ulf--left{float:left;margin-right:10px;margin-bottom:5px}.ulf-field-link_color .ulf--title{color:#777;margin-bottom:5px}.ulf-field-map input{width:100%}.ulf-field-map input[type=text].ui-autocomplete-loading{background-position-x:calc(100% - 5px)}.ulf-field-map .ulf--map-search+.ulf--map-osm-wrap{margin-top:10px}.ulf-field-map .ulf--map-osm-wrap{position:relative;padding:5px;border:1px solid #eee;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-map .ulf--map-osm{position:relative;z-index:1;min-height:250px}.ulf-field-map .ulf--map-inputs{margin-top:10px;display:flex;justify-content:space-between}.ulf-field-map .ulf--map-input{flex:1}.ulf-field-map .ulf--map-input:last-child{padding-left:10px}.ulf-field-map label{display:block;color:#777;font-size:12px;margin:0 0 2px 0}.ulf-map-ui-autocomplate{z-index:999999;border-radius:4px;overflow:hidden}.ulf-field-media .ulf--placeholder{display:flex;align-items:flex-start}.ulf-field-media .ulf--placeholder input{width:100%;margin:0}.ulf-field-media .button{margin-left:5px}.ulf-field-media .hidden+.button{margin-left:0}.ulf-field-media .ulf--preview{position:relative}.ulf-field-palette .ulf--palette{position:relative;display:inline-block;cursor:pointer;border:2px solid #ddd;margin-right:10px;margin-bottom:10px;user-select:none;-webkit-user-select:none;transition:all .2s}.ulf-field-palette .ulf--palette span{vertical-align:middle;display:inline-block;width:22px;height:60px;line-height:60px;overflow:hidden;text-indent:-999px}.ulf-field-palette .ulf--palette:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.ulf-field-palette .ulf--active{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.ulf-field-palette .ulf--active:before{opacity:1}.ulf-field-palette input{display:none}.ulf-field-repeater .ulf-field-text input{width:100%}.ulf-field-repeater .ulf-repeater-hidden{display:none!important}.ulf-field-repeater .ulf-repeater-wrapper .ulf-repeater-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.ulf-field-repeater .ulf-repeater-wrapper .ulf-repeater-item h4{font-size:1em}.ulf-field-repeater .ulf-repeater-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.ulf-field-repeater .ulf-repeater-content>.ulf-field{padding:15px}.ulf-field-repeater .ulf-repeater-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.ulf-field-repeater .ulf-repeater-helper i{display:inline-block;cursor:pointer;color:#999;padding:5px}.ulf-field-repeater .ulf-repeater-helper i:hover{color:#555}.ulf-field-repeater .ulf-repeater-helper-inner{width:75px}.ulf-field-repeater .ulf-repeater-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.ulf-field-repeater .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-repeater .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.ulf-field-repeater .ui-sortable-helper .ulf-repeater-content,.ulf-field-repeater .ui-sortable-helper .ulf-repeater-helper{display:none}.ulf-field-select .ulf-fieldset{min-height:30px}.ulf-field-select .ulf-chosen{display:none}.ulf-field-select select{max-width:100%;margin:0}.ulf-field-select .ulf-hide-select{display:none!important}.ulf-field-slider .ulf--wrap{display:flex;align-items:center}.ulf-field-slider .ulf--input{display:flex}.ulf-field-slider .ulf--unit{display:flex;justify-content:center;flex-direction:column;user-select:none;padding:0 6px;font-size:11px;line-height:1;border-radius:0 4px 4px 0;color:#555;border:1px solid #7e8993;border-left:0;background-color:#f5f5f5}.ulf-field-slider .ulf-slider-ui{margin-right:15px}.ulf-field-slider input[type=number]{position:relative;z-index:1;margin:0;width:50px;text-align:center}.ulf-field-slider .ulf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ulf-field-slider .ui-slider{position:relative;width:100%;height:3px;border:none;background:#ddd;border-radius:2px}.ulf-field-slider .ui-slider-range{height:3px;border:none;background:#333;border-radius:2px}.ulf-field-slider .ui-slider-handle{position:absolute;width:16px;height:16px;top:-7px;margin-left:-8px;border:none;background:#333;border-radius:2px}.ulf-field-slider .ui-slider-handle:hover,.ulf-field-slider .ui-state-active{cursor:pointer;background:#111}.ulf-field-sortable .ulf-field-text input{width:100%;max-width:100%}.ulf-field-sortable .ulf-sortable .ulf-sortable-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.ulf-field-sortable .ulf-sortable .ulf-sortable-item h4{font-size:1em}.ulf-field-sortable .ulf-sortable-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.ulf-field-sortable .ulf-sortable-content>.ulf-field{padding:15px}.ulf-field-sortable .ulf-sortable-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.ulf-field-sortable .ulf-sortable-helper i{display:inline-block;cursor:pointer;width:50px;color:#555}.ulf-field-sortable .ulf-sortable-helper i:hover{opacity:.5}.ulf-field-sortable .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-sortable .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.ulf-field-sortable .ui-sortable-helper .ulf-sortable-content,.ulf-field-sortable .ui-sortable-helper .ulf-sortable-helper{display:none}.ulf-field-sorter .ui-sortable-placeholder{height:20px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-sorter .ulf-modules{float:left;width:50%;box-sizing:border-box}.ulf-field-sorter .ulf-modules:first-child{padding-right:15px}.ulf-field-sorter .ulf-modules:last-child{padding-left:15px}.ulf-field-sorter .ulf-disabled,.ulf-field-sorter .ulf-enabled{padding:5px 15px;border:1px dashed #ddd;background-color:#fff}.ulf-field-sorter .ulf-disabled li{opacity:.5;transition:opacity .15s}.ulf-field-sorter .ulf-disabled .ui-sortable-helper{opacity:1}.ulf-field-sorter .ulf-sorter-title{font-size:13px;font-weight:600;padding:10px;text-align:center;border:1px dashed #ddd;border-bottom:none;background-color:#f8f8f8;text-transform:uppercase}.ulf-field-sorter ul{list-style-type:none;margin:0;padding:0;min-height:62px}.ulf-field-sorter ul li{margin:10px 0;padding:10px 15px;cursor:move;font-weight:700;text-align:center;border:1px solid #e5e5e5;background-color:#fafafa;transition:border-color .15s}.ulf-field-sorter ul li:hover{border-color:#bbb}.ulf-field-spinner .ulf--spin{display:flex}.ulf-field-spinner .ui-spinner{display:flex}.ulf-field-spinner .ui-button{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 4px;color:#555;border:1px solid #7e8993;background-color:#f5f5f5}.ulf-field-spinner .ui-spinner-button{cursor:pointer}.ulf-field-spinner .ui-spinner-button:hover{background-color:#e7e7e7}.ulf-field-spinner .ui-spinner-button:active{background-color:#ddd}.ulf-field-spinner .ui-spinner-button:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;line-height:14px}.ulf-field-spinner .ui-spinner-down{order:1;border-right:0;border-radius:4px 0 0 4px}.ulf-field-spinner .ui-spinner-down:before{content:"\f0d9"}.ulf-field-spinner .ui-spinner-input{order:2}.ulf-field-spinner .ulf--unit{order:3;border-left:0;user-select:none}.ulf-field-spinner .ui-spinner-up{order:4;border-left:0;border-radius:0 4px 4px 0}.ulf-field-spinner .ui-spinner-up:before{content:"\f0da"}.ulf-field-spinner input{position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.ulf-field-spinner .ui-button-icon,.ulf-field-spinner .ui-button-icon-space,.ulf-field-spinner .ui-button-text{display:none}.ulf-field-switcher .ulf--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.ulf-field-switcher .ulf--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.ulf-field-switcher .ulf--off,.ulf-field-switcher .ulf--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.ulf-field-switcher .ulf--off{padding-right:0;padding-left:28px;opacity:1}.ulf-field-switcher .ulf--active{background:#4fb845}.ulf-field-switcher .ulf--active .ulf--on{opacity:1}.ulf-field-switcher .ulf--active .ulf--off{opacity:0}.ulf-field-switcher .ulf--active .ulf--ball{left:100%;margin-left:-28px}.ulf-field-switcher .ulf--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.ulf-field-tabbed .ulf-tabbed-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-tabbed .ulf-tabbed-content>.ulf-field{padding:15px}.ulf-field-tabbed .ulf-tabbed-nav .ulf--icon{padding-right:5px}.ulf-field-tabbed .ulf-tabbed-nav a{display:inline-block;padding:12px 15px;margin-top:1px;margin-right:5px;margin-bottom:-1px;position:relative;text-decoration:none;color:#444;font-weight:600;border:1px solid #ccd0d4;background-color:#f3f3f3;transition:all .2s}.ulf-field-tabbed .ulf-tabbed-nav a:hover{background-color:#f9f9f9}.ulf-field-tabbed .ulf-tabbed-nav a.ulf-tabbed-active{background-color:#fff;border-bottom-color:#fff}.ulf-field-tabbed .ulf-tabbed-nav a:focus{outline:0;box-shadow:none}.ulf-field-text input{width:50%;max-width:100%;margin:0}.ulf-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.ulf-field-textarea .ulf-shortcode-button{margin-bottom:10px;margin-right:5px}.ulf-field-typography select,.ulf-field-typography textarea{margin:0;min-width:100%;max-width:100%}.ulf-field-typography .ulf--title{color:#777;margin:0 0 2px 0;font-size:12px}.ulf-field-typography .ulf--title small{vertical-align:top}.ulf-field-typography .ulf--blocks{display:flex;flex-wrap:wrap}.ulf-field-typography .ulf--block{flex:1;max-width:100%;padding-right:6px;padding-bottom:6px}.ulf-field-typography .ulf--input{margin:0;min-width:100%}.ulf-field-typography .ulf--input-wrap{position:relative}.ulf-field-typography .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-field-typography .ulf--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.ulf-field-typography .ulf--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;max-width:100%}.ulf-field-typography .ulf--black-background{border-color:#000;background-color:#000}.ulf-field-typography .ulf--toggle{position:absolute;top:5px;right:10px;color:#999}.ulf-field-typography .ulf--block-extra-styles{margin-top:5px}.ulf-field-upload input{width:100%;margin:0}.ulf-field-upload .ulf--wrap{display:flex;align-items:flex-start}.ulf-field-upload .button{margin-left:5px}.ulf-field-upload .ulf--preview{position:relative}.ulf-field-wp_editor .ulf-wp-editor{float:left;width:100%}.ulf-field-wp_editor .mce-toolbar-grp{border:none}.ulf-field-wp_editor .mce-btn.mce-active button,.ulf-field-wp_editor .mce-btn.mce-active i,.ulf-field-wp_editor .mce-btn.mce-active:hover button,.ulf-field-wp_editor .mce-btn.mce-active:hover i{color:#23282d}.ulf-field-wp_editor .wp-media-buttons{position:relative;z-index:2}.ulf-field-wp_editor .wp-editor-tabs{position:relative;z-index:1}.ulf-field-wp_editor .ulf-no-tinymce{border:1px solid #e5e5e5}.ulf-field-wp_editor .ulf-no-quicktags .wp-media-buttons{float:none;display:block}.ulf-field-wp_editor .ulf-no-quicktags .mce-tinymce{box-shadow:none;border:1px solid #e5e5e5}.ulf-field-wp_editor textarea{width:100%;max-width:100%;margin:0;box-shadow:none}.ulf-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.ulf-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.ulf-field-submessage{padding:0!important;border:0!important}.ulf-field-submessage+.ulf-field{border-top:0!important}.ulf-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.ulf-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.ulf-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.ulf-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.ulf-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.ulf-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.ulf-field-notice{background-color:#f7f7f7}.ulf-notice{padding:12px;background-color:#fff;border-left-style:solid;border-left-width:4px;box-shadow:0 1px 1px rgba(0,0,0,.1)}.ulf-notice-success{border-color:#46b450}.ulf-notice-info{border-color:#339fd4}.ulf-notice-warning{border-color:#ffbc00}.ulf-notice-danger{border-color:#dc3232}.ulf-notice-normal{border-color:#222}.ulf-field-number input{width:100%;margin:0}.ulf-field-number .ulf--wrap{position:relative;float:left;width:100px}.ulf-field-number .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-field-link .ulf--result{display:inline-block;font-size:12px;line-height:16px;padding:7px 10px;margin-bottom:7px;color:#777;border:1px solid #e5e5e5;background-color:#f5f5f5;border-radius:2px;world-break:break-word}.ulf-field-link .ulf--wrap{position:relative;float:left;width:100px}.ulf-field-link .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-help{cursor:help;position:absolute;top:0;right:0;padding:5px;font-size:13px;color:#aaa}.ulf-help .ulf-help-text{display:none}.ulf--preview{max-width:100%}.ulf-image-preview{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:6px;max-width:120px;max-height:120px;min-width:40px;min-height:40px;margin-bottom:10px;text-align:center;border-radius:2px;border:1px solid #ccc;background-color:#f9f9f9;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-image-preview i{cursor:pointer;position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.75;border-radius:2px;transition:all .2s}.ulf-image-preview i:hover{opacity:1}.ulf-image-preview i:focus{box-shadow:none}.ulf-image-preview span{position:relative;overflow:hidden;display:flex;height:100%;width:100%}.ulf-image-preview img{max-width:100%;height:auto;object-fit:contain}.ulf-field-custom .ulf-field{padding:0}.ulf-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.ulf-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.ulf-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.ulf-field .chosen-container-single .chosen-single abbr:hover{color:#555}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.ulf-field .chosen-container-single .chosen-single div b{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;color:#aaa;background:0 0}.ulf-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.ulf-field .chosen-container-single .chosen-single div b:hover{color:#555}.ulf-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.ulf-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.ulf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.ulf-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.ulf-field .chosen-container-single .chosen-search input[type=text]{background:0 0}.ulf-field .chosen-container-single .chosen-search:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:11px;content:"\f002";position:absolute;right:12px;top:10px;color:#aaa}.ulf-field .wp-picker-container{display:inline-block}.ulf-field .wp-picker-container .wp-color-result.button{margin-bottom:0}.ulf-field .ulf--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.ulf-field .wp-picker-active .ulf--transparent-wrap{display:block}.ulf-field .ulf--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.ulf-field .ulf--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2)}.ulf-field .ulf--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.ulf-field .ulf--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;border-radius:2px;box-shadow:inset 0 0 5px rgba(0,0,0,.4)}.ulf-field .ulf--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.ulf-field .ulf--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.ulf-field .ulf--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.ulf-field .ulf--transparent-active .ulf--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.ulf-field .ulf--transparent-active .fa:before{content:"\f205"}.ulf-widgets>.ulf-field{position:relative;top:-1px;margin-left:-15px;margin-right:-15px;padding:12px 15px}.ulf-widgets>.ulf-field .ulf-title{float:none;width:100%;margin-bottom:5px}.ulf-widgets>.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-widgets .ulf-field-text input{width:100%}.ulf-widgets .ulf-field-notice .ulf-notice{padding:15px}.control-section .ulf-widgets>.ulf-field{margin-left:-10px;margin-right:-10px;padding:10px 12px}.wp-block .ulf-widgets{font-size:13px}.wp-block .ulf-widgets>.ulf-field{margin-left:-10px;margin-right:-10px}.wp-block .ulf-widgets>.ulf-field .button-primary{color:#fff}.wp-block .ulf-widgets>.ulf-field>.ulf-title>h4{font-size:13px}.control-section .ulf-field{padding:0}.control-section .ulf-field .ulf-title{float:none;width:100%;margin-bottom:6px}.control-section .ulf-field .ulf-title h4{display:block;font-size:13px;line-height:1;font-weight:600;color:inherit}.control-section .ulf-field .ulf-fieldset{float:none;width:100%}.control-section .ulf-help{top:-5px;right:-5px}.control-section .ulf-field-select select{width:100%}.control-section .ulf-field-heading{color:inherit;font-size:14px;line-height:1em;margin-right:-15px;margin-left:-15px;padding:15px}.control-section .ulf-field-subheading{color:inherit;font-size:11px;margin-right:-15px;margin-left:-15px;padding:10px 15px}.control-section .ulf-subtitle-text{margin-top:4px;font-size:12px}.control-section .ulf-field-submessage .ulf-submessage{margin-right:-15px;margin-left:-15px;padding:15px}.control-section .ulf-fieldset .ulf-field-heading,.control-section .ulf-fieldset .ulf-field-subheading,.control-section .ulf-fieldset .ulf-field-submessage .ulf-submessage{margin-left:0;margin-right:0}.control-section .ulf-field-date .ulf--to{margin-left:0}.control-section .ulf-field-sorter ul li{padding:5px}.control-section .ulf-field-sorter .ulf-modules{float:none;width:100%}.control-section .ulf-field-sorter .ulf-modules:first-child{padding-right:0;padding-bottom:15px}.control-section .ulf-field-background .ulf--background-attributes{flex-direction:column}.control-section .ulf-field-spacing input{width:90px}.control-section .ulf-field-border .ulf--input{flex:1 50%}.control-section .ulf-field-border input,.control-section .ulf-field-border select{width:100%}.control-section .ulf-field-spinner input{width:50px}.control-section .ulf-field-number .ulf--wrap{width:100%}.control-section .ulf-field-backup .ulf-export-data{display:none}.control-section .ulf-field-fieldset .ulf-fieldset-content{border-color:#e5e5e5}.control-section .ulf-accordion-content>.ulf-field,.control-section .ulf-cloneable-content>.ulf-field,.control-section .ulf-fieldset-content>.ulf-field,.control-section .ulf-repeater-content>.ulf-field,.control-section .ulf-sortable-content>.ulf-field,.control-section .ulf-tabbed-content>.ulf-field{padding:10px}.control-section .ulf-accordion-content>.ulf-field .ulf-title,.control-section .ulf-cloneable-content>.ulf-field .ulf-title,.control-section .ulf-fieldset-content>.ulf-field .ulf-title,.control-section .ulf-repeater-content>.ulf-field .ulf-title,.control-section .ulf-sortable-content>.ulf-field .ulf-title,.control-section .ulf-tabbed-content>.ulf-field .ulf-title{margin-bottom:5px}.control-section .ulf-accordion-content>.ulf-field h4,.control-section .ulf-cloneable-content>.ulf-field h4,.control-section .ulf-fieldset-content>.ulf-field h4,.control-section .ulf-repeater-content>.ulf-field h4,.control-section .ulf-sortable-content>.ulf-field h4,.control-section .ulf-tabbed-content>.ulf-field h4{font-size:12px}.control-section .ulf-depend-hidden.ulf-depend-on{display:none!important}.control-section .ulf-depend-visible.ulf-depend-on{border-top:0!important}.ulf-taxonomy{max-width:95%}.ulf-taxonomy>.ulf-field{border-top:none!important}.ulf-taxonomy>.ulf-field-heading{font-size:1.1em;padding:20px!important;border:1px solid #ddd}.ulf-taxonomy>.ulf-field-subheading{font-size:12px;padding:15px!important;border:1px solid #ddd}.ulf-taxonomy>.ulf-field-submessage .ulf-submessage{padding:15px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.ulf-taxonomy>.ulf-field-notice{background-color:transparent}.ulf-taxonomy .ulf-section-title{display:block;padding:15px;background-color:#f9f9f9;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-taxonomy-add-fields>.ulf-field{padding:8px 0}.ulf-taxonomy-add-fields>.ulf-field>.ulf-title{float:none;width:100%;padding:2px 2px 4px 0}.ulf-taxonomy-add-fields>.ulf-field>.ulf-title h4{font-size:12px;font-weight:400}.ulf-taxonomy-add-fields>.ulf-field>.ulf-fieldset{float:none;width:100%}.ulf-taxonomy-add-fields>.ulf-field>.ulf-fieldset>.ulf-help{right:-5px}.ulf-taxonomy-add-fields+p.submit{margin-top:0}.ulf-taxonomy-edit-fields>.ulf-field{padding:20px 0}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title{width:200px}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset{width:calc(100% - 220px)}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset>.ulf-help{top:-5px;right:-5px}.ulf-taxonomy-edit-fields>.ulf-field-submessage{margin:20px 0}.ulf-taxonomy-edit-fields>.ulf-field-heading,.ulf-taxonomy-edit-fields>.ulf-field-subheading{margin:20px 0;border:1px solid #ddd}.ulf-nav-menu-options{clear:both;float:left;width:100%}.ulf-nav-menu-options>.ulf-fields{margin-left:-10px;margin-top:10px;margin-bottom:10px;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-nav-menu-options>.ulf-fields>.ulf-field{padding:12px 14px 12px 12px}.ulf-nav-menu-options>.ulf-fields>.ulf-field .ulf-title{float:none;width:100%;margin-bottom:5px}.ulf-nav-menu-options>.ulf-fields>.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-nav-menu-options .ulf-field-text input{width:100%}.ulf-nav-menu-options .ulf-field-notice .ulf-notice{padding:15px}.ulf-nav-menu-title{padding:12px 14px 12px 12px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-nav-menu-title:first-child{border-top:0}.ulf-nav-menu-title h4{margin:0;padding:0;color:#23282d}.ulf-nav-menu-icon{margin-right:5px}.ulf-profile-options>h2>.fa{padding-right:7px}.ulf-profile-options>.ulf-field{max-width:750px;padding:15px 0;border-top:none!important}.ulf-profile-options>.ulf-field>.ulf-title{width:200px}.ulf-profile-options>.ulf-field>.ulf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.ulf-profile-options>.ulf-field>.ulf-fieldset{width:calc(100% - 220px)}.ulf-profile-options>.ulf-field>.ulf-fieldset>.ulf-help{top:-15px;right:-5px}.ulf-profile-options>.ulf-field-heading{font-size:1.1em}.ulf-profile-options>.ulf-field-subheading{font-size:12px}.ulf-profile-options>.ulf-field-heading,.ulf-profile-options>.ulf-field-subheading{margin:10px 0;padding:15px!important;border:1px solid #ddd}.ulf-profile-options>.ulf-field-submessage{margin:20px 0}.ulf-profile-options>.ulf-field-submessage .ulf-submessage{padding:10px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.ulf-profile-options>.ulf-field-notice{background-color:transparent}.ulf-modal{position:fixed;z-index:100101;top:0;left:0;width:100%;height:100%}.ulf-modal.hidden{display:none}.ulf-modal-icon{z-index:100102}.ulf-modal-table{display:table;width:100%;height:100%}.ulf-modal-table-cell{display:table-cell;vertical-align:middle;margin:100px 0}.ulf-modal-inner{position:relative;z-index:10;width:760px;height:750px;margin:0 auto;background-color:#fff}.ulf-modal-content{position:relative;overflow:hidden;overflow-y:auto;height:595px}.ulf-modal-content .ulf-shortcode-button{display:none}.ulf-modal-content .ulf-field{padding:15px 30px 15px 15px}.ulf-modal-content a:active,.ulf-modal-content a:focus{outline:0;box-shadow:none}.ulf-modal-content h4{font-size:13px}.ulf-modal-content h4 small{font-style:italic;font-weight:400;color:#aaa}.ulf-modal-title{position:relative;background-color:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:16px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.ulf-modal-header{width:100%;padding:14px 0;background-color:#f5f5f5;border-bottom:1px solid #ddd}.ulf-modal-header select{display:block;width:250px;margin:0 auto;font-size:13px;line-height:1;height:30px;min-height:30px;background-color:#fff}.ulf-modal-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}.ulf-modal-close:before{font:normal 20px/36px dashicons;content:"\f158";vertical-align:top;width:36px;height:36px}.ulf-modal-close:hover{opacity:.5}.ulf-modal-insert-wrapper{text-align:center;width:100%;padding:15px 0;background-color:#f5f5f5;border-top:1px solid #ddd}.ulf-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5}.ulf--repeatable{padding:15px 15px 0 15px}.ulf--repeat-button-block{text-align:center;padding-bottom:15px}.ulf--repeat-shortcode{position:relative;margin-bottom:15px;border:1px dashed #ddd}.ulf--repeat-shortcode:first-child .ulf-repeat-remove{display:none}.ulf--repeat-shortcode .ulf-repeat-remove{position:absolute;right:10px;top:10px;z-index:10;cursor:pointer;display:inline-block;font-size:11px;width:18px;height:18px;line-height:18px;text-align:center;border-radius:2px;color:#fff;background-color:#e14d43;opacity:.5}.ulf--repeat-shortcode .ulf-repeat-remove:hover{opacity:.5}.ulf-shortcode-single .ulf-modal-inner{height:750px}.ulf-shortcode-single .ulf-modal-content{height:652px}.elementor-editor-active .ulf-shortcode-button{margin-left:5px}.elementor-editor-active .ulf-modal .hidden{display:none!important}.ulf-shortcode-block{text-align:center;padding:14px;font-size:13px;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.ulf-shortcode-block .components-button{margin-bottom:10px}.ulf-modal-icon .ulf-icon-title{padding:15px 0;margin:4px;font-size:14px;font-weight:700;text-align:center;border:1px solid #eee;background-color:#f7f7f7}.ulf-modal-icon .ulf-modal-header{text-align:center}.ulf-modal-icon .ulf-icon-search{width:50%;height:40px;line-height:40px}.ulf-modal-icon i{cursor:pointer;display:inline-block;margin:4px;width:35px;height:35px;line-height:35px;font-size:16px;color:#555;text-align:center;border:1px solid #ccc;background-color:#f7f7f7;border-radius:2px;box-shadow:1px 1px 0 rgba(0,0,0,.05)}.ulf-modal-icon i:hover{color:#fff;border-color:#222;background-color:#222}.ulf-modal-icon .ulf-modal-content{padding:10px;height:618px}.ulf-modal-icon .ulf-error-text{padding:10px}.ulf-modal-loading{display:none;position:absolute;left:15px;top:15px}.ulf-loading{position:relative;width:20px;height:20px;background:#ccc;border-radius:20px;box-shadow:0 2px 5px rgba(0,0,0,.07)}.ulf-loading:after{position:absolute;top:50%;left:50%;width:4px;height:4px;content:"";margin-top:-2px;margin-left:-2px;background-color:#fff;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:ulfLoader;border-radius:4px}@keyframes ulfLoader{0%{transform:rotate(0) translateX(-6px) rotate(0)}100%{transform:rotate(360deg) translateX(-6px) rotate(-360deg)}}.ulf-subtitle-text{margin-top:6px;font-weight:400;color:#999}.ulf-desc-text{clear:both;float:left;width:100%;margin-top:6px;font-weight:400;color:#999}.ulf-error-text{margin-top:6px;color:#d02c21}.ulf-before-text{margin-bottom:6px}.ulf-after-text{margin-top:6px}.ulf-metabox-hide{display:none!important}.ulf-metabox-show{display:block!important}.ulf-depend-hidden.ulf-depend-on{display:none}.ulf-depend-visible.ulf-depend-on{display:block;opacity:.75;filter:grayscale(1);user-select:none;border-top:1px solid #eee}.ulf-depend-visible.ulf-depend-on .clear:before{content:"";left:0;top:0;right:0;bottom:0;position:absolute;background-color:#eee;opacity:.25;z-index:10}.ulf-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.ulf-warning-primary:focus,.ulf-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.ulf-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.ulf-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.ulf-form-result{display:none;float:left;padding:0 8px;margin-right:4px;font-size:11px;line-height:30px;user-select:none;border-radius:2px}.ulf-form-show{display:block}.ulf-form-success{color:#fff;background-color:#46b450}.ulf-form-warning{color:#8a6d3b;background-color:#faebcc}.ulf-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;border-radius:2px}.ulf-no-option{padding:30px}.ulf-input-number{-moz-appearance:textfield}.ulf-input-number::-webkit-inner-spin-button,.ulf-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ulf-fa5-shims .ulf .fab,.ulf-fa5-shims .ulf .far,.ulf-fa5-shims .ulf .fas{font-family:FontAwesome;font-style:normal}.ulf-welcome-wrap{position:relative;margin:25px 40px 0 20px;font-size:15px;max-width:1200px}.ulf-welcome-wrap p{font-size:14px;line-height:1.5}.ulf-welcome-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.ulf-welcome-wrap .ulf-logo{position:absolute;overflow:hidden;top:0;right:0;height:160px;width:140px;background-image:linear-gradient(45deg,#2d67cb,#ad19f3);box-shadow:0 1px 4px rgba(0,0,0,.25),inset 0 0 0 4px rgba(0,0,0,.25)}.ulf-welcome-wrap .ulf-logo .ulf--effects i{position:absolute;width:200px;height:100px;background-color:rgba(0,0,0,.15);transform:rotate(-45deg)}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(1){bottom:-20px;right:-70px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(2){bottom:-35px;right:-80px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(3){bottom:-50px;right:-90px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(4){bottom:-65px;right:-100px}.ulf-welcome-wrap .ulf-logo .ulf--wp-logos{position:relative;padding-top:25px;text-align:center}.ulf-welcome-wrap .ulf-logo .ulf--wp-logo{position:absolute;left:20px;width:20px;height:20px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-logo.svg)}.ulf-welcome-wrap .ulf-logo .ulf--wp-plugin-logo{display:inline-block;width:50px;height:50px;border:3px solid #fff;background-size:40px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-plugin-logo.svg);border-radius:100%;vertical-align:middle}.ulf-welcome-wrap .ulf-logo .ulf--text{position:absolute;left:0;right:0;top:90px;color:#fff;font-size:13px;line-height:1.2em;font-weight:600;text-align:center;text-transform:uppercase;text-shadow:1px 1px 0 rgba(0,0,0,.25)}.ulf-welcome-wrap .ulf-logo .ulf--version{top:auto;left:auto;right:8px;bottom:4px;font-size:11px;text-transform:lowercase}.ulf-welcome-wrap .ulf-about-text{font-weight:400;line-height:1.6em;font-size:19px;margin:1em 200px 1em 0;color:#555d66}.ulf-welcome-wrap .ulf-demo-button{margin:1em 200px 2em 0}.ulf-welcome-wrap .nav-tab-wrapper{margin-bottom:20px}.ulf-welcome-wrap ul{list-style-type:disc;padding-left:15px}.ulf-welcome-wrap .ulf--col{float:left;padding-right:20px;box-sizing:border-box}.ulf-welcome-wrap .ulf--col-2{width:50%}.ulf-welcome-wrap .ulf--col-3{width:33.333%}.ulf-welcome-wrap .ulf--col-4{width:25%}.ulf-welcome-wrap .ulf--col-5{width:20%}.ulf-welcome-wrap .ulf--col-last{padding-right:0}.ulf-welcome-wrap .ulf--col-upgrade{padding:10px 0;text-align:center;border-top:1px solid #e5e5e5}.ulf--table-compare tfoot td,.ulf--table-compare thead td{text-align:center}.ulf--table-compare td{font-size:14px;text-align:center;vertical-align:middle;padding:10px}.ulf--table-compare td:first-child{text-align:left}.ulf--table-compare tfoot td{padding:15px 0}.ulf--table-compare .fa{font-size:18px}.ulf--table-compare .fa-check-circle{color:#46b450}.ulf--table-compare .fa-times-circle{color:#dc3232}.ulf-welcome-cols{clear:both;margin:20px 0;background-color:#fff;padding:0 0;border-radius:2px;border:1px solid #e5e5e5}.ulf-welcome-cols .ulf--col{width:33.333%;float:left;padding:20px;text-align:center;box-sizing:border-box;min-height:200px;border-right:1px solid #e5e5e5}.ulf-welcome-cols .ulf--block,.ulf-welcome-cols .ulf--left{float:left;width:20%;padding:0 30px;text-align:center;box-sizing:border-box}.ulf-welcome-cols .ulf--block{width:80%}.ulf-welcome-cols .ulf--col-first{border-bottom:1px solid #e5e5e5}.ulf-welcome-cols .ulf--last{border-right:none}.ulf-welcome-cols .ulf--space{height:20px}.ulf-welcome-cols .ulf--icon{display:inline-block;font-size:20px;width:30px;height:30px;line-height:30px;text-align:center;margin-bottom:10px;color:#fff;background-color:#555;border-radius:30px}.ulf-welcome-cols .ulf--active{background-color:#5cb85c}.ulf-welcome-cols .ulf--deactive{background-color:#e14d43}.ulf-welcome-cols .ulf--title{font-weight:700;display:block}.ulf-welcome-cols p:last-child{margin-bottom:0}.ulf-features-cols .ulf--key-features{width:30%}.ulf-features-cols .ulf--available-fields{width:70%}.ulf-code-block{margin:20px 0;padding:5px 20px;background-color:#fff;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.15)}.ulf-code-block pre{font-size:13px;color:#0073aa}.ulf-code-block pre span{color:#999}.ulf--table-fields td{font-size:14px}.ulf--upgrade a{color:#5cb85c;font-weight:700}.ulf--upgrade a:focus,.ulf--upgrade a:hover{color:#4aa14a;outline:0;box-shadow:none}@media only screen and (max-width:782px){.ulf-welcome-cols .ulf--col{width:100%;min-height:auto;border-right:none;border-bottom:1px solid #e5e5e5}.ulf-features-cols .ulf--key-features{width:100%}.ulf-features-cols .ulf--available-fields{width:100%}}@media only screen and (max-width:1200px){.ulf-metabox .ulf-field .ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-metabox .ulf-field .ulf-fieldset{float:none;width:100%}}@media only screen and (max-width:782px){.ulf-header-inner{text-align:center}.ulf-header-inner h1{width:100%;margin-bottom:10px}.ulf-form-result{float:none;margin-right:0;margin-bottom:10px}.ulf-header-left,.ulf-header-right,.ulf-search{width:100%}.ulf-search{text-align:center;margin-bottom:15px}.ulf-footer{text-align:center}.ulf-buttons{float:none}.ulf-copyright{float:none;margin-top:10px}.ulf-expand-all,.ulf-nav,.ulf-nav-background,.ulf-reset-section{display:none!important}.ulf-nav-normal+.ulf-content{margin-left:0}.ulf-section,.ulf-section-title{display:block!important}.ulf-field .ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-field-color .button.wp-picker-clear{padding:0 8px;line-height:2.14285714;min-height:32px}.ulf-modal-inner{width:350px;height:400px}.ulf-modal-content{height:237px}.ulf-icon-dialog .ulf-modal-inner{width:305px;height:380px}.ulf-icon-dialog .ulf-modal-content{height:267px}.ulf-modal-icon .ulf-modal-inner{width:330px;height:385px}.ulf-modal-icon .ulf-modal-content{height:252px}.ulf-profile-options>.ulf-field>.ulf-title,.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-profile-options>.ulf-field>.ulf-fieldset,.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset{float:none;width:100%}.ulf-nav-menu-options>.ulf-fields{margin-left:-10px;margin-right:-10px}.ulf-nav-menu-options>.ulf-fields>.ulf-field{padding:10px}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}
1
+ .ulf{position:relative}.ulf label{padding:0;margin:0;display:inline-block}.ulf-ab-icon{top:2px}#screen-meta-links+.ulf-options{margin-top:40px}.ulf-options{margin-top:20px;margin-right:20px}.ulf-header{position:relative}.ulf-header-inner{padding:25px;transition:box-shadow .3s ease}.ulf-header-inner h1{float:left;font-size:1.5em;line-height:26px;font-weight:400;margin:0}.ulf-header-inner h1 small{font-size:11px;font-weight:500}.ulf-sticky .ulf-header-inner{position:fixed;z-index:99;top:32px;box-shadow:0 5px 10px rgba(0,0,0,.1)}.ulf-buttons{float:right}.ulf-buttons .button{margin:0 2px;line-height:26px}.ulf-buttons .button:focus{outline:0!important;box-shadow:none!important}.ulf-buttons .ulf-save{min-width:72px}.ulf-header-left{float:left}.ulf-header-right{float:right}.ulf-nav{display:block;position:relative;z-index:10;float:left}.ulf-nav ul{clear:left;margin:0;list-style-type:none}.ulf-nav ul li{margin-bottom:0}.ulf-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;transition-property:color,background;transition-duration:.2s;transition-timing-function:ease}.ulf-nav ul li a:focus{outline:0;box-shadow:none}.ulf-nav ul li .ulf-arrow:after{content:"\f054";display:inline-block;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px}.ulf-nav ul li.ulf-tab-expanded .ulf-arrow:after{transform:rotate(90deg)}.ulf-nav ul li.ulf-tab-expanded ul{display:block}.ulf-nav ul ul{display:none;position:relative}.ulf-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.ulf-nav .ulf-tab-icon{width:20px;margin-right:5px;font-size:13px;text-align:center}.ulf-nav .ulf-label-error{margin-left:4px;vertical-align:top}.ulf-nav-normal{width:225px}.ulf-nav-normal+.ulf-content{margin-left:225px}.ulf-nav-inline{width:100%}.ulf-nav-inline ul li{display:inline-block;vertical-align:top}.ulf-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:225px}.ulf-wrapper{position:relative}.ulf-content{position:relative;background-color:#fff}.ulf-sections{float:left;width:100%}.ulf-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.ulf-section-title .ulf-section-icon{margin-right:5px}.ulf-footer{padding:20px;font-size:11px}.ulf-copyright{float:left;margin-top:5px}.ulf-search-all .ulf-nav,.ulf-search-all .ulf-nav-background,.ulf-show-all .ulf-nav,.ulf-show-all .ulf-nav-background{display:none}.ulf-search-all .ulf-content,.ulf-show-all .ulf-content{margin-left:0}.ulf-search-all .ulf-section,.ulf-search-all .ulf-section-title,.ulf-show-all .ulf-section,.ulf-show-all .ulf-section-title{display:block!important}.ulf-search-all .ulf-section-title{display:none!important}.ulf-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:13px;line-height:30px;cursor:pointer;user-select:none;border-radius:2px;transition:all .2s}.ulf-expand-all span{font-size:11px;vertical-align:middle}.ulf-search{float:left}.ulf-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:30px;min-height:30px;text-align:inherit;padding:0 10px;border-radius:2px;box-shadow:none}.ulf-search input:focus{box-shadow:none}.ulf-saving .ulf-buttons,.ulf-saving .ulf-content{cursor:default;pointer-events:none;opacity:.5}.ulf-metabox{margin:-6px -12px -12px -12px}.ulf-metabox .ulf-field{padding:20px}.ulf-metabox .ulf-section-title{padding:20px}.block-editor-page .ulf-metabox{margin:-6px -14px -14px -14px}.block-editor-editor-skeleton__content .ulf-metabox{border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.ulf-sections-reset{float:left;width:100%;text-align:right;border-top:1px solid #eee}.ulf-sections-reset .ulf-button-cancel,.ulf-sections-reset input{display:none}.ulf-sections-reset label{padding:10px}.ulf-sections-reset span{-webkit-user-select:none;user-select:none}.ulf-sections-reset input:checked~.ulf-button-reset{display:none}.ulf-sections-reset input:checked~.ulf-button-cancel{display:inline-block}#side-sortables .ulf-section-title{padding:12px}#side-sortables .ulf-field{padding:10px 15px}#side-sortables .ulf-field .ulf-title{float:none;width:100%;margin-bottom:6px}#side-sortables .ulf-field .ulf-fieldset{float:none;width:100%}#side-sortables .ulf-field-text input{width:100%}#side-sortables .ulf-notice{padding:10px 15px}.ulf-comment-metabox{margin:-6px -12px -12px -12px}.ulf-comment-metabox .ulf-field{padding:20px}.ulf-comment-metabox .ulf-section-title{padding:20px}.ulf-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:center;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);border-radius:4px}.ulf-theme-dark .ulf-header-inner{background-color:#050505}.ulf-theme-dark .ulf-header-inner h1{color:#fff}.ulf-theme-dark .ulf-header-inner h1 small{color:#555}.ulf-theme-dark .ulf-expand-all{color:#999;background-color:#222}.ulf-theme-dark .ulf-expand-all:hover{color:#fff;background-color:#333}.ulf-theme-dark .ulf-search input{color:#fff;background-color:#222}.ulf-theme-dark .ulf-search:focus{background-color:#444}.ulf-theme-dark .ulf-search::-webkit-input-placeholder{color:#666}.ulf-theme-dark .ulf-nav ul li a{color:#999;border-color:#2f2f2f;background-color:#222}.ulf-theme-dark .ulf-nav ul li a:hover{color:#fff}.ulf-theme-dark .ulf-nav ul li .ulf-active{color:#fff;background-color:#111}.ulf-theme-dark .ulf-nav ul ul li a{border-color:#2f2f2f;background-color:#191919}.ulf-theme-dark .ulf-nav ul ul li .ulf-active{background-color:#101010}.ulf-theme-dark .ulf-nav ul ul:before{background-color:rgba(34,34,34,.75)}.ulf-theme-dark .ulf-nav>ul>li:last-child>a{border:none}.ulf-theme-dark .ulf-nav-normal ul li a{border-bottom-width:1px;border-bottom-style:solid}.ulf-theme-dark .ulf-nav-normal ul li .ulf-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.ulf-theme-dark .ulf-nav-inline{background-color:#222}.ulf-theme-dark .ulf-nav-inline ul li a{text-align:center;border-right-width:1px;border-right-style:solid}.ulf-theme-dark .ulf-nav-inline ul li .ulf-active:after{content:" ";position:absolute;left:50%;bottom:0;height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#fff;border-width:4px;margin-left:-4px}.ulf-theme-dark .ulf-nav-background{background-color:#222}.ulf-theme-dark .ulf-footer{color:#555;background-color:#050505}.ulf-theme-light .ulf-container{border:1px solid #ccd0d4;box-shadow:0 0 15 rgba(0,0,0,.04)}.ulf-theme-light .ulf-header-inner{border-bottom:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fefefe,#f5f5f5)}.ulf-theme-light .ulf-header-inner h1 small{color:#999}.ulf-theme-light .ulf-expand-all{color:#999;background-color:#eee}.ulf-theme-light .ulf-expand-all:hover{color:#555}.ulf-theme-light .ulf-search input{color:#555;background-color:#eee}.ulf-theme-light .ulf-search input::-webkit-input-placeholder{color:#999}.ulf-theme-light .ulf-nav ul li a{font-weight:500;color:#444;background-color:#f5f5f5}.ulf-theme-light .ulf-nav ul li a:hover{color:#111;background-color:#fff}.ulf-theme-light .ulf-nav ul li .ulf-active{color:#111;background-color:#fff}.ulf-theme-light .ulf-nav ul ul li a{background-color:#eee}.ulf-theme-light .ulf-nav-normal>ul{margin-right:-1px;margin-bottom:-1px}.ulf-theme-light .ulf-nav-normal>ul li a{border-bottom:1px solid #ccd0d4;border-right:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-normal>ul li .ulf-active{border-right-color:#fff}.ulf-theme-light .ulf-nav-inline{background-color:#f5f5f5;border-bottom:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-inline>ul{margin-bottom:-1px}.ulf-theme-light .ulf-nav-inline>ul li a{text-align:center;border-right:1px solid #ccd0d4;border-bottom:1px solid #ccd0d4}.ulf-theme-light .ulf-nav-inline>ul li .ulf-active{border-bottom-color:#fff}.ulf-theme-light .ulf-nav-inline>ul ul{display:none!important}.ulf-theme-light .ulf-nav-inline .ulf-arrow:after{display:none}.ulf-theme-light .ulf-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4}.ulf-theme-light .ulf-footer{color:#555;border-top:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.ulf-field{position:relative;padding:30px}.ulf-field+.ulf-field{border-top:1px solid #eee}.ulf-field p:first-child{margin-top:0}.ulf-field p:last-child{margin-bottom:0}.ulf-field:after,.ulf-field:before{content:" ";display:table}.ulf-field:after{clear:both}.ulf-field h4{margin-top:0}.ulf-field .ulf-title{position:relative;width:20%;float:left}.ulf-field .ulf-title h4{margin:0;color:#23282d}.ulf-field .ulf-fieldset{float:right;width:calc(80% - 20px)}.ulf-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.ulf-pseudo-field+.ulf-pseudo-field{border:0}.ulf-pseudo-field pre{display:none}.ulf-field-accordion .ulf-accordion-item{position:relative;margin-bottom:5px}.ulf-field-accordion .ulf-accordion-item:last-child{margin-bottom:0}.ulf-field-accordion .ulf-accordion-item h4{font-size:1em}.ulf-field-accordion .ulf-accordion-title{display:block;cursor:pointer;position:relative;margin:0;padding:15px;min-height:0;font-size:100%;user-select:none;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.ulf-field-accordion .ulf-accordion-title:active,.ulf-field-accordion .ulf-accordion-title:focus,.ulf-field-accordion .ulf-accordion-title:hover{outline:0;border-color:#999}.ulf-field-accordion .ulf-accordion-title .ulf--icon{width:20px;text-align:center;margin-right:2px}.ulf-field-accordion .ulf-accordion-icon{width:16px;text-align:center}.ulf-field-accordion .ulf-accordion-content{display:none;padding:0;border:1px solid #ccd0d4;border-top:none;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-accordion .ulf-accordion-content>.ulf-field{padding:15px}.ulf-field-accordion .ulf-accordion-open{display:block}.ulf-field-background .ulf-field{border:0!important;padding:0;margin-bottom:6px;margin-right:6px}.ulf-field-background .ulf--title{color:#777;font-size:12px}.ulf-field-background .ulf--background-colors{display:flex;flex-wrap:wrap}.ulf-field-background .ulf--background-attributes{display:flex;flex-wrap:wrap}.ulf-field-background .ulf--background-attributes select{min-width:100%;margin:0}.ulf-field-background .ulf--background-attributes .ulf-field{flex:1}.ulf-field-background .ulf--attributes-hidden{display:none}.ulf-field-backup textarea{width:100%;min-height:200px;margin-bottom:5px}.ulf-field-backup small{display:inline-block;margin:5px}.ulf-field-backup hr{margin:20px 0;border:none;border-bottom:1px solid #e5e5e5}.ulf-field-border .ulf--inputs,.ulf-field-dimensions .ulf--inputs,.ulf-field-spacing .ulf--inputs{float:left;display:flex;flex-wrap:wrap}.ulf-field-border .ulf--input,.ulf-field-dimensions .ulf--input,.ulf-field-spacing .ulf--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.ulf-field-border .ulf--input select,.ulf-field-dimensions .ulf--input select,.ulf-field-spacing .ulf--input select{margin:0}.ulf-field-border .ulf--input input,.ulf-field-dimensions .ulf--input input,.ulf-field-spacing .ulf--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;text-align:center}.ulf-field-border .ulf--color,.ulf-field-dimensions .ulf--color,.ulf-field-spacing .ulf--color{float:left}.ulf-field-border .ulf--label,.ulf-field-dimensions .ulf--label,.ulf-field-spacing .ulf--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.ulf-field-border .ulf--icon,.ulf-field-dimensions .ulf--icon,.ulf-field-spacing .ulf--icon{border-right:0;border-radius:4px 0 0 4px}.ulf-field-border .ulf--icon+input,.ulf-field-dimensions .ulf--icon+input,.ulf-field-spacing .ulf--icon+input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.ulf-field-border .ulf--unit,.ulf-field-dimensions .ulf--unit,.ulf-field-spacing .ulf--unit{border-left:0;border-radius:0 4px 4px 0}.ulf-field-border .ulf--is-unit,.ulf-field-dimensions .ulf--is-unit,.ulf-field-spacing .ulf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ulf-field-button_set .ulf--buttons{display:inline-block}.ulf-field-button_set .ulf--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:16px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.ulf-field-button_set .ulf--button:first-child{border-radius:4px 0 0 4px}.ulf-field-button_set .ulf--button:last-child{border-radius:0 4px 4px 0}.ulf-field-button_set .ulf--button:not(:first-child){margin-left:-1px}.ulf-field-button_set .ulf--button:hover{background-color:#eee}.ulf-field-button_set .ulf--active,.ulf-field-button_set .ulf--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.ulf-field-button_set input{display:none}.ulf-field-checkbox ul,.ulf-field-radio ul{margin:0;padding:0;list-style-type:none;overflow-y:auto;max-height:305px}.ulf-field-checkbox ul li,.ulf-field-radio ul li{margin-bottom:6px}.ulf-field-checkbox ul ul,.ulf-field-radio ul ul{max-height:none}.ulf-field-checkbox ul ul li,.ulf-field-radio ul ul li{margin-left:8px}.ulf-field-checkbox ul ul li:first-child,.ulf-field-radio ul ul li:first-child{margin-left:0}.ulf-field-checkbox input,.ulf-field-radio input{margin:0 1px}.ulf-field-checkbox .ulf--inline-list li,.ulf-field-radio .ulf--inline-list li{display:inline-block;margin-right:15px}.ulf-field-checkbox .ulf--text,.ulf-field-radio .ulf--text{margin-left:5px;vertical-align:middle}.ulf-field-checkbox .ulf-checker,.ulf-field-radio .ulf-checker{cursor:pointer}.ulf-field-code_editor .CodeMirror{width:100%;height:400px}.ulf-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.ulf-field-code_editor textarea{width:100%;height:400px}.ulf-field-color>input{opacity:.75;width:115px;max-width:100%}.ulf-field-color .button.wp-picker-clear{padding:0 8px;margin-left:6px;line-height:2.54545455;min-height:30px}.ulf-field-color_group .ulf--left{float:left;margin-right:10px;margin-bottom:5px}.ulf-field-color_group .ulf--title{color:#999;margin-bottom:5px}.ulf-field-fieldset .ulf-fieldset-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-fieldset .ulf-fieldset-content>.ulf-field{padding:15px}.ulf-field-fieldset .ulf-field-subheading{font-size:13px}.ulf-field-date input{margin:0}.ulf-field-date .ulf--to{margin-left:7px}.ulf-datepicker-wrapper{margin-top:5px;width:auto;background-color:#fff;z-index:9999999!important;box-shadow:0 0 30px rgba(0,0,0,.15)}.ulf-datepicker-wrapper *{float:none;margin:0;padding:0;font-family:inherit;font-weight:400;font-style:normal;text-decoration:none;border:0;border-radius:0;box-shadow:none}.ulf-datepicker-wrapper .ui-datepicker-header,.ulf-datepicker-wrapper .ui-widget-header{color:#fff;background:#00a0d2}.ulf-datepicker-wrapper .ui-datepicker-header .ui-state-hover{cursor:pointer}.ulf-datepicker-wrapper .ui-datepicker-title{font-size:14px;line-height:40px;text-align:center}.ulf-datepicker-wrapper .ui-datepicker-next,.ulf-datepicker-wrapper .ui-datepicker-prev{position:static;top:auto;left:auto;right:auto;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;text-align:center;width:41px;height:40px;line-height:40px;color:#fff;background-color:rgba(255,255,255,.1);text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ulf-datepicker-wrapper .ui-datepicker-next span,.ulf-datepicker-wrapper .ui-datepicker-prev span{display:none}.ulf-datepicker-wrapper .ui-datepicker-prev{float:left}.ulf-datepicker-wrapper .ui-datepicker-next{float:right}.ulf-datepicker-wrapper .ui-datepicker-prev:before{content:'\f053'}.ulf-datepicker-wrapper .ui-datepicker-next:before{content:'\f054'}.ulf-datepicker-wrapper .ui-datepicker-next-hover,.ulf-datepicker-wrapper .ui-datepicker-prev-hover{opacity:.75}.ulf-datepicker-wrapper tbody .ui-datepicker-week-col{background-color:#f7f7f7}.ulf-datepicker-wrapper .ui-datepicker-buttonpane{padding:10px;text-align:center;background-color:#f7f7f7}.ulf-datepicker-wrapper .ui-datepicker-buttonpane button{cursor:pointer;margin:0 5px;padding:7px 14px;border:1px solid #eee;background-color:#fff}.ulf-datepicker-wrapper select{margin:0 4px}.ulf-datepicker-wrapper select option{color:#555}.ulf-datepicker-wrapper table{font-size:13px;border-collapse:collapse;width:100%}.ulf-datepicker-wrapper thead{color:#fff;background:#32373c}.ulf-datepicker-wrapper th{text-align:center;padding:7px;border:1px solid #444}.ulf-datepicker-wrapper td{text-align:center;border:1px solid #f4f4f4}.ulf-datepicker-wrapper td.ui-datepicker-other-month{border:transparent}.ulf-datepicker-wrapper td .ui-state-default{color:#555;width:auto;display:block;padding:6px 12px}.ulf-datepicker-wrapper td .ui-state-active,.ulf-datepicker-wrapper td .ui-state-hover{color:#fff;background-color:#0073aa}.ulf-datepicker-wrapper td.ui-state-disabled .ui-state-default{opacity:.5}.ulf-field-datetime input{margin:0}.ulf-field-datetime .ulf--to{margin-left:7px}.ulf-flatpickr input,.ulf-flatpickr select{min-height:auto}.ulf-flatpickr input:focus,.ulf-flatpickr select:focus{box-shadow:none}.ulf-flatpickr.open{z-index:9999999!important}.ulf-field-gallery ul{margin:0;padding:0;list-style-type:none}.ulf-field-gallery ul li{display:inline-block;position:relative;padding:4px;margin:0 5px 10px 0;border:1px solid #ccc;background-color:#f9f9f9;border-radius:2px;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-field-gallery ul li img{max-height:60px;display:inline-block;vertical-align:middle}.ulf-field-gallery .button{margin-right:5px;margin-bottom:5px}.ulf-field-group .ulf-cloneable-hidden{display:none!important}.ulf-field-group .ulf-cloneable-wrapper{position:relative}.ulf-field-group .ulf-cloneable-item{display:none;position:relative;margin-bottom:5px}.ulf-field-group .ulf-cloneable-item h4{font-size:1em}.ulf-field-group .ui-accordion .ulf-cloneable-item{display:block}.ulf-field-group .ulf-cloneable-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-group .ulf-cloneable-content>.ulf-field{padding:15px}.ulf-field-group .ulf-cloneable-title{display:block;cursor:pointer;position:relative;user-select:none;margin:0;padding:15px 65px 15px 10px;min-height:0;font-size:100%;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.ulf-field-group .ulf-cloneable-title:active,.ulf-field-group .ulf-cloneable-title:focus,.ulf-field-group .ulf-cloneable-title:hover{border-color:#999;outline:0}.ulf-field-group .ulf-cloneable-helper{position:absolute;top:12px;right:10px;z-index:1;font-size:14px;line-height:1em}.ulf-field-group .ulf-cloneable-helper i{display:inline-block;cursor:pointer;padding:5px;color:#999}.ulf-field-group .ulf-cloneable-helper i:hover{color:#555}.ulf-field-group .ulf-cloneable-content{padding:0;border-top:0}.ulf-field-group .ulf-cloneable-title-number,.ulf-field-group .ulf-cloneable-title-prefix{margin-right:5px}.ulf-field-group .ulf-cloneable-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.ulf-field-group .widget-placeholder{margin-bottom:10px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-group .ulf-cloneable-header-icon{display:inline-block;text-align:center;font-size:14px;width:17px;text-indent:0;vertical-align:text-top}.ulf-field-group .ulf-cloneable-placeholder{background-color:#ddd;margin-top:4px;width:100px;height:10px;font-size:10px;line-height:10px;display:inline-block;vertical-align:top;border-radius:2px}.ulf-field-icon .button{margin-right:5px}.ulf-field-icon .ulf-icon-select{display:flex}.ulf-field-icon .ulf-icon-preview:not(.hidden){display:flex}.ulf-field-icon .ulf-icon-preview i{display:flex;justify-content:center;align-items:center;width:30px;font-size:14px;margin-right:5px;text-align:center;vertical-align:top;color:#555;border:1px solid #ccc;background-color:#f7f7f7;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-field-image_select .ulf--image{display:inline-block;margin:0 5px 5px 0}.ulf-field-image_select .ulf--inline-list .ulf--image{display:block}.ulf-field-image_select figure{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;transition:all .2s}.ulf-field-image_select figure:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.ulf-field-image_select .ulf--active figure{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.ulf-field-image_select .ulf--active figure:before{opacity:1}.ulf-field-image_select img{max-width:100%;height:auto;vertical-align:top}.ulf-field-image_select input{display:none}.ulf-field-link_color .ulf--left{float:left;margin-right:10px;margin-bottom:5px}.ulf-field-link_color .ulf--title{color:#777;margin-bottom:5px}.ulf-field-map input{width:100%}.ulf-field-map input[type=text].ui-autocomplete-loading{background-position-x:calc(100% - 5px)}.ulf-field-map .ulf--map-search+.ulf--map-osm-wrap{margin-top:10px}.ulf-field-map .ulf--map-osm-wrap{position:relative;padding:5px;border:1px solid #eee;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-map .ulf--map-osm{position:relative;z-index:1;min-height:250px}.ulf-field-map .ulf--map-inputs{margin-top:10px;display:flex;justify-content:space-between}.ulf-field-map .ulf--map-input{flex:1}.ulf-field-map .ulf--map-input:last-child{padding-left:10px}.ulf-field-map label{display:block;color:#777;font-size:12px;margin:0 0 2px 0}.ulf-map-ui-autocomplate{z-index:999999;border-radius:4px;overflow:hidden}.ulf-field-media .ulf--placeholder{display:flex;align-items:flex-start}.ulf-field-media .ulf--placeholder input{width:100%;margin:0}.ulf-field-media .button{margin-left:5px}.ulf-field-media .hidden+.button{margin-left:0}.ulf-field-media .ulf--preview{position:relative}.ulf-field-palette .ulf--palette{position:relative;display:inline-block;cursor:pointer;border:2px solid #ddd;margin-right:10px;margin-bottom:10px;user-select:none;-webkit-user-select:none;transition:all .2s}.ulf-field-palette .ulf--palette span{vertical-align:middle;display:inline-block;width:22px;height:60px;line-height:60px;overflow:hidden;text-indent:-999px}.ulf-field-palette .ulf--palette:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.ulf-field-palette .ulf--active{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.ulf-field-palette .ulf--active:before{opacity:1}.ulf-field-palette input{display:none}.ulf-field-repeater .ulf-field-text input{width:100%}.ulf-field-repeater .ulf-repeater-hidden{display:none!important}.ulf-field-repeater .ulf-repeater-wrapper .ulf-repeater-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.ulf-field-repeater .ulf-repeater-wrapper .ulf-repeater-item h4{font-size:1em}.ulf-field-repeater .ulf-repeater-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.ulf-field-repeater .ulf-repeater-content>.ulf-field{padding:15px}.ulf-field-repeater .ulf-repeater-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.ulf-field-repeater .ulf-repeater-helper i{display:inline-block;cursor:pointer;color:#999;padding:5px}.ulf-field-repeater .ulf-repeater-helper i:hover{color:#555}.ulf-field-repeater .ulf-repeater-helper-inner{width:75px}.ulf-field-repeater .ulf-repeater-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.ulf-field-repeater .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-repeater .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.ulf-field-repeater .ui-sortable-helper .ulf-repeater-content,.ulf-field-repeater .ui-sortable-helper .ulf-repeater-helper{display:none}.ulf-field-select .ulf-fieldset{min-height:30px}.ulf-field-select .ulf-chosen{display:none}.ulf-field-select select{max-width:100%;margin:0}.ulf-field-select .ulf-hide-select{display:none!important}.ulf-field-slider .ulf--wrap{display:flex;align-items:center}.ulf-field-slider .ulf--input{display:flex}.ulf-field-slider .ulf--unit{display:flex;justify-content:center;flex-direction:column;user-select:none;padding:0 6px;font-size:11px;line-height:1;border-radius:0 4px 4px 0;color:#555;border:1px solid #7e8993;border-left:0;background-color:#f5f5f5}.ulf-field-slider .ulf-slider-ui{margin-right:15px}.ulf-field-slider input[type=number]{position:relative;z-index:1;margin:0;width:50px;text-align:center}.ulf-field-slider .ulf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.ulf-field-slider .ui-slider{position:relative;width:100%;height:3px;border:none;background:#ddd;border-radius:2px}.ulf-field-slider .ui-slider-range{height:3px;border:none;background:#333;border-radius:2px}.ulf-field-slider .ui-slider-handle{position:absolute;width:16px;height:16px;top:-7px;margin-left:-8px;border:none;background:#333;border-radius:2px}.ulf-field-slider .ui-slider-handle:hover,.ulf-field-slider .ui-state-active{cursor:pointer;background:#111}.ulf-field-sortable .ulf-field-text input{width:100%;max-width:100%}.ulf-field-sortable .ulf-sortable .ulf-sortable-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.ulf-field-sortable .ulf-sortable .ulf-sortable-item h4{font-size:1em}.ulf-field-sortable .ulf-sortable-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.ulf-field-sortable .ulf-sortable-content>.ulf-field{padding:15px}.ulf-field-sortable .ulf-sortable-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.ulf-field-sortable .ulf-sortable-helper i{display:inline-block;cursor:pointer;width:50px;color:#555}.ulf-field-sortable .ulf-sortable-helper i:hover{opacity:.5}.ulf-field-sortable .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-sortable .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.ulf-field-sortable .ui-sortable-helper .ulf-sortable-content,.ulf-field-sortable .ui-sortable-helper .ulf-sortable-helper{display:none}.ulf-field-sorter .ui-sortable-placeholder{height:20px;border:1px dashed #f1c40f;background-color:#fffae4}.ulf-field-sorter .ulf-modules{float:left;width:50%;box-sizing:border-box}.ulf-field-sorter .ulf-modules:first-child{padding-right:15px}.ulf-field-sorter .ulf-modules:last-child{padding-left:15px}.ulf-field-sorter .ulf-disabled,.ulf-field-sorter .ulf-enabled{padding:5px 15px;border:1px dashed #ddd;background-color:#fff}.ulf-field-sorter .ulf-disabled li{opacity:.5;transition:opacity .15s}.ulf-field-sorter .ulf-disabled .ui-sortable-helper{opacity:1}.ulf-field-sorter .ulf-sorter-title{font-size:13px;font-weight:600;padding:10px;text-align:center;border:1px dashed #ddd;border-bottom:none;background-color:#f8f8f8;text-transform:uppercase}.ulf-field-sorter ul{list-style-type:none;margin:0;padding:0;min-height:62px}.ulf-field-sorter ul li{margin:10px 0;padding:10px 15px;cursor:move;font-weight:700;text-align:center;border:1px solid #e5e5e5;background-color:#fafafa;transition:border-color .15s}.ulf-field-sorter ul li:hover{border-color:#bbb}.ulf-field-spinner .ulf--spin{display:flex}.ulf-field-spinner .ui-widget{font-family:inherit}.ulf-field-spinner .ui-spinner{display:flex;align-items:stretch;overflow:unset;border:none;background:0 0;border-radius:0}.ulf-field-spinner .ui-spinner .ui-button{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 4px;margin:0;color:#555;background-color:#f5f5f5;border:1px solid #7e8993}.ulf-field-spinner .ui-spinner .ui-spinner-button{position:relative;cursor:pointer;height:auto}.ulf-field-spinner .ui-spinner .ui-spinner-button:hover{background-color:#e7e7e7}.ulf-field-spinner .ui-spinner .ui-spinner-button:active{background-color:#ddd}.ulf-field-spinner .ui-spinner .ui-spinner-button:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;line-height:14px}.ulf-field-spinner .ui-spinner .ui-spinner-down{border-right:0;border-radius:4px 0 0 4px}.ulf-field-spinner .ui-spinner .ui-spinner-down:before{content:"\f0d9"}.ulf-field-spinner .ui-spinner .ui-spinner-up{border-left:0;border-radius:0 4px 4px 0}.ulf-field-spinner .ui-spinner .ui-spinner-up:before{content:"\f0da"}.ulf-field-spinner .ui-spinner .ulf--unit{border-left:0;user-select:none}.ulf-field-spinner .ui-spinner .ui-button-icon,.ulf-field-spinner .ui-spinner .ui-button-icon-space,.ulf-field-spinner .ui-spinner .ui-button-text{display:none}.ulf-field-spinner .ui-spinner input{font-family:inherit;font-size:inherit;position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.ulf-field-spinner .ui-spinner-down{order:1}.ulf-field-spinner .ui-spinner-input{order:2}.ulf-field-spinner .ulf--unit{order:3}.ulf-field-spinner .ui-spinner-up{order:4}.ulf-field-switcher .ulf--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.ulf-field-switcher .ulf--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.ulf-field-switcher .ulf--off,.ulf-field-switcher .ulf--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.ulf-field-switcher .ulf--off{padding-right:0;padding-left:28px;opacity:1}.ulf-field-switcher .ulf--active{background:#4fb845}.ulf-field-switcher .ulf--active .ulf--on{opacity:1}.ulf-field-switcher .ulf--active .ulf--off{opacity:0}.ulf-field-switcher .ulf--active .ulf--ball{left:100%;margin-left:-28px}.ulf-field-switcher .ulf--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.ulf-field-tabbed .ulf-tabbed-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-field-tabbed .ulf-tabbed-content>.ulf-field{padding:15px}.ulf-field-tabbed .ulf-tabbed-nav .ulf--icon{padding-right:5px}.ulf-field-tabbed .ulf-tabbed-nav a{display:inline-block;padding:12px 15px;margin-top:1px;margin-right:5px;margin-bottom:-1px;position:relative;text-decoration:none;color:#444;font-weight:600;border:1px solid #ccd0d4;background-color:#f3f3f3;transition:all .2s}.ulf-field-tabbed .ulf-tabbed-nav a:hover{background-color:#f9f9f9}.ulf-field-tabbed .ulf-tabbed-nav a.ulf-tabbed-active{background-color:#fff;border-bottom-color:#fff}.ulf-field-tabbed .ulf-tabbed-nav a:focus{outline:0;box-shadow:none}.ulf-field-text input{width:50%;max-width:100%;margin:0}.ulf-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.ulf-field-textarea .ulf-shortcode-button{margin-bottom:10px;margin-right:5px}.ulf-field-typography select,.ulf-field-typography textarea{margin:0;min-width:100%;max-width:100%}.ulf-field-typography .ulf--title{color:#777;margin:0 0 2px 0;font-size:12px}.ulf-field-typography .ulf--title small{vertical-align:top}.ulf-field-typography .ulf--blocks{display:flex;flex-wrap:wrap}.ulf-field-typography .ulf--block{flex:1;max-width:100%;padding-right:6px;padding-bottom:6px}.ulf-field-typography .ulf--input{margin:0;min-width:100%}.ulf-field-typography .ulf--input-wrap{position:relative}.ulf-field-typography .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-field-typography .ulf--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.ulf-field-typography .ulf--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;max-width:100%}.ulf-field-typography .ulf--black-background{border-color:#000;background-color:#000}.ulf-field-typography .ulf--toggle{position:absolute;top:5px;right:10px;color:#999}.ulf-field-typography .ulf--block-extra-styles{margin-top:5px}.ulf-field-upload input{width:100%;margin:0}.ulf-field-upload .ulf--wrap{display:flex;align-items:flex-start}.ulf-field-upload .button{margin-left:5px}.ulf-field-upload .ulf--preview{position:relative}.ulf-field-wp_editor .ulf-wp-editor{float:left;width:100%}.ulf-field-wp_editor .mce-toolbar-grp{border:none}.ulf-field-wp_editor .mce-btn.mce-active button,.ulf-field-wp_editor .mce-btn.mce-active i,.ulf-field-wp_editor .mce-btn.mce-active:hover button,.ulf-field-wp_editor .mce-btn.mce-active:hover i{color:#23282d}.ulf-field-wp_editor .wp-media-buttons{position:relative;z-index:2}.ulf-field-wp_editor .wp-editor-tabs{position:relative;z-index:1}.ulf-field-wp_editor .ulf-no-tinymce{border:1px solid #e5e5e5}.ulf-field-wp_editor .ulf-no-quicktags .wp-media-buttons{float:none;display:block}.ulf-field-wp_editor .ulf-no-quicktags .mce-tinymce{box-shadow:none;border:1px solid #e5e5e5}.ulf-field-wp_editor textarea{width:100%;max-width:100%;margin:0;box-shadow:none}.ulf-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.ulf-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.ulf-field-submessage{padding:0!important;border:0!important}.ulf-field-submessage+.ulf-field{border-top:0!important}.ulf-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.ulf-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.ulf-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.ulf-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.ulf-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.ulf-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.ulf-field-notice{background-color:#f7f7f7}.ulf-notice{padding:12px;background-color:#fff;border-left-style:solid;border-left-width:4px;box-shadow:0 1px 1px rgba(0,0,0,.1)}.ulf-notice-success{border-color:#46b450}.ulf-notice-info{border-color:#339fd4}.ulf-notice-warning{border-color:#ffbc00}.ulf-notice-danger{border-color:#dc3232}.ulf-notice-normal{border-color:#222}.ulf-field-number input{width:100%;margin:0}.ulf-field-number .ulf--wrap{position:relative;float:left;width:100px}.ulf-field-number .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-field-link .ulf--result{display:inline-block;font-size:12px;line-height:16px;padding:7px 10px;margin-bottom:7px;color:#777;border:1px solid #e5e5e5;background-color:#f5f5f5;border-radius:2px;world-break:break-word}.ulf-field-link .ulf--wrap{position:relative;float:left;width:100px}.ulf-field-link .ulf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.ulf-help{cursor:help;position:absolute;top:0;right:0;padding:5px;font-size:13px;color:#aaa}.ulf-help .ulf-help-text{display:none}.ulf--preview{max-width:100%}.ulf-image-preview{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:6px;max-width:120px;max-height:120px;min-width:40px;min-height:40px;margin-bottom:10px;text-align:center;border-radius:2px;border:1px solid #ccc;background-color:#f9f9f9;box-shadow:0 1px 0 rgba(0,0,0,.08)}.ulf-image-preview i{cursor:pointer;position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.75;border-radius:2px;transition:all .2s}.ulf-image-preview i:hover{opacity:1}.ulf-image-preview i:focus{box-shadow:none}.ulf-image-preview span{position:relative;overflow:hidden;display:flex;height:100%;width:100%}.ulf-image-preview img{max-width:100%;height:auto;object-fit:contain}.ulf-field-custom .ulf-field{padding:0}.ulf-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.ulf-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.ulf-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.ulf-field .chosen-container-single .chosen-single abbr:hover{color:#555}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.ulf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.ulf-field .chosen-container-single .chosen-single div b{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;color:#aaa;background:0 0}.ulf-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.ulf-field .chosen-container-single .chosen-single div b:hover{color:#555}.ulf-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.ulf-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.ulf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.ulf-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.ulf-field .chosen-container-single .chosen-search input[type=text]{background:0 0}.ulf-field .chosen-container-single .chosen-search:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:11px;content:"\f002";position:absolute;right:12px;top:10px;color:#aaa}.ulf-field .wp-picker-container{display:inline-block}.ulf-field .wp-picker-container .wp-color-result.button{margin-bottom:0}.ulf-field .ulf--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.ulf-field .wp-picker-active .ulf--transparent-wrap{display:block}.ulf-field .ulf--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.ulf-field .ulf--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2)}.ulf-field .ulf--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.ulf-field .ulf--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;border-radius:2px;box-shadow:inset 0 0 5px rgba(0,0,0,.4)}.ulf-field .ulf--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.ulf-field .ulf--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.ulf-field .ulf--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.ulf-field .ulf--transparent-active .ulf--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.ulf-field .ulf--transparent-active .fa:before{content:"\f205"}.ulf-widgets>.ulf-field{position:relative;top:-1px;margin-left:-15px;margin-right:-15px;padding:12px 15px}.ulf-widgets>.ulf-field .ulf-title{float:none;width:100%;margin-bottom:5px}.ulf-widgets>.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-widgets .ulf-field-text input{width:100%}.ulf-widgets .ulf-field-notice .ulf-notice{padding:15px}.control-section .ulf-widgets>.ulf-field{margin-left:-10px;margin-right:-10px;padding:10px 12px}.wp-block .ulf-widgets{font-size:13px}.wp-block .ulf-widgets>.ulf-field{margin-left:-10px;margin-right:-10px}.wp-block .ulf-widgets>.ulf-field .button-primary{color:#fff}.wp-block .ulf-widgets>.ulf-field>.ulf-title>h4{font-size:13px}.control-section .ulf-field{padding:0}.control-section .ulf-field .ulf-title{float:none;width:100%;margin-bottom:6px}.control-section .ulf-field .ulf-title h4{display:block;font-size:13px;line-height:1;font-weight:600;color:inherit}.control-section .ulf-field .ulf-fieldset{float:none;width:100%}.control-section .ulf-help{top:-5px;right:-5px}.control-section .ulf-field-select select{width:100%}.control-section .ulf-field-heading{color:inherit;font-size:14px;line-height:1em;margin-right:-15px;margin-left:-15px;padding:15px}.control-section .ulf-field-subheading{color:inherit;font-size:11px;margin-right:-15px;margin-left:-15px;padding:10px 15px}.control-section .ulf-subtitle-text{margin-top:4px;font-size:12px}.control-section .ulf-field-submessage .ulf-submessage{margin-right:-15px;margin-left:-15px;padding:15px}.control-section .ulf-fieldset .ulf-field-heading,.control-section .ulf-fieldset .ulf-field-subheading,.control-section .ulf-fieldset .ulf-field-submessage .ulf-submessage{margin-left:0;margin-right:0}.control-section .ulf-field-date label,.control-section .ulf-field-datetime label{display:block}.control-section .ulf-field-date .ulf--to,.control-section .ulf-field-datetime .ulf--to{margin-top:4px;margin-left:0}.control-section .ulf-field-sorter ul li{padding:5px}.control-section .ulf-field-sorter .ulf-modules{float:none;width:100%}.control-section .ulf-field-sorter .ulf-modules:first-child{padding-right:0;padding-bottom:15px}.control-section .ulf-field-background .ulf--background-attributes{flex-direction:column}.control-section .ulf-field-spacing input{width:90px}.control-section .ulf-field-border .ulf--input{flex:1 50%}.control-section .ulf-field-border input,.control-section .ulf-field-border select{width:100%}.control-section .ulf-field-spinner input{width:50px}.control-section .ulf-field-number .ulf--wrap{width:100%}.control-section .ulf-field-backup .ulf-export-data{display:none}.control-section .ulf-field-fieldset .ulf-fieldset-content{border-color:#e5e5e5}.control-section .ulf-accordion-content>.ulf-field,.control-section .ulf-cloneable-content>.ulf-field,.control-section .ulf-fieldset-content>.ulf-field,.control-section .ulf-repeater-content>.ulf-field,.control-section .ulf-sortable-content>.ulf-field,.control-section .ulf-tabbed-content>.ulf-field{padding:10px}.control-section .ulf-accordion-content>.ulf-field .ulf-title,.control-section .ulf-cloneable-content>.ulf-field .ulf-title,.control-section .ulf-fieldset-content>.ulf-field .ulf-title,.control-section .ulf-repeater-content>.ulf-field .ulf-title,.control-section .ulf-sortable-content>.ulf-field .ulf-title,.control-section .ulf-tabbed-content>.ulf-field .ulf-title{margin-bottom:5px}.control-section .ulf-accordion-content>.ulf-field h4,.control-section .ulf-cloneable-content>.ulf-field h4,.control-section .ulf-fieldset-content>.ulf-field h4,.control-section .ulf-repeater-content>.ulf-field h4,.control-section .ulf-sortable-content>.ulf-field h4,.control-section .ulf-tabbed-content>.ulf-field h4{font-size:12px}.control-section .ulf-depend-hidden.ulf-depend-on{display:none!important}.control-section .ulf-depend-visible.ulf-depend-on{border-top:0!important}.ulf-taxonomy{max-width:95%}.ulf-taxonomy>.ulf-field{border-top:none!important}.ulf-taxonomy>.ulf-field-heading{font-size:1.1em;padding:20px!important;border:1px solid #ddd}.ulf-taxonomy>.ulf-field-subheading{font-size:12px;padding:15px!important;border:1px solid #ddd}.ulf-taxonomy>.ulf-field-submessage .ulf-submessage{padding:15px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.ulf-taxonomy>.ulf-field-notice{background-color:transparent}.ulf-taxonomy .ulf-section-title{display:block;padding:15px;background-color:#f9f9f9;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}.ulf-taxonomy-add-fields>.ulf-field{padding:8px 0}.ulf-taxonomy-add-fields>.ulf-field>.ulf-title{float:none;width:100%;padding:2px 2px 4px 0}.ulf-taxonomy-add-fields>.ulf-field>.ulf-title h4{font-size:12px;font-weight:400}.ulf-taxonomy-add-fields>.ulf-field>.ulf-fieldset{float:none;width:100%}.ulf-taxonomy-add-fields>.ulf-field>.ulf-fieldset>.ulf-help{right:-5px}.ulf-taxonomy-add-fields+p.submit{margin-top:0}.ulf-taxonomy-edit-fields>.ulf-field{padding:20px 0}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title{width:200px}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset{width:calc(100% - 220px)}.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset>.ulf-help{top:-5px;right:-5px}.ulf-taxonomy-edit-fields>.ulf-field-submessage{margin:20px 0}.ulf-taxonomy-edit-fields>.ulf-field-heading,.ulf-taxonomy-edit-fields>.ulf-field-subheading{margin:20px 0;border:1px solid #ddd}.ulf-nav-menu-options{clear:both;float:left;width:100%}.ulf-nav-menu-options>.ulf-fields{margin-left:-10px;margin-top:10px;margin-bottom:10px;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-nav-menu-options>.ulf-fields>.ulf-field{padding:12px 14px 12px 12px}.ulf-nav-menu-options>.ulf-fields>.ulf-field .ulf-title{float:none;width:100%;margin-bottom:5px}.ulf-nav-menu-options>.ulf-fields>.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-nav-menu-options .ulf-field-text input{width:100%}.ulf-nav-menu-options .ulf-field-notice .ulf-notice{padding:15px}.ulf-nav-menu-title{padding:12px 14px 12px 12px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.ulf-nav-menu-title:first-child{border-top:0}.ulf-nav-menu-title h4{margin:0;padding:0;color:#23282d}.ulf-nav-menu-icon{margin-right:5px}.ulf-profile-options>h2>.fa{padding-right:7px}.ulf-profile-options>.ulf-field{max-width:750px;padding:15px 0;border-top:none!important}.ulf-profile-options>.ulf-field>.ulf-title{width:200px}.ulf-profile-options>.ulf-field>.ulf-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.ulf-profile-options>.ulf-field>.ulf-fieldset{width:calc(100% - 220px)}.ulf-profile-options>.ulf-field>.ulf-fieldset>.ulf-help{top:-15px;right:-5px}.ulf-profile-options>.ulf-field-heading{font-size:1.1em}.ulf-profile-options>.ulf-field-subheading{font-size:12px}.ulf-profile-options>.ulf-field-heading,.ulf-profile-options>.ulf-field-subheading{margin:10px 0;padding:15px!important;border:1px solid #ddd}.ulf-profile-options>.ulf-field-submessage{margin:20px 0}.ulf-profile-options>.ulf-field-submessage .ulf-submessage{padding:10px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.ulf-profile-options>.ulf-field-notice{background-color:transparent}.ulf-modal{position:fixed;z-index:100101;top:0;left:0;width:100%;height:100%}.ulf-modal.hidden{display:none}.ulf-modal-icon{z-index:100102}.ulf-modal-table{display:table;width:100%;height:100%}.ulf-modal-table-cell{display:table-cell;vertical-align:middle;margin:100px 0}.ulf-modal-inner{position:relative;z-index:10;width:760px;height:750px;margin:0 auto;background-color:#fff}.ulf-modal-content{position:relative;overflow:hidden;overflow-y:auto;height:595px}.ulf-modal-content .ulf-shortcode-button{display:none}.ulf-modal-content .ulf-field{padding:15px 30px 15px 15px}.ulf-modal-content a:active,.ulf-modal-content a:focus{outline:0;box-shadow:none}.ulf-modal-content h4{font-size:13px}.ulf-modal-content h4 small{font-style:italic;font-weight:400;color:#aaa}.ulf-modal-title{position:relative;background-color:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:16px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.ulf-modal-header{width:100%;padding:14px 0;background-color:#f5f5f5;border-bottom:1px solid #ddd}.ulf-modal-header select{display:block;width:250px;margin:0 auto;font-size:13px;line-height:1;height:30px;min-height:30px;background-color:#fff}.ulf-modal-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}.ulf-modal-close:before{font:normal 20px/36px dashicons;content:"\f158";vertical-align:top;width:36px;height:36px}.ulf-modal-close:hover{opacity:.5}.ulf-modal-insert-wrapper{text-align:center;width:100%;padding:15px 0;background-color:#f5f5f5;border-top:1px solid #ddd}.ulf-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5}.ulf--repeatable{padding:15px 15px 0 15px}.ulf--repeat-button-block{text-align:center;padding-bottom:15px}.ulf--repeat-shortcode{position:relative;margin-bottom:15px;border:1px dashed #ddd}.ulf--repeat-shortcode:first-child .ulf-repeat-remove{display:none}.ulf--repeat-shortcode .ulf-repeat-remove{position:absolute;right:10px;top:10px;z-index:10;cursor:pointer;display:inline-block;font-size:11px;width:18px;height:18px;line-height:18px;text-align:center;border-radius:2px;color:#fff;background-color:#e14d43;opacity:.5}.ulf--repeat-shortcode .ulf-repeat-remove:hover{opacity:.5}.ulf-shortcode-single .ulf-modal-inner{height:750px}.ulf-shortcode-single .ulf-modal-content{height:652px}.elementor-editor-active .ulf-shortcode-button{margin-left:5px}.elementor-editor-active .ulf-modal .hidden{display:none!important}.ulf-shortcode-block{text-align:center;padding:14px;font-size:13px;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.ulf-shortcode-block .components-button{margin-bottom:10px}.ulf-modal-icon .ulf-icon-title{padding:15px 0;margin:4px;font-size:14px;font-weight:700;text-align:center;border:1px solid #eee;background-color:#f7f7f7}.ulf-modal-icon .ulf-modal-header{text-align:center}.ulf-modal-icon .ulf-icon-search{width:50%;height:40px;line-height:40px}.ulf-modal-icon i{cursor:pointer;display:inline-block;margin:4px;width:35px;height:35px;line-height:35px;font-size:16px;color:#555;text-align:center;border:1px solid #ccc;background-color:#f7f7f7;border-radius:2px;box-shadow:1px 1px 0 rgba(0,0,0,.05)}.ulf-modal-icon i:hover{color:#fff;border-color:#222;background-color:#222}.ulf-modal-icon .ulf-modal-content{padding:10px;height:618px}.ulf-modal-icon .ulf-error-text{padding:10px}.ulf-modal-loading{display:none;position:absolute;left:15px;top:15px}.ulf-loading{position:relative;width:20px;height:20px;background:#ccc;border-radius:20px;box-shadow:0 2px 5px rgba(0,0,0,.07)}.ulf-loading:after{position:absolute;top:50%;left:50%;width:4px;height:4px;content:"";margin-top:-2px;margin-left:-2px;background-color:#fff;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:ulfLoader;border-radius:4px}@keyframes ulfLoader{0%{transform:rotate(0) translateX(-6px) rotate(0)}100%{transform:rotate(360deg) translateX(-6px) rotate(-360deg)}}.ulf-subtitle-text{margin-top:6px;font-weight:400;color:#999}.ulf-desc-text{clear:both;float:left;width:100%;margin-top:6px;font-weight:400;color:#999}.ulf-error-text{margin-top:6px;color:#d02c21}.ulf-before-text{margin-bottom:6px}.ulf-after-text{margin-top:6px}.ulf-metabox-hide{display:none!important}.ulf-metabox-show{display:block!important}.ulf-depend-hidden.ulf-depend-on{display:none}.ulf-depend-visible.ulf-depend-on{display:block;opacity:.75;filter:grayscale(1);user-select:none;border-top:1px solid #eee}.ulf-depend-visible.ulf-depend-on .clear:before{content:"";left:0;top:0;right:0;bottom:0;position:absolute;background-color:#eee;opacity:.25;z-index:10}.ulf-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.ulf-warning-primary:focus,.ulf-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.ulf-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.ulf-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.ulf-form-result{display:none;float:left;padding:0 8px;margin-right:4px;font-size:11px;line-height:30px;user-select:none;border-radius:2px}.ulf-form-show{display:block}.ulf-form-success{color:#fff;background-color:#46b450}.ulf-form-warning{color:#8a6d3b;background-color:#faebcc}.ulf-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;border-radius:2px}.ulf-no-option{padding:30px}.ulf-input-number{-moz-appearance:textfield}.ulf-input-number::-webkit-inner-spin-button,.ulf-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ulf-fa5-shims .ulf .fab,.ulf-fa5-shims .ulf .far,.ulf-fa5-shims .ulf .fas{font-family:FontAwesome;font-style:normal}.ulf-welcome-wrap{position:relative;margin:25px 40px 0 20px;font-size:15px;max-width:1200px}.ulf-welcome-wrap p{font-size:14px;line-height:1.5}.ulf-welcome-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.ulf-welcome-wrap .ulf-logo{position:absolute;overflow:hidden;top:0;right:0;height:160px;width:140px;background-image:linear-gradient(45deg,#2d67cb,#ad19f3);box-shadow:0 1px 4px rgba(0,0,0,.25),inset 0 0 0 4px rgba(0,0,0,.25)}.ulf-welcome-wrap .ulf-logo .ulf--effects i{position:absolute;width:200px;height:100px;background-color:rgba(0,0,0,.15);transform:rotate(-45deg)}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(1){bottom:-20px;right:-70px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(2){bottom:-35px;right:-80px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(3){bottom:-50px;right:-90px}.ulf-welcome-wrap .ulf-logo .ulf--effects i:nth-child(4){bottom:-65px;right:-100px}.ulf-welcome-wrap .ulf-logo .ulf--wp-logos{position:relative;padding-top:25px;text-align:center}.ulf-welcome-wrap .ulf-logo .ulf--wp-logo{position:absolute;left:20px;width:20px;height:20px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-logo.svg)}.ulf-welcome-wrap .ulf-logo .ulf--wp-plugin-logo{display:inline-block;width:50px;height:50px;border:3px solid #fff;background-size:40px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-plugin-logo.svg);border-radius:100%;vertical-align:middle}.ulf-welcome-wrap .ulf-logo .ulf--text{position:absolute;left:0;right:0;top:90px;color:#fff;font-size:13px;line-height:1.2em;font-weight:600;text-align:center;text-transform:uppercase;text-shadow:1px 1px 0 rgba(0,0,0,.25)}.ulf-welcome-wrap .ulf-logo .ulf--version{top:auto;left:auto;right:8px;bottom:4px;font-size:11px;text-transform:lowercase}.ulf-welcome-wrap .ulf-about-text{font-weight:400;line-height:1.6em;font-size:19px;margin:1em 200px 1em 0;color:#555d66}.ulf-welcome-wrap .ulf-demo-button{margin:1em 200px 2em 0}.ulf-welcome-wrap .nav-tab-wrapper{margin-bottom:20px}.ulf-welcome-wrap ul{list-style-type:disc;padding-left:15px}.ulf-welcome-wrap .ulf--col{float:left;padding-right:20px;box-sizing:border-box}.ulf-welcome-wrap .ulf--col-2{width:50%}.ulf-welcome-wrap .ulf--col-3{width:33.333%}.ulf-welcome-wrap .ulf--col-4{width:25%}.ulf-welcome-wrap .ulf--col-5{width:20%}.ulf-welcome-wrap .ulf--col-last{padding-right:0}.ulf-welcome-wrap .ulf--col-upgrade{padding:10px 0;text-align:center;border-top:1px solid #e5e5e5}.ulf--table-compare tfoot td,.ulf--table-compare thead td{text-align:center}.ulf--table-compare td{font-size:14px;text-align:center;vertical-align:middle;padding:10px}.ulf--table-compare td:first-child{text-align:left}.ulf--table-compare tfoot td{padding:15px 0}.ulf--table-compare .fa{font-size:18px}.ulf--table-compare .fa-check-circle{color:#46b450}.ulf--table-compare .fa-times-circle{color:#dc3232}.ulf-welcome-cols{clear:both;margin:20px 0;background-color:#fff;padding:0 0;border-radius:2px;border:1px solid #e5e5e5}.ulf-welcome-cols .ulf--col{width:33.333%;float:left;padding:20px;text-align:center;box-sizing:border-box;min-height:200px;border-right:1px solid #e5e5e5}.ulf-welcome-cols .ulf--block,.ulf-welcome-cols .ulf--left{float:left;width:20%;padding:0 30px;text-align:center;box-sizing:border-box}.ulf-welcome-cols .ulf--block{width:80%}.ulf-welcome-cols .ulf--col-first{border-bottom:1px solid #e5e5e5}.ulf-welcome-cols .ulf--last{border-right:none}.ulf-welcome-cols .ulf--space{height:20px}.ulf-welcome-cols .ulf--icon{display:inline-block;font-size:20px;width:30px;height:30px;line-height:30px;text-align:center;margin-bottom:10px;color:#fff;background-color:#555;border-radius:30px}.ulf-welcome-cols .ulf--active{background-color:#5cb85c}.ulf-welcome-cols .ulf--deactive{background-color:#e14d43}.ulf-welcome-cols .ulf--title{font-weight:700;display:block}.ulf-welcome-cols p:last-child{margin-bottom:0}.ulf-features-cols .ulf--key-features{width:30%}.ulf-features-cols .ulf--available-fields{width:70%}.ulf-code-block{margin:20px 0;padding:5px 20px;background-color:#fff;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.15)}.ulf-code-block pre{font-size:13px;color:#0073aa}.ulf-code-block pre span{color:#999}.ulf--table-fields td{font-size:14px}.ulf--upgrade a{color:#5cb85c;font-weight:700}.ulf--upgrade a:focus,.ulf--upgrade a:hover{color:#4aa14a;outline:0;box-shadow:none}@media only screen and (max-width:782px){.ulf-welcome-cols .ulf--col{width:100%;min-height:auto;border-right:none;border-bottom:1px solid #e5e5e5}.ulf-features-cols .ulf--key-features{width:100%}.ulf-features-cols .ulf--available-fields{width:100%}}@media only screen and (max-width:1200px){.ulf-metabox .ulf-field .ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-metabox .ulf-field .ulf-fieldset{float:none;width:100%}}@media only screen and (max-width:782px){.ulf-header-inner{text-align:center}.ulf-header-inner h1{width:100%;margin-bottom:10px}.ulf-form-result{float:none;margin-right:0;margin-bottom:10px}.ulf-header-left,.ulf-header-right,.ulf-search{width:100%}.ulf-search{text-align:center;margin-bottom:15px}.ulf-footer{text-align:center}.ulf-buttons{float:none}.ulf-copyright{float:none;margin-top:10px}.ulf-expand-all,.ulf-nav,.ulf-nav-background,.ulf-reset-section{display:none!important}.ulf-nav-normal+.ulf-content{margin-left:0}.ulf-section,.ulf-section-title{display:block!important}.ulf-field .ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-field .ulf-fieldset{float:none;width:100%}.ulf-field-color .button.wp-picker-clear{padding:0 8px;line-height:2.14285714;min-height:32px}.ulf-profile-options>.ulf-field>.ulf-title,.ulf-taxonomy-edit-fields>.ulf-field>.ulf-title{float:none;width:100%;margin-bottom:10px}.ulf-profile-options>.ulf-field>.ulf-fieldset,.ulf-taxonomy-edit-fields>.ulf-field>.ulf-fieldset{float:none;width:100%}.ulf-nav-menu-options>.ulf-fields{margin-left:-10px;margin-right:-10px}.ulf-nav-menu-options>.ulf-fields>.ulf-field{padding:10px}}@media only screen and (max-width:782px){.ulf-modal .ulf-modal-inner{width:90%}}@media only screen and (max-height:750px){.ulf-modal .ulf-modal-inner{height:auto}.ulf-modal .ulf-modal-content{height:calc(100vh - 200px)}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}.flatpickr-calendar{background:0 0;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08)}.flatpickr-calendar.inline,.flatpickr-calendar.open{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1);animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar.arrowRight:after,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:22px}.flatpickr-calendar.arrowCenter:after,.flatpickr-calendar.arrowCenter:before{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{background:0 0;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9)}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#959ea9}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,.5)}.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .numInputWrapper{width:6ch;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,.9)}.flatpickr-current-month input.cur-year{background:0 0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,.5);background:0 0;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:0 0;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:0;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:0}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0}.flatpickr-weekdays{background:0 0;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:0 0;color:rgba(0,0,0,.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:0 0;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:focus,.flatpickr-day.today:hover{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(57,57,57,.3);background:0 0;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,.3);background:0 0;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:0 0;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:700;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}
admin/settings/assets/js/main.js CHANGED
@@ -633,8 +633,7 @@
633
  var $this = $(this),
634
  $inputs = $this.find('input'),
635
  settings = $this.find('.ulf-date-settings').data('settings'),
636
- wrapper = '<div class="ulf-datepicker-wrapper"></div>',
637
- $datepicker;
638
 
639
  var defaults = {
640
  showAnim: '',
@@ -680,6 +679,41 @@
680
  });
681
  };
682
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
683
  //
684
  // Field: fieldset
685
  //
@@ -3340,6 +3374,7 @@
3340
  $this.children('.ulf-field-background').ulf_field_background();
3341
  $this.children('.ulf-field-code_editor').ulf_field_code_editor();
3342
  $this.children('.ulf-field-date').ulf_field_date();
 
3343
  $this.children('.ulf-field-fieldset').ulf_field_fieldset();
3344
  $this.children('.ulf-field-gallery').ulf_field_gallery();
3345
  $this.children('.ulf-field-group').ulf_field_group();
633
  var $this = $(this),
634
  $inputs = $this.find('input'),
635
  settings = $this.find('.ulf-date-settings').data('settings'),
636
+ wrapper = '<div class="ulf-datepicker-wrapper"></div>';
 
637
 
638
  var defaults = {
639
  showAnim: '',
679
  });
680
  };
681
 
682
+ //
683
+ // Field: datetime
684
+ //
685
+ $.fn.ulf_field_datetime = function() {
686
+ return this.each( function() {
687
+
688
+ var $this = $(this),
689
+ $inputs = $this.find('input'),
690
+ settings = $this.find('.ulf-datetime-settings').data('settings');
691
+
692
+ settings = $.extend({}, settings, {
693
+ onReady: function( selectedDates, dateStr, instance) {
694
+ $(instance.calendarContainer).addClass('ulf-flatpickr');
695
+ },
696
+ });
697
+
698
+ if ( $inputs.length === 2 ) {
699
+ settings = $.extend({}, settings, {
700
+ onChange: function( selectedDates, dateStr, instance) {
701
+ if ( $(instance.element).data('type') === 'from' ) {
702
+ $inputs.last().get(0)._flatpickr.set( 'minDate', selectedDates[0] );
703
+ } else {
704
+ $inputs.first().get(0)._flatpickr.set( 'maxDate', selectedDates[0] );
705
+ }
706
+ },
707
+ });
708
+ }
709
+
710
+ $inputs.each( function() {
711
+ $(this).flatpickr(settings);
712
+ });
713
+
714
+ });
715
+ };
716
+
717
  //
718
  // Field: fieldset
719
  //
3374
  $this.children('.ulf-field-background').ulf_field_background();
3375
  $this.children('.ulf-field-code_editor').ulf_field_code_editor();
3376
  $this.children('.ulf-field-date').ulf_field_date();
3377
+ $this.children('.ulf-field-datetime').ulf_field_datetime();
3378
  $this.children('.ulf-field-fieldset').ulf_field_fieldset();
3379
  $this.children('.ulf-field-gallery').ulf_field_gallery();
3380
  $this.children('.ulf-field-group').ulf_field_group();
admin/settings/assets/js/main.min.js CHANGED
@@ -1,3 +1,3 @@
1
- /* Codestar Framework | A Simple and Lightweight WordPress Option Framework - v2.2.4*/
2
 
3
- !function(I,_,b,y){"use strict";var T=T||{};T.funcs={},T.vars={onloaded:!1,$body:I("body"),$window:I(_),$document:I(b),$form_warning:null,is_confirm:!1,form_modified:!1,code_themes:[],is_rtl:I("body").hasClass("rtl")},T.helper={uid:function(e){return(e||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(e){return(e+"").replace(/(\[|\])/g,"\\$1")},name_nested_replace:function(e,t){var n=new RegExp(T.helper.preg_quote(t+"[\\d+]"),"g");e.find(":radio").each(function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)}),e.each(function(e){I(this).find(":input").each(function(){this.name=this.name.replace(n,t+"["+e+"]"),this.orginal_checked&&(this.checked=!0)})})},debounce:function(i,s,a){var c;return function(){var e=this,t=arguments,n=a&&!c;clearTimeout(c),c=setTimeout(function(){c=null,a||i.apply(e,t)},s),n&&i.apply(e,t)}}},I.fn.ulf_clone=function(){for(var e=I.fn.clone.apply(this,arguments),t=this.find("select").add(this.filter("select")),n=e.find("select").add(e.filter("select")),i=0;i<t.length;++i)for(var s=0;s<t[i].options.length;++s)!0===t[i].options[s].selected&&(n[i].options[s].selected=!0);return this.find(":radio").each(function(){this.orginal_checked=this.checked}),e},I.fn.ulf_expand_all=function(){return this.each(function(){I(this).on("click",function(e){e.preventDefault(),I(".ulf-wrapper").toggleClass("ulf-show-all"),I(".ulf-section").ulf_reload_script(),I(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")})})},I.fn.ulf_nav_options=function(){return this.each(function(){var s,e=I(this),t=I(_),a=I("#wpwrap"),c=e.find("a");t.on("hashchange ulf.hashchange",function(){var e=_.location.hash.replace("#tab=",""),t=e||c.first().attr("href").replace("#tab=",""),n=I('[data-tab-id="'+t+'"]');if(n.length){n.closest(".ulf-tab-item").addClass("ulf-tab-expanded").siblings().removeClass("ulf-tab-expanded"),n.next().is("ul")&&(t=(n=n.next().find("li").first().find("a")).data("tab-id")),c.removeClass("ulf-active"),n.addClass("ulf-active"),s&&s.addClass("hidden");var i=I('[data-section-id="'+t+'"]');i.removeClass("hidden"),i.ulf_reload_script(),I(".ulf-section-id").val(i.index()+1),s=i,a.hasClass("wp-responsive-open")&&(I("html, body").animate({scrollTop:i.offset().top-50},200),a.removeClass("wp-responsive-open"))}}).trigger("ulf.hashchange")})},I.fn.ulf_nav_metabox=function(){return this.each(function(){var s,e=I(this),a=e.find("a"),c=e.parent().find(".ulf-section");a.each(function(i){I(this).on("click",function(e){e.preventDefault();var t=I(this);a.removeClass("ulf-active"),t.addClass("ulf-active"),s!==y&&s.addClass("hidden");var n=c.eq(i);n.removeClass("hidden"),n.ulf_reload_script(),s=n})}),a.first().trigger("click")})},I.fn.ulf_page_templates=function(){this.length&&I(b).on("change",".editor-page-attributes__template select, #page_template",function(){var e=I(this).val()||"default";I(".ulf-page-templates").removeClass("ulf-metabox-show").addClass("ulf-metabox-hide"),I(".ulf-page-"+e.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"-")).removeClass("ulf-metabox-hide").addClass("ulf-metabox-show")})},I.fn.ulf_post_formats=function(){this.length&&I(b).on("change",'.editor-post-format select, #formatdiv input[name="post_format"]',function(){var e=I(this).val()||"default";e="0"===e?"default":e,I(".ulf-post-formats").removeClass("ulf-metabox-show").addClass("ulf-metabox-hide"),I(".ulf-post-format-"+e).removeClass("ulf-metabox-hide").addClass("ulf-metabox-show")})},I.fn.ulf_search=function(){return this.each(function(){I(this).find("input").on("change keyup",function(){var n=I(this).val(),e=I(".ulf-wrapper"),t=e.find(".ulf-section").find("> .ulf-field:not(.ulf-depend-on)"),i=t.find("> .ulf-title, .ulf-search-tags");3<n.length?(t.addClass("ulf-metabox-hide"),e.addClass("ulf-search-all"),i.each(function(){var e=I(this);if(e.text().match(new RegExp(".*?"+n+".*?","i"))){var t=e.closest(".ulf-field");t.removeClass("ulf-metabox-hide"),t.parent().ulf_reload_script()}})):(t.removeClass("ulf-metabox-hide"),e.removeClass("ulf-search-all"))})})},I.fn.ulf_sticky=function(){return this.each(function(){var i=I(this),s=I(_),a=i.find(".ulf-header-inner"),c=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right")),r=0,o=!1,e=function(){o||requestAnimationFrame(function(){var e,t,n;e=i.offset().top,t=Math.max(32,e-r),n=s.innerWidth(),t<=32&&782<n?(a.css({width:i.outerWidth()-c}),i.css({height:i.outerHeight()}).addClass("ulf-sticky")):(a.removeAttr("style"),i.removeAttr("style").removeClass("ulf-sticky")),o=!1}),o=!0},t=function(){r=s.scrollTop(),e()};s.on("scroll resize",t),t()})},I.fn.ulf_dependency=function(){return this.each(function(){var e=I(this),t=e.children("[data-controller]");if(t.length){var n=I.ulf_deps.createRuleset(),i=I.ulf_deps.createRuleset(),f=[],l=[];t.each(function(){var s=I(this),e=s.data("controller").split("|"),a=s.data("condition").split("|"),c=s.data("value").toString().split("|"),r=!!s.data("depend-global"),o=r?i:n;I.each(e,function(e,t){var n=c[e]||"",i=a[e]||a[0];(o=o.createRule('[data-depend-id="'+t+'"]',i,n)).include(s),r?l.push(t):f.push(t)})}),f.length&&I.ulf_deps.enable(e,n,f),l.length&&I.ulf_deps.enable(T.vars.$body,i,l)}})},I.fn.ulf_field_accordion=function(){return this.each(function(){I(this).find(".ulf-accordion-title").on("click",function(){var e=I(this),t=e.find(".ulf-accordion-icon"),n=e.next();t.hasClass("fa-angle-right")?t.removeClass("fa-angle-right").addClass("fa-angle-down"):t.removeClass("fa-angle-down").addClass("fa-angle-right"),n.data("opened")||(n.ulf_reload_script(),n.data("opened",!0)),n.toggleClass("ulf-accordion-open")})})},I.fn.ulf_field_backup=function(){return this.each(function(){if(_.wp.customize!==y){var t=this,n=I(this),i=(I("body"),n.find(".ulf-import")),s=n.find(".ulf-reset");t.notificationOverlay=function(){wp.customize.notifications&&wp.customize.OverlayNotification&&(wp.customize.state("saved").get()||(wp.customize.state("changesetStatus").set("trash"),wp.customize.each(function(e){e._dirty=!1}),wp.customize.state("saved").set(!0)),wp.customize.notifications.add(new wp.customize.OverlayNotification("ulf_field_backup_notification",{type:"default",message:"&nbsp;",loading:!0})))},s.on("click",function(e){e.preventDefault(),T.vars.is_confirm&&(t.notificationOverlay(),_.wp.ajax.post("ulf-reset",{unique:s.data("unique"),nonce:s.data("nonce")}).done(function(e){_.location.reload(!0)}).fail(function(e){alert(e.error),wp.customize.notifications.remove("ulf_field_backup_notification")}))}),i.on("click",function(e){e.preventDefault(),T.vars.is_confirm&&(t.notificationOverlay(),_.wp.ajax.post("ulf-import",{unique:i.data("unique"),nonce:i.data("nonce"),data:n.find(".ulf-import-data").val()}).done(function(e){_.location.reload(!0)}).fail(function(e){alert(e.error),wp.customize.notifications.remove("ulf_field_backup_notification")}))})}})},I.fn.ulf_field_background=function(){return this.each(function(){I(this).find(".ulf--background-image").ulf_reload_script()})},I.fn.ulf_field_code_editor=function(){return this.each(function(){if("function"==typeof CodeMirror){var t=I(this),i=t.find("textarea"),e=t.find(".CodeMirror"),s=i.data("editor");e.length&&e.remove();var a=setInterval(function(){if(t.is(":visible")){var n=CodeMirror.fromTextArea(i[0],s);if("default"!==s.theme&&-1===T.vars.code_themes.indexOf(s.theme)){var e=I("<link>");I("#ulf-codemirror-css").after(e),e.attr({rel:"stylesheet",id:"ulf-codemirror-"+s.theme+"-css",href:s.cdnURL+"/theme/"+s.theme+".min.css",type:"text/css",media:"all"}),T.vars.code_themes.push(s.theme)}CodeMirror.modeURL=s.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(n,s.mode),n.on("change",function(e,t){i.val(n.getValue()).trigger("change")}),clearInterval(a)}})}})},I.fn.ulf_field_date=function(){return this.each(function(){var e=I(this),i=e.find("input"),s=e.find(".ulf-date-settings").data("settings"),t={showAnim:"",beforeShow:function(e,t){I(t.dpDiv).addClass("ulf-datepicker-wrapper")},onClose:function(e,t){I(t.dpDiv).removeClass("ulf-datepicker-wrapper")}};s=I.extend({},s,t),2===i.length&&(s=I.extend({},s,{onSelect:function(e){I(this),i.first();var t=i.first().attr("id")===I(this).attr("id")?"minDate":"maxDate",n=I.datepicker.parseDate(s.dateFormat,e);i.not(this).datepicker("option",t,n)}})),i.each(function(){var e=I(this);e.hasClass("hasDatepicker")&&e.removeAttr("id").removeClass("hasDatepicker"),e.datepicker(s)})})},I.fn.ulf_field_fieldset=function(){return this.each(function(){I(this).find(".ulf-fieldset-content").ulf_reload_script()})},I.fn.ulf_field_gallery=function(){return this.each(function(){var a,e=I(this),c=e.find(".ulf-edit-gallery"),r=e.find(".ulf-clear-gallery"),o=e.find("ul"),f=e.find("input");e.find("img");e.on("click",".ulf-button, .ulf-edit-gallery",function(e){var t=I(this),n=f.val(),i=t.hasClass("ulf-edit-gallery")?"edit":"add",s="add"!==i||n.length?"gallery-edit":"gallery";e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&("gallery"===s?(a=_.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():(a=_.wp.media.gallery.edit('[gallery ids="'+n+'"]'),"add"===i&&a.setState("gallery-library")),a.on("update",function(e){o.empty();var t=e.models.map(function(e){var t=e.toJSON(),n=t.sizes&&t.sizes.thumbnail&&t.sizes.thumbnail.url?t.sizes.thumbnail.url:t.url;return o.append('<li><img src="'+n+'"></li>'),t.id});f.val(t.join(",")).trigger("change"),r.removeClass("hidden"),c.removeClass("hidden")}))}),r.on("click",function(e){e.preventDefault(),o.empty(),f.val("").trigger("change"),r.addClass("hidden"),c.addClass("hidden")})})},I.fn.ulf_field_group=function(){return this.each(function(){var e=I(this),t=e.children(".ulf-fieldset"),n=t.length?t:e,r=n.children(".ulf-cloneable-wrapper"),i=n.children(".ulf-cloneable-hidden"),o=n.children(".ulf-cloneable-max"),f=n.children(".ulf-cloneable-min"),l=r.data("field-id"),d=Boolean(Number(r.data("title-number"))),h=parseInt(r.data("max")),s=parseInt(r.data("min"));r.hasClass("ui-accordion")&&r.find(".ui-accordion-header-icon").remove();var p=function(e){e.find(".ulf-cloneable-title-number").each(function(e){I(this).html(I(this).closest(".ulf-cloneable-item").index()+1+".")})};r.accordion({header:"> .ulf-cloneable-item > .ulf-cloneable-title",collapsible:!0,active:!1,animate:!1,heightStyle:"content",icons:{header:"ulf-cloneable-header-icon fas fa-angle-right",activeHeader:"ulf-cloneable-header-icon fas fa-angle-down"},activate:function(e,t){var n=t.newPanel,i=t.newHeader;if(n.length&&!n.data("opened")){var s=n.children().first().find(":input").first(),a=i.find(".ulf-cloneable-value");s.on("change keyup",function(e){a.text(s.val())}),n.ulf_reload_script(),n.data("opened",!0),n.data("retry",!1)}else n.data("retry")&&(n.ulf_reload_script_retry(),n.data("retry",!1))}}),r.sortable({axis:"y",handle:".ulf-cloneable-title,.ulf-cloneable-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",start:function(e,t){r.accordion({active:!1}),r.sortable("refreshPositions"),t.item.children(".ulf-cloneable-content").data("retry",!0)},update:function(e,t){T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),l),r.ulf_customizer_refresh(),d&&p(r)}}),n.children(".ulf-cloneable-add").on("click",function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;if(f.hide(),h&&h<t+1)o.show();else{var n=i.ulf_clone(!0);n.removeClass("ulf-cloneable-hidden"),n.find(':input[name!="_pseudo"]').each(function(){this.name=this.name.replace("___","").replace(l+"[0]",l+"["+t+"]")}),r.append(n),r.accordion("refresh"),r.accordion({active:t}),r.ulf_customizer_refresh(),r.ulf_customizer_listen({closest:!0}),d&&p(r)}});var a=function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;if(f.hide(),h&&h<t+1)o.show();else{var n=I(this).parent().parent(),i=n.children(".ulf-cloneable-helper").ulf_clone(!0),s=n.children(".ulf-cloneable-title").ulf_clone(),a=n.children(".ulf-cloneable-content").ulf_clone(),c=I('<div class="ulf-cloneable-item" />');c.append(i),c.append(s),c.append(a),r.children().eq(n.index()).after(c),T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),l),r.accordion("refresh"),r.ulf_customizer_refresh(),r.ulf_customizer_listen({closest:!0}),d&&p(r)}};r.children(".ulf-cloneable-item").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-clone",a),n.children(".ulf-cloneable-hidden").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-clone",a);var c=function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;o.hide(),f.hide(),s&&t-1<s?f.show():(I(this).closest(".ulf-cloneable-item").remove(),T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),l),r.ulf_customizer_refresh(),d&&p(r))};r.children(".ulf-cloneable-item").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-remove",c),n.children(".ulf-cloneable-hidden").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-remove",c)})},I.fn.ulf_field_icon=function(){return this.each(function(){var n=I(this);n.on("click",".ulf-icon-add",function(e){e.preventDefault();var t=I(this),i=I("#ulf-modal-icon");i.removeClass("hidden"),T.vars.$icon_target=n,T.vars.icon_modal_loaded||(i.find(".ulf-modal-loading").show(),_.wp.ajax.post("ulf-get-icons",{nonce:t.data("nonce")}).done(function(e){i.find(".ulf-modal-loading").hide(),T.vars.icon_modal_loaded=!0;var n=i.find(".ulf-modal-load").html(e.content);n.on("click","i",function(e){e.preventDefault();var t=I(this).attr("title");T.vars.$icon_target.find(".ulf-icon-preview i").removeAttr("class").addClass(t),T.vars.$icon_target.find(".ulf-icon-preview").removeClass("hidden"),T.vars.$icon_target.find(".ulf-icon-remove").removeClass("hidden"),T.vars.$icon_target.find("input").val(t).trigger("change"),i.addClass("hidden")}),i.on("change keyup",".ulf-icon-search",function(){var t=I(this).val();n.find("i").each(function(){var e=I(this);e.attr("title").search(new RegExp(t,"i"))<0?e.hide():e.show()})}),i.on("click",".ulf-modal-close, .ulf-modal-overlay",function(){i.addClass("hidden")})}).fail(function(e){i.find(".ulf-modal-loading").hide(),i.find(".ulf-modal-load").html(e.error),i.on("click",function(){i.addClass("hidden")})}))}),n.on("click",".ulf-icon-remove",function(e){e.preventDefault(),n.find(".ulf-icon-preview").addClass("hidden"),n.find("input").val("").trigger("change"),I(this).addClass("hidden")})})},I.fn.ulf_field_map=function(){return this.each(function(){if("undefined"!=typeof L){var e=I(this),t=e.find(".ulf--map-osm"),n=e.find(".ulf--map-search input"),i=e.find(".ulf--latitude"),s=e.find(".ulf--longitude"),a=e.find(".ulf--zoom"),c=t.data("map"),r=L.map(t.get(0),c);L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(r);var o=L.marker(c.center,{draggable:!0}).addTo(r),f=function(e){i.val(e.lat),s.val(e.lng),a.val(r.getZoom())};r.on("click",function(e){o.setLatLng(e.latlng),f(e.latlng)}),r.on("zoom",function(){f(o.getLatLng())}),o.on("drag",function(){f(o.getLatLng())}),n.length||(n=I('[data-depend-id="'+e.find(".ulf--address-field").data("address-field")+'"]'));var l={};n.autocomplete({source:function(e,n){var i=e.term;i in l?n(l[i]):I.get("https://nominatim.openstreetmap.org/search",{format:"json",q:i},function(e){var t;t=e.length?e.map(function(e){return{value:e.display_name,label:e.display_name,lat:e.lat,lon:e.lon}},"json"):[{value:"no-data",label:"No Results."}],l[i]=t,n(t)})},select:function(e,t){if("no-data"===t.item.value)return!1;var n=L.latLng(t.item.lat,t.item.lon);r.panTo(n),o.setLatLng(n),f(n)},create:function(e,t){I(this).autocomplete("widget").addClass("ulf-map-ui-autocomplate")}});var d=function(){var e=L.latLng(i.val(),s.val());r.panTo(e),o.setLatLng(e)};i.on("change",d),s.on("change",d)}})},I.fn.ulf_field_link=function(){return this.each(function(){var s=I(this),e=s.find(".ulf--link"),a=s.find(".ulf--add"),c=s.find(".ulf--edit"),r=s.find(".ulf--remove"),o=s.find(".ulf--result"),t=T.helper.uid("ulf-wplink-textarea-");a.on("click",function(e){e.preventDefault(),_.wpLink.open(t)}),c.on("click",function(e){e.preventDefault(),a.trigger("click"),I("#wp-link-url").val(s.find(".ulf--url").val()),I("#wp-link-text").val(s.find(".ulf--text").val()),I("#wp-link-target").prop("checked","_blank"===s.find(".ulf--target").val())}),r.on("click",function(e){e.preventDefault(),s.find(".ulf--url").val("").trigger("change"),s.find(".ulf--text").val(""),s.find(".ulf--target").val(""),a.removeClass("hidden"),c.addClass("hidden"),r.addClass("hidden"),o.parent().addClass("hidden")}),e.attr("id",t).on("change",function(){var e=_.wpLink.getAttrs(),t=e.href,n=I("#wp-link-text").val(),i=e.target?e.target:"";s.find(".ulf--url").val(t).trigger("change"),s.find(".ulf--text").val(n),s.find(".ulf--target").val(i),o.html('{url:"'+t+'", text:"'+n+'", target:"'+i+'"}'),a.addClass("hidden"),c.removeClass("hidden"),r.removeClass("hidden"),o.parent().removeClass("hidden")})})},I.fn.ulf_field_media=function(){return this.each(function(){var i,s=I(this),a=s.find(".ulf--button"),c=s.find(".ulf--remove"),r=a.data("library")&&a.data("library").split(",")||"",o=!!s.hasClass("ulf-assign-field-background")&&s.closest(".ulf-field-background").find(".ulf--auto-attributes");a.on("click",function(e){e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&(i||(i=_.wp.media({library:{type:r}})).on("select",function(){var e,t=i.state().get("selection").first().attributes,n=a.data("preview-size")||"thumbnail";r.length&&-1===r.indexOf(t.subtype)&&-1===r.indexOf(t.type)||(s.find(".ulf--id").val(t.id),s.find(".ulf--width").val(t.width),s.find(".ulf--height").val(t.height),s.find(".ulf--alt").val(t.alt),s.find(".ulf--title").val(t.title),s.find(".ulf--description").val(t.description),e=void 0!==t.sizes&&void 0!==t.sizes.thumbnail&&"thumbnail"===n?t.sizes.thumbnail.url:void 0!==t.sizes&&void 0!==t.sizes.full?t.sizes.full.url:"image"===t.type?t.url:t.icon,console.log(t),o&&o.removeClass("ulf--attributes-hidden"),c.removeClass("hidden"),s.find(".ulf--preview").removeClass("hidden"),s.find(".ulf--src").attr("src",e),s.find(".ulf--thumbnail").val(e),s.find(".ulf--url").val(t.url).trigger("change"))}),i.open())}),c.on("click",function(e){e.preventDefault(),o&&o.addClass("ulf--attributes-hidden"),c.addClass("hidden"),s.find("input").val(""),s.find(".ulf--preview").addClass("hidden"),s.find(".ulf--url").trigger("change")})})},I.fn.ulf_field_repeater=function(){return this.each(function(){var e=I(this),t=e.children(".ulf-fieldset"),n=t.length?t:e,c=n.children(".ulf-repeater-wrapper"),i=n.children(".ulf-repeater-hidden"),r=n.children(".ulf-repeater-max"),o=n.children(".ulf-repeater-min"),f=c.data("field-id"),l=parseInt(c.data("max")),s=parseInt(c.data("min"));c.children(".ulf-repeater-item").children(".ulf-repeater-content").ulf_reload_script(),c.sortable({axis:"y",handle:".ulf-repeater-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(e,t){T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh(),t.item.ulf_reload_script_retry()}}),n.children(".ulf-repeater-add").on("click",function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;if(o.hide(),l&&l<t+1)r.show();else{var n=i.ulf_clone(!0);n.removeClass("ulf-repeater-hidden"),n.find(':input[name!="_pseudo"]').each(function(){this.name=this.name.replace("___","").replace(f+"[0]",f+"["+t+"]")}),c.append(n),n.children(".ulf-repeater-content").ulf_reload_script(),c.ulf_customizer_refresh(),c.ulf_customizer_listen({closest:!0})}});var a=function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;if(o.hide(),l&&l<t+1)r.show();else{var n=I(this).parent().parent().parent(),i=n.children(".ulf-repeater-content").ulf_clone(),s=n.children(".ulf-repeater-helper").ulf_clone(!0),a=I('<div class="ulf-repeater-item" />');a.append(i),a.append(s),c.children().eq(n.index()).after(a),a.children(".ulf-repeater-content").ulf_reload_script(),T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh(),c.ulf_customizer_listen({closest:!0})}};c.children(".ulf-repeater-item").children(".ulf-repeater-helper").on("click",".ulf-repeater-clone",a),n.children(".ulf-repeater-hidden").children(".ulf-repeater-helper").on("click",".ulf-repeater-clone",a);var d=function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;r.hide(),o.hide(),s&&t-1<s?o.show():(I(this).closest(".ulf-repeater-item").remove(),T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh())};c.children(".ulf-repeater-item").children(".ulf-repeater-helper").on("click",".ulf-repeater-remove",d),n.children(".ulf-repeater-hidden").children(".ulf-repeater-helper").on("click",".ulf-repeater-remove",d)})},I.fn.ulf_field_slider=function(){return this.each(function(){var e=I(this),n=e.find("input"),t=e.find(".ulf-slider-ui"),i=n.data(),s=n.val()||0;t.hasClass("ui-slider")&&t.empty(),t.slider({range:"min",value:s,min:i.min||0,max:i.max||100,step:i.step||1,slide:function(e,t){n.val(t.value).trigger("change")}}),n.on("keyup",function(){t.slider("value",n.val())})})},I.fn.ulf_field_sortable=function(){return this.each(function(){var n=I(this).find(".ulf-sortable");n.sortable({axis:"y",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(e,t){n.ulf_customizer_refresh()}}),n.find(".ulf-sortable-content").ulf_reload_script()})},I.fn.ulf_field_sorter=function(){return this.each(function(){var i=I(this),e=i.find(".ulf-enabled"),t=i.find(".ulf-disabled"),n=!!t.length&&t;e.sortable({connectWith:n,placeholder:"ui-sortable-placeholder",update:function(e,t){var n=t.item.find("input");t.item.parent().hasClass("ulf-enabled")?n.attr("name",n.attr("name").replace("disabled","enabled")):n.attr("name",n.attr("name").replace("enabled","disabled")),i.ulf_customizer_refresh()}}),n&&n.sortable({connectWith:e,placeholder:"ui-sortable-placeholder",update:function(e,t){i.ulf_customizer_refresh()}})})},I.fn.ulf_field_spinner=function(){return this.each(function(){var e=I(this),n=e.find("input"),t=e.find(".ui-button"),i=n.data();t.length&&t.remove(),n.spinner({min:i.min||0,max:i.max||100,step:i.step||1,create:function(e,t){i.unit&&n.after('<span class="ui-button ulf--unit">'+i.unit+"</span>")},spin:function(e,t){n.val(t.value).trigger("change")}})})},I.fn.ulf_field_switcher=function(){return this.each(function(){var n=I(this).find(".ulf--switcher");n.on("click",function(){var e=0,t=n.find("input");n.hasClass("ulf--active")?n.removeClass("ulf--active"):(e=1,n.addClass("ulf--active")),t.val(e).trigger("change")})})},I.fn.ulf_field_tabbed=function(){return this.each(function(){var e=I(this),t=e.find(".ulf-tabbed-nav a"),s=e.find(".ulf-tabbed-content");s.eq(0).ulf_reload_script(),t.on("click",function(e){e.preventDefault();var t=I(this),n=t.index(),i=s.eq(n);t.addClass("ulf-tabbed-active").siblings().removeClass("ulf-tabbed-active"),i.ulf_reload_script(),i.removeClass("hidden").siblings().addClass("hidden")})})},I.fn.ulf_field_typography=function(){return this.each(function(){var j=this,L=I(this),i=[],A=ulf_typography_json.webfonts,t=ulf_typography_json.googlestyles,q=ulf_typography_json.defaultstyles;j.sanitize_subset=function(e){return e=(e=e.replace("-ext"," Extended")).charAt(0).toUpperCase()+e.slice(1)},j.sanitize_style=function(e){return t[e]?t[e]:e},j.load_google_font=function(e,t,n){e&&"object"==typeof WebFont&&(t=t?t.replace("normal",""):"",n=n?n.replace("normal",""):"",(t||n)&&(e=e+":"+t+n),-1===i.indexOf(e)&&WebFont.load({google:{families:[e]}}),i.push(e))},j.append_select_options=function(e,t,s,a,c){e.find("option").not(":first").remove();var r="";I.each(t,function(e,t){var n,i=t;n=c?s&&-1!==s.indexOf(t)?" selected":"":s&&s===t?" selected":"","subset"===a?i=j.sanitize_subset(t):"style"===a&&(i=j.sanitize_style(t)),r+='<option value="'+t+'"'+n+">"+i+"</option>"}),e.append(r).trigger("ulf.change").trigger("chosen:updated")},j.init=function(){var l=[],e=L.find(".ulf--typography"),d=L.find(".ulf--type"),h=L.find(".ulf--block-font-style"),v=e.data("unit"),g=e.data("line-height-unit"),t=e.data("exclude")?e.data("exclude").split(","):[];L.find(".ulf--chosen").length&&L.find("select").each(function(){var e=I(this),t=e.parent().find(".chosen-container");t.length&&t.remove(),e.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})});var m=L.find(".ulf--font-family"),i=m.val();m.find("option").not(":first-child").remove();var s="";I.each(A,function(n,e){t&&-1!==t.indexOf(n)||(s+='<optgroup label="'+e.label+'">',I.each(e.fonts,function(e,t){s+='<option value="'+(t="object"==typeof t?e:t)+'" data-type="'+n+'"'+(t===i?" selected":"")+">"+t+"</option>"}),s+="</optgroup>")}),m.append(s).trigger("chosen:updated");var p=L.find(".ulf--block-font-style");if(p.length){var u=L.find(".ulf--font-style-select"),_=u.val()?u.val().replace(/normal/g,""):"";u.on("change ulf.change",function(e){var t=u.val();!t&&l&&-1===l.indexOf("normal")&&(t=l[0]);var n=t&&"italic"!==t&&"normal"===t?"normal":"",i=t&&"italic"!==t&&"normal"!==t?t.replace("italic",""):n,s=t&&"italic"===t.substr(-6)?"italic":"";L.find(".ulf--font-weight").val(i),L.find(".ulf--font-style").val(s)});var b=L.find(".ulf--block-extra-styles");if(b.length)var y=L.find(".ulf--extra-styles"),w=y.val()}var C=L.find(".ulf--block-subset");if(C.length)var k=L.find(".ulf--subset"),x=k.val(),z=k.data("multiple")||!1;var D=L.find(".ulf--block-backup-font-family");m.on("change ulf.change",function(e){C.length&&C.addClass("hidden"),b.length&&b.addClass("hidden"),D.length&&D.addClass("hidden");var t=m.find(":selected"),n=t.val(),i=t.data("type");if(i&&n){if("google"!==i&&"custom"!==i||!D.length||D.removeClass("hidden"),p.length){var s=q;"google"===i&&A[i].fonts[n][0]?s=A[i].fonts[n][0]:"custom"===i&&A[i].fonts[n]&&(s=A[i].fonts[n]);var a=-1!==(l=s).indexOf("normal")?"normal":s[0],c=_&&-1!==s.indexOf(_)?_:a;j.append_select_options(u,s,c,"style"),_=!1,p.removeClass("hidden"),"google"===i&&b.length&&1<s.length&&(j.append_select_options(y,s,w,"style",!0),w=!1,b.removeClass("hidden"))}if("google"===i&&C.length&&A[i].fonts[n][1]){var r=A[i].fonts[n][1],o=r.length<2&&"latin"!==r[0]?r[0]:"",f=x&&-1!==r.indexOf(x)?x:o;f=z&&x?x:f,j.append_select_options(k,r,f,"subset",z),x=!1,C.removeClass("hidden")}}else h.find(":input").val(""),C.length&&(k.find("option").not(":first-child").remove(),k.trigger("chosen:updated")),p.length&&(u.find("option").not(":first-child").remove(),u.trigger("chosen:updated"));d.val(i)}).trigger("ulf.change");var O=L.find(".ulf--block-preview");if(O.length){var S=L.find(".ulf--preview");L.on("change",T.helper.debounce(function(e){O.removeClass("hidden");var t=m.val(),n=L.find(".ulf--font-weight").val(),i=L.find(".ulf--font-style").val(),s=L.find(".ulf--font-size").val(),a=L.find(".ulf--font-variant").val(),c=L.find(".ulf--line-height").val(),r=L.find(".ulf--text-align").val(),o=L.find(".ulf--text-transform").val(),f=L.find(".ulf--text-decoration").val(),l=L.find(".ulf--color").val(),d=L.find(".ulf--word-spacing").val(),h=L.find(".ulf--letter-spacing").val(),p=L.find(".ulf--custom-style").val();"google"===L.find(".ulf--type").val()&&j.load_google_font(t,n,i);var u={};t&&(u.fontFamily=t),n&&(u.fontWeight=n),i&&(u.fontStyle=i),a&&(u.fontVariant=a),s&&(u.fontSize=s+v),c&&(u.lineHeight=c+g),h&&(u.letterSpacing=h+v),d&&(u.wordSpacing=d+v),r&&(u.textAlign=r),o&&(u.textTransform=o),f&&(u.textDecoration=f),l&&(u.color=l),S.removeAttr("style"),p&&S.attr("style",p),S.css(u)},100)),O.on("click",function(){S.toggleClass("ulf--black-background");var e=O.find(".ulf--toggle");e.hasClass("fa-toggle-off")?e.removeClass("fa-toggle-off").addClass("fa-toggle-on"):e.removeClass("fa-toggle-on").addClass("fa-toggle-off")}),O.hasClass("hidden")||L.trigger("change")}},j.init()})},I.fn.ulf_field_upload=function(){return this.each(function(){var t,e=I(this),n=e.find("input"),i=e.find(".ulf--button"),s=e.find(".ulf--remove"),a=e.find(".ulf--preview"),c=e.find(".ulf--src"),r=i.data("library")&&i.data("library").split(",")||"";i.on("click",function(e){e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&(t||(t=_.wp.media({library:{type:r}})).on("select",function(){var e=t.state().get("selection").first().attributes;r.length&&-1===r.indexOf(e.subtype)&&-1===r.indexOf(e.type)||n.val(e.url).trigger("change")}),t.open())}),s.on("click",function(e){e.preventDefault(),n.val("").trigger("change")}),n.on("change",function(e){var t=n.val();t?s.removeClass("hidden"):s.addClass("hidden"),a.length&&(-1!==I.inArray(t.split(".").pop().toLowerCase(),["jpg","jpeg","gif","png","svg","webp"])?(a.removeClass("hidden"),c.attr("src",t)):a.addClass("hidden"))})})},I.fn.ulf_field_wp_editor=function(){return this.each(function(){if(void 0!==_.wp.editor&&void 0!==_.tinyMCEPreInit&&void 0!==_.tinyMCEPreInit.mceInit.ulf_wp_editor){var e=I(this),t=e.find(".ulf-wp-editor"),n=e.find("textarea");(e.find(".wp-editor-wrap").length||e.find(".mce-container").length)&&(t.empty(),t.append(n),n.css("display",""));var i=T.helper.uid("ulf-editor-");n.attr("id",i);var s={tinymce:_.tinyMCEPreInit.mceInit.ulf_wp_editor,quicktags:_.tinyMCEPreInit.qtInit.ulf_wp_editor},a=t.data("editor-settings"),c=wp.oldEditor?wp.oldEditor:wp.editor;c&&c.hasOwnProperty("autop")&&(wp.editor.autop=c.autop,wp.editor.removep=c.removep,wp.editor.initialize=c.initialize);s.tinymce=I.extend({},s.tinymce,{selector:"#"+i,setup:function(t){t.on("change keyup",function(){var e=a.wpautop?t.getContent():wp.editor.removep(t.getContent());n.val(e).trigger("change")})}}),!1===a.tinymce&&(s.tinymce=!1,t.addClass("ulf-no-tinymce")),!1===a.quicktags&&(s.quicktags=!1,t.addClass("ulf-no-quicktags"));var r=setInterval(function(){e.is(":visible")&&(_.wp.editor.initialize(i,s),clearInterval(r))});if(a.media_buttons&&_.ulf_media_buttons){var o=t.find(".wp-media-buttons");if(o.length)o.find(".ulf-shortcode-button").data("editor-id",i);else{var f=I(_.ulf_media_buttons);f.find(".ulf-shortcode-button").data("editor-id",i),t.prepend(f)}}}})},I.fn.ulf_confirm=function(){return this.each(function(){I(this).on("click",function(e){var t=I(this).data("confirm")||_.ulf_vars.i18n.confirm;if(!confirm(t))return e.preventDefault(),!1;T.vars.is_confirm=!0,T.vars.form_modified=!1})})},I.fn.serializeObject=function(){var s={};return I.each(this.serializeArray(),function(e,t){var n=t.name,i=t.value;s[n]=s[n]===y?i:I.isArray(s[n])?s[n].concat(i):[s[n],i]}),s},I.fn.ulf_save=function(){return this.each(function(){var i,s=I(this),c=I(".ulf-save"),r=I(".ulf-options"),o=!1;s.on("click",function(e){if(!o){var t=s.data("save"),n=s.val();c.attr("value",t),s.hasClass("ulf-save-ajax")?(e.preventDefault(),r.addClass("ulf-saving"),c.prop("disabled",!0),_.wp.ajax.post("ulf_"+r.data("unique")+"_ajax_save",{data:I("#ulf-form").serializeJSONULF()}).done(function(e){if(I(".ulf-error").remove(),Object.keys(e.errors).length){var a='<i class="ulf-label-error ulf-error">!</i>';I.each(e.errors,function(e,t){var n=I('[data-depend-id="'+e+'"]'),i=I('a[href="#tab='+n.closest(".ulf-section").data("section-id")+'"]'),s=i.closest(".ulf-tab-item");n.closest(".ulf-fieldset").append('<p class="ulf-error ulf-error-text">'+t+"</p>"),i.find(".ulf-error").length||i.append(a),s.find(".ulf-arrow .ulf-error").length||s.find(".ulf-arrow").append(a)})}r.removeClass("ulf-saving"),c.prop("disabled",!1).attr("value",n),o=!1,T.vars.form_modified=!1,T.vars.$form_warning.hide(),clearTimeout(i);var t=I(".ulf-form-success");t.empty().append(e.notice).fadeIn("fast",function(){i=setTimeout(function(){t.fadeOut("fast")},1e3)})}).fail(function(e){alert(e.error)})):T.vars.form_modified=!1}o=!0})})},I.fn.ulf_options=function(){return this.each(function(){var e=I(this),t=e.find(".ulf-content"),n=e.find(".ulf-form-success"),i=e.find(".ulf-form-warning"),s=e.find(".ulf-header .ulf-save");(T.vars.$form_warning=i).length&&(_.onbeforeunload=function(){return!!T.vars.form_modified||y},t.on("change keypress",":input",function(){T.vars.form_modified||(n.hide(),i.fadeIn("fast"),T.vars.form_modified=!0)})),n.hasClass("ulf-form-show")&&setTimeout(function(){n.fadeOut("fast")},1e3),I(b).keydown(function(e){if((e.ctrlKey||e.metaKey)&&83===e.which)return s.trigger("click"),e.preventDefault(),!1})})},I.fn.ulf_taxonomy=function(){return this.each(function(){var e=I(this),t=e.parents("form");if("addtag"===t.attr("id")){var n=t.find("#submit"),i=e.find(".ulf-field").ulf_clone();n.on("click",function(){t.find(".form-required").hasClass("form-invalid")||(e.data("inited",!1),e.empty(),e.html(i),i=i.ulf_clone(),e.ulf_reload_script())})}})},I.fn.ulf_shortcode=function(){var m=this;return m.shortcode_parse=function(e,n){var i="";return I.each(e,function(e,t){i+="["+(n=n||e),I.each(t,function(e,t){"content"===e?(i+="]",i+=t,i+="[/"+n):i+=m.shortcode_tags(e,t)}),i+="]"}),i},m.shortcode_tags=function(e,t){var n="";return""!==t&&("object"!=typeof t||I.isArray(t)?n+=" "+e.replace("-","_")+'="'+t.toString()+'"':I.each(t,function(e,t){switch(e){case"background-image":t=t.url?t.url:""}""!==t&&(n+=" "+e.replace("-","_")+'="'+t.toString()+'"')})),n},m.insertAtChars=function(e,t){var n=void 0!==e[0].name?e[0]:e;return n.value.length&&void 0!==n.selectionStart?(n.focus(),n.value.substring(0,n.selectionStart)+t+n.value.substring(n.selectionEnd,n.value.length)):(n.focus(),t)},m.send_to_editor=function(e,t){var n;if("undefined"!=typeof tinymce&&(n=tinymce.get(t)),n&&!n.isHidden())n.execCommand("mceInsertContent",!1,e);else{var i=I("#"+t);i.val(m.insertAtChars(i,e)).trigger("change")}},this.each(function(){var c,r,o,n,f,l,d,s,h,p=I(this),i=p.find(".ulf-modal-load"),u=(p.find(".ulf-modal-content"),p.find(".ulf-modal-insert")),a=p.find(".ulf-modal-loading"),t=p.find("select"),v=p.data("modal-id"),g=p.data("nonce");I(b).on("click",'.ulf-shortcode-button[data-modal-id="'+v+'"]',function(e){e.preventDefault(),h=I(this),c=h.data("editor-id")||!1,r=h.data("target-id")||!1,o=h.data("gutenberg-id")||!1,p.removeClass("hidden"),p.hasClass("ulf-shortcode-single")&&f===y&&t.trigger("change")}),t.on("change",function(){var e=I(this),t=e.find(":selected");n=e.val(),f=t.data("shortcode"),l=t.data("view")||"normal",d=t.data("group")||f,i.empty(),n?(a.show(),_.wp.ajax.post("ulf-get-shortcode-"+v,{shortcode_key:n,nonce:g}).done(function(e){a.hide();var t=I(e.content).appendTo(i);u.parent().removeClass("hidden"),s=t.find(".ulf--repeat-shortcode").ulf_clone(),t.ulf_reload_script(),t.find(".ulf-fields").ulf_reload_script()})):u.parent().addClass("hidden")}),u.on("click",function(e){if(e.preventDefault(),!u.prop("disabled")&&!u.attr("disabled")){var i="",t=p.find(".ulf-field:not(.ulf-depend-on)").find(":input:not(.ignore)").serializeObjectULF();switch(l){case"contents":var n=f?t[f]:t;I.each(n,function(e,t){var n=f||e;i+="["+n+"]"+t+"[/"+n+"]"});break;case"group":i+="["+f,I.each(t[f],function(e,t){i+=m.shortcode_tags(e,t)}),i+="]",i+=m.shortcode_parse(t[d],d),i+="[/"+f+"]";break;case"repeater":i+=m.shortcode_parse(t[d],d);break;default:i+=m.shortcode_parse(t)}if(i=""===i?"["+f+"]":i,o){var s=_.ulf_gutenberg_props.attributes.hasOwnProperty("shortcode")?_.ulf_gutenberg_props.attributes.shortcode:"";_.ulf_gutenberg_props.setAttributes({shortcode:s+i})}else if(c)m.send_to_editor(i,c);else{var a=r?I(r):h.parent().find("textarea");a.val(m.insertAtChars(a,i)).trigger("change")}p.addClass("hidden")}}),p.on("click",".ulf--repeat-button",function(e){e.preventDefault();var t=p.find(".ulf--repeatable"),n=s.ulf_clone(),i=n.find(".ulf-repeat-remove");n.appendTo(t);n.find(".ulf-fields").ulf_reload_script(),T.helper.name_nested_replace(p.find(".ulf--repeat-shortcode"),d),i.on("click",function(){n.remove(),T.helper.name_nested_replace(p.find(".ulf--repeat-shortcode"),d)})}),p.on("click",".ulf-modal-close, .ulf-modal-overlay",function(){p.addClass("hidden")})})},"function"==typeof Color&&(Color.prototype.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var e=parseInt(this._color,10).toString(16);if(this.error)return"";if(e.length<6)for(var t=6-e.length-1;0<=t;t--)e="0"+e;return"#"+e}),T.funcs.parse_color=function(e){var t=e.replace(/\s+/g,""),n=-1!==t.indexOf("rgba")?parseFloat(100*t.replace(/^.*,(.+)\)/,"$1")):100;return{value:t,transparent:n,rgba:n<100}},I.fn.ulf_color=function(){return this.each(function(){var c,r=I(this),o=T.funcs.parse_color(r.val()),e=!_.ulf_vars.color_palette.length||_.ulf_vars.color_palette;r.hasClass("wp-color-picker")&&r.closest(".wp-picker-container").after(r).remove(),r.wpColorPicker({palettes:e,change:function(e,t){var n=t.color.toString();c.removeClass("ulf--transparent-active"),c.find(".ulf--transparent-offset").css("background-color",n),r.val(n).trigger("change")},create:function(){c=r.closest(".wp-picker-container");var i=r.data("a8cIris"),e=I('<div class="ulf--transparent-wrap"><div class="ulf--transparent-slider"></div><div class="ulf--transparent-offset"></div><div class="ulf--transparent-text"></div><div class="ulf--transparent-button">transparent <i class="fas fa-toggle-off"></i></div></div>').appendTo(c.find(".wp-picker-holder")),s=e.find(".ulf--transparent-slider"),a=e.find(".ulf--transparent-text"),n=e.find(".ulf--transparent-offset"),t=e.find(".ulf--transparent-button");"transparent"===r.val()&&c.addClass("ulf--transparent-active"),t.on("click",function(){"transparent"!==r.val()?(r.val("transparent").trigger("change").removeClass("iris-error"),c.addClass("ulf--transparent-active")):(r.val(i._color.toString()).trigger("change"),c.removeClass("ulf--transparent-active"))}),s.slider({value:o.transparent,step:1,min:0,max:100,slide:function(e,t){var n=parseFloat(t.value/100);i._color._alpha=n,r.wpColorPicker("color",i._color.toString()),a.text(1===n||0===n?"":n)},create:function(){var e=parseFloat(o.transparent/100),t=e<1?e:"";a.text(t),n.css("background-color",o.value),c.on("click",".wp-picker-clear",function(){i._color._alpha=1,a.text(""),s.slider("option","value",100),c.removeClass("ulf--transparent-active"),r.trigger("change")}),c.on("click",".wp-picker-default",function(){var e=T.funcs.parse_color(r.data("default-color")),t=parseFloat(e.transparent/100),n=t<1?t:"";i._color._alpha=t,a.text(n),s.slider("option","value",e.transparent),"transparent"===e.value&&(r.removeClass("iris-error"),c.addClass("ulf--transparent-active"))})}})}})})},I.fn.ulf_chosen=function(){return this.each(function(){var a=I(this),e=a.parent().find(".chosen-container"),t=a.hasClass("ulf-chosen-sortable")||!1,n=a.hasClass("ulf-chosen-ajax")||!1,i=a.attr("multiple")||!1,s=i?"100%":"auto",c=I.extend({allow_single_deselect:!0,disable_search_threshold:10,width:s,no_results_text:_.ulf_vars.i18n.no_results_text},a.data("chosen-settings"));if(e.length&&e.remove(),n){var r=I.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:_.ulf_vars.i18n.typing_text,searching_text:_.ulf_vars.i18n.searching_text,no_results_text:_.ulf_vars.i18n.no_results_text},a.data("chosen-settings"));a.ULFAjaxChosen(r)}else a.chosen(c);if(i){var o=a.parent().find(".ulf-hide-select"),f=o.val()||[];a.on("change",function(e,t){t&&t.selected?o.append('<option value="'+t.selected+'" selected="selected">'+t.selected+"</option>"):t&&t.deselected&&o.find('option[value="'+t.deselected+'"]').remove(),_.wp.customize!==y&&0===o.children().length&&o.data("customize-setting-link")&&_.wp.customize.control(o.data("customize-setting-link")).setting.set(""),o.trigger("change")}),a.ULFChosenOrder(f,!0)}if(t){var l=a.parent().find(".chosen-container").find(".chosen-choices");l.bind("mousedown",function(e){I(e.target).is("span")&&e.stopPropagation()}),l.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,t){t.placeholder.width(t.item.innerWidth()),t.placeholder.height(t.item.innerHeight())},update:function(e,t){var i="",s=a.data("chosen"),n=a.parent().find(".ulf-hide-select");l.find(".search-choice-close").each(function(){var n=I(this).data("option-array-index");I.each(s.results_data,function(e,t){t.array_index===n&&(i+='<option value="'+t.value+'" selected>'+t.value+"</option>")})}),n.children().remove(),n.append(i),n.trigger("change")}})}})},I.fn.ulf_checkbox=function(){return this.each(function(){var e=I(this),t=e.find(".ulf--input"),n=e.find(".ulf--checkbox");n.on("click",function(){t.val(Number(n.prop("checked"))).trigger("change")})})},I.fn.ulf_siblings=function(){return this.each(function(){var t=I(this),e=t.find(".ulf--sibling"),n=t.data("multiple")||!1;e.on("click",function(){var e=I(this);n?e.hasClass("ulf--active")?(e.removeClass("ulf--active"),e.find("input").prop("checked",!1).trigger("change")):(e.addClass("ulf--active"),e.find("input").prop("checked",!0).trigger("change")):(t.find("input").prop("checked",!1),e.find("input").prop("checked",!0).trigger("change"),e.addClass("ulf--active").siblings().removeClass("ulf--active"))})})},I.fn.ulf_help=function(){return this.each(function(){var e,t,n=I(this);n.on({mouseenter:function(){e=I('<div class="ulf-tooltip"></div>').html(n.find(".ulf-help-text").html()).appendTo("body"),t=T.vars.is_rtl?n.offset().left+24:n.offset().left-e.outerWidth(),e.css({top:n.offset().top-(e.outerHeight()/2-14),left:t})},mouseleave:function(){e!==y&&e.remove()}})})},I.fn.ulf_customizer_refresh=function(){return this.each(function(){var e=I(this),t=e.closest(".ulf-customize-complex");if(t.length){var n=t.data("unique-id");if(n===y)return;var i=t.find(":input"),s=t.data("option-id"),a=i.serializeObjectULF(),c=!I.isEmptyObject(a)&&a[n]&&a[n][s]?a[n][s]:"",r=_.wp.customize.control(n+"["+s+"]");r.setting._value=null,r.setting.set(c)}else e.find(":input").first().trigger("change");I(b).trigger("ulf-customizer-refresh",e)})},I.fn.ulf_customizer_listen=function(e){var t=I.extend({closest:!1},e);return this.each(function(){if(_.wp.customize!==y){var n=t.closest?I(this).closest(".ulf-customize-complex"):I(this),e=n.find(":input"),i=n.data("unique-id"),s=n.data("option-id");i!==y&&e.on("change keyup",function(){var e=n.find(":input").serializeObjectULF(),t=!I.isEmptyObject(e)&&e[i]&&e[i][s]?e[i][s]:"";_.wp.customize.control(i+"["+s+"]").setting.set(t)})}})},I(b).on("expanded",".control-section",function(){var e=I(this);if(e.hasClass("open")&&!e.data("inited")){var t=e.find(".ulf-customize-field"),n=e.find(".ulf-customize-complex");t.length&&(e.ulf_dependency(),t.ulf_reload_script({dependency:!1}),n.ulf_customizer_listen()),e.data("inited",!0)}}),T.vars.$window.on("resize ulf.resize",T.helper.debounce(function(e){(-1<navigator.userAgent.indexOf("AppleWebKit/")?T.vars.$window.width():_.innerWidth)<=782&&!T.vars.onloaded&&(I(".ulf-section").ulf_reload_script(),T.vars.onloaded=!0)},200)).trigger("ulf.resize"),I.fn.ulf_widgets=function(){return this.each(function(){I(b).on("widget-added widget-updated",function(e,t){var n=t.find(".ulf-fields");n.length&&n.ulf_reload_script()}),I(b).on("click",".widget-top",function(e){var t=I(this).parent().find(".ulf-fields");t.length&&t.ulf_reload_script()}),I(".widgets-sortables, .control-section-sidebar").on("sortstop",function(e,t){t.item.find(".ulf-fields").ulf_reload_script_retry()})})},I.fn.ulf_nav_menu=function(){return this.each(function(){var e=I(this);e.on("click","a.item-edit",function(){I(this).closest("li.menu-item").find(".ulf-fields").ulf_reload_script()}),e.on("sortstop",function(e,t){t.item.find(".ulf-fields").ulf_reload_script_retry()})})},I.fn.ulf_reload_script_retry=function(){return this.each(function(){var e=I(this);e.data("inited")&&e.children(".ulf-field-wp_editor").ulf_field_wp_editor()})},I.fn.ulf_reload_script=function(e){var t=I.extend({dependency:!0},e);return this.each(function(){var e=I(this);e.data("inited")||(e.children(".ulf-field-accordion").ulf_field_accordion(),e.children(".ulf-field-backup").ulf_field_backup(),e.children(".ulf-field-background").ulf_field_background(),e.children(".ulf-field-code_editor").ulf_field_code_editor(),e.children(".ulf-field-date").ulf_field_date(),e.children(".ulf-field-fieldset").ulf_field_fieldset(),e.children(".ulf-field-gallery").ulf_field_gallery(),e.children(".ulf-field-group").ulf_field_group(),e.children(".ulf-field-icon").ulf_field_icon(),e.children(".ulf-field-link").ulf_field_link(),e.children(".ulf-field-media").ulf_field_media(),e.children(".ulf-field-map").ulf_field_map(),e.children(".ulf-field-repeater").ulf_field_repeater(),e.children(".ulf-field-slider").ulf_field_slider(),e.children(".ulf-field-sortable").ulf_field_sortable(),e.children(".ulf-field-sorter").ulf_field_sorter(),e.children(".ulf-field-spinner").ulf_field_spinner(),e.children(".ulf-field-switcher").ulf_field_switcher(),e.children(".ulf-field-tabbed").ulf_field_tabbed(),e.children(".ulf-field-typography").ulf_field_typography(),e.children(".ulf-field-upload").ulf_field_upload(),e.children(".ulf-field-wp_editor").ulf_field_wp_editor(),e.children(".ulf-field-border").find(".ulf-color").ulf_color(),e.children(".ulf-field-background").find(".ulf-color").ulf_color(),e.children(".ulf-field-color").find(".ulf-color").ulf_color(),e.children(".ulf-field-color_group").find(".ulf-color").ulf_color(),e.children(".ulf-field-link_color").find(".ulf-color").ulf_color(),e.children(".ulf-field-typography").find(".ulf-color").ulf_color(),e.children(".ulf-field-select").find(".ulf-chosen").ulf_chosen(),e.children(".ulf-field-checkbox").find(".ulf-checkbox").ulf_checkbox(),e.children(".ulf-field-button_set").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field-image_select").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field-palette").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field").find(".ulf-help").ulf_help(),t.dependency&&e.ulf_dependency(),e.data("inited",!0),I(b).trigger("ulf-reload-script",e))})},I(b).ready(function(){I(".ulf-save").ulf_save(),I(".ulf-options").ulf_options(),I(".ulf-sticky-header").ulf_sticky(),I(".ulf-nav-options").ulf_nav_options(),I(".ulf-nav-metabox").ulf_nav_metabox(),I(".ulf-taxonomy").ulf_taxonomy(),I(".ulf-page-templates").ulf_page_templates(),I(".ulf-post-formats").ulf_post_formats(),I(".ulf-shortcode").ulf_shortcode(),I(".ulf-search").ulf_search(),I(".ulf-confirm").ulf_confirm(),I(".ulf-expand-all").ulf_expand_all(),I(".ulf-onload").ulf_reload_script(),I("#widgets-editor").ulf_widgets(),I("#widgets-right").ulf_widgets(),I("#menu-to-edit").ulf_nav_menu()})}(jQuery,window,document);
1
+ /* Codestar Framework | A Simple and Lightweight WordPress Option Framework - v2.2.6*/
2
 
3
+ !function(I,_,b,y){"use strict";var T=T||{};T.funcs={},T.vars={onloaded:!1,$body:I("body"),$window:I(_),$document:I(b),$form_warning:null,is_confirm:!1,form_modified:!1,code_themes:[],is_rtl:I("body").hasClass("rtl")},T.helper={uid:function(e){return(e||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(e){return(e+"").replace(/(\[|\])/g,"\\$1")},name_nested_replace:function(e,t){var n=new RegExp(T.helper.preg_quote(t+"[\\d+]"),"g");e.find(":radio").each(function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)}),e.each(function(e){I(this).find(":input").each(function(){this.name=this.name.replace(n,t+"["+e+"]"),this.orginal_checked&&(this.checked=!0)})})},debounce:function(i,s,a){var c;return function(){var e=this,t=arguments,n=a&&!c;clearTimeout(c),c=setTimeout(function(){c=null,a||i.apply(e,t)},s),n&&i.apply(e,t)}}},I.fn.ulf_clone=function(){for(var e=I.fn.clone.apply(this,arguments),t=this.find("select").add(this.filter("select")),n=e.find("select").add(e.filter("select")),i=0;i<t.length;++i)for(var s=0;s<t[i].options.length;++s)!0===t[i].options[s].selected&&(n[i].options[s].selected=!0);return this.find(":radio").each(function(){this.orginal_checked=this.checked}),e},I.fn.ulf_expand_all=function(){return this.each(function(){I(this).on("click",function(e){e.preventDefault(),I(".ulf-wrapper").toggleClass("ulf-show-all"),I(".ulf-section").ulf_reload_script(),I(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")})})},I.fn.ulf_nav_options=function(){return this.each(function(){var s,e=I(this),t=I(_),a=I("#wpwrap"),c=e.find("a");t.on("hashchange ulf.hashchange",function(){var e=_.location.hash.replace("#tab=",""),t=e||c.first().attr("href").replace("#tab=",""),n=I('[data-tab-id="'+t+'"]');if(n.length){n.closest(".ulf-tab-item").addClass("ulf-tab-expanded").siblings().removeClass("ulf-tab-expanded"),n.next().is("ul")&&(t=(n=n.next().find("li").first().find("a")).data("tab-id")),c.removeClass("ulf-active"),n.addClass("ulf-active"),s&&s.addClass("hidden");var i=I('[data-section-id="'+t+'"]');i.removeClass("hidden"),i.ulf_reload_script(),I(".ulf-section-id").val(i.index()+1),s=i,a.hasClass("wp-responsive-open")&&(I("html, body").animate({scrollTop:i.offset().top-50},200),a.removeClass("wp-responsive-open"))}}).trigger("ulf.hashchange")})},I.fn.ulf_nav_metabox=function(){return this.each(function(){var s,e=I(this),a=e.find("a"),c=e.parent().find(".ulf-section");a.each(function(i){I(this).on("click",function(e){e.preventDefault();var t=I(this);a.removeClass("ulf-active"),t.addClass("ulf-active"),s!==y&&s.addClass("hidden");var n=c.eq(i);n.removeClass("hidden"),n.ulf_reload_script(),s=n})}),a.first().trigger("click")})},I.fn.ulf_page_templates=function(){this.length&&I(b).on("change",".editor-page-attributes__template select, #page_template",function(){var e=I(this).val()||"default";I(".ulf-page-templates").removeClass("ulf-metabox-show").addClass("ulf-metabox-hide"),I(".ulf-page-"+e.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"-")).removeClass("ulf-metabox-hide").addClass("ulf-metabox-show")})},I.fn.ulf_post_formats=function(){this.length&&I(b).on("change",'.editor-post-format select, #formatdiv input[name="post_format"]',function(){var e=I(this).val()||"default";e="0"===e?"default":e,I(".ulf-post-formats").removeClass("ulf-metabox-show").addClass("ulf-metabox-hide"),I(".ulf-post-format-"+e).removeClass("ulf-metabox-hide").addClass("ulf-metabox-show")})},I.fn.ulf_search=function(){return this.each(function(){I(this).find("input").on("change keyup",function(){var n=I(this).val(),e=I(".ulf-wrapper"),t=e.find(".ulf-section").find("> .ulf-field:not(.ulf-depend-on)"),i=t.find("> .ulf-title, .ulf-search-tags");3<n.length?(t.addClass("ulf-metabox-hide"),e.addClass("ulf-search-all"),i.each(function(){var e=I(this);if(e.text().match(new RegExp(".*?"+n+".*?","i"))){var t=e.closest(".ulf-field");t.removeClass("ulf-metabox-hide"),t.parent().ulf_reload_script()}})):(t.removeClass("ulf-metabox-hide"),e.removeClass("ulf-search-all"))})})},I.fn.ulf_sticky=function(){return this.each(function(){var i=I(this),s=I(_),a=i.find(".ulf-header-inner"),c=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right")),r=0,o=!1,e=function(){o||requestAnimationFrame(function(){var e,t,n;e=i.offset().top,t=Math.max(32,e-r),n=s.innerWidth(),t<=32&&782<n?(a.css({width:i.outerWidth()-c}),i.css({height:i.outerHeight()}).addClass("ulf-sticky")):(a.removeAttr("style"),i.removeAttr("style").removeClass("ulf-sticky")),o=!1}),o=!0},t=function(){r=s.scrollTop(),e()};s.on("scroll resize",t),t()})},I.fn.ulf_dependency=function(){return this.each(function(){var e=I(this),t=e.children("[data-controller]");if(t.length){var n=I.ulf_deps.createRuleset(),i=I.ulf_deps.createRuleset(),f=[],l=[];t.each(function(){var s=I(this),e=s.data("controller").split("|"),a=s.data("condition").split("|"),c=s.data("value").toString().split("|"),r=!!s.data("depend-global"),o=r?i:n;I.each(e,function(e,t){var n=c[e]||"",i=a[e]||a[0];(o=o.createRule('[data-depend-id="'+t+'"]',i,n)).include(s),r?l.push(t):f.push(t)})}),f.length&&I.ulf_deps.enable(e,n,f),l.length&&I.ulf_deps.enable(T.vars.$body,i,l)}})},I.fn.ulf_field_accordion=function(){return this.each(function(){I(this).find(".ulf-accordion-title").on("click",function(){var e=I(this),t=e.find(".ulf-accordion-icon"),n=e.next();t.hasClass("fa-angle-right")?t.removeClass("fa-angle-right").addClass("fa-angle-down"):t.removeClass("fa-angle-down").addClass("fa-angle-right"),n.data("opened")||(n.ulf_reload_script(),n.data("opened",!0)),n.toggleClass("ulf-accordion-open")})})},I.fn.ulf_field_backup=function(){return this.each(function(){if(_.wp.customize!==y){var t=this,n=I(this),i=(I("body"),n.find(".ulf-import")),s=n.find(".ulf-reset");t.notificationOverlay=function(){wp.customize.notifications&&wp.customize.OverlayNotification&&(wp.customize.state("saved").get()||(wp.customize.state("changesetStatus").set("trash"),wp.customize.each(function(e){e._dirty=!1}),wp.customize.state("saved").set(!0)),wp.customize.notifications.add(new wp.customize.OverlayNotification("ulf_field_backup_notification",{type:"default",message:"&nbsp;",loading:!0})))},s.on("click",function(e){e.preventDefault(),T.vars.is_confirm&&(t.notificationOverlay(),_.wp.ajax.post("ulf-reset",{unique:s.data("unique"),nonce:s.data("nonce")}).done(function(e){_.location.reload(!0)}).fail(function(e){alert(e.error),wp.customize.notifications.remove("ulf_field_backup_notification")}))}),i.on("click",function(e){e.preventDefault(),T.vars.is_confirm&&(t.notificationOverlay(),_.wp.ajax.post("ulf-import",{unique:i.data("unique"),nonce:i.data("nonce"),data:n.find(".ulf-import-data").val()}).done(function(e){_.location.reload(!0)}).fail(function(e){alert(e.error),wp.customize.notifications.remove("ulf_field_backup_notification")}))})}})},I.fn.ulf_field_background=function(){return this.each(function(){I(this).find(".ulf--background-image").ulf_reload_script()})},I.fn.ulf_field_code_editor=function(){return this.each(function(){if("function"==typeof CodeMirror){var t=I(this),i=t.find("textarea"),e=t.find(".CodeMirror"),s=i.data("editor");e.length&&e.remove();var a=setInterval(function(){if(t.is(":visible")){var n=CodeMirror.fromTextArea(i[0],s);if("default"!==s.theme&&-1===T.vars.code_themes.indexOf(s.theme)){var e=I("<link>");I("#ulf-codemirror-css").after(e),e.attr({rel:"stylesheet",id:"ulf-codemirror-"+s.theme+"-css",href:s.cdnURL+"/theme/"+s.theme+".min.css",type:"text/css",media:"all"}),T.vars.code_themes.push(s.theme)}CodeMirror.modeURL=s.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(n,s.mode),n.on("change",function(e,t){i.val(n.getValue()).trigger("change")}),clearInterval(a)}})}})},I.fn.ulf_field_date=function(){return this.each(function(){var e=I(this),i=e.find("input"),s=e.find(".ulf-date-settings").data("settings"),t={showAnim:"",beforeShow:function(e,t){I(t.dpDiv).addClass("ulf-datepicker-wrapper")},onClose:function(e,t){I(t.dpDiv).removeClass("ulf-datepicker-wrapper")}};s=I.extend({},s,t),2===i.length&&(s=I.extend({},s,{onSelect:function(e){I(this),i.first();var t=i.first().attr("id")===I(this).attr("id")?"minDate":"maxDate",n=I.datepicker.parseDate(s.dateFormat,e);i.not(this).datepicker("option",t,n)}})),i.each(function(){var e=I(this);e.hasClass("hasDatepicker")&&e.removeAttr("id").removeClass("hasDatepicker"),e.datepicker(s)})})},I.fn.ulf_field_datetime=function(){return this.each(function(){var e=I(this),i=e.find("input"),t=e.find(".ulf-datetime-settings").data("settings");t=I.extend({},t,{onReady:function(e,t,n){I(n.calendarContainer).addClass("ulf-flatpickr")}}),2===i.length&&(t=I.extend({},t,{onChange:function(e,t,n){"from"===I(n.element).data("type")?i.last().get(0)._flatpickr.set("minDate",e[0]):i.first().get(0)._flatpickr.set("maxDate",e[0])}})),i.each(function(){I(this).flatpickr(t)})})},I.fn.ulf_field_fieldset=function(){return this.each(function(){I(this).find(".ulf-fieldset-content").ulf_reload_script()})},I.fn.ulf_field_gallery=function(){return this.each(function(){var a,e=I(this),c=e.find(".ulf-edit-gallery"),r=e.find(".ulf-clear-gallery"),o=e.find("ul"),f=e.find("input");e.find("img");e.on("click",".ulf-button, .ulf-edit-gallery",function(e){var t=I(this),n=f.val(),i=t.hasClass("ulf-edit-gallery")?"edit":"add",s="add"!==i||n.length?"gallery-edit":"gallery";e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&("gallery"===s?(a=_.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():(a=_.wp.media.gallery.edit('[gallery ids="'+n+'"]'),"add"===i&&a.setState("gallery-library")),a.on("update",function(e){o.empty();var t=e.models.map(function(e){var t=e.toJSON(),n=t.sizes&&t.sizes.thumbnail&&t.sizes.thumbnail.url?t.sizes.thumbnail.url:t.url;return o.append('<li><img src="'+n+'"></li>'),t.id});f.val(t.join(",")).trigger("change"),r.removeClass("hidden"),c.removeClass("hidden")}))}),r.on("click",function(e){e.preventDefault(),o.empty(),f.val("").trigger("change"),r.addClass("hidden"),c.addClass("hidden")})})},I.fn.ulf_field_group=function(){return this.each(function(){var e=I(this),t=e.children(".ulf-fieldset"),n=t.length?t:e,r=n.children(".ulf-cloneable-wrapper"),i=n.children(".ulf-cloneable-hidden"),o=n.children(".ulf-cloneable-max"),f=n.children(".ulf-cloneable-min"),l=r.data("field-id"),d=Boolean(Number(r.data("title-number"))),h=parseInt(r.data("max")),s=parseInt(r.data("min"));r.hasClass("ui-accordion")&&r.find(".ui-accordion-header-icon").remove();var p=function(e){e.find(".ulf-cloneable-title-number").each(function(e){I(this).html(I(this).closest(".ulf-cloneable-item").index()+1+".")})};r.accordion({header:"> .ulf-cloneable-item > .ulf-cloneable-title",collapsible:!0,active:!1,animate:!1,heightStyle:"content",icons:{header:"ulf-cloneable-header-icon fas fa-angle-right",activeHeader:"ulf-cloneable-header-icon fas fa-angle-down"},activate:function(e,t){var n=t.newPanel,i=t.newHeader;if(n.length&&!n.data("opened")){var s=n.children().first().find(":input").first(),a=i.find(".ulf-cloneable-value");s.on("change keyup",function(e){a.text(s.val())}),n.ulf_reload_script(),n.data("opened",!0),n.data("retry",!1)}else n.data("retry")&&(n.ulf_reload_script_retry(),n.data("retry",!1))}}),r.sortable({axis:"y",handle:".ulf-cloneable-title,.ulf-cloneable-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",start:function(e,t){r.accordion({active:!1}),r.sortable("refreshPositions"),t.item.children(".ulf-cloneable-content").data("retry",!0)},update:function(e,t){T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),l),r.ulf_customizer_refresh(),d&&p(r)}}),n.children(".ulf-cloneable-add").on("click",function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;if(f.hide(),h&&h<t+1)o.show();else{var n=i.ulf_clone(!0);n.removeClass("ulf-cloneable-hidden"),n.find(':input[name!="_pseudo"]').each(function(){this.name=this.name.replace("___","").replace(l+"[0]",l+"["+t+"]")}),r.append(n),r.accordion("refresh"),r.accordion({active:t}),r.ulf_customizer_refresh(),r.ulf_customizer_listen({closest:!0}),d&&p(r)}});var a=function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;if(f.hide(),h&&h<t+1)o.show();else{var n=I(this).parent().parent(),i=n.children(".ulf-cloneable-helper").ulf_clone(!0),s=n.children(".ulf-cloneable-title").ulf_clone(),a=n.children(".ulf-cloneable-content").ulf_clone(),c=I('<div class="ulf-cloneable-item" />');c.append(i),c.append(s),c.append(a),r.children().eq(n.index()).after(c),T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),l),r.accordion("refresh"),r.ulf_customizer_refresh(),r.ulf_customizer_listen({closest:!0}),d&&p(r)}};r.children(".ulf-cloneable-item").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-clone",a),n.children(".ulf-cloneable-hidden").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-clone",a);var c=function(e){e.preventDefault();var t=r.children(".ulf-cloneable-item").length;o.hide(),f.hide(),s&&t-1<s?f.show():(I(this).closest(".ulf-cloneable-item").remove(),T.helper.name_nested_replace(r.children(".ulf-cloneable-item"),l),r.ulf_customizer_refresh(),d&&p(r))};r.children(".ulf-cloneable-item").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-remove",c),n.children(".ulf-cloneable-hidden").children(".ulf-cloneable-helper").on("click",".ulf-cloneable-remove",c)})},I.fn.ulf_field_icon=function(){return this.each(function(){var n=I(this);n.on("click",".ulf-icon-add",function(e){e.preventDefault();var t=I(this),i=I("#ulf-modal-icon");i.removeClass("hidden"),T.vars.$icon_target=n,T.vars.icon_modal_loaded||(i.find(".ulf-modal-loading").show(),_.wp.ajax.post("ulf-get-icons",{nonce:t.data("nonce")}).done(function(e){i.find(".ulf-modal-loading").hide(),T.vars.icon_modal_loaded=!0;var n=i.find(".ulf-modal-load").html(e.content);n.on("click","i",function(e){e.preventDefault();var t=I(this).attr("title");T.vars.$icon_target.find(".ulf-icon-preview i").removeAttr("class").addClass(t),T.vars.$icon_target.find(".ulf-icon-preview").removeClass("hidden"),T.vars.$icon_target.find(".ulf-icon-remove").removeClass("hidden"),T.vars.$icon_target.find("input").val(t).trigger("change"),i.addClass("hidden")}),i.on("change keyup",".ulf-icon-search",function(){var t=I(this).val();n.find("i").each(function(){var e=I(this);e.attr("title").search(new RegExp(t,"i"))<0?e.hide():e.show()})}),i.on("click",".ulf-modal-close, .ulf-modal-overlay",function(){i.addClass("hidden")})}).fail(function(e){i.find(".ulf-modal-loading").hide(),i.find(".ulf-modal-load").html(e.error),i.on("click",function(){i.addClass("hidden")})}))}),n.on("click",".ulf-icon-remove",function(e){e.preventDefault(),n.find(".ulf-icon-preview").addClass("hidden"),n.find("input").val("").trigger("change"),I(this).addClass("hidden")})})},I.fn.ulf_field_map=function(){return this.each(function(){if("undefined"!=typeof L){var e=I(this),t=e.find(".ulf--map-osm"),n=e.find(".ulf--map-search input"),i=e.find(".ulf--latitude"),s=e.find(".ulf--longitude"),a=e.find(".ulf--zoom"),c=t.data("map"),r=L.map(t.get(0),c);L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(r);var o=L.marker(c.center,{draggable:!0}).addTo(r),f=function(e){i.val(e.lat),s.val(e.lng),a.val(r.getZoom())};r.on("click",function(e){o.setLatLng(e.latlng),f(e.latlng)}),r.on("zoom",function(){f(o.getLatLng())}),o.on("drag",function(){f(o.getLatLng())}),n.length||(n=I('[data-depend-id="'+e.find(".ulf--address-field").data("address-field")+'"]'));var l={};n.autocomplete({source:function(e,n){var i=e.term;i in l?n(l[i]):I.get("https://nominatim.openstreetmap.org/search",{format:"json",q:i},function(e){var t;t=e.length?e.map(function(e){return{value:e.display_name,label:e.display_name,lat:e.lat,lon:e.lon}},"json"):[{value:"no-data",label:"No Results."}],l[i]=t,n(t)})},select:function(e,t){if("no-data"===t.item.value)return!1;var n=L.latLng(t.item.lat,t.item.lon);r.panTo(n),o.setLatLng(n),f(n)},create:function(e,t){I(this).autocomplete("widget").addClass("ulf-map-ui-autocomplate")}});var d=function(){var e=L.latLng(i.val(),s.val());r.panTo(e),o.setLatLng(e)};i.on("change",d),s.on("change",d)}})},I.fn.ulf_field_link=function(){return this.each(function(){var s=I(this),e=s.find(".ulf--link"),a=s.find(".ulf--add"),c=s.find(".ulf--edit"),r=s.find(".ulf--remove"),o=s.find(".ulf--result"),t=T.helper.uid("ulf-wplink-textarea-");a.on("click",function(e){e.preventDefault(),_.wpLink.open(t)}),c.on("click",function(e){e.preventDefault(),a.trigger("click"),I("#wp-link-url").val(s.find(".ulf--url").val()),I("#wp-link-text").val(s.find(".ulf--text").val()),I("#wp-link-target").prop("checked","_blank"===s.find(".ulf--target").val())}),r.on("click",function(e){e.preventDefault(),s.find(".ulf--url").val("").trigger("change"),s.find(".ulf--text").val(""),s.find(".ulf--target").val(""),a.removeClass("hidden"),c.addClass("hidden"),r.addClass("hidden"),o.parent().addClass("hidden")}),e.attr("id",t).on("change",function(){var e=_.wpLink.getAttrs(),t=e.href,n=I("#wp-link-text").val(),i=e.target?e.target:"";s.find(".ulf--url").val(t).trigger("change"),s.find(".ulf--text").val(n),s.find(".ulf--target").val(i),o.html('{url:"'+t+'", text:"'+n+'", target:"'+i+'"}'),a.addClass("hidden"),c.removeClass("hidden"),r.removeClass("hidden"),o.parent().removeClass("hidden")})})},I.fn.ulf_field_media=function(){return this.each(function(){var i,s=I(this),a=s.find(".ulf--button"),c=s.find(".ulf--remove"),r=a.data("library")&&a.data("library").split(",")||"",o=!!s.hasClass("ulf-assign-field-background")&&s.closest(".ulf-field-background").find(".ulf--auto-attributes");a.on("click",function(e){e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&(i||(i=_.wp.media({library:{type:r}})).on("select",function(){var e,t=i.state().get("selection").first().attributes,n=a.data("preview-size")||"thumbnail";r.length&&-1===r.indexOf(t.subtype)&&-1===r.indexOf(t.type)||(s.find(".ulf--id").val(t.id),s.find(".ulf--width").val(t.width),s.find(".ulf--height").val(t.height),s.find(".ulf--alt").val(t.alt),s.find(".ulf--title").val(t.title),s.find(".ulf--description").val(t.description),e=void 0!==t.sizes&&void 0!==t.sizes.thumbnail&&"thumbnail"===n?t.sizes.thumbnail.url:void 0!==t.sizes&&void 0!==t.sizes.full?t.sizes.full.url:"image"===t.type?t.url:t.icon,console.log(t),o&&o.removeClass("ulf--attributes-hidden"),c.removeClass("hidden"),s.find(".ulf--preview").removeClass("hidden"),s.find(".ulf--src").attr("src",e),s.find(".ulf--thumbnail").val(e),s.find(".ulf--url").val(t.url).trigger("change"))}),i.open())}),c.on("click",function(e){e.preventDefault(),o&&o.addClass("ulf--attributes-hidden"),c.addClass("hidden"),s.find("input").val(""),s.find(".ulf--preview").addClass("hidden"),s.find(".ulf--url").trigger("change")})})},I.fn.ulf_field_repeater=function(){return this.each(function(){var e=I(this),t=e.children(".ulf-fieldset"),n=t.length?t:e,c=n.children(".ulf-repeater-wrapper"),i=n.children(".ulf-repeater-hidden"),r=n.children(".ulf-repeater-max"),o=n.children(".ulf-repeater-min"),f=c.data("field-id"),l=parseInt(c.data("max")),s=parseInt(c.data("min"));c.children(".ulf-repeater-item").children(".ulf-repeater-content").ulf_reload_script(),c.sortable({axis:"y",handle:".ulf-repeater-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(e,t){T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh(),t.item.ulf_reload_script_retry()}}),n.children(".ulf-repeater-add").on("click",function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;if(o.hide(),l&&l<t+1)r.show();else{var n=i.ulf_clone(!0);n.removeClass("ulf-repeater-hidden"),n.find(':input[name!="_pseudo"]').each(function(){this.name=this.name.replace("___","").replace(f+"[0]",f+"["+t+"]")}),c.append(n),n.children(".ulf-repeater-content").ulf_reload_script(),c.ulf_customizer_refresh(),c.ulf_customizer_listen({closest:!0})}});var a=function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;if(o.hide(),l&&l<t+1)r.show();else{var n=I(this).parent().parent().parent(),i=n.children(".ulf-repeater-content").ulf_clone(),s=n.children(".ulf-repeater-helper").ulf_clone(!0),a=I('<div class="ulf-repeater-item" />');a.append(i),a.append(s),c.children().eq(n.index()).after(a),a.children(".ulf-repeater-content").ulf_reload_script(),T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh(),c.ulf_customizer_listen({closest:!0})}};c.children(".ulf-repeater-item").children(".ulf-repeater-helper").on("click",".ulf-repeater-clone",a),n.children(".ulf-repeater-hidden").children(".ulf-repeater-helper").on("click",".ulf-repeater-clone",a);var d=function(e){e.preventDefault();var t=c.children(".ulf-repeater-item").length;r.hide(),o.hide(),s&&t-1<s?o.show():(I(this).closest(".ulf-repeater-item").remove(),T.helper.name_nested_replace(c.children(".ulf-repeater-item"),f),c.ulf_customizer_refresh())};c.children(".ulf-repeater-item").children(".ulf-repeater-helper").on("click",".ulf-repeater-remove",d),n.children(".ulf-repeater-hidden").children(".ulf-repeater-helper").on("click",".ulf-repeater-remove",d)})},I.fn.ulf_field_slider=function(){return this.each(function(){var e=I(this),n=e.find("input"),t=e.find(".ulf-slider-ui"),i=n.data(),s=n.val()||0;t.hasClass("ui-slider")&&t.empty(),t.slider({range:"min",value:s,min:i.min||0,max:i.max||100,step:i.step||1,slide:function(e,t){n.val(t.value).trigger("change")}}),n.on("keyup",function(){t.slider("value",n.val())})})},I.fn.ulf_field_sortable=function(){return this.each(function(){var n=I(this).find(".ulf-sortable");n.sortable({axis:"y",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(e,t){n.ulf_customizer_refresh()}}),n.find(".ulf-sortable-content").ulf_reload_script()})},I.fn.ulf_field_sorter=function(){return this.each(function(){var i=I(this),e=i.find(".ulf-enabled"),t=i.find(".ulf-disabled"),n=!!t.length&&t;e.sortable({connectWith:n,placeholder:"ui-sortable-placeholder",update:function(e,t){var n=t.item.find("input");t.item.parent().hasClass("ulf-enabled")?n.attr("name",n.attr("name").replace("disabled","enabled")):n.attr("name",n.attr("name").replace("enabled","disabled")),i.ulf_customizer_refresh()}}),n&&n.sortable({connectWith:e,placeholder:"ui-sortable-placeholder",update:function(e,t){i.ulf_customizer_refresh()}})})},I.fn.ulf_field_spinner=function(){return this.each(function(){var e=I(this),n=e.find("input"),t=e.find(".ui-button"),i=n.data();t.length&&t.remove(),n.spinner({min:i.min||0,max:i.max||100,step:i.step||1,create:function(e,t){i.unit&&n.after('<span class="ui-button ulf--unit">'+i.unit+"</span>")},spin:function(e,t){n.val(t.value).trigger("change")}})})},I.fn.ulf_field_switcher=function(){return this.each(function(){var n=I(this).find(".ulf--switcher");n.on("click",function(){var e=0,t=n.find("input");n.hasClass("ulf--active")?n.removeClass("ulf--active"):(e=1,n.addClass("ulf--active")),t.val(e).trigger("change")})})},I.fn.ulf_field_tabbed=function(){return this.each(function(){var e=I(this),t=e.find(".ulf-tabbed-nav a"),s=e.find(".ulf-tabbed-content");s.eq(0).ulf_reload_script(),t.on("click",function(e){e.preventDefault();var t=I(this),n=t.index(),i=s.eq(n);t.addClass("ulf-tabbed-active").siblings().removeClass("ulf-tabbed-active"),i.ulf_reload_script(),i.removeClass("hidden").siblings().addClass("hidden")})})},I.fn.ulf_field_typography=function(){return this.each(function(){var j=this,L=I(this),i=[],A=ulf_typography_json.webfonts,t=ulf_typography_json.googlestyles,q=ulf_typography_json.defaultstyles;j.sanitize_subset=function(e){return e=(e=e.replace("-ext"," Extended")).charAt(0).toUpperCase()+e.slice(1)},j.sanitize_style=function(e){return t[e]?t[e]:e},j.load_google_font=function(e,t,n){e&&"object"==typeof WebFont&&(t=t?t.replace("normal",""):"",n=n?n.replace("normal",""):"",(t||n)&&(e=e+":"+t+n),-1===i.indexOf(e)&&WebFont.load({google:{families:[e]}}),i.push(e))},j.append_select_options=function(e,t,s,a,c){e.find("option").not(":first").remove();var r="";I.each(t,function(e,t){var n,i=t;n=c?s&&-1!==s.indexOf(t)?" selected":"":s&&s===t?" selected":"","subset"===a?i=j.sanitize_subset(t):"style"===a&&(i=j.sanitize_style(t)),r+='<option value="'+t+'"'+n+">"+i+"</option>"}),e.append(r).trigger("ulf.change").trigger("chosen:updated")},j.init=function(){var l=[],e=L.find(".ulf--typography"),d=L.find(".ulf--type"),h=L.find(".ulf--block-font-style"),v=e.data("unit"),g=e.data("line-height-unit"),t=e.data("exclude")?e.data("exclude").split(","):[];L.find(".ulf--chosen").length&&L.find("select").each(function(){var e=I(this),t=e.parent().find(".chosen-container");t.length&&t.remove(),e.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})});var m=L.find(".ulf--font-family"),i=m.val();m.find("option").not(":first-child").remove();var s="";I.each(A,function(n,e){t&&-1!==t.indexOf(n)||(s+='<optgroup label="'+e.label+'">',I.each(e.fonts,function(e,t){s+='<option value="'+(t="object"==typeof t?e:t)+'" data-type="'+n+'"'+(t===i?" selected":"")+">"+t+"</option>"}),s+="</optgroup>")}),m.append(s).trigger("chosen:updated");var p=L.find(".ulf--block-font-style");if(p.length){var u=L.find(".ulf--font-style-select"),_=u.val()?u.val().replace(/normal/g,""):"";u.on("change ulf.change",function(e){var t=u.val();!t&&l&&-1===l.indexOf("normal")&&(t=l[0]);var n=t&&"italic"!==t&&"normal"===t?"normal":"",i=t&&"italic"!==t&&"normal"!==t?t.replace("italic",""):n,s=t&&"italic"===t.substr(-6)?"italic":"";L.find(".ulf--font-weight").val(i),L.find(".ulf--font-style").val(s)});var b=L.find(".ulf--block-extra-styles");if(b.length)var y=L.find(".ulf--extra-styles"),w=y.val()}var C=L.find(".ulf--block-subset");if(C.length)var k=L.find(".ulf--subset"),x=k.val(),z=k.data("multiple")||!1;var D=L.find(".ulf--block-backup-font-family");m.on("change ulf.change",function(e){C.length&&C.addClass("hidden"),b.length&&b.addClass("hidden"),D.length&&D.addClass("hidden");var t=m.find(":selected"),n=t.val(),i=t.data("type");if(i&&n){if("google"!==i&&"custom"!==i||!D.length||D.removeClass("hidden"),p.length){var s=q;"google"===i&&A[i].fonts[n][0]?s=A[i].fonts[n][0]:"custom"===i&&A[i].fonts[n]&&(s=A[i].fonts[n]);var a=-1!==(l=s).indexOf("normal")?"normal":s[0],c=_&&-1!==s.indexOf(_)?_:a;j.append_select_options(u,s,c,"style"),_=!1,p.removeClass("hidden"),"google"===i&&b.length&&1<s.length&&(j.append_select_options(y,s,w,"style",!0),w=!1,b.removeClass("hidden"))}if("google"===i&&C.length&&A[i].fonts[n][1]){var r=A[i].fonts[n][1],o=r.length<2&&"latin"!==r[0]?r[0]:"",f=x&&-1!==r.indexOf(x)?x:o;f=z&&x?x:f,j.append_select_options(k,r,f,"subset",z),x=!1,C.removeClass("hidden")}}else h.find(":input").val(""),C.length&&(k.find("option").not(":first-child").remove(),k.trigger("chosen:updated")),p.length&&(u.find("option").not(":first-child").remove(),u.trigger("chosen:updated"));d.val(i)}).trigger("ulf.change");var O=L.find(".ulf--block-preview");if(O.length){var S=L.find(".ulf--preview");L.on("change",T.helper.debounce(function(e){O.removeClass("hidden");var t=m.val(),n=L.find(".ulf--font-weight").val(),i=L.find(".ulf--font-style").val(),s=L.find(".ulf--font-size").val(),a=L.find(".ulf--font-variant").val(),c=L.find(".ulf--line-height").val(),r=L.find(".ulf--text-align").val(),o=L.find(".ulf--text-transform").val(),f=L.find(".ulf--text-decoration").val(),l=L.find(".ulf--color").val(),d=L.find(".ulf--word-spacing").val(),h=L.find(".ulf--letter-spacing").val(),p=L.find(".ulf--custom-style").val();"google"===L.find(".ulf--type").val()&&j.load_google_font(t,n,i);var u={};t&&(u.fontFamily=t),n&&(u.fontWeight=n),i&&(u.fontStyle=i),a&&(u.fontVariant=a),s&&(u.fontSize=s+v),c&&(u.lineHeight=c+g),h&&(u.letterSpacing=h+v),d&&(u.wordSpacing=d+v),r&&(u.textAlign=r),o&&(u.textTransform=o),f&&(u.textDecoration=f),l&&(u.color=l),S.removeAttr("style"),p&&S.attr("style",p),S.css(u)},100)),O.on("click",function(){S.toggleClass("ulf--black-background");var e=O.find(".ulf--toggle");e.hasClass("fa-toggle-off")?e.removeClass("fa-toggle-off").addClass("fa-toggle-on"):e.removeClass("fa-toggle-on").addClass("fa-toggle-off")}),O.hasClass("hidden")||L.trigger("change")}},j.init()})},I.fn.ulf_field_upload=function(){return this.each(function(){var t,e=I(this),n=e.find("input"),i=e.find(".ulf--button"),s=e.find(".ulf--remove"),a=e.find(".ulf--preview"),c=e.find(".ulf--src"),r=i.data("library")&&i.data("library").split(",")||"";i.on("click",function(e){e.preventDefault(),void 0!==_.wp&&_.wp.media&&_.wp.media.gallery&&(t||(t=_.wp.media({library:{type:r}})).on("select",function(){var e=t.state().get("selection").first().attributes;r.length&&-1===r.indexOf(e.subtype)&&-1===r.indexOf(e.type)||n.val(e.url).trigger("change")}),t.open())}),s.on("click",function(e){e.preventDefault(),n.val("").trigger("change")}),n.on("change",function(e){var t=n.val();t?s.removeClass("hidden"):s.addClass("hidden"),a.length&&(-1!==I.inArray(t.split(".").pop().toLowerCase(),["jpg","jpeg","gif","png","svg","webp"])?(a.removeClass("hidden"),c.attr("src",t)):a.addClass("hidden"))})})},I.fn.ulf_field_wp_editor=function(){return this.each(function(){if(void 0!==_.wp.editor&&void 0!==_.tinyMCEPreInit&&void 0!==_.tinyMCEPreInit.mceInit.ulf_wp_editor){var e=I(this),t=e.find(".ulf-wp-editor"),n=e.find("textarea");(e.find(".wp-editor-wrap").length||e.find(".mce-container").length)&&(t.empty(),t.append(n),n.css("display",""));var i=T.helper.uid("ulf-editor-");n.attr("id",i);var s={tinymce:_.tinyMCEPreInit.mceInit.ulf_wp_editor,quicktags:_.tinyMCEPreInit.qtInit.ulf_wp_editor},a=t.data("editor-settings"),c=wp.oldEditor?wp.oldEditor:wp.editor;c&&c.hasOwnProperty("autop")&&(wp.editor.autop=c.autop,wp.editor.removep=c.removep,wp.editor.initialize=c.initialize);s.tinymce=I.extend({},s.tinymce,{selector:"#"+i,setup:function(t){t.on("change keyup",function(){var e=a.wpautop?t.getContent():wp.editor.removep(t.getContent());n.val(e).trigger("change")})}}),!1===a.tinymce&&(s.tinymce=!1,t.addClass("ulf-no-tinymce")),!1===a.quicktags&&(s.quicktags=!1,t.addClass("ulf-no-quicktags"));var r=setInterval(function(){e.is(":visible")&&(_.wp.editor.initialize(i,s),clearInterval(r))});if(a.media_buttons&&_.ulf_media_buttons){var o=t.find(".wp-media-buttons");if(o.length)o.find(".ulf-shortcode-button").data("editor-id",i);else{var f=I(_.ulf_media_buttons);f.find(".ulf-shortcode-button").data("editor-id",i),t.prepend(f)}}}})},I.fn.ulf_confirm=function(){return this.each(function(){I(this).on("click",function(e){var t=I(this).data("confirm")||_.ulf_vars.i18n.confirm;if(!confirm(t))return e.preventDefault(),!1;T.vars.is_confirm=!0,T.vars.form_modified=!1})})},I.fn.serializeObject=function(){var s={};return I.each(this.serializeArray(),function(e,t){var n=t.name,i=t.value;s[n]=s[n]===y?i:I.isArray(s[n])?s[n].concat(i):[s[n],i]}),s},I.fn.ulf_save=function(){return this.each(function(){var i,s=I(this),c=I(".ulf-save"),r=I(".ulf-options"),o=!1;s.on("click",function(e){if(!o){var t=s.data("save"),n=s.val();c.attr("value",t),s.hasClass("ulf-save-ajax")?(e.preventDefault(),r.addClass("ulf-saving"),c.prop("disabled",!0),_.wp.ajax.post("ulf_"+r.data("unique")+"_ajax_save",{data:I("#ulf-form").serializeJSONULF()}).done(function(e){if(I(".ulf-error").remove(),Object.keys(e.errors).length){var a='<i class="ulf-label-error ulf-error">!</i>';I.each(e.errors,function(e,t){var n=I('[data-depend-id="'+e+'"]'),i=I('a[href="#tab='+n.closest(".ulf-section").data("section-id")+'"]'),s=i.closest(".ulf-tab-item");n.closest(".ulf-fieldset").append('<p class="ulf-error ulf-error-text">'+t+"</p>"),i.find(".ulf-error").length||i.append(a),s.find(".ulf-arrow .ulf-error").length||s.find(".ulf-arrow").append(a)})}r.removeClass("ulf-saving"),c.prop("disabled",!1).attr("value",n),o=!1,T.vars.form_modified=!1,T.vars.$form_warning.hide(),clearTimeout(i);var t=I(".ulf-form-success");t.empty().append(e.notice).fadeIn("fast",function(){i=setTimeout(function(){t.fadeOut("fast")},1e3)})}).fail(function(e){alert(e.error)})):T.vars.form_modified=!1}o=!0})})},I.fn.ulf_options=function(){return this.each(function(){var e=I(this),t=e.find(".ulf-content"),n=e.find(".ulf-form-success"),i=e.find(".ulf-form-warning"),s=e.find(".ulf-header .ulf-save");(T.vars.$form_warning=i).length&&(_.onbeforeunload=function(){return!!T.vars.form_modified||y},t.on("change keypress",":input",function(){T.vars.form_modified||(n.hide(),i.fadeIn("fast"),T.vars.form_modified=!0)})),n.hasClass("ulf-form-show")&&setTimeout(function(){n.fadeOut("fast")},1e3),I(b).keydown(function(e){if((e.ctrlKey||e.metaKey)&&83===e.which)return s.trigger("click"),e.preventDefault(),!1})})},I.fn.ulf_taxonomy=function(){return this.each(function(){var e=I(this),t=e.parents("form");if("addtag"===t.attr("id")){var n=t.find("#submit"),i=e.find(".ulf-field").ulf_clone();n.on("click",function(){t.find(".form-required").hasClass("form-invalid")||(e.data("inited",!1),e.empty(),e.html(i),i=i.ulf_clone(),e.ulf_reload_script())})}})},I.fn.ulf_shortcode=function(){var m=this;return m.shortcode_parse=function(e,n){var i="";return I.each(e,function(e,t){i+="["+(n=n||e),I.each(t,function(e,t){"content"===e?(i+="]",i+=t,i+="[/"+n):i+=m.shortcode_tags(e,t)}),i+="]"}),i},m.shortcode_tags=function(e,t){var n="";return""!==t&&("object"!=typeof t||I.isArray(t)?n+=" "+e.replace("-","_")+'="'+t.toString()+'"':I.each(t,function(e,t){switch(e){case"background-image":t=t.url?t.url:""}""!==t&&(n+=" "+e.replace("-","_")+'="'+t.toString()+'"')})),n},m.insertAtChars=function(e,t){var n=void 0!==e[0].name?e[0]:e;return n.value.length&&void 0!==n.selectionStart?(n.focus(),n.value.substring(0,n.selectionStart)+t+n.value.substring(n.selectionEnd,n.value.length)):(n.focus(),t)},m.send_to_editor=function(e,t){var n;if("undefined"!=typeof tinymce&&(n=tinymce.get(t)),n&&!n.isHidden())n.execCommand("mceInsertContent",!1,e);else{var i=I("#"+t);i.val(m.insertAtChars(i,e)).trigger("change")}},this.each(function(){var c,r,o,n,f,l,d,s,h,p=I(this),i=p.find(".ulf-modal-load"),u=(p.find(".ulf-modal-content"),p.find(".ulf-modal-insert")),a=p.find(".ulf-modal-loading"),t=p.find("select"),v=p.data("modal-id"),g=p.data("nonce");I(b).on("click",'.ulf-shortcode-button[data-modal-id="'+v+'"]',function(e){e.preventDefault(),h=I(this),c=h.data("editor-id")||!1,r=h.data("target-id")||!1,o=h.data("gutenberg-id")||!1,p.removeClass("hidden"),p.hasClass("ulf-shortcode-single")&&f===y&&t.trigger("change")}),t.on("change",function(){var e=I(this),t=e.find(":selected");n=e.val(),f=t.data("shortcode"),l=t.data("view")||"normal",d=t.data("group")||f,i.empty(),n?(a.show(),_.wp.ajax.post("ulf-get-shortcode-"+v,{shortcode_key:n,nonce:g}).done(function(e){a.hide();var t=I(e.content).appendTo(i);u.parent().removeClass("hidden"),s=t.find(".ulf--repeat-shortcode").ulf_clone(),t.ulf_reload_script(),t.find(".ulf-fields").ulf_reload_script()})):u.parent().addClass("hidden")}),u.on("click",function(e){if(e.preventDefault(),!u.prop("disabled")&&!u.attr("disabled")){var i="",t=p.find(".ulf-field:not(.ulf-depend-on)").find(":input:not(.ignore)").serializeObjectULF();switch(l){case"contents":var n=f?t[f]:t;I.each(n,function(e,t){var n=f||e;i+="["+n+"]"+t+"[/"+n+"]"});break;case"group":i+="["+f,I.each(t[f],function(e,t){i+=m.shortcode_tags(e,t)}),i+="]",i+=m.shortcode_parse(t[d],d),i+="[/"+f+"]";break;case"repeater":i+=m.shortcode_parse(t[d],d);break;default:i+=m.shortcode_parse(t)}if(i=""===i?"["+f+"]":i,o){var s=_.ulf_gutenberg_props.attributes.hasOwnProperty("shortcode")?_.ulf_gutenberg_props.attributes.shortcode:"";_.ulf_gutenberg_props.setAttributes({shortcode:s+i})}else if(c)m.send_to_editor(i,c);else{var a=r?I(r):h.parent().find("textarea");a.val(m.insertAtChars(a,i)).trigger("change")}p.addClass("hidden")}}),p.on("click",".ulf--repeat-button",function(e){e.preventDefault();var t=p.find(".ulf--repeatable"),n=s.ulf_clone(),i=n.find(".ulf-repeat-remove");n.appendTo(t);n.find(".ulf-fields").ulf_reload_script(),T.helper.name_nested_replace(p.find(".ulf--repeat-shortcode"),d),i.on("click",function(){n.remove(),T.helper.name_nested_replace(p.find(".ulf--repeat-shortcode"),d)})}),p.on("click",".ulf-modal-close, .ulf-modal-overlay",function(){p.addClass("hidden")})})},"function"==typeof Color&&(Color.prototype.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var e=parseInt(this._color,10).toString(16);if(this.error)return"";if(e.length<6)for(var t=6-e.length-1;0<=t;t--)e="0"+e;return"#"+e}),T.funcs.parse_color=function(e){var t=e.replace(/\s+/g,""),n=-1!==t.indexOf("rgba")?parseFloat(100*t.replace(/^.*,(.+)\)/,"$1")):100;return{value:t,transparent:n,rgba:n<100}},I.fn.ulf_color=function(){return this.each(function(){var c,r=I(this),o=T.funcs.parse_color(r.val()),e=!_.ulf_vars.color_palette.length||_.ulf_vars.color_palette;r.hasClass("wp-color-picker")&&r.closest(".wp-picker-container").after(r).remove(),r.wpColorPicker({palettes:e,change:function(e,t){var n=t.color.toString();c.removeClass("ulf--transparent-active"),c.find(".ulf--transparent-offset").css("background-color",n),r.val(n).trigger("change")},create:function(){c=r.closest(".wp-picker-container");var i=r.data("a8cIris"),e=I('<div class="ulf--transparent-wrap"><div class="ulf--transparent-slider"></div><div class="ulf--transparent-offset"></div><div class="ulf--transparent-text"></div><div class="ulf--transparent-button">transparent <i class="fas fa-toggle-off"></i></div></div>').appendTo(c.find(".wp-picker-holder")),s=e.find(".ulf--transparent-slider"),a=e.find(".ulf--transparent-text"),n=e.find(".ulf--transparent-offset"),t=e.find(".ulf--transparent-button");"transparent"===r.val()&&c.addClass("ulf--transparent-active"),t.on("click",function(){"transparent"!==r.val()?(r.val("transparent").trigger("change").removeClass("iris-error"),c.addClass("ulf--transparent-active")):(r.val(i._color.toString()).trigger("change"),c.removeClass("ulf--transparent-active"))}),s.slider({value:o.transparent,step:1,min:0,max:100,slide:function(e,t){var n=parseFloat(t.value/100);i._color._alpha=n,r.wpColorPicker("color",i._color.toString()),a.text(1===n||0===n?"":n)},create:function(){var e=parseFloat(o.transparent/100),t=e<1?e:"";a.text(t),n.css("background-color",o.value),c.on("click",".wp-picker-clear",function(){i._color._alpha=1,a.text(""),s.slider("option","value",100),c.removeClass("ulf--transparent-active"),r.trigger("change")}),c.on("click",".wp-picker-default",function(){var e=T.funcs.parse_color(r.data("default-color")),t=parseFloat(e.transparent/100),n=t<1?t:"";i._color._alpha=t,a.text(n),s.slider("option","value",e.transparent),"transparent"===e.value&&(r.removeClass("iris-error"),c.addClass("ulf--transparent-active"))})}})}})})},I.fn.ulf_chosen=function(){return this.each(function(){var a=I(this),e=a.parent().find(".chosen-container"),t=a.hasClass("ulf-chosen-sortable")||!1,n=a.hasClass("ulf-chosen-ajax")||!1,i=a.attr("multiple")||!1,s=i?"100%":"auto",c=I.extend({allow_single_deselect:!0,disable_search_threshold:10,width:s,no_results_text:_.ulf_vars.i18n.no_results_text},a.data("chosen-settings"));if(e.length&&e.remove(),n){var r=I.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:_.ulf_vars.i18n.typing_text,searching_text:_.ulf_vars.i18n.searching_text,no_results_text:_.ulf_vars.i18n.no_results_text},a.data("chosen-settings"));a.ULFAjaxChosen(r)}else a.chosen(c);if(i){var o=a.parent().find(".ulf-hide-select"),f=o.val()||[];a.on("change",function(e,t){t&&t.selected?o.append('<option value="'+t.selected+'" selected="selected">'+t.selected+"</option>"):t&&t.deselected&&o.find('option[value="'+t.deselected+'"]').remove(),_.wp.customize!==y&&0===o.children().length&&o.data("customize-setting-link")&&_.wp.customize.control(o.data("customize-setting-link")).setting.set(""),o.trigger("change")}),a.ULFChosenOrder(f,!0)}if(t){var l=a.parent().find(".chosen-container").find(".chosen-choices");l.bind("mousedown",function(e){I(e.target).is("span")&&e.stopPropagation()}),l.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,t){t.placeholder.width(t.item.innerWidth()),t.placeholder.height(t.item.innerHeight())},update:function(e,t){var i="",s=a.data("chosen"),n=a.parent().find(".ulf-hide-select");l.find(".search-choice-close").each(function(){var n=I(this).data("option-array-index");I.each(s.results_data,function(e,t){t.array_index===n&&(i+='<option value="'+t.value+'" selected>'+t.value+"</option>")})}),n.children().remove(),n.append(i),n.trigger("change")}})}})},I.fn.ulf_checkbox=function(){return this.each(function(){var e=I(this),t=e.find(".ulf--input"),n=e.find(".ulf--checkbox");n.on("click",function(){t.val(Number(n.prop("checked"))).trigger("change")})})},I.fn.ulf_siblings=function(){return this.each(function(){var t=I(this),e=t.find(".ulf--sibling"),n=t.data("multiple")||!1;e.on("click",function(){var e=I(this);n?e.hasClass("ulf--active")?(e.removeClass("ulf--active"),e.find("input").prop("checked",!1).trigger("change")):(e.addClass("ulf--active"),e.find("input").prop("checked",!0).trigger("change")):(t.find("input").prop("checked",!1),e.find("input").prop("checked",!0).trigger("change"),e.addClass("ulf--active").siblings().removeClass("ulf--active"))})})},I.fn.ulf_help=function(){return this.each(function(){var e,t,n=I(this);n.on({mouseenter:function(){e=I('<div class="ulf-tooltip"></div>').html(n.find(".ulf-help-text").html()).appendTo("body"),t=T.vars.is_rtl?n.offset().left+24:n.offset().left-e.outerWidth(),e.css({top:n.offset().top-(e.outerHeight()/2-14),left:t})},mouseleave:function(){e!==y&&e.remove()}})})},I.fn.ulf_customizer_refresh=function(){return this.each(function(){var e=I(this),t=e.closest(".ulf-customize-complex");if(t.length){var n=t.data("unique-id");if(n===y)return;var i=t.find(":input"),s=t.data("option-id"),a=i.serializeObjectULF(),c=!I.isEmptyObject(a)&&a[n]&&a[n][s]?a[n][s]:"",r=_.wp.customize.control(n+"["+s+"]");r.setting._value=null,r.setting.set(c)}else e.find(":input").first().trigger("change");I(b).trigger("ulf-customizer-refresh",e)})},I.fn.ulf_customizer_listen=function(e){var t=I.extend({closest:!1},e);return this.each(function(){if(_.wp.customize!==y){var n=t.closest?I(this).closest(".ulf-customize-complex"):I(this),e=n.find(":input"),i=n.data("unique-id"),s=n.data("option-id");i!==y&&e.on("change keyup",function(){var e=n.find(":input").serializeObjectULF(),t=!I.isEmptyObject(e)&&e[i]&&e[i][s]?e[i][s]:"";_.wp.customize.control(i+"["+s+"]").setting.set(t)})}})},I(b).on("expanded",".control-section",function(){var e=I(this);if(e.hasClass("open")&&!e.data("inited")){var t=e.find(".ulf-customize-field"),n=e.find(".ulf-customize-complex");t.length&&(e.ulf_dependency(),t.ulf_reload_script({dependency:!1}),n.ulf_customizer_listen()),e.data("inited",!0)}}),T.vars.$window.on("resize ulf.resize",T.helper.debounce(function(e){(-1<navigator.userAgent.indexOf("AppleWebKit/")?T.vars.$window.width():_.innerWidth)<=782&&!T.vars.onloaded&&(I(".ulf-section").ulf_reload_script(),T.vars.onloaded=!0)},200)).trigger("ulf.resize"),I.fn.ulf_widgets=function(){return this.each(function(){I(b).on("widget-added widget-updated",function(e,t){var n=t.find(".ulf-fields");n.length&&n.ulf_reload_script()}),I(b).on("click",".widget-top",function(e){var t=I(this).parent().find(".ulf-fields");t.length&&t.ulf_reload_script()}),I(".widgets-sortables, .control-section-sidebar").on("sortstop",function(e,t){t.item.find(".ulf-fields").ulf_reload_script_retry()})})},I.fn.ulf_nav_menu=function(){return this.each(function(){var e=I(this);e.on("click","a.item-edit",function(){I(this).closest("li.menu-item").find(".ulf-fields").ulf_reload_script()}),e.on("sortstop",function(e,t){t.item.find(".ulf-fields").ulf_reload_script_retry()})})},I.fn.ulf_reload_script_retry=function(){return this.each(function(){var e=I(this);e.data("inited")&&e.children(".ulf-field-wp_editor").ulf_field_wp_editor()})},I.fn.ulf_reload_script=function(e){var t=I.extend({dependency:!0},e);return this.each(function(){var e=I(this);e.data("inited")||(e.children(".ulf-field-accordion").ulf_field_accordion(),e.children(".ulf-field-backup").ulf_field_backup(),e.children(".ulf-field-background").ulf_field_background(),e.children(".ulf-field-code_editor").ulf_field_code_editor(),e.children(".ulf-field-date").ulf_field_date(),e.children(".ulf-field-datetime").ulf_field_datetime(),e.children(".ulf-field-fieldset").ulf_field_fieldset(),e.children(".ulf-field-gallery").ulf_field_gallery(),e.children(".ulf-field-group").ulf_field_group(),e.children(".ulf-field-icon").ulf_field_icon(),e.children(".ulf-field-link").ulf_field_link(),e.children(".ulf-field-media").ulf_field_media(),e.children(".ulf-field-map").ulf_field_map(),e.children(".ulf-field-repeater").ulf_field_repeater(),e.children(".ulf-field-slider").ulf_field_slider(),e.children(".ulf-field-sortable").ulf_field_sortable(),e.children(".ulf-field-sorter").ulf_field_sorter(),e.children(".ulf-field-spinner").ulf_field_spinner(),e.children(".ulf-field-switcher").ulf_field_switcher(),e.children(".ulf-field-tabbed").ulf_field_tabbed(),e.children(".ulf-field-typography").ulf_field_typography(),e.children(".ulf-field-upload").ulf_field_upload(),e.children(".ulf-field-wp_editor").ulf_field_wp_editor(),e.children(".ulf-field-border").find(".ulf-color").ulf_color(),e.children(".ulf-field-background").find(".ulf-color").ulf_color(),e.children(".ulf-field-color").find(".ulf-color").ulf_color(),e.children(".ulf-field-color_group").find(".ulf-color").ulf_color(),e.children(".ulf-field-link_color").find(".ulf-color").ulf_color(),e.children(".ulf-field-typography").find(".ulf-color").ulf_color(),e.children(".ulf-field-select").find(".ulf-chosen").ulf_chosen(),e.children(".ulf-field-checkbox").find(".ulf-checkbox").ulf_checkbox(),e.children(".ulf-field-button_set").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field-image_select").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field-palette").find(".ulf-siblings").ulf_siblings(),e.children(".ulf-field").find(".ulf-help").ulf_help(),t.dependency&&e.ulf_dependency(),e.data("inited",!0),I(b).trigger("ulf-reload-script",e))})},I(b).ready(function(){I(".ulf-save").ulf_save(),I(".ulf-options").ulf_options(),I(".ulf-sticky-header").ulf_sticky(),I(".ulf-nav-options").ulf_nav_options(),I(".ulf-nav-metabox").ulf_nav_metabox(),I(".ulf-taxonomy").ulf_taxonomy(),I(".ulf-page-templates").ulf_page_templates(),I(".ulf-post-formats").ulf_post_formats(),I(".ulf-shortcode").ulf_shortcode(),I(".ulf-search").ulf_search(),I(".ulf-confirm").ulf_confirm(),I(".ulf-expand-all").ulf_expand_all(),I(".ulf-onload").ulf_reload_script(),I("#widgets-editor").ulf_widgets(),I("#widgets-right").ulf_widgets(),I("#menu-to-edit").ulf_nav_menu()})}(jQuery,window,document);
admin/settings/assets/js/plugins.js CHANGED
@@ -1,4 +1,2677 @@
1
- /**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  *
3
  * jQuery Chosen AJAX Autocomplete Library
4
  *
1
+ /* flatpickr v4.6.9, @license MIT */
2
+ (function (global, factory) {
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
+ typeof define === 'function' && define.amd ? define(factory) :
5
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.flatpickr = factory());
6
+ }(this, (function () { 'use strict';
7
+
8
+ /*! *****************************************************************************
9
+ Copyright (c) Microsoft Corporation.
10
+
11
+ Permission to use, copy, modify, and/or distribute this software for any
12
+ purpose with or without fee is hereby granted.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
15
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
17
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
18
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20
+ PERFORMANCE OF THIS SOFTWARE.
21
+ ***************************************************************************** */
22
+
23
+ var __assign = function() {
24
+ __assign = Object.assign || function __assign(t) {
25
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
26
+ s = arguments[i];
27
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
28
+ }
29
+ return t;
30
+ };
31
+ return __assign.apply(this, arguments);
32
+ };
33
+
34
+ function __spreadArrays() {
35
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
36
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
37
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
38
+ r[k] = a[j];
39
+ return r;
40
+ }
41
+
42
+ var HOOKS = [
43
+ "onChange",
44
+ "onClose",
45
+ "onDayCreate",
46
+ "onDestroy",
47
+ "onKeyDown",
48
+ "onMonthChange",
49
+ "onOpen",
50
+ "onParseConfig",
51
+ "onReady",
52
+ "onValueUpdate",
53
+ "onYearChange",
54
+ "onPreCalendarPosition",
55
+ ];
56
+ var defaults = {
57
+ _disable: [],
58
+ allowInput: false,
59
+ allowInvalidPreload: false,
60
+ altFormat: "F j, Y",
61
+ altInput: false,
62
+ altInputClass: "form-control input",
63
+ animate: typeof window === "object" &&
64
+ window.navigator.userAgent.indexOf("MSIE") === -1,
65
+ ariaDateFormat: "F j, Y",
66
+ autoFillDefaultTime: true,
67
+ clickOpens: true,
68
+ closeOnSelect: true,
69
+ conjunction: ", ",
70
+ dateFormat: "Y-m-d",
71
+ defaultHour: 12,
72
+ defaultMinute: 0,
73
+ defaultSeconds: 0,
74
+ disable: [],
75
+ disableMobile: false,
76
+ enableSeconds: false,
77
+ enableTime: false,
78
+ errorHandler: function (err) {
79
+ return typeof console !== "undefined" && console.warn(err);
80
+ },
81
+ getWeek: function (givenDate) {
82
+ var date = new Date(givenDate.getTime());
83
+ date.setHours(0, 0, 0, 0);
84
+ // Thursday in current week decides the year.
85
+ date.setDate(date.getDate() + 3 - ((date.getDay() + 6) % 7));
86
+ // January 4 is always in week 1.
87
+ var week1 = new Date(date.getFullYear(), 0, 4);
88
+ // Adjust to Thursday in week 1 and count number of weeks from date to week1.
89
+ return (1 +
90
+ Math.round(((date.getTime() - week1.getTime()) / 86400000 -
91
+ 3 +
92
+ ((week1.getDay() + 6) % 7)) /
93
+ 7));
94
+ },
95
+ hourIncrement: 1,
96
+ ignoredFocusElements: [],
97
+ inline: false,
98
+ locale: "default",
99
+ minuteIncrement: 5,
100
+ mode: "single",
101
+ monthSelectorType: "dropdown",
102
+ nextArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",
103
+ noCalendar: false,
104
+ now: new Date(),
105
+ onChange: [],
106
+ onClose: [],
107
+ onDayCreate: [],
108
+ onDestroy: [],
109
+ onKeyDown: [],
110
+ onMonthChange: [],
111
+ onOpen: [],
112
+ onParseConfig: [],
113
+ onReady: [],
114
+ onValueUpdate: [],
115
+ onYearChange: [],
116
+ onPreCalendarPosition: [],
117
+ plugins: [],
118
+ position: "auto",
119
+ positionElement: undefined,
120
+ prevArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",
121
+ shorthandCurrentMonth: false,
122
+ showMonths: 1,
123
+ static: false,
124
+ time_24hr: false,
125
+ weekNumbers: false,
126
+ wrap: false,
127
+ };
128
+
129
+ var english = {
130
+ weekdays: {
131
+ shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
132
+ longhand: [
133
+ "Sunday",
134
+ "Monday",
135
+ "Tuesday",
136
+ "Wednesday",
137
+ "Thursday",
138
+ "Friday",
139
+ "Saturday",
140
+ ],
141
+ },
142
+ months: {
143
+ shorthand: [
144
+ "Jan",
145
+ "Feb",
146
+ "Mar",
147
+ "Apr",
148
+ "May",
149
+ "Jun",
150
+ "Jul",
151
+ "Aug",
152
+ "Sep",
153
+ "Oct",
154
+ "Nov",
155
+ "Dec",
156
+ ],
157
+ longhand: [
158
+ "January",
159
+ "February",
160
+ "March",
161
+ "April",
162
+ "May",
163
+ "June",
164
+ "July",
165
+ "August",
166
+ "September",
167
+ "October",
168
+ "November",
169
+ "December",
170
+ ],
171
+ },
172
+ daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
173
+ firstDayOfWeek: 0,
174
+ ordinal: function (nth) {
175
+ var s = nth % 100;
176
+ if (s > 3 && s < 21)
177
+ return "th";
178
+ switch (s % 10) {
179
+ case 1:
180
+ return "st";
181
+ case 2:
182
+ return "nd";
183
+ case 3:
184
+ return "rd";
185
+ default:
186
+ return "th";
187
+ }
188
+ },
189
+ rangeSeparator: " to ",
190
+ weekAbbreviation: "Wk",
191
+ scrollTitle: "Scroll to increment",
192
+ toggleTitle: "Click to toggle",
193
+ amPM: ["AM", "PM"],
194
+ yearAriaLabel: "Year",
195
+ monthAriaLabel: "Month",
196
+ hourAriaLabel: "Hour",
197
+ minuteAriaLabel: "Minute",
198
+ time_24hr: false,
199
+ };
200
+
201
+ var pad = function (number, length) {
202
+ if (length === void 0) { length = 2; }
203
+ return ("000" + number).slice(length * -1);
204
+ };
205
+ var int = function (bool) { return (bool === true ? 1 : 0); };
206
+ /* istanbul ignore next */
207
+ function debounce(fn, wait) {
208
+ var t;
209
+ return function () {
210
+ var _this = this;
211
+ clearTimeout(t);
212
+ t = setTimeout(function () { return fn.apply(_this, arguments); }, wait);
213
+ };
214
+ }
215
+ var arrayify = function (obj) {
216
+ return obj instanceof Array ? obj : [obj];
217
+ };
218
+
219
+ function toggleClass(elem, className, bool) {
220
+ if (bool === true)
221
+ return elem.classList.add(className);
222
+ elem.classList.remove(className);
223
+ }
224
+ function createElement(tag, className, content) {
225
+ var e = window.document.createElement(tag);
226
+ className = className || "";
227
+ content = content || "";
228
+ e.className = className;
229
+ if (content !== undefined)
230
+ e.textContent = content;
231
+ return e;
232
+ }
233
+ function clearNode(node) {
234
+ while (node.firstChild)
235
+ node.removeChild(node.firstChild);
236
+ }
237
+ function findParent(node, condition) {
238
+ if (condition(node))
239
+ return node;
240
+ else if (node.parentNode)
241
+ return findParent(node.parentNode, condition);
242
+ return undefined; // nothing found
243
+ }
244
+ function createNumberInput(inputClassName, opts) {
245
+ var wrapper = createElement("div", "numInputWrapper"), numInput = createElement("input", "numInput " + inputClassName), arrowUp = createElement("span", "arrowUp"), arrowDown = createElement("span", "arrowDown");
246
+ if (navigator.userAgent.indexOf("MSIE 9.0") === -1) {
247
+ numInput.type = "number";
248
+ }
249
+ else {
250
+ numInput.type = "text";
251
+ numInput.pattern = "\\d*";
252
+ }
253
+ if (opts !== undefined)
254
+ for (var key in opts)
255
+ numInput.setAttribute(key, opts[key]);
256
+ wrapper.appendChild(numInput);
257
+ wrapper.appendChild(arrowUp);
258
+ wrapper.appendChild(arrowDown);
259
+ return wrapper;
260
+ }
261
+ function getEventTarget(event) {
262
+ try {
263
+ if (typeof event.composedPath === "function") {
264
+ var path = event.composedPath();
265
+ return path[0];
266
+ }
267
+ return event.target;
268
+ }
269
+ catch (error) {
270
+ return event.target;
271
+ }
272
+ }
273
+
274
+ var doNothing = function () { return undefined; };
275
+ var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? "shorthand" : "longhand"][monthNumber]; };
276
+ var revFormat = {
277
+ D: doNothing,
278
+ F: function (dateObj, monthName, locale) {
279
+ dateObj.setMonth(locale.months.longhand.indexOf(monthName));
280
+ },
281
+ G: function (dateObj, hour) {
282
+ dateObj.setHours(parseFloat(hour));
283
+ },
284
+ H: function (dateObj, hour) {
285
+ dateObj.setHours(parseFloat(hour));
286
+ },
287
+ J: function (dateObj, day) {
288
+ dateObj.setDate(parseFloat(day));
289
+ },
290
+ K: function (dateObj, amPM, locale) {
291
+ dateObj.setHours((dateObj.getHours() % 12) +
292
+ 12 * int(new RegExp(locale.amPM[1], "i").test(amPM)));
293
+ },
294
+ M: function (dateObj, shortMonth, locale) {
295
+ dateObj.setMonth(locale.months.shorthand.indexOf(shortMonth));
296
+ },
297
+ S: function (dateObj, seconds) {
298
+ dateObj.setSeconds(parseFloat(seconds));
299
+ },
300
+ U: function (_, unixSeconds) { return new Date(parseFloat(unixSeconds) * 1000); },
301
+ W: function (dateObj, weekNum, locale) {
302
+ var weekNumber = parseInt(weekNum);
303
+ var date = new Date(dateObj.getFullYear(), 0, 2 + (weekNumber - 1) * 7, 0, 0, 0, 0);
304
+ date.setDate(date.getDate() - date.getDay() + locale.firstDayOfWeek);
305
+ return date;
306
+ },
307
+ Y: function (dateObj, year) {
308
+ dateObj.setFullYear(parseFloat(year));
309
+ },
310
+ Z: function (_, ISODate) { return new Date(ISODate); },
311
+ d: function (dateObj, day) {
312
+ dateObj.setDate(parseFloat(day));
313
+ },
314
+ h: function (dateObj, hour) {
315
+ dateObj.setHours(parseFloat(hour));
316
+ },
317
+ i: function (dateObj, minutes) {
318
+ dateObj.setMinutes(parseFloat(minutes));
319
+ },
320
+ j: function (dateObj, day) {
321
+ dateObj.setDate(parseFloat(day));
322
+ },
323
+ l: doNothing,
324
+ m: function (dateObj, month) {
325
+ dateObj.setMonth(parseFloat(month) - 1);
326
+ },
327
+ n: function (dateObj, month) {
328
+ dateObj.setMonth(parseFloat(month) - 1);
329
+ },
330
+ s: function (dateObj, seconds) {
331
+ dateObj.setSeconds(parseFloat(seconds));
332
+ },
333
+ u: function (_, unixMillSeconds) {
334
+ return new Date(parseFloat(unixMillSeconds));
335
+ },
336
+ w: doNothing,
337
+ y: function (dateObj, year) {
338
+ dateObj.setFullYear(2000 + parseFloat(year));
339
+ },
340
+ };
341
+ var tokenRegex = {
342
+ D: "(\\w+)",
343
+ F: "(\\w+)",
344
+ G: "(\\d\\d|\\d)",
345
+ H: "(\\d\\d|\\d)",
346
+ J: "(\\d\\d|\\d)\\w+",
347
+ K: "",
348
+ M: "(\\w+)",
349
+ S: "(\\d\\d|\\d)",
350
+ U: "(.+)",
351
+ W: "(\\d\\d|\\d)",
352
+ Y: "(\\d{4})",
353
+ Z: "(.+)",
354
+ d: "(\\d\\d|\\d)",
355
+ h: "(\\d\\d|\\d)",
356
+ i: "(\\d\\d|\\d)",
357
+ j: "(\\d\\d|\\d)",
358
+ l: "(\\w+)",
359
+ m: "(\\d\\d|\\d)",
360
+ n: "(\\d\\d|\\d)",
361
+ s: "(\\d\\d|\\d)",
362
+ u: "(.+)",
363
+ w: "(\\d\\d|\\d)",
364
+ y: "(\\d{2})",
365
+ };
366
+ var formats = {
367
+ // get the date in UTC
368
+ Z: function (date) { return date.toISOString(); },
369
+ // weekday name, short, e.g. Thu
370
+ D: function (date, locale, options) {
371
+ return locale.weekdays.shorthand[formats.w(date, locale, options)];
372
+ },
373
+ // full month name e.g. January
374
+ F: function (date, locale, options) {
375
+ return monthToStr(formats.n(date, locale, options) - 1, false, locale);
376
+ },
377
+ // padded hour 1-12
378
+ G: function (date, locale, options) {
379
+ return pad(formats.h(date, locale, options));
380
+ },
381
+ // hours with leading zero e.g. 03
382
+ H: function (date) { return pad(date.getHours()); },
383
+ // day (1-30) with ordinal suffix e.g. 1st, 2nd
384
+ J: function (date, locale) {
385
+ return locale.ordinal !== undefined
386
+ ? date.getDate() + locale.ordinal(date.getDate())
387
+ : date.getDate();
388
+ },
389
+ // AM/PM
390
+ K: function (date, locale) { return locale.amPM[int(date.getHours() > 11)]; },
391
+ // shorthand month e.g. Jan, Sep, Oct, etc
392
+ M: function (date, locale) {
393
+ return monthToStr(date.getMonth(), true, locale);
394
+ },
395
+ // seconds 00-59
396
+ S: function (date) { return pad(date.getSeconds()); },
397
+ // unix timestamp
398
+ U: function (date) { return date.getTime() / 1000; },
399
+ W: function (date, _, options) {
400
+ return options.getWeek(date);
401
+ },
402
+ // full year e.g. 2016, padded (0001-9999)
403
+ Y: function (date) { return pad(date.getFullYear(), 4); },
404
+ // day in month, padded (01-30)
405
+ d: function (date) { return pad(date.getDate()); },
406
+ // hour from 1-12 (am/pm)
407
+ h: function (date) { return (date.getHours() % 12 ? date.getHours() % 12 : 12); },
408
+ // minutes, padded with leading zero e.g. 09
409
+ i: function (date) { return pad(date.getMinutes()); },
410
+ // day in month (1-30)
411
+ j: function (date) { return date.getDate(); },
412
+ // weekday name, full, e.g. Thursday
413
+ l: function (date, locale) {
414
+ return locale.weekdays.longhand[date.getDay()];
415
+ },
416
+ // padded month number (01-12)
417
+ m: function (date) { return pad(date.getMonth() + 1); },
418
+ // the month number (1-12)
419
+ n: function (date) { return date.getMonth() + 1; },
420
+ // seconds 0-59
421
+ s: function (date) { return date.getSeconds(); },
422
+ // Unix Milliseconds
423
+ u: function (date) { return date.getTime(); },
424
+ // number of the day of the week
425
+ w: function (date) { return date.getDay(); },
426
+ // last two digits of year e.g. 16 for 2016
427
+ y: function (date) { return String(date.getFullYear()).substring(2); },
428
+ };
429
+
430
+ var createDateFormatter = function (_a) {
431
+ var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c, _d = _a.isMobile, isMobile = _d === void 0 ? false : _d;
432
+ return function (dateObj, frmt, overrideLocale) {
433
+ var locale = overrideLocale || l10n;
434
+ if (config.formatDate !== undefined && !isMobile) {
435
+ return config.formatDate(dateObj, frmt, locale);
436
+ }
437
+ return frmt
438
+ .split("")
439
+ .map(function (c, i, arr) {
440
+ return formats[c] && arr[i - 1] !== "\\"
441
+ ? formats[c](dateObj, locale, config)
442
+ : c !== "\\"
443
+ ? c
444
+ : "";
445
+ })
446
+ .join("");
447
+ };
448
+ };
449
+ var createDateParser = function (_a) {
450
+ var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c;
451
+ return function (date, givenFormat, timeless, customLocale) {
452
+ if (date !== 0 && !date)
453
+ return undefined;
454
+ var locale = customLocale || l10n;
455
+ var parsedDate;
456
+ var dateOrig = date;
457
+ if (date instanceof Date)
458
+ parsedDate = new Date(date.getTime());
459
+ else if (typeof date !== "string" &&
460
+ date.toFixed !== undefined // timestamp
461
+ )
462
+ // create a copy
463
+ parsedDate = new Date(date);
464
+ else if (typeof date === "string") {
465
+ // date string
466
+ var format = givenFormat || (config || defaults).dateFormat;
467
+ var datestr = String(date).trim();
468
+ if (datestr === "today") {
469
+ parsedDate = new Date();
470
+ timeless = true;
471
+ }
472
+ else if (/Z$/.test(datestr) ||
473
+ /GMT$/.test(datestr) // datestrings w/ timezone
474
+ )
475
+ parsedDate = new Date(date);
476
+ else if (config && config.parseDate)
477
+ parsedDate = config.parseDate(date, format);
478
+ else {
479
+ parsedDate =
480
+ !config || !config.noCalendar
481
+ ? new Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0)
482
+ : new Date(new Date().setHours(0, 0, 0, 0));
483
+ var matched = void 0, ops = [];
484
+ for (var i = 0, matchIndex = 0, regexStr = ""; i < format.length; i++) {
485
+ var token_1 = format[i];
486
+ var isBackSlash = token_1 === "\\";
487
+ var escaped = format[i - 1] === "\\" || isBackSlash;
488
+ if (tokenRegex[token_1] && !escaped) {
489
+ regexStr += tokenRegex[token_1];
490
+ var match = new RegExp(regexStr).exec(date);
491
+ if (match && (matched = true)) {
492
+ ops[token_1 !== "Y" ? "push" : "unshift"]({
493
+ fn: revFormat[token_1],
494
+ val: match[++matchIndex],
495
+ });
496
+ }
497
+ }
498
+ else if (!isBackSlash)
499
+ regexStr += "."; // don't really care
500
+ ops.forEach(function (_a) {
501
+ var fn = _a.fn, val = _a.val;
502
+ return (parsedDate = fn(parsedDate, val, locale) || parsedDate);
503
+ });
504
+ }
505
+ parsedDate = matched ? parsedDate : undefined;
506
+ }
507
+ }
508
+ /* istanbul ignore next */
509
+ if (!(parsedDate instanceof Date && !isNaN(parsedDate.getTime()))) {
510
+ config.errorHandler(new Error("Invalid date provided: " + dateOrig));
511
+ return undefined;
512
+ }
513
+ if (timeless === true)
514
+ parsedDate.setHours(0, 0, 0, 0);
515
+ return parsedDate;
516
+ };
517
+ };
518
+ /**
519
+ * Compute the difference in dates, measured in ms
520
+ */
521
+ function compareDates(date1, date2, timeless) {
522
+ if (timeless === void 0) { timeless = true; }
523
+ if (timeless !== false) {
524
+ return (new Date(date1.getTime()).setHours(0, 0, 0, 0) -
525
+ new Date(date2.getTime()).setHours(0, 0, 0, 0));
526
+ }
527
+ return date1.getTime() - date2.getTime();
528
+ }
529
+ var isBetween = function (ts, ts1, ts2) {
530
+ return ts > Math.min(ts1, ts2) && ts < Math.max(ts1, ts2);
531
+ };
532
+ var duration = {
533
+ DAY: 86400000,
534
+ };
535
+ function getDefaultHours(config) {
536
+ var hours = config.defaultHour;
537
+ var minutes = config.defaultMinute;
538
+ var seconds = config.defaultSeconds;
539
+ if (config.minDate !== undefined) {
540
+ var minHour = config.minDate.getHours();
541
+ var minMinutes = config.minDate.getMinutes();
542
+ var minSeconds = config.minDate.getSeconds();
543
+ if (hours < minHour) {
544
+ hours = minHour;
545
+ }
546
+ if (hours === minHour && minutes < minMinutes) {
547
+ minutes = minMinutes;
548
+ }
549
+ if (hours === minHour && minutes === minMinutes && seconds < minSeconds)
550
+ seconds = config.minDate.getSeconds();
551
+ }
552
+ if (config.maxDate !== undefined) {
553
+ var maxHr = config.maxDate.getHours();
554
+ var maxMinutes = config.maxDate.getMinutes();
555
+ hours = Math.min(hours, maxHr);
556
+ if (hours === maxHr)
557
+ minutes = Math.min(maxMinutes, minutes);
558
+ if (hours === maxHr && minutes === maxMinutes)
559
+ seconds = config.maxDate.getSeconds();
560
+ }
561
+ return { hours: hours, minutes: minutes, seconds: seconds };
562
+ }
563
+
564
+ if (typeof Object.assign !== "function") {
565
+ Object.assign = function (target) {
566
+ var args = [];
567
+ for (var _i = 1; _i < arguments.length; _i++) {
568
+ args[_i - 1] = arguments[_i];
569
+ }
570
+ if (!target) {
571
+ throw TypeError("Cannot convert undefined or null to object");
572
+ }
573
+ var _loop_1 = function (source) {
574
+ if (source) {
575
+ Object.keys(source).forEach(function (key) { return (target[key] = source[key]); });
576
+ }
577
+ };
578
+ for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {
579
+ var source = args_1[_a];
580
+ _loop_1(source);
581
+ }
582
+ return target;
583
+ };
584
+ }
585
+
586
+ var DEBOUNCED_CHANGE_MS = 300;
587
+ function FlatpickrInstance(element, instanceConfig) {
588
+ var self = {
589
+ config: __assign(__assign({}, defaults), flatpickr.defaultConfig),
590
+ l10n: english,
591
+ };
592
+ self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });
593
+ self._handlers = [];
594
+ self.pluginElements = [];
595
+ self.loadedPlugins = [];
596
+ self._bind = bind;
597
+ self._setHoursFromDate = setHoursFromDate;
598
+ self._positionCalendar = positionCalendar;
599
+ self.changeMonth = changeMonth;
600
+ self.changeYear = changeYear;
601
+ self.clear = clear;
602
+ self.close = close;
603
+ self._createElement = createElement;
604
+ self.destroy = destroy;
605
+ self.isEnabled = isEnabled;
606
+ self.jumpToDate = jumpToDate;
607
+ self.open = open;
608
+ self.redraw = redraw;
609
+ self.set = set;
610
+ self.setDate = setDate;
611
+ self.toggle = toggle;
612
+ function setupHelperFunctions() {
613
+ self.utils = {
614
+ getDaysInMonth: function (month, yr) {
615
+ if (month === void 0) { month = self.currentMonth; }
616
+ if (yr === void 0) { yr = self.currentYear; }
617
+ if (month === 1 && ((yr % 4 === 0 && yr % 100 !== 0) || yr % 400 === 0))
618
+ return 29;
619
+ return self.l10n.daysInMonth[month];
620
+ },
621
+ };
622
+ }
623
+ function init() {
624
+ self.element = self.input = element;
625
+ self.isOpen = false;
626
+ parseConfig();
627
+ setupLocale();
628
+ setupInputs();
629
+ setupDates();
630
+ setupHelperFunctions();
631
+ if (!self.isMobile)
632
+ build();
633
+ bindEvents();
634
+ if (self.selectedDates.length || self.config.noCalendar) {
635
+ if (self.config.enableTime) {
636
+ setHoursFromDate(self.config.noCalendar ? self.latestSelectedDateObj : undefined);
637
+ }
638
+ updateValue(false);
639
+ }
640
+ setCalendarWidth();
641
+ var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
642
+ /* TODO: investigate this further
643
+
644
+ Currently, there is weird positioning behavior in safari causing pages
645
+ to scroll up. https://github.com/chmln/flatpickr/issues/563
646
+
647
+ However, most browsers are not Safari and positioning is expensive when used
648
+ in scale. https://github.com/chmln/flatpickr/issues/1096
649
+ */
650
+ if (!self.isMobile && isSafari) {
651
+ positionCalendar();
652
+ }
653
+ triggerEvent("onReady");
654
+ }
655
+ function bindToInstance(fn) {
656
+ return fn.bind(self);
657
+ }
658
+ function setCalendarWidth() {
659
+ var config = self.config;
660
+ if (config.weekNumbers === false && config.showMonths === 1) {
661
+ return;
662
+ }
663
+ else if (config.noCalendar !== true) {
664
+ window.requestAnimationFrame(function () {
665
+ if (self.calendarContainer !== undefined) {
666
+ self.calendarContainer.style.visibility = "hidden";
667
+ self.calendarContainer.style.display = "block";
668
+ }
669
+ if (self.daysContainer !== undefined) {
670
+ var daysWidth = (self.days.offsetWidth + 1) * config.showMonths;
671
+ self.daysContainer.style.width = daysWidth + "px";
672
+ self.calendarContainer.style.width =
673
+ daysWidth +
674
+ (self.weekWrapper !== undefined
675
+ ? self.weekWrapper.offsetWidth
676
+ : 0) +
677
+ "px";
678
+ self.calendarContainer.style.removeProperty("visibility");
679
+ self.calendarContainer.style.removeProperty("display");
680
+ }
681
+ });
682
+ }
683
+ }
684
+ /**
685
+ * The handler for all events targeting the time inputs
686
+ */
687
+ function updateTime(e) {
688
+ if (self.selectedDates.length === 0) {
689
+ var defaultDate = self.config.minDate === undefined ||
690
+ compareDates(new Date(), self.config.minDate) >= 0
691
+ ? new Date()
692
+ : new Date(self.config.minDate.getTime());
693
+ var defaults = getDefaultHours(self.config);
694
+ defaultDate.setHours(defaults.hours, defaults.minutes, defaults.seconds, defaultDate.getMilliseconds());
695
+ self.selectedDates = [defaultDate];
696
+ self.latestSelectedDateObj = defaultDate;
697
+ }
698
+ if (e !== undefined && e.type !== "blur") {
699
+ timeWrapper(e);
700
+ }
701
+ var prevValue = self._input.value;
702
+ setHoursFromInputs();
703
+ updateValue();
704
+ if (self._input.value !== prevValue) {
705
+ self._debouncedChange();
706
+ }
707
+ }
708
+ function ampm2military(hour, amPM) {
709
+ return (hour % 12) + 12 * int(amPM === self.l10n.amPM[1]);
710
+ }
711
+ function military2ampm(hour) {
712
+ switch (hour % 24) {
713
+ case 0:
714
+ case 12:
715
+ return 12;
716
+ default:
717
+ return hour % 12;
718
+ }
719
+ }
720
+ /**
721
+ * Syncs the selected date object time with user's time input
722
+ */
723
+ function setHoursFromInputs() {
724
+ if (self.hourElement === undefined || self.minuteElement === undefined)
725
+ return;
726
+ var hours = (parseInt(self.hourElement.value.slice(-2), 10) || 0) % 24, minutes = (parseInt(self.minuteElement.value, 10) || 0) % 60, seconds = self.secondElement !== undefined
727
+ ? (parseInt(self.secondElement.value, 10) || 0) % 60
728
+ : 0;
729
+ if (self.amPM !== undefined) {
730
+ hours = ampm2military(hours, self.amPM.textContent);
731
+ }
732
+ var limitMinHours = self.config.minTime !== undefined ||
733
+ (self.config.minDate &&
734
+ self.minDateHasTime &&
735
+ self.latestSelectedDateObj &&
736
+ compareDates(self.latestSelectedDateObj, self.config.minDate, true) ===
737
+ 0);
738
+ var limitMaxHours = self.config.maxTime !== undefined ||
739
+ (self.config.maxDate &&
740
+ self.maxDateHasTime &&
741
+ self.latestSelectedDateObj &&
742
+ compareDates(self.latestSelectedDateObj, self.config.maxDate, true) ===
743
+ 0);
744
+ if (limitMaxHours) {
745
+ var maxTime = self.config.maxTime !== undefined
746
+ ? self.config.maxTime
747
+ : self.config.maxDate;
748
+ hours = Math.min(hours, maxTime.getHours());
749
+ if (hours === maxTime.getHours())
750
+ minutes = Math.min(minutes, maxTime.getMinutes());
751
+ if (minutes === maxTime.getMinutes())
752
+ seconds = Math.min(seconds, maxTime.getSeconds());
753
+ }
754
+ if (limitMinHours) {
755
+ var minTime = self.config.minTime !== undefined
756
+ ? self.config.minTime
757
+ : self.config.minDate;
758
+ hours = Math.max(hours, minTime.getHours());
759
+ if (hours === minTime.getHours() && minutes < minTime.getMinutes())
760
+ minutes = minTime.getMinutes();
761
+ if (minutes === minTime.getMinutes())
762
+ seconds = Math.max(seconds, minTime.getSeconds());
763
+ }
764
+ setHours(hours, minutes, seconds);
765
+ }
766
+ /**
767
+ * Syncs time input values with a date
768
+ */
769
+ function setHoursFromDate(dateObj) {
770
+ var date = dateObj || self.latestSelectedDateObj;
771
+ if (date) {
772
+ setHours(date.getHours(), date.getMinutes(), date.getSeconds());
773
+ }
774
+ }
775
+ /**
776
+ * Sets the hours, minutes, and optionally seconds
777
+ * of the latest selected date object and the
778
+ * corresponding time inputs
779
+ * @param {Number} hours the hour. whether its military
780
+ * or am-pm gets inferred from config
781
+ * @param {Number} minutes the minutes
782
+ * @param {Number} seconds the seconds (optional)
783
+ */
784
+ function setHours(hours, minutes, seconds) {
785
+ if (self.latestSelectedDateObj !== undefined) {
786
+ self.latestSelectedDateObj.setHours(hours % 24, minutes, seconds || 0, 0);
787
+ }
788
+ if (!self.hourElement || !self.minuteElement || self.isMobile)
789
+ return;
790
+ self.hourElement.value = pad(!self.config.time_24hr
791
+ ? ((12 + hours) % 12) + 12 * int(hours % 12 === 0)
792
+ : hours);
793
+ self.minuteElement.value = pad(minutes);
794
+ if (self.amPM !== undefined)
795
+ self.amPM.textContent = self.l10n.amPM[int(hours >= 12)];
796
+ if (self.secondElement !== undefined)
797
+ self.secondElement.value = pad(seconds);
798
+ }
799
+ /**
800
+ * Handles the year input and incrementing events
801
+ * @param {Event} event the keyup or increment event
802
+ */
803
+ function onYearInput(event) {
804
+ var eventTarget = getEventTarget(event);
805
+ var year = parseInt(eventTarget.value) + (event.delta || 0);
806
+ if (year / 1000 > 1 ||
807
+ (event.key === "Enter" && !/[^\d]/.test(year.toString()))) {
808
+ changeYear(year);
809
+ }
810
+ }
811
+ /**
812
+ * Essentially addEventListener + tracking
813
+ * @param {Element} element the element to addEventListener to
814
+ * @param {String} event the event name
815
+ * @param {Function} handler the event handler
816
+ */
817
+ function bind(element, event, handler, options) {
818
+ if (event instanceof Array)
819
+ return event.forEach(function (ev) { return bind(element, ev, handler, options); });
820
+ if (element instanceof Array)
821
+ return element.forEach(function (el) { return bind(el, event, handler, options); });
822
+ element.addEventListener(event, handler, options);
823
+ self._handlers.push({
824
+ remove: function () { return element.removeEventListener(event, handler); },
825
+ });
826
+ }
827
+ function triggerChange() {
828
+ triggerEvent("onChange");
829
+ }
830
+ /**
831
+ * Adds all the necessary event listeners
832
+ */
833
+ function bindEvents() {
834
+ if (self.config.wrap) {
835
+ ["open", "close", "toggle", "clear"].forEach(function (evt) {
836
+ Array.prototype.forEach.call(self.element.querySelectorAll("[data-" + evt + "]"), function (el) {
837
+ return bind(el, "click", self[evt]);
838
+ });
839
+ });
840
+ }
841
+ if (self.isMobile) {
842
+ setupMobile();
843
+ return;
844
+ }
845
+ var debouncedResize = debounce(onResize, 50);
846
+ self._debouncedChange = debounce(triggerChange, DEBOUNCED_CHANGE_MS);
847
+ if (self.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent))
848
+ bind(self.daysContainer, "mouseover", function (e) {
849
+ if (self.config.mode === "range")
850
+ onMouseOver(getEventTarget(e));
851
+ });
852
+ bind(window.document.body, "keydown", onKeyDown);
853
+ if (!self.config.inline && !self.config.static)
854
+ bind(window, "resize", debouncedResize);
855
+ if (window.ontouchstart !== undefined)
856
+ bind(window.document, "touchstart", documentClick);
857
+ else
858
+ bind(window.document, "mousedown", documentClick);
859
+ bind(window.document, "focus", documentClick, { capture: true });
860
+ if (self.config.clickOpens === true) {
861
+ bind(self._input, "focus", self.open);
862
+ bind(self._input, "click", self.open);
863
+ }
864
+ if (self.daysContainer !== undefined) {
865
+ bind(self.monthNav, "click", onMonthNavClick);
866
+ bind(self.monthNav, ["keyup", "increment"], onYearInput);
867
+ bind(self.daysContainer, "click", selectDate);
868
+ }
869
+ if (self.timeContainer !== undefined &&
870
+ self.minuteElement !== undefined &&
871
+ self.hourElement !== undefined) {
872
+ var selText = function (e) {
873
+ return getEventTarget(e).select();
874
+ };
875
+ bind(self.timeContainer, ["increment"], updateTime);
876
+ bind(self.timeContainer, "blur", updateTime, { capture: true });
877
+ bind(self.timeContainer, "click", timeIncrement);
878
+ bind([self.hourElement, self.minuteElement], ["focus", "click"], selText);
879
+ if (self.secondElement !== undefined)
880
+ bind(self.secondElement, "focus", function () { return self.secondElement && self.secondElement.select(); });
881
+ if (self.amPM !== undefined) {
882
+ bind(self.amPM, "click", function (e) {
883
+ updateTime(e);
884
+ triggerChange();
885
+ });
886
+ }
887
+ }
888
+ if (self.config.allowInput) {
889
+ bind(self._input, "blur", onBlur);
890
+ }
891
+ }
892
+ /**
893
+ * Set the calendar view to a particular date.
894
+ * @param {Date} jumpDate the date to set the view to
895
+ * @param {boolean} triggerChange if change events should be triggered
896
+ */
897
+ function jumpToDate(jumpDate, triggerChange) {
898
+ var jumpTo = jumpDate !== undefined
899
+ ? self.parseDate(jumpDate)
900
+ : self.latestSelectedDateObj ||
901
+ (self.config.minDate && self.config.minDate > self.now
902
+ ? self.config.minDate
903
+ : self.config.maxDate && self.config.maxDate < self.now
904
+ ? self.config.maxDate
905
+ : self.now);
906
+ var oldYear = self.currentYear;
907
+ var oldMonth = self.currentMonth;
908
+ try {
909
+ if (jumpTo !== undefined) {
910
+ self.currentYear = jumpTo.getFullYear();
911
+ self.currentMonth = jumpTo.getMonth();
912
+ }
913
+ }
914
+ catch (e) {
915
+ /* istanbul ignore next */
916
+ e.message = "Invalid date supplied: " + jumpTo;
917
+ self.config.errorHandler(e);
918
+ }
919
+ if (triggerChange && self.currentYear !== oldYear) {
920
+ triggerEvent("onYearChange");
921
+ buildMonthSwitch();
922
+ }
923
+ if (triggerChange &&
924
+ (self.currentYear !== oldYear || self.currentMonth !== oldMonth)) {
925
+ triggerEvent("onMonthChange");
926
+ }
927
+ self.redraw();
928
+ }
929
+ /**
930
+ * The up/down arrow handler for time inputs
931
+ * @param {Event} e the click event
932
+ */
933
+ function timeIncrement(e) {
934
+ var eventTarget = getEventTarget(e);
935
+ if (~eventTarget.className.indexOf("arrow"))
936
+ incrementNumInput(e, eventTarget.classList.contains("arrowUp") ? 1 : -1);
937
+ }
938
+ /**
939
+ * Increments/decrements the value of input associ-
940
+ * ated with the up/down arrow by dispatching an
941
+ * "increment" event on the input.
942
+ *
943
+ * @param {Event} e the click event
944
+ * @param {Number} delta the diff (usually 1 or -1)
945
+ * @param {Element} inputElem the input element
946
+ */
947
+ function incrementNumInput(e, delta, inputElem) {
948
+ var target = e && getEventTarget(e);
949
+ var input = inputElem ||
950
+ (target && target.parentNode && target.parentNode.firstChild);
951
+ var event = createEvent("increment");
952
+ event.delta = delta;
953
+ input && input.dispatchEvent(event);
954
+ }
955
+ function build() {
956
+ var fragment = window.document.createDocumentFragment();
957
+ self.calendarContainer = createElement("div", "flatpickr-calendar");
958
+ self.calendarContainer.tabIndex = -1;
959
+ if (!self.config.noCalendar) {
960
+ fragment.appendChild(buildMonthNav());
961
+ self.innerContainer = createElement("div", "flatpickr-innerContainer");
962
+ if (self.config.weekNumbers) {
963
+ var _a = buildWeeks(), weekWrapper = _a.weekWrapper, weekNumbers = _a.weekNumbers;
964
+ self.innerContainer.appendChild(weekWrapper);
965
+ self.weekNumbers = weekNumbers;
966
+ self.weekWrapper = weekWrapper;
967
+ }
968
+ self.rContainer = createElement("div", "flatpickr-rContainer");
969
+ self.rContainer.appendChild(buildWeekdays());
970
+ if (!self.daysContainer) {
971
+ self.daysContainer = createElement("div", "flatpickr-days");
972
+ self.daysContainer.tabIndex = -1;
973
+ }
974
+ buildDays();
975
+ self.rContainer.appendChild(self.daysContainer);
976
+ self.innerContainer.appendChild(self.rContainer);
977
+ fragment.appendChild(self.innerContainer);
978
+ }
979
+ if (self.config.enableTime) {
980
+ fragment.appendChild(buildTime());
981
+ }
982
+ toggleClass(self.calendarContainer, "rangeMode", self.config.mode === "range");
983
+ toggleClass(self.calendarContainer, "animate", self.config.animate === true);
984
+ toggleClass(self.calendarContainer, "multiMonth", self.config.showMonths > 1);
985
+ self.calendarContainer.appendChild(fragment);
986
+ var customAppend = self.config.appendTo !== undefined &&
987
+ self.config.appendTo.nodeType !== undefined;
988
+ if (self.config.inline || self.config.static) {
989
+ self.calendarContainer.classList.add(self.config.inline ? "inline" : "static");
990
+ if (self.config.inline) {
991
+ if (!customAppend && self.element.parentNode)
992
+ self.element.parentNode.insertBefore(self.calendarContainer, self._input.nextSibling);
993
+ else if (self.config.appendTo !== undefined)
994
+ self.config.appendTo.appendChild(self.calendarContainer);
995
+ }
996
+ if (self.config.static) {
997
+ var wrapper = createElement("div", "flatpickr-wrapper");
998
+ if (self.element.parentNode)
999
+ self.element.parentNode.insertBefore(wrapper, self.element);
1000
+ wrapper.appendChild(self.element);
1001
+ if (self.altInput)
1002
+ wrapper.appendChild(self.altInput);
1003
+ wrapper.appendChild(self.calendarContainer);
1004
+ }
1005
+ }
1006
+ if (!self.config.static && !self.config.inline)
1007
+ (self.config.appendTo !== undefined
1008
+ ? self.config.appendTo
1009
+ : window.document.body).appendChild(self.calendarContainer);
1010
+ }
1011
+ function createDay(className, date, dayNumber, i) {
1012
+ var dateIsEnabled = isEnabled(date, true), dayElement = createElement("span", "flatpickr-day " + className, date.getDate().toString());
1013
+ dayElement.dateObj = date;
1014
+ dayElement.$i = i;
1015
+ dayElement.setAttribute("aria-label", self.formatDate(date, self.config.ariaDateFormat));
1016
+ if (className.indexOf("hidden") === -1 &&
1017
+ compareDates(date, self.now) === 0) {
1018
+ self.todayDateElem = dayElement;
1019
+ dayElement.classList.add("today");
1020
+ dayElement.setAttribute("aria-current", "date");
1021
+ }
1022
+ if (dateIsEnabled) {
1023
+ dayElement.tabIndex = -1;
1024
+ if (isDateSelected(date)) {
1025
+ dayElement.classList.add("selected");
1026
+ self.selectedDateElem = dayElement;
1027
+ if (self.config.mode === "range") {
1028
+ toggleClass(dayElement, "startRange", self.selectedDates[0] &&
1029
+ compareDates(date, self.selectedDates[0], true) === 0);
1030
+ toggleClass(dayElement, "endRange", self.selectedDates[1] &&
1031
+ compareDates(date, self.selectedDates[1], true) === 0);
1032
+ if (className === "nextMonthDay")
1033
+ dayElement.classList.add("inRange");
1034
+ }
1035
+ }
1036
+ }
1037
+ else {
1038
+ dayElement.classList.add("flatpickr-disabled");
1039
+ }
1040
+ if (self.config.mode === "range") {
1041
+ if (isDateInRange(date) && !isDateSelected(date))
1042
+ dayElement.classList.add("inRange");
1043
+ }
1044
+ if (self.weekNumbers &&
1045
+ self.config.showMonths === 1 &&
1046
+ className !== "prevMonthDay" &&
1047
+ dayNumber % 7 === 1) {
1048
+ self.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + self.config.getWeek(date) + "</span>");
1049
+ }
1050
+ triggerEvent("onDayCreate", dayElement);
1051
+ return dayElement;
1052
+ }
1053
+ function focusOnDayElem(targetNode) {
1054
+ targetNode.focus();
1055
+ if (self.config.mode === "range")
1056
+ onMouseOver(targetNode);
1057
+ }
1058
+ function getFirstAvailableDay(delta) {
1059
+ var startMonth = delta > 0 ? 0 : self.config.showMonths - 1;
1060
+ var endMonth = delta > 0 ? self.config.showMonths : -1;
1061
+ for (var m = startMonth; m != endMonth; m += delta) {
1062
+ var month = self.daysContainer.children[m];
1063
+ var startIndex = delta > 0 ? 0 : month.children.length - 1;
1064
+ var endIndex = delta > 0 ? month.children.length : -1;
1065
+ for (var i = startIndex; i != endIndex; i += delta) {
1066
+ var c = month.children[i];
1067
+ if (c.className.indexOf("hidden") === -1 && isEnabled(c.dateObj))
1068
+ return c;
1069
+ }
1070
+ }
1071
+ return undefined;
1072
+ }
1073
+ function getNextAvailableDay(current, delta) {
1074
+ var givenMonth = current.className.indexOf("Month") === -1
1075
+ ? current.dateObj.getMonth()
1076
+ : self.currentMonth;
1077
+ var endMonth = delta > 0 ? self.config.showMonths : -1;
1078
+ var loopDelta = delta > 0 ? 1 : -1;
1079
+ for (var m = givenMonth - self.currentMonth; m != endMonth; m += loopDelta) {
1080
+ var month = self.daysContainer.children[m];
1081
+ var startIndex = givenMonth - self.currentMonth === m
1082
+ ? current.$i + delta
1083
+ : delta < 0
1084
+ ? month.children.length - 1
1085
+ : 0;
1086
+ var numMonthDays = month.children.length;
1087
+ for (var i = startIndex; i >= 0 && i < numMonthDays && i != (delta > 0 ? numMonthDays : -1); i += loopDelta) {
1088
+ var c = month.children[i];
1089
+ if (c.className.indexOf("hidden") === -1 &&
1090
+ isEnabled(c.dateObj) &&
1091
+ Math.abs(current.$i - i) >= Math.abs(delta))
1092
+ return focusOnDayElem(c);
1093
+ }
1094
+ }
1095
+ self.changeMonth(loopDelta);
1096
+ focusOnDay(getFirstAvailableDay(loopDelta), 0);
1097
+ return undefined;
1098
+ }
1099
+ function focusOnDay(current, offset) {
1100
+ var dayFocused = isInView(document.activeElement || document.body);
1101
+ var startElem = current !== undefined
1102
+ ? current
1103
+ : dayFocused
1104
+ ? document.activeElement
1105
+ : self.selectedDateElem !== undefined && isInView(self.selectedDateElem)
1106
+ ? self.selectedDateElem
1107
+ : self.todayDateElem !== undefined && isInView(self.todayDateElem)
1108
+ ? self.todayDateElem
1109
+ : getFirstAvailableDay(offset > 0 ? 1 : -1);
1110
+ if (startElem === undefined) {
1111
+ self._input.focus();
1112
+ }
1113
+ else if (!dayFocused) {
1114
+ focusOnDayElem(startElem);
1115
+ }
1116
+ else {
1117
+ getNextAvailableDay(startElem, offset);
1118
+ }
1119
+ }
1120
+ function buildMonthDays(year, month) {
1121
+ var firstOfMonth = (new Date(year, month, 1).getDay() - self.l10n.firstDayOfWeek + 7) % 7;
1122
+ var prevMonthDays = self.utils.getDaysInMonth((month - 1 + 12) % 12, year);
1123
+ var daysInMonth = self.utils.getDaysInMonth(month, year), days = window.document.createDocumentFragment(), isMultiMonth = self.config.showMonths > 1, prevMonthDayClass = isMultiMonth ? "prevMonthDay hidden" : "prevMonthDay", nextMonthDayClass = isMultiMonth ? "nextMonthDay hidden" : "nextMonthDay";
1124
+ var dayNumber = prevMonthDays + 1 - firstOfMonth, dayIndex = 0;
1125
+ // prepend days from the ending of previous month
1126
+ for (; dayNumber <= prevMonthDays; dayNumber++, dayIndex++) {
1127
+ days.appendChild(createDay(prevMonthDayClass, new Date(year, month - 1, dayNumber), dayNumber, dayIndex));
1128
+ }
1129
+ // Start at 1 since there is no 0th day
1130
+ for (dayNumber = 1; dayNumber <= daysInMonth; dayNumber++, dayIndex++) {
1131
+ days.appendChild(createDay("", new Date(year, month, dayNumber), dayNumber, dayIndex));
1132
+ }
1133
+ // append days from the next month
1134
+ for (var dayNum = daysInMonth + 1; dayNum <= 42 - firstOfMonth &&
1135
+ (self.config.showMonths === 1 || dayIndex % 7 !== 0); dayNum++, dayIndex++) {
1136
+ days.appendChild(createDay(nextMonthDayClass, new Date(year, month + 1, dayNum % daysInMonth), dayNum, dayIndex));
1137
+ }
1138
+ //updateNavigationCurrentMonth();
1139
+ var dayContainer = createElement("div", "dayContainer");
1140
+ dayContainer.appendChild(days);
1141
+ return dayContainer;
1142
+ }
1143
+ function buildDays() {
1144
+ if (self.daysContainer === undefined) {
1145
+ return;
1146
+ }
1147
+ clearNode(self.daysContainer);
1148
+ // TODO: week numbers for each month
1149
+ if (self.weekNumbers)
1150
+ clearNode(self.weekNumbers);
1151
+ var frag = document.createDocumentFragment();
1152
+ for (var i = 0; i < self.config.showMonths; i++) {
1153
+ var d = new Date(self.currentYear, self.currentMonth, 1);
1154
+ d.setMonth(self.currentMonth + i);
1155
+ frag.appendChild(buildMonthDays(d.getFullYear(), d.getMonth()));
1156
+ }
1157
+ self.daysContainer.appendChild(frag);
1158
+ self.days = self.daysContainer.firstChild;
1159
+ if (self.config.mode === "range" && self.selectedDates.length === 1) {
1160
+ onMouseOver();
1161
+ }
1162
+ }
1163
+ function buildMonthSwitch() {
1164
+ if (self.config.showMonths > 1 ||
1165
+ self.config.monthSelectorType !== "dropdown")
1166
+ return;
1167
+ var shouldBuildMonth = function (month) {
1168
+ if (self.config.minDate !== undefined &&
1169
+ self.currentYear === self.config.minDate.getFullYear() &&
1170
+ month < self.config.minDate.getMonth()) {
1171
+ return false;
1172
+ }
1173
+ return !(self.config.maxDate !== undefined &&
1174
+ self.currentYear === self.config.maxDate.getFullYear() &&
1175
+ month > self.config.maxDate.getMonth());
1176
+ };
1177
+ self.monthsDropdownContainer.tabIndex = -1;
1178
+ self.monthsDropdownContainer.innerHTML = "";
1179
+ for (var i = 0; i < 12; i++) {
1180
+ if (!shouldBuildMonth(i))
1181
+ continue;
1182
+ var month = createElement("option", "flatpickr-monthDropdown-month");
1183
+ month.value = new Date(self.currentYear, i).getMonth().toString();
1184
+ month.textContent = monthToStr(i, self.config.shorthandCurrentMonth, self.l10n);
1185
+ month.tabIndex = -1;
1186
+ if (self.currentMonth === i) {
1187
+ month.selected = true;
1188
+ }
1189
+ self.monthsDropdownContainer.appendChild(month);
1190
+ }
1191
+ }
1192
+ function buildMonth() {
1193
+ var container = createElement("div", "flatpickr-month");
1194
+ var monthNavFragment = window.document.createDocumentFragment();
1195
+ var monthElement;
1196
+ if (self.config.showMonths > 1 ||
1197
+ self.config.monthSelectorType === "static") {
1198
+ monthElement = createElement("span", "cur-month");
1199
+ }
1200
+ else {
1201
+ self.monthsDropdownContainer = createElement("select", "flatpickr-monthDropdown-months");
1202
+ self.monthsDropdownContainer.setAttribute("aria-label", self.l10n.monthAriaLabel);
1203
+ bind(self.monthsDropdownContainer, "change", function (e) {
1204
+ var target = getEventTarget(e);
1205
+ var selectedMonth = parseInt(target.value, 10);
1206
+ self.changeMonth(selectedMonth - self.currentMonth);
1207
+ triggerEvent("onMonthChange");
1208
+ });
1209
+ buildMonthSwitch();
1210
+ monthElement = self.monthsDropdownContainer;
1211
+ }
1212
+ var yearInput = createNumberInput("cur-year", { tabindex: "-1" });
1213
+ var yearElement = yearInput.getElementsByTagName("input")[0];
1214
+ yearElement.setAttribute("aria-label", self.l10n.yearAriaLabel);
1215
+ if (self.config.minDate) {
1216
+ yearElement.setAttribute("min", self.config.minDate.getFullYear().toString());
1217
+ }
1218
+ if (self.config.maxDate) {
1219
+ yearElement.setAttribute("max", self.config.maxDate.getFullYear().toString());
1220
+ yearElement.disabled =
1221
+ !!self.config.minDate &&
1222
+ self.config.minDate.getFullYear() === self.config.maxDate.getFullYear();
1223
+ }
1224
+ var currentMonth = createElement("div", "flatpickr-current-month");
1225
+ currentMonth.appendChild(monthElement);
1226
+ currentMonth.appendChild(yearInput);
1227
+ monthNavFragment.appendChild(currentMonth);
1228
+ container.appendChild(monthNavFragment);
1229
+ return {
1230
+ container: container,
1231
+ yearElement: yearElement,
1232
+ monthElement: monthElement,
1233
+ };
1234
+ }
1235
+ function buildMonths() {
1236
+ clearNode(self.monthNav);
1237
+ self.monthNav.appendChild(self.prevMonthNav);
1238
+ if (self.config.showMonths) {
1239
+ self.yearElements = [];
1240
+ self.monthElements = [];
1241
+ }
1242
+ for (var m = self.config.showMonths; m--;) {
1243
+ var month = buildMonth();
1244
+ self.yearElements.push(month.yearElement);
1245
+ self.monthElements.push(month.monthElement);
1246
+ self.monthNav.appendChild(month.container);
1247
+ }
1248
+ self.monthNav.appendChild(self.nextMonthNav);
1249
+ }
1250
+ function buildMonthNav() {
1251
+ self.monthNav = createElement("div", "flatpickr-months");
1252
+ self.yearElements = [];
1253
+ self.monthElements = [];
1254
+ self.prevMonthNav = createElement("span", "flatpickr-prev-month");
1255
+ self.prevMonthNav.innerHTML = self.config.prevArrow;
1256
+ self.nextMonthNav = createElement("span", "flatpickr-next-month");
1257
+ self.nextMonthNav.innerHTML = self.config.nextArrow;
1258
+ buildMonths();
1259
+ Object.defineProperty(self, "_hidePrevMonthArrow", {
1260
+ get: function () { return self.__hidePrevMonthArrow; },
1261
+ set: function (bool) {
1262
+ if (self.__hidePrevMonthArrow !== bool) {
1263
+ toggleClass(self.prevMonthNav, "flatpickr-disabled", bool);
1264
+ self.__hidePrevMonthArrow = bool;
1265
+ }
1266
+ },
1267
+ });
1268
+ Object.defineProperty(self, "_hideNextMonthArrow", {
1269
+ get: function () { return self.__hideNextMonthArrow; },
1270
+ set: function (bool) {
1271
+ if (self.__hideNextMonthArrow !== bool) {
1272
+ toggleClass(self.nextMonthNav, "flatpickr-disabled", bool);
1273
+ self.__hideNextMonthArrow = bool;
1274
+ }
1275
+ },
1276
+ });
1277
+ self.currentYearElement = self.yearElements[0];
1278
+ updateNavigationCurrentMonth();
1279
+ return self.monthNav;
1280
+ }
1281
+ function buildTime() {
1282
+ self.calendarContainer.classList.add("hasTime");
1283
+ if (self.config.noCalendar)
1284
+ self.calendarContainer.classList.add("noCalendar");
1285
+ var defaults = getDefaultHours(self.config);
1286
+ self.timeContainer = createElement("div", "flatpickr-time");
1287
+ self.timeContainer.tabIndex = -1;
1288
+ var separator = createElement("span", "flatpickr-time-separator", ":");
1289
+ var hourInput = createNumberInput("flatpickr-hour", {
1290
+ "aria-label": self.l10n.hourAriaLabel,
1291
+ });
1292
+ self.hourElement = hourInput.getElementsByTagName("input")[0];
1293
+ var minuteInput = createNumberInput("flatpickr-minute", {
1294
+ "aria-label": self.l10n.minuteAriaLabel,
1295
+ });
1296
+ self.minuteElement = minuteInput.getElementsByTagName("input")[0];
1297
+ self.hourElement.tabIndex = self.minuteElement.tabIndex = -1;
1298
+ self.hourElement.value = pad(self.latestSelectedDateObj
1299
+ ? self.latestSelectedDateObj.getHours()
1300
+ : self.config.time_24hr
1301
+ ? defaults.hours
1302
+ : military2ampm(defaults.hours));
1303
+ self.minuteElement.value = pad(self.latestSelectedDateObj
1304
+ ? self.latestSelectedDateObj.getMinutes()
1305
+ : defaults.minutes);
1306
+ self.hourElement.setAttribute("step", self.config.hourIncrement.toString());
1307
+ self.minuteElement.setAttribute("step", self.config.minuteIncrement.toString());
1308
+ self.hourElement.setAttribute("min", self.config.time_24hr ? "0" : "1");
1309
+ self.hourElement.setAttribute("max", self.config.time_24hr ? "23" : "12");
1310
+ self.hourElement.setAttribute("maxlength", "2");
1311
+ self.minuteElement.setAttribute("min", "0");
1312
+ self.minuteElement.setAttribute("max", "59");
1313
+ self.minuteElement.setAttribute("maxlength", "2");
1314
+ self.timeContainer.appendChild(hourInput);
1315
+ self.timeContainer.appendChild(separator);
1316
+ self.timeContainer.appendChild(minuteInput);
1317
+ if (self.config.time_24hr)
1318
+ self.timeContainer.classList.add("time24hr");
1319
+ if (self.config.enableSeconds) {
1320
+ self.timeContainer.classList.add("hasSeconds");
1321
+ var secondInput = createNumberInput("flatpickr-second");
1322
+ self.secondElement = secondInput.getElementsByTagName("input")[0];
1323
+ self.secondElement.value = pad(self.latestSelectedDateObj
1324
+ ? self.latestSelectedDateObj.getSeconds()
1325
+ : defaults.seconds);
1326
+ self.secondElement.setAttribute("step", self.minuteElement.getAttribute("step"));
1327
+ self.secondElement.setAttribute("min", "0");
1328
+ self.secondElement.setAttribute("max", "59");
1329
+ self.secondElement.setAttribute("maxlength", "2");
1330
+ self.timeContainer.appendChild(createElement("span", "flatpickr-time-separator", ":"));
1331
+ self.timeContainer.appendChild(secondInput);
1332
+ }
1333
+ if (!self.config.time_24hr) {
1334
+ // add self.amPM if appropriate
1335
+ self.amPM = createElement("span", "flatpickr-am-pm", self.l10n.amPM[int((self.latestSelectedDateObj
1336
+ ? self.hourElement.value
1337
+ : self.config.defaultHour) > 11)]);
1338
+ self.amPM.title = self.l10n.toggleTitle;
1339
+ self.amPM.tabIndex = -1;
1340
+ self.timeContainer.appendChild(self.amPM);
1341
+ }
1342
+ return self.timeContainer;
1343
+ }
1344
+ function buildWeekdays() {
1345
+ if (!self.weekdayContainer)
1346
+ self.weekdayContainer = createElement("div", "flatpickr-weekdays");
1347
+ else
1348
+ clearNode(self.weekdayContainer);
1349
+ for (var i = self.config.showMonths; i--;) {
1350
+ var container = createElement("div", "flatpickr-weekdaycontainer");
1351
+ self.weekdayContainer.appendChild(container);
1352
+ }
1353
+ updateWeekdays();
1354
+ return self.weekdayContainer;
1355
+ }
1356
+ function updateWeekdays() {
1357
+ if (!self.weekdayContainer) {
1358
+ return;
1359
+ }
1360
+ var firstDayOfWeek = self.l10n.firstDayOfWeek;
1361
+ var weekdays = __spreadArrays(self.l10n.weekdays.shorthand);
1362
+ if (firstDayOfWeek > 0 && firstDayOfWeek < weekdays.length) {
1363
+ weekdays = __spreadArrays(weekdays.splice(firstDayOfWeek, weekdays.length), weekdays.splice(0, firstDayOfWeek));
1364
+ }
1365
+ for (var i = self.config.showMonths; i--;) {
1366
+ self.weekdayContainer.children[i].innerHTML = "\n <span class='flatpickr-weekday'>\n " + weekdays.join("</span><span class='flatpickr-weekday'>") + "\n </span>\n ";
1367
+ }
1368
+ }
1369
+ /* istanbul ignore next */
1370
+ function buildWeeks() {
1371
+ self.calendarContainer.classList.add("hasWeeks");
1372
+ var weekWrapper = createElement("div", "flatpickr-weekwrapper");
1373
+ weekWrapper.appendChild(createElement("span", "flatpickr-weekday", self.l10n.weekAbbreviation));
1374
+ var weekNumbers = createElement("div", "flatpickr-weeks");
1375
+ weekWrapper.appendChild(weekNumbers);
1376
+ return {
1377
+ weekWrapper: weekWrapper,
1378
+ weekNumbers: weekNumbers,
1379
+ };
1380
+ }
1381
+ function changeMonth(value, isOffset) {
1382
+ if (isOffset === void 0) { isOffset = true; }
1383
+ var delta = isOffset ? value : value - self.currentMonth;
1384
+ if ((delta < 0 && self._hidePrevMonthArrow === true) ||
1385
+ (delta > 0 && self._hideNextMonthArrow === true))
1386
+ return;
1387
+ self.currentMonth += delta;
1388
+ if (self.currentMonth < 0 || self.currentMonth > 11) {
1389
+ self.currentYear += self.currentMonth > 11 ? 1 : -1;
1390
+ self.currentMonth = (self.currentMonth + 12) % 12;
1391
+ triggerEvent("onYearChange");
1392
+ buildMonthSwitch();
1393
+ }
1394
+ buildDays();
1395
+ triggerEvent("onMonthChange");
1396
+ updateNavigationCurrentMonth();
1397
+ }
1398
+ function clear(triggerChangeEvent, toInitial) {
1399
+ if (triggerChangeEvent === void 0) { triggerChangeEvent = true; }
1400
+ if (toInitial === void 0) { toInitial = true; }
1401
+ self.input.value = "";
1402
+ if (self.altInput !== undefined)
1403
+ self.altInput.value = "";
1404
+ if (self.mobileInput !== undefined)
1405
+ self.mobileInput.value = "";
1406
+ self.selectedDates = [];
1407
+ self.latestSelectedDateObj = undefined;
1408
+ if (toInitial === true) {
1409
+ self.currentYear = self._initialDate.getFullYear();
1410
+ self.currentMonth = self._initialDate.getMonth();
1411
+ }
1412
+ if (self.config.enableTime === true) {
1413
+ var _a = getDefaultHours(self.config), hours = _a.hours, minutes = _a.minutes, seconds = _a.seconds;
1414
+ setHours(hours, minutes, seconds);
1415
+ }
1416
+ self.redraw();
1417
+ if (triggerChangeEvent)
1418
+ // triggerChangeEvent is true (default) or an Event
1419
+ triggerEvent("onChange");
1420
+ }
1421
+ function close() {
1422
+ self.isOpen = false;
1423
+ if (!self.isMobile) {
1424
+ if (self.calendarContainer !== undefined) {
1425
+ self.calendarContainer.classList.remove("open");
1426
+ }
1427
+ if (self._input !== undefined) {
1428
+ self._input.classList.remove("active");
1429
+ }
1430
+ }
1431
+ triggerEvent("onClose");
1432
+ }
1433
+ function destroy() {
1434
+ if (self.config !== undefined)
1435
+ triggerEvent("onDestroy");
1436
+ for (var i = self._handlers.length; i--;) {
1437
+ self._handlers[i].remove();
1438
+ }
1439
+ self._handlers = [];
1440
+ if (self.mobileInput) {
1441
+ if (self.mobileInput.parentNode)
1442
+ self.mobileInput.parentNode.removeChild(self.mobileInput);
1443
+ self.mobileInput = undefined;
1444
+ }
1445
+ else if (self.calendarContainer && self.calendarContainer.parentNode) {
1446
+ if (self.config.static && self.calendarContainer.parentNode) {
1447
+ var wrapper = self.calendarContainer.parentNode;
1448
+ wrapper.lastChild && wrapper.removeChild(wrapper.lastChild);
1449
+ if (wrapper.parentNode) {
1450
+ while (wrapper.firstChild)
1451
+ wrapper.parentNode.insertBefore(wrapper.firstChild, wrapper);
1452
+ wrapper.parentNode.removeChild(wrapper);
1453
+ }
1454
+ }
1455
+ else
1456
+ self.calendarContainer.parentNode.removeChild(self.calendarContainer);
1457
+ }
1458
+ if (self.altInput) {
1459
+ self.input.type = "text";
1460
+ if (self.altInput.parentNode)
1461
+ self.altInput.parentNode.removeChild(self.altInput);
1462
+ delete self.altInput;
1463
+ }
1464
+ if (self.input) {
1465
+ self.input.type = self.input._type;
1466
+ self.input.classList.remove("flatpickr-input");
1467
+ self.input.removeAttribute("readonly");
1468
+ }
1469
+ [
1470
+ "_showTimeInput",
1471
+ "latestSelectedDateObj",
1472
+ "_hideNextMonthArrow",
1473
+ "_hidePrevMonthArrow",
1474
+ "__hideNextMonthArrow",
1475
+ "__hidePrevMonthArrow",
1476
+ "isMobile",
1477
+ "isOpen",
1478
+ "selectedDateElem",
1479
+ "minDateHasTime",
1480
+ "maxDateHasTime",
1481
+ "days",
1482
+ "daysContainer",
1483
+ "_input",
1484
+ "_positionElement",
1485
+ "innerContainer",
1486
+ "rContainer",
1487
+ "monthNav",
1488
+ "todayDateElem",
1489
+ "calendarContainer",
1490
+ "weekdayContainer",
1491
+ "prevMonthNav",
1492
+ "nextMonthNav",
1493
+ "monthsDropdownContainer",
1494
+ "currentMonthElement",
1495
+ "currentYearElement",
1496
+ "navigationCurrentMonth",
1497
+ "selectedDateElem",
1498
+ "config",
1499
+ ].forEach(function (k) {
1500
+ try {
1501
+ delete self[k];
1502
+ }
1503
+ catch (_) { }
1504
+ });
1505
+ }
1506
+ function isCalendarElem(elem) {
1507
+ if (self.config.appendTo && self.config.appendTo.contains(elem))
1508
+ return true;
1509
+ return self.calendarContainer.contains(elem);
1510
+ }
1511
+ function documentClick(e) {
1512
+ if (self.isOpen && !self.config.inline) {
1513
+ var eventTarget_1 = getEventTarget(e);
1514
+ var isCalendarElement = isCalendarElem(eventTarget_1);
1515
+ var isInput = eventTarget_1 === self.input ||
1516
+ eventTarget_1 === self.altInput ||
1517
+ self.element.contains(eventTarget_1) ||
1518
+ // web components
1519
+ // e.path is not present in all browsers. circumventing typechecks
1520
+ (e.path &&
1521
+ e.path.indexOf &&
1522
+ (~e.path.indexOf(self.input) ||
1523
+ ~e.path.indexOf(self.altInput)));
1524
+ var lostFocus = e.type === "blur"
1525
+ ? isInput &&
1526
+ e.relatedTarget &&
1527
+ !isCalendarElem(e.relatedTarget)
1528
+ : !isInput &&
1529
+ !isCalendarElement &&
1530
+ !isCalendarElem(e.relatedTarget);
1531
+ var isIgnored = !self.config.ignoredFocusElements.some(function (elem) {
1532
+ return elem.contains(eventTarget_1);
1533
+ });
1534
+ if (lostFocus && isIgnored) {
1535
+ if (self.timeContainer !== undefined &&
1536
+ self.minuteElement !== undefined &&
1537
+ self.hourElement !== undefined &&
1538
+ self.input.value !== "" &&
1539
+ self.input.value !== undefined) {
1540
+ updateTime();
1541
+ }
1542
+ self.close();
1543
+ if (self.config &&
1544
+ self.config.mode === "range" &&
1545
+ self.selectedDates.length === 1) {
1546
+ self.clear(false);
1547
+ self.redraw();
1548
+ }
1549
+ }
1550
+ }
1551
+ }
1552
+ function changeYear(newYear) {
1553
+ if (!newYear ||
1554
+ (self.config.minDate && newYear < self.config.minDate.getFullYear()) ||
1555
+ (self.config.maxDate && newYear > self.config.maxDate.getFullYear()))
1556
+ return;
1557
+ var newYearNum = newYear, isNewYear = self.currentYear !== newYearNum;
1558
+ self.currentYear = newYearNum || self.currentYear;
1559
+ if (self.config.maxDate &&
1560
+ self.currentYear === self.config.maxDate.getFullYear()) {
1561
+ self.currentMonth = Math.min(self.config.maxDate.getMonth(), self.currentMonth);
1562
+ }
1563
+ else if (self.config.minDate &&
1564
+ self.currentYear === self.config.minDate.getFullYear()) {
1565
+ self.currentMonth = Math.max(self.config.minDate.getMonth(), self.currentMonth);
1566
+ }
1567
+ if (isNewYear) {
1568
+ self.redraw();
1569
+ triggerEvent("onYearChange");
1570
+ buildMonthSwitch();
1571
+ }
1572
+ }
1573
+ function isEnabled(date, timeless) {
1574
+ var _a;
1575
+ if (timeless === void 0) { timeless = true; }
1576
+ var dateToCheck = self.parseDate(date, undefined, timeless); // timeless
1577
+ if ((self.config.minDate &&
1578
+ dateToCheck &&
1579
+ compareDates(dateToCheck, self.config.minDate, timeless !== undefined ? timeless : !self.minDateHasTime) < 0) ||
1580
+ (self.config.maxDate &&
1581
+ dateToCheck &&
1582
+ compareDates(dateToCheck, self.config.maxDate, timeless !== undefined ? timeless : !self.maxDateHasTime) > 0))
1583
+ return false;
1584
+ if (!self.config.enable && self.config.disable.length === 0)
1585
+ return true;
1586
+ if (dateToCheck === undefined)
1587
+ return false;
1588
+ var bool = !!self.config.enable, array = (_a = self.config.enable) !== null && _a !== void 0 ? _a : self.config.disable;
1589
+ for (var i = 0, d = void 0; i < array.length; i++) {
1590
+ d = array[i];
1591
+ if (typeof d === "function" &&
1592
+ d(dateToCheck) // disabled by function
1593
+ )
1594
+ return bool;
1595
+ else if (d instanceof Date &&
1596
+ dateToCheck !== undefined &&
1597
+ d.getTime() === dateToCheck.getTime())
1598
+ // disabled by date
1599
+ return bool;
1600
+ else if (typeof d === "string") {
1601
+ // disabled by date string
1602
+ var parsed = self.parseDate(d, undefined, true);
1603
+ return parsed && parsed.getTime() === dateToCheck.getTime()
1604
+ ? bool
1605
+ : !bool;
1606
+ }
1607
+ else if (
1608
+ // disabled by range
1609
+ typeof d === "object" &&
1610
+ dateToCheck !== undefined &&
1611
+ d.from &&
1612
+ d.to &&
1613
+ dateToCheck.getTime() >= d.from.getTime() &&
1614
+ dateToCheck.getTime() <= d.to.getTime())
1615
+ return bool;
1616
+ }
1617
+ return !bool;
1618
+ }
1619
+ function isInView(elem) {
1620
+ if (self.daysContainer !== undefined)
1621
+ return (elem.className.indexOf("hidden") === -1 &&
1622
+ elem.className.indexOf("flatpickr-disabled") === -1 &&
1623
+ self.daysContainer.contains(elem));
1624
+ return false;
1625
+ }
1626
+ function onBlur(e) {
1627
+ var isInput = e.target === self._input;
1628
+ if (isInput &&
1629
+ (self.selectedDates.length > 0 || self._input.value.length > 0) &&
1630
+ !(e.relatedTarget && isCalendarElem(e.relatedTarget))) {
1631
+ self.setDate(self._input.value, true, e.target === self.altInput
1632
+ ? self.config.altFormat
1633
+ : self.config.dateFormat);
1634
+ }
1635
+ }
1636
+ function onKeyDown(e) {
1637
+ // e.key e.keyCode
1638
+ // "Backspace" 8
1639
+ // "Tab" 9
1640
+ // "Enter" 13
1641
+ // "Escape" (IE "Esc") 27
1642
+ // "ArrowLeft" (IE "Left") 37
1643
+ // "ArrowUp" (IE "Up") 38
1644
+ // "ArrowRight" (IE "Right") 39
1645
+ // "ArrowDown" (IE "Down") 40
1646
+ // "Delete" (IE "Del") 46
1647
+ var eventTarget = getEventTarget(e);
1648
+ var isInput = self.config.wrap
1649
+ ? element.contains(eventTarget)
1650
+ : eventTarget === self._input;
1651
+ var allowInput = self.config.allowInput;
1652
+ var allowKeydown = self.isOpen && (!allowInput || !isInput);
1653
+ var allowInlineKeydown = self.config.inline && isInput && !allowInput;
1654
+ if (e.keyCode === 13 && isInput) {
1655
+ if (allowInput) {
1656
+ self.setDate(self._input.value, true, eventTarget === self.altInput
1657
+ ? self.config.altFormat
1658
+ : self.config.dateFormat);
1659
+ return eventTarget.blur();
1660
+ }
1661
+ else {
1662
+ self.open();
1663
+ }
1664
+ }
1665
+ else if (isCalendarElem(eventTarget) ||
1666
+ allowKeydown ||
1667
+ allowInlineKeydown) {
1668
+ var isTimeObj = !!self.timeContainer &&
1669
+ self.timeContainer.contains(eventTarget);
1670
+ switch (e.keyCode) {
1671
+ case 13:
1672
+ if (isTimeObj) {
1673
+ e.preventDefault();
1674
+ updateTime();
1675
+ focusAndClose();
1676
+ }
1677
+ else
1678
+ selectDate(e);
1679
+ break;
1680
+ case 27: // escape
1681
+ e.preventDefault();
1682
+ focusAndClose();
1683
+ break;
1684
+ case 8:
1685
+ case 46:
1686
+ if (isInput && !self.config.allowInput) {
1687
+ e.preventDefault();
1688
+ self.clear();
1689
+ }
1690
+ break;
1691
+ case 37:
1692
+ case 39:
1693
+ if (!isTimeObj && !isInput) {
1694
+ e.preventDefault();
1695
+ if (self.daysContainer !== undefined &&
1696
+ (allowInput === false ||
1697
+ (document.activeElement && isInView(document.activeElement)))) {
1698
+ var delta_1 = e.keyCode === 39 ? 1 : -1;
1699
+ if (!e.ctrlKey)
1700
+ focusOnDay(undefined, delta_1);
1701
+ else {
1702
+ e.stopPropagation();
1703
+ changeMonth(delta_1);
1704
+ focusOnDay(getFirstAvailableDay(1), 0);
1705
+ }
1706
+ }
1707
+ }
1708
+ else if (self.hourElement)
1709
+ self.hourElement.focus();
1710
+ break;
1711
+ case 38:
1712
+ case 40:
1713
+ e.preventDefault();
1714
+ var delta = e.keyCode === 40 ? 1 : -1;
1715
+ if ((self.daysContainer &&
1716
+ eventTarget.$i !== undefined) ||
1717
+ eventTarget === self.input ||
1718
+ eventTarget === self.altInput) {
1719
+ if (e.ctrlKey) {
1720
+ e.stopPropagation();
1721
+ changeYear(self.currentYear - delta);
1722
+ focusOnDay(getFirstAvailableDay(1), 0);
1723
+ }
1724
+ else if (!isTimeObj)
1725
+ focusOnDay(undefined, delta * 7);
1726
+ }
1727
+ else if (eventTarget === self.currentYearElement) {
1728
+ changeYear(self.currentYear - delta);
1729
+ }
1730
+ else if (self.config.enableTime) {
1731
+ if (!isTimeObj && self.hourElement)
1732
+ self.hourElement.focus();
1733
+ updateTime(e);
1734
+ self._debouncedChange();
1735
+ }
1736
+ break;
1737
+ case 9:
1738
+ if (isTimeObj) {
1739
+ var elems = [
1740
+ self.hourElement,
1741
+ self.minuteElement,
1742
+ self.secondElement,
1743
+ self.amPM,
1744
+ ]
1745
+ .concat(self.pluginElements)
1746
+ .filter(function (x) { return x; });
1747
+ var i = elems.indexOf(eventTarget);
1748
+ if (i !== -1) {
1749
+ var target = elems[i + (e.shiftKey ? -1 : 1)];
1750
+ e.preventDefault();
1751
+ (target || self._input).focus();
1752
+ }
1753
+ }
1754
+ else if (!self.config.noCalendar &&
1755
+ self.daysContainer &&
1756
+ self.daysContainer.contains(eventTarget) &&
1757
+ e.shiftKey) {
1758
+ e.preventDefault();
1759
+ self._input.focus();
1760
+ }
1761
+ break;
1762
+ }
1763
+ }
1764
+ if (self.amPM !== undefined && eventTarget === self.amPM) {
1765
+ switch (e.key) {
1766
+ case self.l10n.amPM[0].charAt(0):
1767
+ case self.l10n.amPM[0].charAt(0).toLowerCase():
1768
+ self.amPM.textContent = self.l10n.amPM[0];
1769
+ setHoursFromInputs();
1770
+ updateValue();
1771
+ break;
1772
+ case self.l10n.amPM[1].charAt(0):
1773
+ case self.l10n.amPM[1].charAt(0).toLowerCase():
1774
+ self.amPM.textContent = self.l10n.amPM[1];
1775
+ setHoursFromInputs();
1776
+ updateValue();
1777
+ break;
1778
+ }
1779
+ }
1780
+ if (isInput || isCalendarElem(eventTarget)) {
1781
+ triggerEvent("onKeyDown", e);
1782
+ }
1783
+ }
1784
+ function onMouseOver(elem) {
1785
+ if (self.selectedDates.length !== 1 ||
1786
+ (elem &&
1787
+ (!elem.classList.contains("flatpickr-day") ||
1788
+ elem.classList.contains("flatpickr-disabled"))))
1789
+ return;
1790
+ var hoverDate = elem
1791
+ ? elem.dateObj.getTime()
1792
+ : self.days.firstElementChild.dateObj.getTime(), initialDate = self.parseDate(self.selectedDates[0], undefined, true).getTime(), rangeStartDate = Math.min(hoverDate, self.selectedDates[0].getTime()), rangeEndDate = Math.max(hoverDate, self.selectedDates[0].getTime());
1793
+ var containsDisabled = false;
1794
+ var minRange = 0, maxRange = 0;
1795
+ for (var t = rangeStartDate; t < rangeEndDate; t += duration.DAY) {
1796
+ if (!isEnabled(new Date(t), true)) {
1797
+ containsDisabled =
1798
+ containsDisabled || (t > rangeStartDate && t < rangeEndDate);
1799
+ if (t < initialDate && (!minRange || t > minRange))
1800
+ minRange = t;
1801
+ else if (t > initialDate && (!maxRange || t < maxRange))
1802
+ maxRange = t;
1803
+ }
1804
+ }
1805
+ for (var m = 0; m < self.config.showMonths; m++) {
1806
+ var month = self.daysContainer.children[m];
1807
+ var _loop_1 = function (i, l) {
1808
+ var dayElem = month.children[i], date = dayElem.dateObj;
1809
+ var timestamp = date.getTime();
1810
+ var outOfRange = (minRange > 0 && timestamp < minRange) ||
1811
+ (maxRange > 0 && timestamp > maxRange);
1812
+ if (outOfRange) {
1813
+ dayElem.classList.add("notAllowed");
1814
+ ["inRange", "startRange", "endRange"].forEach(function (c) {
1815
+ dayElem.classList.remove(c);
1816
+ });
1817
+ return "continue";
1818
+ }
1819
+ else if (containsDisabled && !outOfRange)
1820
+ return "continue";
1821
+ ["startRange", "inRange", "endRange", "notAllowed"].forEach(function (c) {
1822
+ dayElem.classList.remove(c);
1823
+ });
1824
+ if (elem !== undefined) {
1825
+ elem.classList.add(hoverDate <= self.selectedDates[0].getTime()
1826
+ ? "startRange"
1827
+ : "endRange");
1828
+ if (initialDate < hoverDate && timestamp === initialDate)
1829
+ dayElem.classList.add("startRange");
1830
+ else if (initialDate > hoverDate && timestamp === initialDate)
1831
+ dayElem.classList.add("endRange");
1832
+ if (timestamp >= minRange &&
1833
+ (maxRange === 0 || timestamp <= maxRange) &&
1834
+ isBetween(timestamp, initialDate, hoverDate))
1835
+ dayElem.classList.add("inRange");
1836
+ }
1837
+ };
1838
+ for (var i = 0, l = month.children.length; i < l; i++) {
1839
+ _loop_1(i, l);
1840
+ }
1841
+ }
1842
+ }
1843
+ function onResize() {
1844
+ if (self.isOpen && !self.config.static && !self.config.inline)
1845
+ positionCalendar();
1846
+ }
1847
+ function open(e, positionElement) {
1848
+ if (positionElement === void 0) { positionElement = self._positionElement; }
1849
+ if (self.isMobile === true) {
1850
+ if (e) {
1851
+ e.preventDefault();
1852
+ var eventTarget = getEventTarget(e);
1853
+ if (eventTarget) {
1854
+ eventTarget.blur();
1855
+ }
1856
+ }
1857
+ if (self.mobileInput !== undefined) {
1858
+ self.mobileInput.focus();
1859
+ self.mobileInput.click();
1860
+ }
1861
+ triggerEvent("onOpen");
1862
+ return;
1863
+ }
1864
+ else if (self._input.disabled || self.config.inline) {
1865
+ return;
1866
+ }
1867
+ var wasOpen = self.isOpen;
1868
+ self.isOpen = true;
1869
+ if (!wasOpen) {
1870
+ self.calendarContainer.classList.add("open");
1871
+ self._input.classList.add("active");
1872
+ triggerEvent("onOpen");
1873
+ positionCalendar(positionElement);
1874
+ }
1875
+ if (self.config.enableTime === true && self.config.noCalendar === true) {
1876
+ if (self.config.allowInput === false &&
1877
+ (e === undefined ||
1878
+ !self.timeContainer.contains(e.relatedTarget))) {
1879
+ setTimeout(function () { return self.hourElement.select(); }, 50);
1880
+ }
1881
+ }
1882
+ }
1883
+ function minMaxDateSetter(type) {
1884
+ return function (date) {
1885
+ var dateObj = (self.config["_" + type + "Date"] = self.parseDate(date, self.config.dateFormat));
1886
+ var inverseDateObj = self.config["_" + (type === "min" ? "max" : "min") + "Date"];
1887
+ if (dateObj !== undefined) {
1888
+ self[type === "min" ? "minDateHasTime" : "maxDateHasTime"] =
1889
+ dateObj.getHours() > 0 ||
1890
+ dateObj.getMinutes() > 0 ||
1891
+ dateObj.getSeconds() > 0;
1892
+ }
1893
+ if (self.selectedDates) {
1894
+ self.selectedDates = self.selectedDates.filter(function (d) { return isEnabled(d); });
1895
+ if (!self.selectedDates.length && type === "min")
1896
+ setHoursFromDate(dateObj);
1897
+ updateValue();
1898
+ }
1899
+ if (self.daysContainer) {
1900
+ redraw();
1901
+ if (dateObj !== undefined)
1902
+ self.currentYearElement[type] = dateObj.getFullYear().toString();
1903
+ else
1904
+ self.currentYearElement.removeAttribute(type);
1905
+ self.currentYearElement.disabled =
1906
+ !!inverseDateObj &&
1907
+ dateObj !== undefined &&
1908
+ inverseDateObj.getFullYear() === dateObj.getFullYear();
1909
+ }
1910
+ };
1911
+ }
1912
+ function parseConfig() {
1913
+ var boolOpts = [
1914
+ "wrap",
1915
+ "weekNumbers",
1916
+ "allowInput",
1917
+ "allowInvalidPreload",
1918
+ "clickOpens",
1919
+ "time_24hr",
1920
+ "enableTime",
1921
+ "noCalendar",
1922
+ "altInput",
1923
+ "shorthandCurrentMonth",
1924
+ "inline",
1925
+ "static",
1926
+ "enableSeconds",
1927
+ "disableMobile",
1928
+ ];
1929
+ var userConfig = __assign(__assign({}, JSON.parse(JSON.stringify(element.dataset || {}))), instanceConfig);
1930
+ var formats = {};
1931
+ self.config.parseDate = userConfig.parseDate;
1932
+ self.config.formatDate = userConfig.formatDate;
1933
+ Object.defineProperty(self.config, "enable", {
1934
+ get: function () { return self.config._enable; },
1935
+ set: function (dates) {
1936
+ self.config._enable = parseDateRules(dates);
1937
+ },
1938
+ });
1939
+ Object.defineProperty(self.config, "disable", {
1940
+ get: function () { return self.config._disable; },
1941
+ set: function (dates) {
1942
+ self.config._disable = parseDateRules(dates);
1943
+ },
1944
+ });
1945
+ var timeMode = userConfig.mode === "time";
1946
+ if (!userConfig.dateFormat && (userConfig.enableTime || timeMode)) {
1947
+ var defaultDateFormat = flatpickr.defaultConfig.dateFormat || defaults.dateFormat;
1948
+ formats.dateFormat =
1949
+ userConfig.noCalendar || timeMode
1950
+ ? "H:i" + (userConfig.enableSeconds ? ":S" : "")
1951
+ : defaultDateFormat + " H:i" + (userConfig.enableSeconds ? ":S" : "");
1952
+ }
1953
+ if (userConfig.altInput &&
1954
+ (userConfig.enableTime || timeMode) &&
1955
+ !userConfig.altFormat) {
1956
+ var defaultAltFormat = flatpickr.defaultConfig.altFormat || defaults.altFormat;
1957
+ formats.altFormat =
1958
+ userConfig.noCalendar || timeMode
1959
+ ? "h:i" + (userConfig.enableSeconds ? ":S K" : " K")
1960
+ : defaultAltFormat + (" h:i" + (userConfig.enableSeconds ? ":S" : "") + " K");
1961
+ }
1962
+ Object.defineProperty(self.config, "minDate", {
1963
+ get: function () { return self.config._minDate; },
1964
+ set: minMaxDateSetter("min"),
1965
+ });
1966
+ Object.defineProperty(self.config, "maxDate", {
1967
+ get: function () { return self.config._maxDate; },
1968
+ set: minMaxDateSetter("max"),
1969
+ });
1970
+ var minMaxTimeSetter = function (type) { return function (val) {
1971
+ self.config[type === "min" ? "_minTime" : "_maxTime"] = self.parseDate(val, "H:i:S");
1972
+ }; };
1973
+ Object.defineProperty(self.config, "minTime", {
1974
+ get: function () { return self.config._minTime; },
1975
+ set: minMaxTimeSetter("min"),
1976
+ });
1977
+ Object.defineProperty(self.config, "maxTime", {
1978
+ get: function () { return self.config._maxTime; },
1979
+ set: minMaxTimeSetter("max"),
1980
+ });
1981
+ if (userConfig.mode === "time") {
1982
+ self.config.noCalendar = true;
1983
+ self.config.enableTime = true;
1984
+ }
1985
+ Object.assign(self.config, formats, userConfig);
1986
+ for (var i = 0; i < boolOpts.length; i++)
1987
+ // https://github.com/microsoft/TypeScript/issues/31663
1988
+ self.config[boolOpts[i]] =
1989
+ self.config[boolOpts[i]] === true ||
1990
+ self.config[boolOpts[i]] === "true";
1991
+ HOOKS.filter(function (hook) { return self.config[hook] !== undefined; }).forEach(function (hook) {
1992
+ self.config[hook] = arrayify(self.config[hook] || []).map(bindToInstance);
1993
+ });
1994
+ self.isMobile =
1995
+ !self.config.disableMobile &&
1996
+ !self.config.inline &&
1997
+ self.config.mode === "single" &&
1998
+ !self.config.disable.length &&
1999
+ !self.config.enable &&
2000
+ !self.config.weekNumbers &&
2001
+ /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
2002
+ for (var i = 0; i < self.config.plugins.length; i++) {
2003
+ var pluginConf = self.config.plugins[i](self) || {};
2004
+ for (var key in pluginConf) {
2005
+ if (HOOKS.indexOf(key) > -1) {
2006
+ self.config[key] = arrayify(pluginConf[key])
2007
+ .map(bindToInstance)
2008
+ .concat(self.config[key]);
2009
+ }
2010
+ else if (typeof userConfig[key] === "undefined")
2011
+ self.config[key] = pluginConf[key];
2012
+ }
2013
+ }
2014
+ if (!userConfig.altInputClass) {
2015
+ self.config.altInputClass =
2016
+ getInputElem().className + " " + self.config.altInputClass;
2017
+ }
2018
+ triggerEvent("onParseConfig");
2019
+ }
2020
+ function getInputElem() {
2021
+ return self.config.wrap
2022
+ ? element.querySelector("[data-input]")
2023
+ : element;
2024
+ }
2025
+ function setupLocale() {
2026
+ if (typeof self.config.locale !== "object" &&
2027
+ typeof flatpickr.l10ns[self.config.locale] === "undefined")
2028
+ self.config.errorHandler(new Error("flatpickr: invalid locale " + self.config.locale));
2029
+ self.l10n = __assign(__assign({}, flatpickr.l10ns.default), (typeof self.config.locale === "object"
2030
+ ? self.config.locale
2031
+ : self.config.locale !== "default"
2032
+ ? flatpickr.l10ns[self.config.locale]
2033
+ : undefined));
2034
+ tokenRegex.K = "(" + self.l10n.amPM[0] + "|" + self.l10n.amPM[1] + "|" + self.l10n.amPM[0].toLowerCase() + "|" + self.l10n.amPM[1].toLowerCase() + ")";
2035
+ var userConfig = __assign(__assign({}, instanceConfig), JSON.parse(JSON.stringify(element.dataset || {})));
2036
+ if (userConfig.time_24hr === undefined &&
2037
+ flatpickr.defaultConfig.time_24hr === undefined) {
2038
+ self.config.time_24hr = self.l10n.time_24hr;
2039
+ }
2040
+ self.formatDate = createDateFormatter(self);
2041
+ self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });
2042
+ }
2043
+ function positionCalendar(customPositionElement) {
2044
+ if (typeof self.config.position === "function") {
2045
+ return void self.config.position(self, customPositionElement);
2046
+ }
2047
+ if (self.calendarContainer === undefined)
2048
+ return;
2049
+ triggerEvent("onPreCalendarPosition");
2050
+ var positionElement = customPositionElement || self._positionElement;
2051
+ var calendarHeight = Array.prototype.reduce.call(self.calendarContainer.children, (function (acc, child) { return acc + child.offsetHeight; }), 0), calendarWidth = self.calendarContainer.offsetWidth, configPos = self.config.position.split(" "), configPosVertical = configPos[0], configPosHorizontal = configPos.length > 1 ? configPos[1] : null, inputBounds = positionElement.getBoundingClientRect(), distanceFromBottom = window.innerHeight - inputBounds.bottom, showOnTop = configPosVertical === "above" ||
2052
+ (configPosVertical !== "below" &&
2053
+ distanceFromBottom < calendarHeight &&
2054
+ inputBounds.top > calendarHeight);
2055
+ var top = window.pageYOffset +
2056
+ inputBounds.top +
2057
+ (!showOnTop ? positionElement.offsetHeight + 2 : -calendarHeight - 2);
2058
+ toggleClass(self.calendarContainer, "arrowTop", !showOnTop);
2059
+ toggleClass(self.calendarContainer, "arrowBottom", showOnTop);
2060
+ if (self.config.inline)
2061
+ return;
2062
+ var left = window.pageXOffset + inputBounds.left;
2063
+ var isCenter = false;
2064
+ var isRight = false;
2065
+ if (configPosHorizontal === "center") {
2066
+ left -= (calendarWidth - inputBounds.width) / 2;
2067
+ isCenter = true;
2068
+ }
2069
+ else if (configPosHorizontal === "right") {
2070
+ left -= calendarWidth - inputBounds.width;
2071
+ isRight = true;
2072
+ }
2073
+ toggleClass(self.calendarContainer, "arrowLeft", !isCenter && !isRight);
2074
+ toggleClass(self.calendarContainer, "arrowCenter", isCenter);
2075
+ toggleClass(self.calendarContainer, "arrowRight", isRight);
2076
+ var right = window.document.body.offsetWidth -
2077
+ (window.pageXOffset + inputBounds.right);
2078
+ var rightMost = left + calendarWidth > window.document.body.offsetWidth;
2079
+ var centerMost = right + calendarWidth > window.document.body.offsetWidth;
2080
+ toggleClass(self.calendarContainer, "rightMost", rightMost);
2081
+ if (self.config.static)
2082
+ return;
2083
+ self.calendarContainer.style.top = top + "px";
2084
+ if (!rightMost) {
2085
+ self.calendarContainer.style.left = left + "px";
2086
+ self.calendarContainer.style.right = "auto";
2087
+ }
2088
+ else if (!centerMost) {
2089
+ self.calendarContainer.style.left = "auto";
2090
+ self.calendarContainer.style.right = right + "px";
2091
+ }
2092
+ else {
2093
+ var doc = getDocumentStyleSheet();
2094
+ // some testing environments don't have css support
2095
+ if (doc === undefined)
2096
+ return;
2097
+ var bodyWidth = window.document.body.offsetWidth;
2098
+ var centerLeft = Math.max(0, bodyWidth / 2 - calendarWidth / 2);
2099
+ var centerBefore = ".flatpickr-calendar.centerMost:before";
2100
+ var centerAfter = ".flatpickr-calendar.centerMost:after";
2101
+ var centerIndex = doc.cssRules.length;
2102
+ var centerStyle = "{left:" + inputBounds.left + "px;right:auto;}";
2103
+ toggleClass(self.calendarContainer, "rightMost", false);
2104
+ toggleClass(self.calendarContainer, "centerMost", true);
2105
+ doc.insertRule(centerBefore + "," + centerAfter + centerStyle, centerIndex);
2106
+ self.calendarContainer.style.left = centerLeft + "px";
2107
+ self.calendarContainer.style.right = "auto";
2108
+ }
2109
+ }
2110
+ function getDocumentStyleSheet() {
2111
+ var editableSheet = null;
2112
+ for (var i = 0; i < document.styleSheets.length; i++) {
2113
+ var sheet = document.styleSheets[i];
2114
+ try {
2115
+ sheet.cssRules;
2116
+ }
2117
+ catch (err) {
2118
+ continue;
2119
+ }
2120
+ editableSheet = sheet;
2121
+ break;
2122
+ }
2123
+ return editableSheet != null ? editableSheet : createStyleSheet();
2124
+ }
2125
+ function createStyleSheet() {
2126
+ var style = document.createElement("style");
2127
+ document.head.appendChild(style);
2128
+ return style.sheet;
2129
+ }
2130
+ function redraw() {
2131
+ if (self.config.noCalendar || self.isMobile)
2132
+ return;
2133
+ buildMonthSwitch();
2134
+ updateNavigationCurrentMonth();
2135
+ buildDays();
2136
+ }
2137
+ function focusAndClose() {
2138
+ self._input.focus();
2139
+ if (window.navigator.userAgent.indexOf("MSIE") !== -1 ||
2140
+ navigator.msMaxTouchPoints !== undefined) {
2141
+ // hack - bugs in the way IE handles focus keeps the calendar open
2142
+ setTimeout(self.close, 0);
2143
+ }
2144
+ else {
2145
+ self.close();
2146
+ }
2147
+ }
2148
+ function selectDate(e) {
2149
+ e.preventDefault();
2150
+ e.stopPropagation();
2151
+ var isSelectable = function (day) {
2152
+ return day.classList &&
2153
+ day.classList.contains("flatpickr-day") &&
2154
+ !day.classList.contains("flatpickr-disabled") &&
2155
+ !day.classList.contains("notAllowed");
2156
+ };
2157
+ var t = findParent(getEventTarget(e), isSelectable);
2158
+ if (t === undefined)
2159
+ return;
2160
+ var target = t;
2161
+ var selectedDate = (self.latestSelectedDateObj = new Date(target.dateObj.getTime()));
2162
+ var shouldChangeMonth = (selectedDate.getMonth() < self.currentMonth ||
2163
+ selectedDate.getMonth() >
2164
+ self.currentMonth + self.config.showMonths - 1) &&
2165
+ self.config.mode !== "range";
2166
+ self.selectedDateElem = target;
2167
+ if (self.config.mode === "single")
2168
+ self.selectedDates = [selectedDate];
2169
+ else if (self.config.mode === "multiple") {
2170
+ var selectedIndex = isDateSelected(selectedDate);
2171
+ if (selectedIndex)
2172
+ self.selectedDates.splice(parseInt(selectedIndex), 1);
2173
+ else
2174
+ self.selectedDates.push(selectedDate);
2175
+ }
2176
+ else if (self.config.mode === "range") {
2177
+ if (self.selectedDates.length === 2) {
2178
+ self.clear(false, false);
2179
+ }
2180
+ self.latestSelectedDateObj = selectedDate;
2181
+ self.selectedDates.push(selectedDate);
2182
+ // unless selecting same date twice, sort ascendingly
2183
+ if (compareDates(selectedDate, self.selectedDates[0], true) !== 0)
2184
+ self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });
2185
+ }
2186
+ setHoursFromInputs();
2187
+ if (shouldChangeMonth) {
2188
+ var isNewYear = self.currentYear !== selectedDate.getFullYear();
2189
+ self.currentYear = selectedDate.getFullYear();
2190
+ self.currentMonth = selectedDate.getMonth();
2191
+ if (isNewYear) {
2192
+ triggerEvent("onYearChange");
2193
+ buildMonthSwitch();
2194
+ }
2195
+ triggerEvent("onMonthChange");
2196
+ }
2197
+ updateNavigationCurrentMonth();
2198
+ buildDays();
2199
+ updateValue();
2200
+ // maintain focus
2201
+ if (!shouldChangeMonth &&
2202
+ self.config.mode !== "range" &&
2203
+ self.config.showMonths === 1)
2204
+ focusOnDayElem(target);
2205
+ else if (self.selectedDateElem !== undefined &&
2206
+ self.hourElement === undefined) {
2207
+ self.selectedDateElem && self.selectedDateElem.focus();
2208
+ }
2209
+ if (self.hourElement !== undefined)
2210
+ self.hourElement !== undefined && self.hourElement.focus();
2211
+ if (self.config.closeOnSelect) {
2212
+ var single = self.config.mode === "single" && !self.config.enableTime;
2213
+ var range = self.config.mode === "range" &&
2214
+ self.selectedDates.length === 2 &&
2215
+ !self.config.enableTime;
2216
+ if (single || range) {
2217
+ focusAndClose();
2218
+ }
2219
+ }
2220
+ triggerChange();
2221
+ }
2222
+ var CALLBACKS = {
2223
+ locale: [setupLocale, updateWeekdays],
2224
+ showMonths: [buildMonths, setCalendarWidth, buildWeekdays],
2225
+ minDate: [jumpToDate],
2226
+ maxDate: [jumpToDate],
2227
+ clickOpens: [
2228
+ function () {
2229
+ if (self.config.clickOpens === true) {
2230
+ bind(self._input, "focus", self.open);
2231
+ bind(self._input, "click", self.open);
2232
+ }
2233
+ else {
2234
+ self._input.removeEventListener("focus", self.open);
2235
+ self._input.removeEventListener("click", self.open);
2236
+ }
2237
+ },
2238
+ ],
2239
+ };
2240
+ function set(option, value) {
2241
+ if (option !== null && typeof option === "object") {
2242
+ Object.assign(self.config, option);
2243
+ for (var key in option) {
2244
+ if (CALLBACKS[key] !== undefined)
2245
+ CALLBACKS[key].forEach(function (x) { return x(); });
2246
+ }
2247
+ }
2248
+ else {
2249
+ self.config[option] = value;
2250
+ if (CALLBACKS[option] !== undefined)
2251
+ CALLBACKS[option].forEach(function (x) { return x(); });
2252
+ else if (HOOKS.indexOf(option) > -1)
2253
+ self.config[option] = arrayify(value);
2254
+ }
2255
+ self.redraw();
2256
+ updateValue(true);
2257
+ }
2258
+ function setSelectedDate(inputDate, format) {
2259
+ var dates = [];
2260
+ if (inputDate instanceof Array)
2261
+ dates = inputDate.map(function (d) { return self.parseDate(d, format); });
2262
+ else if (inputDate instanceof Date || typeof inputDate === "number")
2263
+ dates = [self.parseDate(inputDate, format)];
2264
+ else if (typeof inputDate === "string") {
2265
+ switch (self.config.mode) {
2266
+ case "single":
2267
+ case "time":
2268
+ dates = [self.parseDate(inputDate, format)];
2269
+ break;
2270
+ case "multiple":
2271
+ dates = inputDate
2272
+ .split(self.config.conjunction)
2273
+ .map(function (date) { return self.parseDate(date, format); });
2274
+ break;
2275
+ case "range":
2276
+ dates = inputDate
2277
+ .split(self.l10n.rangeSeparator)
2278
+ .map(function (date) { return self.parseDate(date, format); });
2279
+ break;
2280
+ }
2281
+ }
2282
+ else
2283
+ self.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(inputDate)));
2284
+ self.selectedDates = (self.config.allowInvalidPreload
2285
+ ? dates
2286
+ : dates.filter(function (d) { return d instanceof Date && isEnabled(d, false); }));
2287
+ if (self.config.mode === "range")
2288
+ self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });
2289
+ }
2290
+ function setDate(date, triggerChange, format) {
2291
+ if (triggerChange === void 0) { triggerChange = false; }
2292
+ if (format === void 0) { format = self.config.dateFormat; }
2293
+ if ((date !== 0 && !date) || (date instanceof Array && date.length === 0))
2294
+ return self.clear(triggerChange);
2295
+ setSelectedDate(date, format);
2296
+ self.latestSelectedDateObj =
2297
+ self.selectedDates[self.selectedDates.length - 1];
2298
+ self.redraw();
2299
+ jumpToDate(undefined, triggerChange);
2300
+ setHoursFromDate();
2301
+ if (self.selectedDates.length === 0) {
2302
+ self.clear(false);
2303
+ }
2304
+ updateValue(triggerChange);
2305
+ if (triggerChange)
2306
+ triggerEvent("onChange");
2307
+ }
2308
+ function parseDateRules(arr) {
2309
+ return arr
2310
+ .slice()
2311
+ .map(function (rule) {
2312
+ if (typeof rule === "string" ||
2313
+ typeof rule === "number" ||
2314
+ rule instanceof Date) {
2315
+ return self.parseDate(rule, undefined, true);
2316
+ }
2317
+ else if (rule &&
2318
+ typeof rule === "object" &&
2319
+ rule.from &&
2320
+ rule.to)
2321
+ return {
2322
+ from: self.parseDate(rule.from, undefined),
2323
+ to: self.parseDate(rule.to, undefined),
2324
+ };
2325
+ return rule;
2326
+ })
2327
+ .filter(function (x) { return x; }); // remove falsy values
2328
+ }
2329
+ function setupDates() {
2330
+ self.selectedDates = [];
2331
+ self.now = self.parseDate(self.config.now) || new Date();
2332
+ // Workaround IE11 setting placeholder as the input's value
2333
+ var preloadedDate = self.config.defaultDate ||
2334
+ ((self.input.nodeName === "INPUT" ||
2335
+ self.input.nodeName === "TEXTAREA") &&
2336
+ self.input.placeholder &&
2337
+ self.input.value === self.input.placeholder
2338
+ ? null
2339
+ : self.input.value);
2340
+ if (preloadedDate)
2341
+ setSelectedDate(preloadedDate, self.config.dateFormat);
2342
+ self._initialDate =
2343
+ self.selectedDates.length > 0
2344
+ ? self.selectedDates[0]
2345
+ : self.config.minDate &&
2346
+ self.config.minDate.getTime() > self.now.getTime()
2347
+ ? self.config.minDate
2348
+ : self.config.maxDate &&
2349
+ self.config.maxDate.getTime() < self.now.getTime()
2350
+ ? self.config.maxDate
2351
+ : self.now;
2352
+ self.currentYear = self._initialDate.getFullYear();
2353
+ self.currentMonth = self._initialDate.getMonth();
2354
+ if (self.selectedDates.length > 0)
2355
+ self.latestSelectedDateObj = self.selectedDates[0];
2356
+ if (self.config.minTime !== undefined)
2357
+ self.config.minTime = self.parseDate(self.config.minTime, "H:i");
2358
+ if (self.config.maxTime !== undefined)
2359
+ self.config.maxTime = self.parseDate(self.config.maxTime, "H:i");
2360
+ self.minDateHasTime =
2361
+ !!self.config.minDate &&
2362
+ (self.config.minDate.getHours() > 0 ||
2363
+ self.config.minDate.getMinutes() > 0 ||
2364
+ self.config.minDate.getSeconds() > 0);
2365
+ self.maxDateHasTime =
2366
+ !!self.config.maxDate &&
2367
+ (self.config.maxDate.getHours() > 0 ||
2368
+ self.config.maxDate.getMinutes() > 0 ||
2369
+ self.config.maxDate.getSeconds() > 0);
2370
+ }
2371
+ function setupInputs() {
2372
+ self.input = getInputElem();
2373
+ /* istanbul ignore next */
2374
+ if (!self.input) {
2375
+ self.config.errorHandler(new Error("Invalid input element specified"));
2376
+ return;
2377
+ }
2378
+ // hack: store previous type to restore it after destroy()
2379
+ self.input._type = self.input.type;
2380
+ self.input.type = "text";
2381
+ self.input.classList.add("flatpickr-input");
2382
+ self._input = self.input;
2383
+ if (self.config.altInput) {
2384
+ // replicate self.element
2385
+ self.altInput = createElement(self.input.nodeName, self.config.altInputClass);
2386
+ self._input = self.altInput;
2387
+ self.altInput.placeholder = self.input.placeholder;
2388
+ self.altInput.disabled = self.input.disabled;
2389
+ self.altInput.required = self.input.required;
2390
+ self.altInput.tabIndex = self.input.tabIndex;
2391
+ self.altInput.type = "text";
2392
+ self.input.setAttribute("type", "hidden");
2393
+ if (!self.config.static && self.input.parentNode)
2394
+ self.input.parentNode.insertBefore(self.altInput, self.input.nextSibling);
2395
+ }
2396
+ if (!self.config.allowInput)
2397
+ self._input.setAttribute("readonly", "readonly");
2398
+ self._positionElement = self.config.positionElement || self._input;
2399
+ }
2400
+ function setupMobile() {
2401
+ var inputType = self.config.enableTime
2402
+ ? self.config.noCalendar
2403
+ ? "time"
2404
+ : "datetime-local"
2405
+ : "date";
2406
+ self.mobileInput = createElement("input", self.input.className + " flatpickr-mobile");
2407
+ self.mobileInput.tabIndex = 1;
2408
+ self.mobileInput.type = inputType;
2409
+ self.mobileInput.disabled = self.input.disabled;
2410
+ self.mobileInput.required = self.input.required;
2411
+ self.mobileInput.placeholder = self.input.placeholder;
2412
+ self.mobileFormatStr =
2413
+ inputType === "datetime-local"
2414
+ ? "Y-m-d\\TH:i:S"
2415
+ : inputType === "date"
2416
+ ? "Y-m-d"
2417
+ : "H:i:S";
2418
+ if (self.selectedDates.length > 0) {
2419
+ self.mobileInput.defaultValue = self.mobileInput.value = self.formatDate(self.selectedDates[0], self.mobileFormatStr);
2420
+ }
2421
+ if (self.config.minDate)
2422
+ self.mobileInput.min = self.formatDate(self.config.minDate, "Y-m-d");
2423
+ if (self.config.maxDate)
2424
+ self.mobileInput.max = self.formatDate(self.config.maxDate, "Y-m-d");
2425
+ if (self.input.getAttribute("step"))
2426
+ self.mobileInput.step = String(self.input.getAttribute("step"));
2427
+ self.input.type = "hidden";
2428
+ if (self.altInput !== undefined)
2429
+ self.altInput.type = "hidden";
2430
+ try {
2431
+ if (self.input.parentNode)
2432
+ self.input.parentNode.insertBefore(self.mobileInput, self.input.nextSibling);
2433
+ }
2434
+ catch (_a) { }
2435
+ bind(self.mobileInput, "change", function (e) {
2436
+ self.setDate(getEventTarget(e).value, false, self.mobileFormatStr);
2437
+ triggerEvent("onChange");
2438
+ triggerEvent("onClose");
2439
+ });
2440
+ }
2441
+ function toggle(e) {
2442
+ if (self.isOpen === true)
2443
+ return self.close();
2444
+ self.open(e);
2445
+ }
2446
+ function triggerEvent(event, data) {
2447
+ // If the instance has been destroyed already, all hooks have been removed
2448
+ if (self.config === undefined)
2449
+ return;
2450
+ var hooks = self.config[event];
2451
+ if (hooks !== undefined && hooks.length > 0) {
2452
+ for (var i = 0; hooks[i] && i < hooks.length; i++)
2453
+ hooks[i](self.selectedDates, self.input.value, self, data);
2454
+ }
2455
+ if (event === "onChange") {
2456
+ self.input.dispatchEvent(createEvent("change"));
2457
+ // many front-end frameworks bind to the input event
2458
+ self.input.dispatchEvent(createEvent("input"));
2459
+ }
2460
+ }
2461
+ function createEvent(name) {
2462
+ var e = document.createEvent("Event");
2463
+ e.initEvent(name, true, true);
2464
+ return e;
2465
+ }
2466
+ function isDateSelected(date) {
2467
+ for (var i = 0; i < self.selectedDates.length; i++) {
2468
+ if (compareDates(self.selectedDates[i], date) === 0)
2469
+ return "" + i;
2470
+ }
2471
+ return false;
2472
+ }
2473
+ function isDateInRange(date) {
2474
+ if (self.config.mode !== "range" || self.selectedDates.length < 2)
2475
+ return false;
2476
+ return (compareDates(date, self.selectedDates[0]) >= 0 &&
2477
+ compareDates(date, self.selectedDates[1]) <= 0);
2478
+ }
2479
+ function updateNavigationCurrentMonth() {
2480
+ if (self.config.noCalendar || self.isMobile || !self.monthNav)
2481
+ return;
2482
+ self.yearElements.forEach(function (yearElement, i) {
2483
+ var d = new Date(self.currentYear, self.currentMonth, 1);
2484
+ d.setMonth(self.currentMonth + i);
2485
+ if (self.config.showMonths > 1 ||
2486
+ self.config.monthSelectorType === "static") {
2487
+ self.monthElements[i].textContent =
2488
+ monthToStr(d.getMonth(), self.config.shorthandCurrentMonth, self.l10n) + " ";
2489
+ }
2490
+ else {
2491
+ self.monthsDropdownContainer.value = d.getMonth().toString();
2492
+ }
2493
+ yearElement.value = d.getFullYear().toString();
2494
+ });
2495
+ self._hidePrevMonthArrow =
2496
+ self.config.minDate !== undefined &&
2497
+ (self.currentYear === self.config.minDate.getFullYear()
2498
+ ? self.currentMonth <= self.config.minDate.getMonth()
2499
+ : self.currentYear < self.config.minDate.getFullYear());
2500
+ self._hideNextMonthArrow =
2501
+ self.config.maxDate !== undefined &&
2502
+ (self.currentYear === self.config.maxDate.getFullYear()
2503
+ ? self.currentMonth + 1 > self.config.maxDate.getMonth()
2504
+ : self.currentYear > self.config.maxDate.getFullYear());
2505
+ }
2506
+ function getDateStr(format) {
2507
+ return self.selectedDates
2508
+ .map(function (dObj) { return self.formatDate(dObj, format); })
2509
+ .filter(function (d, i, arr) {
2510
+ return self.config.mode !== "range" ||
2511
+ self.config.enableTime ||
2512
+ arr.indexOf(d) === i;
2513
+ })
2514
+ .join(self.config.mode !== "range"
2515
+ ? self.config.conjunction
2516
+ : self.l10n.rangeSeparator);
2517
+ }
2518
+ /**
2519
+ * Updates the values of inputs associated with the calendar
2520
+ */
2521
+ function updateValue(triggerChange) {
2522
+ if (triggerChange === void 0) { triggerChange = true; }
2523
+ if (self.mobileInput !== undefined && self.mobileFormatStr) {
2524
+ self.mobileInput.value =
2525
+ self.latestSelectedDateObj !== undefined
2526
+ ? self.formatDate(self.latestSelectedDateObj, self.mobileFormatStr)
2527
+ : "";
2528
+ }
2529
+ self.input.value = getDateStr(self.config.dateFormat);
2530
+ if (self.altInput !== undefined) {
2531
+ self.altInput.value = getDateStr(self.config.altFormat);
2532
+ }
2533
+ if (triggerChange !== false)
2534
+ triggerEvent("onValueUpdate");
2535
+ }
2536
+ function onMonthNavClick(e) {
2537
+ var eventTarget = getEventTarget(e);
2538
+ var isPrevMonth = self.prevMonthNav.contains(eventTarget);
2539
+ var isNextMonth = self.nextMonthNav.contains(eventTarget);
2540
+ if (isPrevMonth || isNextMonth) {
2541
+ changeMonth(isPrevMonth ? -1 : 1);
2542
+ }
2543
+ else if (self.yearElements.indexOf(eventTarget) >= 0) {
2544
+ eventTarget.select();
2545
+ }
2546
+ else if (eventTarget.classList.contains("arrowUp")) {
2547
+ self.changeYear(self.currentYear + 1);
2548
+ }
2549
+ else if (eventTarget.classList.contains("arrowDown")) {
2550
+ self.changeYear(self.currentYear - 1);
2551
+ }
2552
+ }
2553
+ function timeWrapper(e) {
2554
+ e.preventDefault();
2555
+ var isKeyDown = e.type === "keydown", eventTarget = getEventTarget(e), input = eventTarget;
2556
+ if (self.amPM !== undefined && eventTarget === self.amPM) {
2557
+ self.amPM.textContent =
2558
+ self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];
2559
+ }
2560
+ var min = parseFloat(input.getAttribute("min")), max = parseFloat(input.getAttribute("max")), step = parseFloat(input.getAttribute("step")), curValue = parseInt(input.value, 10), delta = e.delta ||
2561
+ (isKeyDown ? (e.which === 38 ? 1 : -1) : 0);
2562
+ var newValue = curValue + step * delta;
2563
+ if (typeof input.value !== "undefined" && input.value.length === 2) {
2564
+ var isHourElem = input === self.hourElement, isMinuteElem = input === self.minuteElement;
2565
+ if (newValue < min) {
2566
+ newValue =
2567
+ max +
2568
+ newValue +
2569
+ int(!isHourElem) +
2570
+ (int(isHourElem) && int(!self.amPM));
2571
+ if (isMinuteElem)
2572
+ incrementNumInput(undefined, -1, self.hourElement);
2573
+ }
2574
+ else if (newValue > max) {
2575
+ newValue =
2576
+ input === self.hourElement ? newValue - max - int(!self.amPM) : min;
2577
+ if (isMinuteElem)
2578
+ incrementNumInput(undefined, 1, self.hourElement);
2579
+ }
2580
+ if (self.amPM &&
2581
+ isHourElem &&
2582
+ (step === 1
2583
+ ? newValue + curValue === 23
2584
+ : Math.abs(newValue - curValue) > step)) {
2585
+ self.amPM.textContent =
2586
+ self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];
2587
+ }
2588
+ input.value = pad(newValue);
2589
+ }
2590
+ }
2591
+ init();
2592
+ return self;
2593
+ }
2594
+ /* istanbul ignore next */
2595
+ function _flatpickr(nodeList, config) {
2596
+ // static list
2597
+ var nodes = Array.prototype.slice
2598
+ .call(nodeList)
2599
+ .filter(function (x) { return x instanceof HTMLElement; });
2600
+ var instances = [];
2601
+ for (var i = 0; i < nodes.length; i++) {
2602
+ var node = nodes[i];
2603
+ try {
2604
+ if (node.getAttribute("data-fp-omit") !== null)
2605
+ continue;
2606
+ if (node._flatpickr !== undefined) {
2607
+ node._flatpickr.destroy();
2608
+ node._flatpickr = undefined;
2609
+ }
2610
+ node._flatpickr = FlatpickrInstance(node, config || {});
2611
+ instances.push(node._flatpickr);
2612
+ }
2613
+ catch (e) {
2614
+ console.error(e);
2615
+ }
2616
+ }
2617
+ return instances.length === 1 ? instances[0] : instances;
2618
+ }
2619
+ /* istanbul ignore next */
2620
+ if (typeof HTMLElement !== "undefined" &&
2621
+ typeof HTMLCollection !== "undefined" &&
2622
+ typeof NodeList !== "undefined") {
2623
+ // browser env
2624
+ HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function (config) {
2625
+ return _flatpickr(this, config);
2626
+ };
2627
+ HTMLElement.prototype.flatpickr = function (config) {
2628
+ return _flatpickr([this], config);
2629
+ };
2630
+ }
2631
+ /* istanbul ignore next */
2632
+ var flatpickr = function (selector, config) {
2633
+ if (typeof selector === "string") {
2634
+ return _flatpickr(window.document.querySelectorAll(selector), config);
2635
+ }
2636
+ else if (selector instanceof Node) {
2637
+ return _flatpickr([selector], config);
2638
+ }
2639
+ else {
2640
+ return _flatpickr(selector, config);
2641
+ }
2642
+ };
2643
+ /* istanbul ignore next */
2644
+ flatpickr.defaultConfig = {};
2645
+ flatpickr.l10ns = {
2646
+ en: __assign({}, english),
2647
+ default: __assign({}, english),
2648
+ };
2649
+ flatpickr.localize = function (l10n) {
2650
+ flatpickr.l10ns.default = __assign(__assign({}, flatpickr.l10ns.default), l10n);
2651
+ };
2652
+ flatpickr.setDefaults = function (config) {
2653
+ flatpickr.defaultConfig = __assign(__assign({}, flatpickr.defaultConfig), config);
2654
+ };
2655
+ flatpickr.parseDate = createDateParser({});
2656
+ flatpickr.formatDate = createDateFormatter({});
2657
+ flatpickr.compareDates = compareDates;
2658
+ /* istanbul ignore next */
2659
+ if (typeof jQuery !== "undefined" && typeof jQuery.fn !== "undefined") {
2660
+ jQuery.fn.flatpickr = function (config) {
2661
+ return _flatpickr(this, config);
2662
+ };
2663
+ }
2664
+ Date.prototype.fp_incr = function (days) {
2665
+ return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof days === "string" ? parseInt(days, 10) : days));
2666
+ };
2667
+ if (typeof window !== "undefined") {
2668
+ window.flatpickr = flatpickr;
2669
+ }
2670
+
2671
+ return flatpickr;
2672
+
2673
+ })));
2674
+ ;/**
2675
  *
2676
  * jQuery Chosen AJAX Autocomplete Library
2677
  *
admin/settings/assets/js/plugins.min.js CHANGED
@@ -1,3 +1,3 @@
1
- /* Codestar Framework | A Simple and Lightweight WordPress Option Framework - v2.2.4*/
2
 
3
- !function(o){function e(t,e){this.element=o(t),this.options=e,this.init()}e.prototype.init=function(){this.element.chosen(this.options),this.container=this.element.next(".chosen-container"),this.search_field=this.container.find(".chosen-search-input"),this.is_multiple=this.container.hasClass("chosen-container-multi"),this.is_typing=!1,this.chosenXhr=null,this.events()},e.prototype.events=function(){var t=this;this.search_field.on("compositionstart",function(){t.is_typing=!0}),this.search_field.on("compositionend",function(){t.is_typing=!1,t.update_list()}),this.search_field.on("keyup",function(){t.update_list()}),this.search_field.on("focus",function(){t.search_field_focused()})},e.prototype.search_field_focused=function(){this.search_welcome_message(),0===this.options.min_length&&0===this.search_field.val().length&&this.update_list()},e.prototype.search_welcome_message=function(){var t=o.trim(this.search_field.val()),e=this.container.find(".chosen-results");0===e.children().length&&0===t.length&&e.html('<li class="no-results">'+this.options.typing_text.replace("%s",this.options.min_length-t.length)+"</li>")},e.prototype.update_list=function(){var e=this;if(this.search_welcome_message(),!this.is_typing){var t=o.trim(this.search_field.val()),s=t.length<this.options.min_length?this.options.typing_text.replace("%s",this.options.min_length-t.length):this.options.searching_text;this.container.find(".no-results").text(s),t!==this.search_field.data("prevVal")&&(this.search_field.data("prevVal",t),this.timer&&clearTimeout(this.timer),t.length<this.options.min_length||(this.timer=setTimeout(function(){e.chosenXhr&&e.chosenXhr.abort(),e.options.data.term=t,e.chosenXhr=window.wp.ajax.post("ulf-chosen",e.options.data).done(function(t){e.show_results(t)}).fail(function(t){e.container.find(".no-results").text(t.error)})},this.options.type_delay)))}},e.prototype.show_results=function(t){var s=this;if(!this.is_typing&&null!==t){if(0===t.length)return this.element.data().chosen.no_results_clear(),void this.element.data().chosen.no_results(this.search_field.val());var i=[];this.element.find("option").each(function(){o(this).is(":selected")?i.push(o(this).val()+"-"+o(this).text()):o(this).attr("value").length&&o(this).remove()}),o.each(t,function(t,e){-1===o.inArray(e.value+"-"+e.text,i)&&o("<option />").attr("value",e.value).html(e.text).appendTo(s.element)});var e=this.search_field.val(),n=this.search_field.innerWidth();if(this.element.trigger("chosen:updated"),this.is_multiple){var r=this.element.parent().find(".ulf-hide-select").val()||[];this.element.ULFChosenOrder(r,!0),this.search_field.css("width",n)}this.search_field.val(e),null!==this.chosenXhr.done&&this.chosenXhr.done(t)}},o.fn.ULFAjaxChosen=function(t){return this.each(function(){new e(this,t)})}}(jQuery),function(){var s,i,o=[].indexOf||function(t){for(var e=0,s=this.length;e<s;e++)if(e in this&&this[e]===t)return e;return-1},n={}.hasOwnProperty;i=function(){function t(){}return t.insertAt=function(t,e,s){return s.insertBefore(t,s.children[e].nextSibling)},t.getFlattenedOptionsAndGroups=function(t){var e,s,i,n,r,o,h,l,c;for(e=[],o=0,l=(i=Array.prototype.filter.call(t.childNodes,function(t){var e;return"OPTION"===(e=t.nodeName.toUpperCase())||"OPTGROUP"===e})).length;o<l;o++)if(s=i[o],e.push(s),"OPTGROUP"===s.nodeName.toUpperCase())for(h=0,c=(r=Array.prototype.filter.call(s.childNodes,function(t){return"OPTION"===t.nodeName.toUpperCase()})).length;h<c;h++)n=r[h],e.push(n);return e},t.isValidMultipleSelectElement=function(t){return null!=t&&"SELECT"===t.nodeName&&t.multiple},t.getChosenUIContainer=function(t){return""!==t.id?document.getElementById(t.id.replace(/-/g,"_")+"_chosen"):this.searchChosenUIContainer(t)},t.isChosenified=function(t){return null!=this.getChosenUIContainer(t)},t.forceSelection=function(t,e){var s,i,n,r;for(n=this.getFlattenedOptionsAndGroups(t),s=0;s<n.length;)r=(i=n[s]).getAttribute("value"),0<=o.call(e,r)?(i.selected=!0,i.setAttribute("selected","")):(i.selected=!1,i.removeAttribute("selected")),s++;return this.triggerEvent(t,"chosen:updated")},t.ULFChosenOrder=function(t,e,s){var i,n,r,o,h,l,c,a,u,_,d,p,f,g;if(null!=this.getDOMElement&&(t=this.getDOMElement(t)),this.isValidMultipleSelectElement(t)&&null!=(n=this.getChosenUIContainer(t))&&e instanceof Array){for(e=e.map(Function.prototype.call,String.prototype.trim),c=this.getFlattenedOptionsAndGroups(t),null!=s&&!0===s&&this.forceSelection(t,e),g=[],r=_=0,p=e.length;_<p;r=++_){for(h=e[r],a=null,o=d=0,f=c.length;d<f;o=++d)c[o].value===h&&(a=o);i=n.querySelectorAll(".search-choice"),u=this.relAttributeName,null!=(l=Array.prototype.filter.call(i,function(t){return null!=t.querySelector("a.search-choice-close["+u+'="'+a+'"]')})[0])&&(n.querySelector("ul.chosen-choices"),g.push(this.insertAt(l,r,n.querySelector("ul.chosen-choices"))))}return g}},t}(),(s=jQuery).fn.extend({ULFChosenOrder:function(t,e){return _ULFChosenOrder.ULFChosenOrder(this,t,e)}}),this._ULFChosenOrder=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return function(t,e){for(var s in e)n.call(e,s)&&(t[s]=e[s]);function i(){this.constructor=t}i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype}(e,i),e.relAttributeName="data-option-array-index",e.isjQueryObject=function(t){return"undefined"!=typeof jQuery&&null!==jQuery&&t instanceof jQuery},e.getDOMElement=function(t){return this.isjQueryObject(t)?t.get(0):t},e.searchChosenUIContainer=function(t){return null!=s(t).data("chosen")?s(t).data("chosen").container[0]:s(t).next(".chosen-container.chosen-container-multi").get(0)},e.triggerEvent=function(t,e){return s(t).trigger(e)},e}()}.call(this),function(){var h,s,n,o,r={}.hasOwnProperty;(o=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,s,i,n,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),o=[],s=0,i=(r=t.childNodes).length;s<i;s++)n=r[s],o.push(this.add_option(n,e,t.disabled));return o},t.prototype.add_option=function(t,e,s){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void 0,selected:t.selected,disabled:!0===s?s:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t}()).select_to_array=function(t){var e,s,i,n,r;for(n=new o,s=0,i=(r=t.childNodes).length;s<i;s++)e=r[s],n.add_node(e);return n.parsed},s=function(){function n(t,e){var s,i;this.form_field=t,this.options=null!=e?e:{},this.label_click_handler=(s=this.label_click_handler,i=this,function(){return s.apply(i,arguments)}),n.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return n.prototype.set_default_values=function(){var e,s;return this.click_test_action=(e=this,function(t){return e.test_active_click(t)}),this.activate_action=(s=this,function(t){return s.activate_field(t)}),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},n.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||n.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||n.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||n.default_no_result_text},n.prototype.choice_label=function(t){return this.include_group_label_in_selected&&null!=t.group_label?"<b class='group-name'>"+this.escape_html(t.group_label)+"</b>"+t.html:t.html},n.prototype.mouse_enter=function(){return this.mouse_on_container=!0},n.prototype.mouse_leave=function(){return this.mouse_on_container=!1},n.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout((e=this,function(){return e.container_mousedown()}),50)}else if(!this.active_field)return this.activate_field();var e},n.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout((e=this,function(){return e.blur_test()}),100);var e},n.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},n.prototype.results_option_build=function(t){var e,s,i,n,r,o,h;for(e="",n=h=0,r=(o=this.results_data).length;n<r&&((i="")!==(i=(s=o[n]).group?this.result_add_group(s):this.result_add_option(s))&&(h++,e+=i),(null!=t?t.first:void 0)&&(s.selected&&this.is_multiple?this.choice_build(s):s.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(s))),!(h>=this.max_shown_results));n++);return e},n.prototype.result_add_option=function(t){var e,s;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),(s=document.createElement("li")).className=e.join(" "),t.style&&(s.style.cssText=t.style),s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.highlighted_html||t.html,t.title&&(s.title=t.title),this.outerHTML(s)):""},n.prototype.result_add_group=function(t){var e,s;return(t.search_match||t.group_match)&&0<t.active_options?((e=[]).push("group-result"),t.classes&&e.push(t.classes),(s=document.createElement("li")).className=e.join(" "),s.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(s.title=t.title),this.outerHTML(s)):""},n.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},n.prototype.reset_single_select_options=function(){var t,e,s,i,n;for(n=[],t=0,e=(s=this.results_data).length;t<e;t++)(i=s[t]).selected?n.push(i.selected=!1):n.push(void 0);return n},n.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},n.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show()},n.prototype.winnow_results=function(t){var e,s,i,n,r,o,h,l,c,a,u,_,d,p,f;for(this.no_results_clear(),a=0,e=(h=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=this.get_search_regex(e),i=0,n=(l=this.results_data).length;i<n;i++)(r=l[i]).search_match=!1,_=u=null,r.highlighted_html="",this.include_option_in_results(r)&&(r.group&&(r.group_match=!1,r.active_options=0),null!=r.group_array_index&&this.results_data[r.group_array_index]&&(0===(u=this.results_data[r.group_array_index]).active_options&&u.search_match&&(a+=1),u.active_options+=1),f=r.group?r.label:r.text,r.group&&!this.group_search||(_=this.search_string_match(f,c),r.search_match=null!=_,r.search_match&&!r.group&&(a+=1),r.search_match?(h.length&&(d=_.index,o=f.slice(0,d),s=f.slice(d,d+h.length),p=f.slice(d+h.length),r.highlighted_html=this.escape_html(o)+"<em>"+this.escape_html(s)+"</em>"+this.escape_html(p)),null!=u&&(u.group_match=!0)):null!=r.group_array_index&&this.results_data[r.group_array_index].search_match&&(r.search_match=!0)));return this.result_clear_highlight(),a<1&&h.length?(this.update_results_content(""),this.no_results(h)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},n.prototype.get_search_regex=function(t){var e,s;return s=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(s="^"+s),e=this.case_sensitive_search?"":"i",new RegExp(s,e)},n.prototype.search_string_match=function(t,e){var s;return s=e.exec(t),!this.search_contains&&(null!=s?s[1]:void 0)&&(s.index+=1),s},n.prototype.choices_count=function(){var t,e,s;if(null!=this.selected_option_count)return this.selected_option_count;for(t=this.selected_option_count=0,e=(s=this.form_field.options).length;t<e;t++)s[t].selected&&(this.selected_option_count+=1);return this.selected_option_count},n.prototype.choices_click=function(t){if(t.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},n.prototype.keydown_checker=function(t){var e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),8!==s&&this.pending_backstroke&&this.clear_backstroke(),s){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},n.prototype.keyup_checker=function(t){var e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),s){case 8:this.is_multiple&&this.backstroke_length<1&&0<this.choices_count()?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},n.prototype.clipboard_event_checker=function(t){var e;if(!this.is_disabled)return setTimeout((e=this,function(){return e.results_search()}),50)},n.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},n.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},n.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},n.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},n.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},n.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},n.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n <span>'+this.default_text+'</span>\n <div><b></b></div>\n</a>\n<div class="chosen-drop">\n <div class="chosen-search">\n <input class="chosen-search-input" type="text" autocomplete="off" />\n </div>\n <ul class="chosen-results"></ul>\n</div>'},n.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n <li class="search-field">\n <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n </li>\n</ul>\n<div class="chosen-drop">\n <ul class="chosen-results"></ul>\n</div>'},n.prototype.get_no_results_html=function(t){return'<li class="no-results">\n '+this.results_none_found+" <span>"+this.escape_html(t)+"</span>\n</li>"},n.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?8<=document.documentMode:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},n.default_multiple_text="Select Some Options",n.default_single_text="Select an Option",n.default_no_result_text="No results match",n}(),(h=jQuery).fn.extend({chosen:function(i){return s.browser_is_supported()?this.each(function(t){var e,s;s=(e=h(this)).data("chosen"),"destroy"!==i?s instanceof n||e.data("chosen",new n(this,i)):s instanceof n&&s.destroy()}):this}}),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return function(t,e){for(var s in e)r.call(e,s)&&(t[s]=e[s]);function i(){this.constructor=t}i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype}(e,s),e.prototype.setup=function(){return this.form_field_jq=h(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},e.prototype.set_up_html=function(){var t,e;return(t=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chosen-rtl"),e={class:t.join(" "),title:this.form_field.title},this.form_field.id.length&&(e.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=h("<div />",e),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},e.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},e.prototype.register_observers=function(){var e,s,i,n,r,o,h,l,c,a,u,_,d,p,f,g,m,v,y,b,w,x,k,C;return this.container.on("touchstart.chosen",(e=this,function(t){e.container_mousedown(t)})),this.container.on("touchend.chosen",(s=this,function(t){s.container_mouseup(t)})),this.container.on("mousedown.chosen",(i=this,function(t){i.container_mousedown(t)})),this.container.on("mouseup.chosen",(n=this,function(t){n.container_mouseup(t)})),this.container.on("mouseenter.chosen",(r=this,function(t){r.mouse_enter(t)})),this.container.on("mouseleave.chosen",(o=this,function(t){o.mouse_leave(t)})),this.search_results.on("mouseup.chosen",(h=this,function(t){h.search_results_mouseup(t)})),this.search_results.on("mouseover.chosen",(l=this,function(t){l.search_results_mouseover(t)})),this.search_results.on("mouseout.chosen",(c=this,function(t){c.search_results_mouseout(t)})),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",(a=this,function(t){a.search_results_mousewheel(t)})),this.search_results.on("touchstart.chosen",(u=this,function(t){u.search_results_touchstart(t)})),this.search_results.on("touchmove.chosen",(_=this,function(t){_.search_results_touchmove(t)})),this.search_results.on("touchend.chosen",(d=this,function(t){d.search_results_touchend(t)})),this.form_field_jq.on("chosen:updated.chosen",(p=this,function(t){p.results_update_field(t)})),this.form_field_jq.on("chosen:activate.chosen",(f=this,function(t){f.activate_field(t)})),this.form_field_jq.on("chosen:open.chosen",(g=this,function(t){g.container_mousedown(t)})),this.form_field_jq.on("chosen:close.chosen",(m=this,function(t){m.close_field(t)})),this.search_field.on("blur.chosen",(v=this,function(t){v.input_blur(t)})),this.search_field.on("keyup.chosen",(y=this,function(t){y.keyup_checker(t)})),this.search_field.on("keydown.chosen",(b=this,function(t){b.keydown_checker(t)})),this.search_field.on("focus.chosen",(w=this,function(t){w.input_focus(t)})),this.search_field.on("cut.chosen",(x=this,function(t){x.clipboard_event_checker(t)})),this.search_field.on("paste.chosen",(k=this,function(t){k.clipboard_event_checker(t)})),this.is_multiple?this.search_choices.on("click.chosen",(C=this,function(t){C.choices_click(t)})):this.container.on("click.chosen",function(t){t.preventDefault()})},e.prototype.destroy=function(){return h(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),0<this.form_field_label.length&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},e.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},e.prototype.container_mousedown=function(t){var e;if(!this.is_disabled)return!t||"mousedown"!==(e=t.type)&&"touchstart"!==e||this.results_showing||t.preventDefault(),null!=t&&h(t.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!t||h(t.target)[0]!==this.selected_item[0]&&!h(t.target).parents("a.chosen-single").length||(t.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),h(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},e.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},e.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},e.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},e.prototype.close_field=function(){return h(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},e.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},e.prototype.test_active_click=function(t){var e;return(e=h(t.target).closest(".chosen-container")).length&&this.container[0]===e[0]?this.active_field=!0:this.close_field()},e.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=o.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},e.prototype.result_do_highlight=function(t){var e,s,i,n;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),(i=parseInt(this.search_results.css("maxHeight"),10))+(n=this.search_results.scrollTop())<=(e=(s=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight()))return this.search_results.scrollTop(0<e-i?e-i:0);if(s<n)return this.search_results.scrollTop(s)}},e.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},e.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},e.prototype.update_results_content=function(t){return this.search_results.html(t)},e.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},e.prototype.set_tab_index=function(t){var e;if(this.form_field.tabIndex)return e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e},e.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=h("label[for='"+this.form_field.id+"']")),0<this.form_field_label.length)return this.form_field_label.on("click.chosen",this.label_click_handler)},e.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},e.prototype.search_results_mouseup=function(t){var e;if((e=h(t.target).hasClass("active-result")?h(t.target):h(t.target).parents(".active-result").first()).length)return this.result_highlight=e,this.result_select(t),this.search_field.focus()},e.prototype.search_results_mouseover=function(t){var e;if(e=h(t.target).hasClass("active-result")?h(t.target):h(t.target).parents(".active-result").first())return this.result_do_highlight(e)},e.prototype.search_results_mouseout=function(t){if(h(t.target).hasClass("active-result")||h(t.target).parents(".active-result").first())return this.result_clear_highlight()},e.prototype.choice_build=function(t){var e,s,i;return e=h("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(t)+"</span>"),t.disabled?e.addClass("search-choice-disabled"):((s=h("<a />",{class:"search-choice-close","data-option-array-index":t.array_index})).on("click.chosen",(i=this,function(t){return i.choice_destroy_link_click(t)})),e.append(s)),this.search_container.before(e)},e.prototype.choice_destroy_link_click=function(t){if(t.preventDefault(),t.stopPropagation(),!this.is_disabled)return this.choice_destroy(h(t.target))},e.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&0<this.choices_count()&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},e.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},e.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},e.prototype.result_select=function(t){var e,s;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),(s=this.results_data[e[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},e.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},e.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},e.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},e.prototype.get_search_field_value=function(){return this.search_field.val()},e.prototype.get_search_text=function(){return h.trim(this.get_search_field_value())},e.prototype.escape_html=function(t){return h("<div/>").text(t).html()},e.prototype.winnow_results_set_highlight=function(){var t,e;if(null!=(t=(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},e.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},e.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},e.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},e.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(0<this.choices_count()&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},e.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},e.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},e.prototype.search_field_scale=function(){var t,e,s,i,n,r,o;if(this.is_multiple){for(n={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},e=0,s=(r=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;e<s;e++)n[i=r[e]]=this.search_field.css(i);return(t=h("<div />").css(n)).text(this.get_search_field_value()),h("body").append(t),o=t.width()+25,t.remove(),this.container.is(":visible")&&(o=Math.min(this.container.outerWidth()-10,o)),this.search_field.width(o)}},e.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},e}()}.call(this),function(o){"use strict";function n(t,e,s){this.init(t,e,s)}function t(){this.rules=[]}o.extend(n.prototype,{init:function(t,e,s){this.controller=t,this.condition=e,this.value=s,this.rules=[],this.controls=[]},evalCondition:function(t,e,s,i,n){if("=="==s)return this.checkBoolean(i)==this.checkBoolean(n);if("!="==s)return this.checkBoolean(i)!=this.checkBoolean(n);if(">="==s)return Number(n)>=Number(i);if("<="==s)return Number(n)<=Number(i);if(">"==s)return Number(n)>Number(i);if("<"==s)return Number(n)<Number(i);if("()"==s)return window[i](t,e,n);if("any"==s){if(o.isArray(n)){for(var r=n.length-1;0<=r;r--)if(-1!==o.inArray(n[r],i.split(",")))return!0}else if(-1!==o.inArray(n,i.split(",")))return!0}else if("not-any"==s)if(o.isArray(n)){for(r=n.length-1;0<=r;r--)if(-1==o.inArray(n[r],i.split(",")))return!0}else if(-1==o.inArray(n,i.split(",")))return!0;return!1},checkBoolean:function(t){switch(t){case!0:case"true":case 1:case"1":t=!0;break;case null:case!1:case"false":case 0:case"0":t=!1}return t},checkCondition:function(t){if(!this.condition)return!0;var e=t.find(this.controller),s=this.getControlValue(t,e);return void 0!==s&&(s=this.normalizeValue(e,this.value,s),this.evalCondition(t,e,this.condition,this.value,s))},normalizeValue:function(t,e,s){return"number"==typeof e?parseFloat(s):s},getControlValue:function(t,e){return 1<e.length&&("radio"==e.attr("type")||"checkbox"==e.attr("type"))?e.filter(":checked").map(function(){return this.value}).get():"checkbox"==e.attr("type")||"radio"==e.attr("type")?e.is(":checked"):e.val()},createRule:function(t,e,s){var i=new n(t,e,s);return this.rules.push(i),i},include:function(t){this.controls.push(t)},applyRule:function(s,t){var e;e=void 0===t?this.checkCondition(s):t;var i=o.map(this.controls,function(t,e){return s.find(t)});e?(o(i).each(function(){o(this).removeClass("ulf-depend-on")}),o(this.rules).each(function(){this.applyRule(s)})):(o(i).each(function(){o(this).addClass("ulf-depend-on")}),o(this.rules).each(function(){this.applyRule(s,!1)}))}}),o.extend(t.prototype,{createRule:function(t,e,s){var i=new n(t,e,s);return this.rules.push(i),i},applyRules:function(t){o(this.rules).each(function(){this.applyRule(t)})}}),o.ulf_deps={createRuleset:function(){return new t},enable:function(s,i,n){return s.on("change keyup",function(t){var e=t.target.getAttribute("data-depend-id")||t.target.getAttribute("data-sub-depend-id");-1!==n.indexOf(e)&&i.applyRules(s)}),i.applyRules(s),!0}}}(jQuery),function(t,s){if("function"==typeof define&&define.amd)define(["exports","jquery"],function(t,e){return s(t,e)});else if("undefined"!=typeof exports){var e=require("jquery");s(exports,e)}else s(t,t.jQuery||t.Zepto||t.ender||t.$)}(this,function(t,e){var h={validate:/^(?!(_nonce|_pseudo))[a-zA-Z0-9_-]*(?:\[(?:\d*|(?!(_nonce|_pseudo))[a-zA-Z0-9_-]+)\])*$/i,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,named:/^[a-zA-Z0-9_-]+$/,push:/^$/,fixed:/^\d+$/};function s(i,t){var s={},r={};function o(t,e,s){return t[e]=s,t}function e(){return s}this.addPair=function(t){if(!h.validate.test(t.name))return this;var e=function(t,e){for(var s,i=t.match(h.key);void 0!==(s=i.pop());)h.push.test(s)?e=o([],(n=t.replace(/\[\]$/,""),void 0===r[n]&&(r[n]=0),r[n]++),e):h.fixed.test(s)?e=o([],s,e):h.named.test(s)&&(e=o({},s,e));var n;return e}(t.name,t.value);return s=i.extend(!0,s,e),this},this.addPairs=function(t){if(!i.isArray(t))throw new Error("formSerializer.addPairs expects an Array");for(var e=0,s=t.length;e<s;e++)this.addPair(t[e]);return this},this.serialize=e,this.serializeJSON=function(){return JSON.stringify(e())}}return s.patterns=h,s.serializeObject=function(){return new s(e,this).addPairs(this.serializeArray()).serialize()},s.serializeJSON=function(){return new s(e,this).addPairs(this.serializeArray()).serializeJSON()},void 0!==e.fn&&(e.fn.serializeObjectULF=s.serializeObject,e.fn.serializeJSONULF=s.serializeJSON),t.FormSerializer=s});
1
+ /* Codestar Framework | A Simple and Lightweight WordPress Option Framework - v2.2.6*/
2
 
3
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).flatpickr=t()}(this,function(){"use strict";var ee=function(){return(ee=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function te(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i}var ne=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],ie={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},oe={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(3<t&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},re=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},se=function(e){return!0===e?1:0};function ae(t,n){var i;return function(){var e=this;clearTimeout(i),i=setTimeout(function(){return t.apply(e,arguments)},n)}}var le=function(e){return e instanceof Array?e:[e]};function ce(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function ue(e,t,n){var i=window.document.createElement(e);return t=t||"",n=n||"",i.className=t,void 0!==n&&(i.textContent=n),i}function he(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function de(e,t){var n=ue("div","numInputWrapper"),i=ue("input","numInput "+e),o=ue("span","arrowUp"),r=ue("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?i.type="number":(i.type="text",i.pattern="\\d*"),void 0!==t)for(var s in t)i.setAttribute(s,t[s]);return n.appendChild(i),n.appendChild(o),n.appendChild(r),n}function fe(t){try{return"function"!=typeof t.composedPath?t.target:t.composedPath()[0]}catch(e){return t.target}}var e=function(){},pe=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},b={D:e,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours(parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*se(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var i=parseInt(t),o=new Date(e.getFullYear(),0,2+7*(i-1),0,0,0,0);return o.setDate(o.getDate()-o.getDay()+n.firstDayOfWeek),o},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours(parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:e,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:e,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},_e={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},l={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[l.w(e,t,n)]},F:function(e,t,n){return pe(l.n(e,t,n)-1,!1,t)},G:function(e,t,n){return re(l.h(e,t,n))},H:function(e){return re(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[se(11<e.getHours())]},M:function(e,t){return pe(e.getMonth(),!0,t)},S:function(e){return re(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return re(e.getFullYear(),4)},d:function(e){return re(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return re(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return re(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},me=function(e){var t=e.config,r=void 0===t?ie:t,n=e.l10n,s=void 0===n?oe:n,i=e.isMobile,a=void 0!==i&&i;return function(i,e,t){var o=t||s;return void 0===r.formatDate||a?e.split("").map(function(e,t,n){return l[e]&&"\\"!==n[t-1]?l[e](i,o,r):"\\"!==e?e:""}).join(""):r.formatDate(i,e,o)}},ge=function(e){var t=e.config,v=void 0===t?ie:t,n=e.l10n,y=void 0===n?oe:n;return function(e,t,n,i){if(0===e||e){var o,r=i||y,s=e;if(e instanceof Date)o=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)o=new Date(e);else if("string"==typeof e){var a=t||(v||ie).dateFormat,l=String(e).trim();if("today"===l)o=new Date,n=!0;else if(/Z$/.test(l)||/GMT$/.test(l))o=new Date(e);else if(v&&v.parseDate)o=v.parseDate(e,a);else{o=v&&v.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);for(var c=void 0,u=[],h=0,d=0,f="";h<a.length;h++){var p=a[h],_="\\"===p,m="\\"===a[h-1]||_;if(_e[p]&&!m){f+=_e[p];var g=new RegExp(f).exec(e);g&&(c=!0)&&u["Y"!==p?"push":"unshift"]({fn:b[p],val:g[++d]})}else _||(f+=".");u.forEach(function(e){var t=e.fn,n=e.val;return o=t(o,n,r)||o})}o=c?o:void 0}}if(o instanceof Date&&!isNaN(o.getTime()))return!0===n&&o.setHours(0,0,0,0),o;v.errorHandler(new Error("Invalid date provided: "+s))}}};function ve(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var ye=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},be={DAY:864e5};function we(e){var t=e.defaultHour,n=e.defaultMinute,i=e.defaultSeconds;if(void 0!==e.minDate){var o=e.minDate.getHours(),r=e.minDate.getMinutes(),s=e.minDate.getSeconds();t<o&&(t=o),t===o&&n<r&&(n=r),t===o&&n===r&&i<s&&(i=e.minDate.getSeconds())}if(void 0!==e.maxDate){var a=e.maxDate.getHours(),l=e.maxDate.getMinutes();(t=Math.min(t,a))===a&&(n=Math.min(l,n)),t===a&&n===l&&(i=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:i}}"function"!=typeof Object.assign&&(Object.assign=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var i=function(t){t&&Object.keys(t).forEach(function(e){return n[e]=t[e]})},o=0,r=e;o<r.length;o++){i(r[o])}return n});var De=300;function s(d,u){var D={config:ee(ee({},ie),Ce.defaultConfig),l10n:oe};function h(e){return e.bind(D)}function t(){var t=D.config;!1===t.weekNumbers&&1===t.showMonths||!0!==t.noCalendar&&window.requestAnimationFrame(function(){if(void 0!==D.calendarContainer&&(D.calendarContainer.style.visibility="hidden",D.calendarContainer.style.display="block"),void 0!==D.daysContainer){var e=(D.days.offsetWidth+1)*t.showMonths;D.daysContainer.style.width=e+"px",D.calendarContainer.style.width=e+(void 0!==D.weekWrapper?D.weekWrapper.offsetWidth:0)+"px",D.calendarContainer.style.removeProperty("visibility"),D.calendarContainer.style.removeProperty("display")}})}function f(e){if(0===D.selectedDates.length){var t=void 0===D.config.minDate||0<=ve(new Date,D.config.minDate)?new Date:new Date(D.config.minDate.getTime()),n=we(D.config);t.setHours(n.hours,n.minutes,n.seconds,t.getMilliseconds()),D.selectedDates=[t],D.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,n=fe(e),i=n;void 0!==D.amPM&&n===D.amPM&&(D.amPM.textContent=D.l10n.amPM[se(D.amPM.textContent===D.l10n.amPM[0])]);var o=parseFloat(i.getAttribute("min")),r=parseFloat(i.getAttribute("max")),s=parseFloat(i.getAttribute("step")),a=parseInt(i.value,10),l=e.delta||(t?38===e.which?1:-1:0),c=a+s*l;if(void 0!==i.value&&2===i.value.length){var u=i===D.hourElement,h=i===D.minuteElement;c<o?(c=r+c+se(!u)+(se(u)&&se(!D.amPM)),h&&_(void 0,-1,D.hourElement)):r<c&&(c=i===D.hourElement?c-r-se(!D.amPM):o,h&&_(void 0,1,D.hourElement)),D.amPM&&u&&(1===s?c+a===23:Math.abs(c-a)>s)&&(D.amPM.textContent=D.l10n.amPM[se(D.amPM.textContent===D.l10n.amPM[0])]),i.value=re(c)}}(e);var i=D._input.value;p(),X(),D._input.value!==i&&D._debouncedChange()}function p(){if(void 0!==D.hourElement&&void 0!==D.minuteElement){var e,t,n=(parseInt(D.hourElement.value.slice(-2),10)||0)%24,i=(parseInt(D.minuteElement.value,10)||0)%60,o=void 0!==D.secondElement?(parseInt(D.secondElement.value,10)||0)%60:0;void 0!==D.amPM&&(e=n,t=D.amPM.textContent,n=e%12+12*se(t===D.l10n.amPM[1]));var r=void 0!==D.config.minTime||D.config.minDate&&D.minDateHasTime&&D.latestSelectedDateObj&&0===ve(D.latestSelectedDateObj,D.config.minDate,!0);if(void 0!==D.config.maxTime||D.config.maxDate&&D.maxDateHasTime&&D.latestSelectedDateObj&&0===ve(D.latestSelectedDateObj,D.config.maxDate,!0)){var s=void 0!==D.config.maxTime?D.config.maxTime:D.config.maxDate;(n=Math.min(n,s.getHours()))===s.getHours()&&(i=Math.min(i,s.getMinutes())),i===s.getMinutes()&&(o=Math.min(o,s.getSeconds()))}if(r){var a=void 0!==D.config.minTime?D.config.minTime:D.config.minDate;(n=Math.max(n,a.getHours()))===a.getHours()&&i<a.getMinutes()&&(i=a.getMinutes()),i===a.getMinutes()&&(o=Math.max(o,a.getSeconds()))}l(n,i,o)}}function o(e){var t=e||D.latestSelectedDateObj;t&&l(t.getHours(),t.getMinutes(),t.getSeconds())}function l(e,t,n){void 0!==D.latestSelectedDateObj&&D.latestSelectedDateObj.setHours(e%24,t,n||0,0),D.hourElement&&D.minuteElement&&!D.isMobile&&(D.hourElement.value=re(D.config.time_24hr?e:(12+e)%12+12*se(e%12==0)),D.minuteElement.value=re(t),void 0!==D.amPM&&(D.amPM.textContent=D.l10n.amPM[se(12<=e)]),void 0!==D.secondElement&&(D.secondElement.value=re(n)))}function n(e){var t=fe(e),n=parseInt(t.value)+(e.delta||0);(1<n/1e3||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&S(n)}function s(t,n,i,o){return n instanceof Array?n.forEach(function(e){return s(t,e,i,o)}):t instanceof Array?t.forEach(function(e){return s(e,n,i,o)}):(t.addEventListener(n,i,o),void D._handlers.push({remove:function(){return t.removeEventListener(n,i)}}))}function c(){K("onChange")}function i(e,t){var n=void 0!==e?D.parseDate(e):D.latestSelectedDateObj||(D.config.minDate&&D.config.minDate>D.now?D.config.minDate:D.config.maxDate&&D.config.maxDate<D.now?D.config.maxDate:D.now),i=D.currentYear,o=D.currentMonth;try{void 0!==n&&(D.currentYear=n.getFullYear(),D.currentMonth=n.getMonth())}catch(e){e.message="Invalid date supplied: "+n,D.config.errorHandler(e)}t&&D.currentYear!==i&&(K("onYearChange"),w()),!t||D.currentYear===i&&D.currentMonth===o||K("onMonthChange"),D.redraw()}function r(e){var t=fe(e);~t.className.indexOf("arrow")&&_(e,t.classList.contains("arrowUp")?1:-1)}function _(e,t,n){var i=e&&fe(e),o=n||i&&i.parentNode&&i.parentNode.firstChild,r=$("increment");r.delta=t,o&&o.dispatchEvent(r)}function m(e,t,n,i){var o,r=A(t,!0),s=ue("span","flatpickr-day "+e,t.getDate().toString());return s.dateObj=t,s.$i=i,s.setAttribute("aria-label",D.formatDate(t,D.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===ve(t,D.now)&&((D.todayDateElem=s).classList.add("today"),s.setAttribute("aria-current","date")),r?(s.tabIndex=-1,Q(t)&&(s.classList.add("selected"),D.selectedDateElem=s,"range"===D.config.mode&&(ce(s,"startRange",D.selectedDates[0]&&0===ve(t,D.selectedDates[0],!0)),ce(s,"endRange",D.selectedDates[1]&&0===ve(t,D.selectedDates[1],!0)),"nextMonthDay"===e&&s.classList.add("inRange")))):s.classList.add("flatpickr-disabled"),"range"===D.config.mode&&(o=t,!("range"!==D.config.mode||D.selectedDates.length<2)&&0<=ve(o,D.selectedDates[0])&&ve(o,D.selectedDates[1])<=0&&!Q(t)&&s.classList.add("inRange")),D.weekNumbers&&1===D.config.showMonths&&"prevMonthDay"!==e&&n%7==1&&D.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+D.config.getWeek(t)+"</span>"),K("onDayCreate",s),s}function g(e){e.focus(),"range"===D.config.mode&&F(e)}function v(e){for(var t=0<e?0:D.config.showMonths-1,n=0<e?D.config.showMonths:-1,i=t;i!=n;i+=e)for(var o=D.daysContainer.children[i],r=0<e?0:o.children.length-1,s=0<e?o.children.length:-1,a=r;a!=s;a+=e){var l=o.children[a];if(-1===l.className.indexOf("hidden")&&A(l.dateObj))return l}}function y(e,t){var n=I(document.activeElement||document.body),i=void 0!==e?e:n?document.activeElement:void 0!==D.selectedDateElem&&I(D.selectedDateElem)?D.selectedDateElem:void 0!==D.todayDateElem&&I(D.todayDateElem)?D.todayDateElem:v(0<t?1:-1);void 0===i?D._input.focus():n?function(e,t){for(var n=-1===e.className.indexOf("Month")?e.dateObj.getMonth():D.currentMonth,i=0<t?D.config.showMonths:-1,o=0<t?1:-1,r=n-D.currentMonth;r!=i;r+=o)for(var s=D.daysContainer.children[r],a=n-D.currentMonth===r?e.$i+t:t<0?s.children.length-1:0,l=s.children.length,c=a;0<=c&&c<l&&c!=(0<t?l:-1);c+=o){var u=s.children[c];if(-1===u.className.indexOf("hidden")&&A(u.dateObj)&&Math.abs(e.$i-c)>=Math.abs(t))return g(u)}D.changeMonth(o),y(v(o),0)}(i,t):g(i)}function a(e,t){for(var n=(new Date(e,t,1).getDay()-D.l10n.firstDayOfWeek+7)%7,i=D.utils.getDaysInMonth((t-1+12)%12,e),o=D.utils.getDaysInMonth(t,e),r=window.document.createDocumentFragment(),s=1<D.config.showMonths,a=s?"prevMonthDay hidden":"prevMonthDay",l=s?"nextMonthDay hidden":"nextMonthDay",c=i+1-n,u=0;c<=i;c++,u++)r.appendChild(m(a,new Date(e,t-1,c),c,u));for(c=1;c<=o;c++,u++)r.appendChild(m("",new Date(e,t,c),c,u));for(var h=o+1;h<=42-n&&(1===D.config.showMonths||u%7!=0);h++,u++)r.appendChild(m(l,new Date(e,t+1,h%o),h,u));var d=ue("div","dayContainer");return d.appendChild(r),d}function b(){if(void 0!==D.daysContainer){he(D.daysContainer),D.weekNumbers&&he(D.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<D.config.showMonths;t++){var n=new Date(D.currentYear,D.currentMonth,1);n.setMonth(D.currentMonth+t),e.appendChild(a(n.getFullYear(),n.getMonth()))}D.daysContainer.appendChild(e),D.days=D.daysContainer.firstChild,"range"===D.config.mode&&1===D.selectedDates.length&&F()}}function w(){if(!(1<D.config.showMonths||"dropdown"!==D.config.monthSelectorType)){var e;D.monthsDropdownContainer.tabIndex=-1,D.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e=t,!(void 0!==D.config.minDate&&D.currentYear===D.config.minDate.getFullYear()&&e<D.config.minDate.getMonth()||void 0!==D.config.maxDate&&D.currentYear===D.config.maxDate.getFullYear()&&e>D.config.maxDate.getMonth())){var n=ue("option","flatpickr-monthDropdown-month");n.value=new Date(D.currentYear,t).getMonth().toString(),n.textContent=pe(t,D.config.shorthandCurrentMonth,D.l10n),n.tabIndex=-1,D.currentMonth===t&&(n.selected=!0),D.monthsDropdownContainer.appendChild(n)}}}function C(){var e,t=ue("div","flatpickr-month"),n=window.document.createDocumentFragment();e=1<D.config.showMonths||"static"===D.config.monthSelectorType?ue("span","cur-month"):(D.monthsDropdownContainer=ue("select","flatpickr-monthDropdown-months"),D.monthsDropdownContainer.setAttribute("aria-label",D.l10n.monthAriaLabel),s(D.monthsDropdownContainer,"change",function(e){var t=fe(e),n=parseInt(t.value,10);D.changeMonth(n-D.currentMonth),K("onMonthChange")}),w(),D.monthsDropdownContainer);var i=de("cur-year",{tabindex:"-1"}),o=i.getElementsByTagName("input")[0];o.setAttribute("aria-label",D.l10n.yearAriaLabel),D.config.minDate&&o.setAttribute("min",D.config.minDate.getFullYear().toString()),D.config.maxDate&&(o.setAttribute("max",D.config.maxDate.getFullYear().toString()),o.disabled=!!D.config.minDate&&D.config.minDate.getFullYear()===D.config.maxDate.getFullYear());var r=ue("div","flatpickr-current-month");return r.appendChild(e),r.appendChild(i),n.appendChild(r),t.appendChild(n),{container:t,yearElement:o,monthElement:e}}function x(){he(D.monthNav),D.monthNav.appendChild(D.prevMonthNav),D.config.showMonths&&(D.yearElements=[],D.monthElements=[]);for(var e=D.config.showMonths;e--;){var t=C();D.yearElements.push(t.yearElement),D.monthElements.push(t.monthElement),D.monthNav.appendChild(t.container)}D.monthNav.appendChild(D.nextMonthNav)}function M(){D.weekdayContainer?he(D.weekdayContainer):D.weekdayContainer=ue("div","flatpickr-weekdays");for(var e=D.config.showMonths;e--;){var t=ue("div","flatpickr-weekdaycontainer");D.weekdayContainer.appendChild(t)}return k(),D.weekdayContainer}function k(){if(D.weekdayContainer){var e=D.l10n.firstDayOfWeek,t=te(D.l10n.weekdays.shorthand);0<e&&e<t.length&&(t=te(t.splice(e,t.length),t.splice(0,e)));for(var n=D.config.showMonths;n--;)D.weekdayContainer.children[n].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function E(e,t){void 0===t&&(t=!0);var n=t?e:e-D.currentMonth;n<0&&!0===D._hidePrevMonthArrow||0<n&&!0===D._hideNextMonthArrow||(D.currentMonth+=n,(D.currentMonth<0||11<D.currentMonth)&&(D.currentYear+=11<D.currentMonth?1:-1,D.currentMonth=(D.currentMonth+12)%12,K("onYearChange"),w()),b(),K("onMonthChange"),V())}function T(e){return!(!D.config.appendTo||!D.config.appendTo.contains(e))||D.calendarContainer.contains(e)}function O(e){if(D.isOpen&&!D.config.inline){var t=fe(e),n=T(t),i=t===D.input||t===D.altInput||D.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(D.input)||~e.path.indexOf(D.altInput)),o="blur"===e.type?i&&e.relatedTarget&&!T(e.relatedTarget):!i&&!n&&!T(e.relatedTarget),r=!D.config.ignoredFocusElements.some(function(e){return e.contains(t)});o&&r&&(void 0!==D.timeContainer&&void 0!==D.minuteElement&&void 0!==D.hourElement&&""!==D.input.value&&void 0!==D.input.value&&f(),D.close(),D.config&&"range"===D.config.mode&&1===D.selectedDates.length&&(D.clear(!1),D.redraw()))}}function S(e){if(!(!e||D.config.minDate&&e<D.config.minDate.getFullYear()||D.config.maxDate&&e>D.config.maxDate.getFullYear())){var t=e,n=D.currentYear!==t;D.currentYear=t||D.currentYear,D.config.maxDate&&D.currentYear===D.config.maxDate.getFullYear()?D.currentMonth=Math.min(D.config.maxDate.getMonth(),D.currentMonth):D.config.minDate&&D.currentYear===D.config.minDate.getFullYear()&&(D.currentMonth=Math.max(D.config.minDate.getMonth(),D.currentMonth)),n&&(D.redraw(),K("onYearChange"),w())}}function A(e,t){var n;void 0===t&&(t=!0);var i=D.parseDate(e,void 0,t);if(D.config.minDate&&i&&ve(i,D.config.minDate,void 0!==t?t:!D.minDateHasTime)<0||D.config.maxDate&&i&&0<ve(i,D.config.maxDate,void 0!==t?t:!D.maxDateHasTime))return!1;if(!D.config.enable&&0===D.config.disable.length)return!0;if(void 0===i)return!1;for(var o=!!D.config.enable,r=null!==(n=D.config.enable)&&void 0!==n?n:D.config.disable,s=0,a=void 0;s<r.length;s++){if("function"==typeof(a=r[s])&&a(i))return o;if(a instanceof Date&&void 0!==i&&a.getTime()===i.getTime())return o;if("string"==typeof a){var l=D.parseDate(a,void 0,!0);return l&&l.getTime()===i.getTime()?o:!o}if("object"==typeof a&&void 0!==i&&a.from&&a.to&&i.getTime()>=a.from.getTime()&&i.getTime()<=a.to.getTime())return o}return!o}function I(e){return void 0!==D.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&D.daysContainer.contains(e))}function N(e){!(e.target===D._input)||!(0<D.selectedDates.length||0<D._input.value.length)||e.relatedTarget&&T(e.relatedTarget)||D.setDate(D._input.value,!0,e.target===D.altInput?D.config.altFormat:D.config.dateFormat)}function j(e){var t=fe(e),n=D.config.wrap?d.contains(t):t===D._input,i=D.config.allowInput,o=D.isOpen&&(!i||!n),r=D.config.inline&&n&&!i;if(13===e.keyCode&&n){if(i)return D.setDate(D._input.value,!0,t===D.altInput?D.config.altFormat:D.config.dateFormat),t.blur();D.open()}else if(T(t)||o||r){var s=!!D.timeContainer&&D.timeContainer.contains(t);switch(e.keyCode){case 13:s?(e.preventDefault(),f(),W()):B(e);break;case 27:e.preventDefault(),W();break;case 8:case 46:n&&!D.config.allowInput&&(e.preventDefault(),D.clear());break;case 37:case 39:if(s||n)D.hourElement&&D.hourElement.focus();else if(e.preventDefault(),void 0!==D.daysContainer&&(!1===i||document.activeElement&&I(document.activeElement))){var a=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),E(a),y(v(1),0)):y(void 0,a)}break;case 38:case 40:e.preventDefault();var l=40===e.keyCode?1:-1;D.daysContainer&&void 0!==t.$i||t===D.input||t===D.altInput?e.ctrlKey?(e.stopPropagation(),S(D.currentYear-l),y(v(1),0)):s||y(void 0,7*l):t===D.currentYearElement?S(D.currentYear-l):D.config.enableTime&&(!s&&D.hourElement&&D.hourElement.focus(),f(e),D._debouncedChange());break;case 9:if(s){var c=[D.hourElement,D.minuteElement,D.secondElement,D.amPM].concat(D.pluginElements).filter(function(e){return e}),u=c.indexOf(t);if(-1!==u){var h=c[u+(e.shiftKey?-1:1)];e.preventDefault(),(h||D._input).focus()}}else!D.config.noCalendar&&D.daysContainer&&D.daysContainer.contains(t)&&e.shiftKey&&(e.preventDefault(),D._input.focus())}}if(void 0!==D.amPM&&t===D.amPM)switch(e.key){case D.l10n.amPM[0].charAt(0):case D.l10n.amPM[0].charAt(0).toLowerCase():D.amPM.textContent=D.l10n.amPM[0],p(),X();break;case D.l10n.amPM[1].charAt(0):case D.l10n.amPM[1].charAt(0).toLowerCase():D.amPM.textContent=D.l10n.amPM[1],p(),X()}(n||T(t))&&K("onKeyDown",e)}function F(r){if(1===D.selectedDates.length&&(!r||r.classList.contains("flatpickr-day")&&!r.classList.contains("flatpickr-disabled"))){for(var s=r?r.dateObj.getTime():D.days.firstElementChild.dateObj.getTime(),a=D.parseDate(D.selectedDates[0],void 0,!0).getTime(),e=Math.min(s,D.selectedDates[0].getTime()),t=Math.max(s,D.selectedDates[0].getTime()),l=!1,c=0,u=0,n=e;n<t;n+=be.DAY)A(new Date(n),!0)||(l=l||e<n&&n<t,n<a&&(!c||c<n)?c=n:a<n&&(!u||n<u)&&(u=n));for(var i=0;i<D.config.showMonths;i++)for(var h=D.daysContainer.children[i],o=function(e,t){var n=h.children[e],i=n.dateObj.getTime(),o=0<c&&i<c||0<u&&u<i;return o?(n.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(e){n.classList.remove(e)}),"continue"):l&&!o?"continue":(["startRange","inRange","endRange","notAllowed"].forEach(function(e){n.classList.remove(e)}),void(void 0!==r&&(r.classList.add(s<=D.selectedDates[0].getTime()?"startRange":"endRange"),a<s&&i===a?n.classList.add("startRange"):s<a&&i===a&&n.classList.add("endRange"),c<=i&&(0===u||i<=u)&&ye(i,a,s)&&n.classList.add("inRange"))))},d=0,f=h.children.length;d<f;d++)o(d)}}function P(){!D.isOpen||D.config.static||D.config.inline||R()}function Y(i){return function(e){var t=D.config["_"+i+"Date"]=D.parseDate(e,D.config.dateFormat),n=D.config["_"+("min"===i?"max":"min")+"Date"];void 0!==t&&(D["min"===i?"minDateHasTime":"maxDateHasTime"]=0<t.getHours()||0<t.getMinutes()||0<t.getSeconds()),D.selectedDates&&(D.selectedDates=D.selectedDates.filter(function(e){return A(e)}),D.selectedDates.length||"min"!==i||o(t),X()),D.daysContainer&&(q(),void 0!==t?D.currentYearElement[i]=t.getFullYear().toString():D.currentYearElement.removeAttribute(i),D.currentYearElement.disabled=!!n&&void 0!==t&&n.getFullYear()===t.getFullYear())}}function H(){return D.config.wrap?d.querySelector("[data-input]"):d}function L(){"object"!=typeof D.config.locale&&void 0===Ce.l10ns[D.config.locale]&&D.config.errorHandler(new Error("flatpickr: invalid locale "+D.config.locale)),D.l10n=ee(ee({},Ce.l10ns.default),"object"==typeof D.config.locale?D.config.locale:"default"!==D.config.locale?Ce.l10ns[D.config.locale]:void 0),_e.K="("+D.l10n.amPM[0]+"|"+D.l10n.amPM[1]+"|"+D.l10n.amPM[0].toLowerCase()+"|"+D.l10n.amPM[1].toLowerCase()+")",void 0===ee(ee({},u),JSON.parse(JSON.stringify(d.dataset||{}))).time_24hr&&void 0===Ce.defaultConfig.time_24hr&&(D.config.time_24hr=D.l10n.time_24hr),D.formatDate=me(D),D.parseDate=ge({config:D.config,l10n:D.l10n})}function R(e){if("function"!=typeof D.config.position){if(void 0!==D.calendarContainer){K("onPreCalendarPosition");var t=e||D._positionElement,n=Array.prototype.reduce.call(D.calendarContainer.children,function(e,t){return e+t.offsetHeight},0),i=D.calendarContainer.offsetWidth,o=D.config.position.split(" "),r=o[0],s=1<o.length?o[1]:null,a=t.getBoundingClientRect(),l=window.innerHeight-a.bottom,c="above"===r||"below"!==r&&l<n&&a.top>n,u=window.pageYOffset+a.top+(c?-n-2:t.offsetHeight+2);if(ce(D.calendarContainer,"arrowTop",!c),ce(D.calendarContainer,"arrowBottom",c),!D.config.inline){var h=window.pageXOffset+a.left,d=!1,f=!1;"center"===s?(h-=(i-a.width)/2,d=!0):"right"===s&&(h-=i-a.width,f=!0),ce(D.calendarContainer,"arrowLeft",!d&&!f),ce(D.calendarContainer,"arrowCenter",d),ce(D.calendarContainer,"arrowRight",f);var p=window.document.body.offsetWidth-(window.pageXOffset+a.right),_=h+i>window.document.body.offsetWidth,m=p+i>window.document.body.offsetWidth;if(ce(D.calendarContainer,"rightMost",_),!D.config.static)if(D.calendarContainer.style.top=u+"px",_)if(m){var g=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];try{n.cssRules}catch(e){continue}e=n;break}return null!=e?e:(i=document.createElement("style"),document.head.appendChild(i),i.sheet);var i}();if(void 0===g)return;var v=window.document.body.offsetWidth,y=Math.max(0,v/2-i/2),b=g.cssRules.length,w="{left:"+a.left+"px;right:auto;}";ce(D.calendarContainer,"rightMost",!1),ce(D.calendarContainer,"centerMost",!0),g.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+w,b),D.calendarContainer.style.left=y+"px",D.calendarContainer.style.right="auto"}else D.calendarContainer.style.left="auto",D.calendarContainer.style.right=p+"px";else D.calendarContainer.style.left=h+"px",D.calendarContainer.style.right="auto"}}}else D.config.position(D,e)}function q(){D.config.noCalendar||D.isMobile||(w(),V(),b())}function W(){D._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(D.close,0):D.close()}function B(e){e.preventDefault(),e.stopPropagation();var t=function e(t,n){return n(t)?t:t.parentNode?e(t.parentNode,n):void 0}(fe(e),function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")});if(void 0!==t){var n=t,i=D.latestSelectedDateObj=new Date(n.dateObj.getTime()),o=(i.getMonth()<D.currentMonth||i.getMonth()>D.currentMonth+D.config.showMonths-1)&&"range"!==D.config.mode;if(D.selectedDateElem=n,"single"===D.config.mode)D.selectedDates=[i];else if("multiple"===D.config.mode){var r=Q(i);r?D.selectedDates.splice(parseInt(r),1):D.selectedDates.push(i)}else"range"===D.config.mode&&(2===D.selectedDates.length&&D.clear(!1,!1),D.latestSelectedDateObj=i,D.selectedDates.push(i),0!==ve(i,D.selectedDates[0],!0)&&D.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()}));if(p(),o){var s=D.currentYear!==i.getFullYear();D.currentYear=i.getFullYear(),D.currentMonth=i.getMonth(),s&&(K("onYearChange"),w()),K("onMonthChange")}if(V(),b(),X(),o||"range"===D.config.mode||1!==D.config.showMonths?void 0!==D.selectedDateElem&&void 0===D.hourElement&&D.selectedDateElem&&D.selectedDateElem.focus():g(n),void 0!==D.hourElement&&void 0!==D.hourElement&&D.hourElement.focus(),D.config.closeOnSelect){var a="single"===D.config.mode&&!D.config.enableTime,l="range"===D.config.mode&&2===D.selectedDates.length&&!D.config.enableTime;(a||l)&&W()}c()}}D.parseDate=ge({config:D.config,l10n:D.l10n}),D._handlers=[],D.pluginElements=[],D.loadedPlugins=[],D._bind=s,D._setHoursFromDate=o,D._positionCalendar=R,D.changeMonth=E,D.changeYear=S,D.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);D.input.value="",void 0!==D.altInput&&(D.altInput.value="");void 0!==D.mobileInput&&(D.mobileInput.value="");D.selectedDates=[],!(D.latestSelectedDateObj=void 0)===t&&(D.currentYear=D._initialDate.getFullYear(),D.currentMonth=D._initialDate.getMonth());if(!0===D.config.enableTime){var n=we(D.config),i=n.hours,o=n.minutes,r=n.seconds;l(i,o,r)}D.redraw(),e&&K("onChange")},D.close=function(){D.isOpen=!1,D.isMobile||(void 0!==D.calendarContainer&&D.calendarContainer.classList.remove("open"),void 0!==D._input&&D._input.classList.remove("active"));K("onClose")},D._createElement=ue,D.destroy=function(){void 0!==D.config&&K("onDestroy");for(var e=D._handlers.length;e--;)D._handlers[e].remove();if(D._handlers=[],D.mobileInput)D.mobileInput.parentNode&&D.mobileInput.parentNode.removeChild(D.mobileInput),D.mobileInput=void 0;else if(D.calendarContainer&&D.calendarContainer.parentNode)if(D.config.static&&D.calendarContainer.parentNode){var t=D.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else D.calendarContainer.parentNode.removeChild(D.calendarContainer);D.altInput&&(D.input.type="text",D.altInput.parentNode&&D.altInput.parentNode.removeChild(D.altInput),delete D.altInput);D.input&&(D.input.type=D.input._type,D.input.classList.remove("flatpickr-input"),D.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(e){try{delete D[e]}catch(e){}})},D.isEnabled=A,D.jumpToDate=i,D.open=function(e,t){void 0===t&&(t=D._positionElement);{if(!0===D.isMobile){if(e){e.preventDefault();var n=fe(e);n&&n.blur()}return void 0!==D.mobileInput&&(D.mobileInput.focus(),D.mobileInput.click()),void K("onOpen")}if(D._input.disabled||D.config.inline)return}var i=D.isOpen;D.isOpen=!0,i||(D.calendarContainer.classList.add("open"),D._input.classList.add("active"),K("onOpen"),R(t));!0===D.config.enableTime&&!0===D.config.noCalendar&&(!1!==D.config.allowInput||void 0!==e&&D.timeContainer.contains(e.relatedTarget)||setTimeout(function(){return D.hourElement.select()},50))},D.redraw=q,D.set=function(e,t){if(null!==e&&"object"==typeof e)for(var n in Object.assign(D.config,e),e)void 0!==z[n]&&z[n].forEach(function(e){return e()});else D.config[e]=t,void 0!==z[e]?z[e].forEach(function(e){return e()}):-1<ne.indexOf(e)&&(D.config[e]=le(t));D.redraw(),X(!0)},D.setDate=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=D.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return D.clear(t);U(e,n),D.latestSelectedDateObj=D.selectedDates[D.selectedDates.length-1],D.redraw(),i(void 0,t),o(),0===D.selectedDates.length&&D.clear(!1);X(t),t&&K("onChange")},D.toggle=function(e){if(!0===D.isOpen)return D.close();D.open(e)};var z={locale:[L,k],showMonths:[x,t,M],minDate:[i],maxDate:[i],clickOpens:[function(){!0===D.config.clickOpens?(s(D._input,"focus",D.open),s(D._input,"click",D.open)):(D._input.removeEventListener("focus",D.open),D._input.removeEventListener("click",D.open))}]};function U(e,t){var n=[];if(e instanceof Array)n=e.map(function(e){return D.parseDate(e,t)});else if(e instanceof Date||"number"==typeof e)n=[D.parseDate(e,t)];else if("string"==typeof e)switch(D.config.mode){case"single":case"time":n=[D.parseDate(e,t)];break;case"multiple":n=e.split(D.config.conjunction).map(function(e){return D.parseDate(e,t)});break;case"range":n=e.split(D.l10n.rangeSeparator).map(function(e){return D.parseDate(e,t)})}else D.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));D.selectedDates=D.config.allowInvalidPreload?n:n.filter(function(e){return e instanceof Date&&A(e,!1)}),"range"===D.config.mode&&D.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()})}function J(e){return e.slice().map(function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?D.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:D.parseDate(e.from,void 0),to:D.parseDate(e.to,void 0)}:e}).filter(function(e){return e})}function K(e,t){if(void 0!==D.config){var n=D.config[e];if(void 0!==n&&0<n.length)for(var i=0;n[i]&&i<n.length;i++)n[i](D.selectedDates,D.input.value,D,t);"onChange"===e&&(D.input.dispatchEvent($("change")),D.input.dispatchEvent($("input")))}}function $(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function Q(e){for(var t=0;t<D.selectedDates.length;t++)if(0===ve(D.selectedDates[t],e))return""+t;return!1}function V(){D.config.noCalendar||D.isMobile||!D.monthNav||(D.yearElements.forEach(function(e,t){var n=new Date(D.currentYear,D.currentMonth,1);n.setMonth(D.currentMonth+t),1<D.config.showMonths||"static"===D.config.monthSelectorType?D.monthElements[t].textContent=pe(n.getMonth(),D.config.shorthandCurrentMonth,D.l10n)+" ":D.monthsDropdownContainer.value=n.getMonth().toString(),e.value=n.getFullYear().toString()}),D._hidePrevMonthArrow=void 0!==D.config.minDate&&(D.currentYear===D.config.minDate.getFullYear()?D.currentMonth<=D.config.minDate.getMonth():D.currentYear<D.config.minDate.getFullYear()),D._hideNextMonthArrow=void 0!==D.config.maxDate&&(D.currentYear===D.config.maxDate.getFullYear()?D.currentMonth+1>D.config.maxDate.getMonth():D.currentYear>D.config.maxDate.getFullYear()))}function G(t){return D.selectedDates.map(function(e){return D.formatDate(e,t)}).filter(function(e,t,n){return"range"!==D.config.mode||D.config.enableTime||n.indexOf(e)===t}).join("range"!==D.config.mode?D.config.conjunction:D.l10n.rangeSeparator)}function X(e){void 0===e&&(e=!0),void 0!==D.mobileInput&&D.mobileFormatStr&&(D.mobileInput.value=void 0!==D.latestSelectedDateObj?D.formatDate(D.latestSelectedDateObj,D.mobileFormatStr):""),D.input.value=G(D.config.dateFormat),void 0!==D.altInput&&(D.altInput.value=G(D.config.altFormat)),!1!==e&&K("onValueUpdate")}function Z(e){var t=fe(e),n=D.prevMonthNav.contains(t),i=D.nextMonthNav.contains(t);n||i?E(n?-1:1):0<=D.yearElements.indexOf(t)?t.select():t.classList.contains("arrowUp")?D.changeYear(D.currentYear+1):t.classList.contains("arrowDown")&&D.changeYear(D.currentYear-1)}return function(){D.element=D.input=d,D.isOpen=!1,function(){var e=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],t=ee(ee({},JSON.parse(JSON.stringify(d.dataset||{}))),u),n={};D.config.parseDate=t.parseDate,D.config.formatDate=t.formatDate,Object.defineProperty(D.config,"enable",{get:function(){return D.config._enable},set:function(e){D.config._enable=J(e)}}),Object.defineProperty(D.config,"disable",{get:function(){return D.config._disable},set:function(e){D.config._disable=J(e)}});var i="time"===t.mode;if(!t.dateFormat&&(t.enableTime||i)){var o=Ce.defaultConfig.dateFormat||ie.dateFormat;n.dateFormat=t.noCalendar||i?"H:i"+(t.enableSeconds?":S":""):o+" H:i"+(t.enableSeconds?":S":"")}if(t.altInput&&(t.enableTime||i)&&!t.altFormat){var r=Ce.defaultConfig.altFormat||ie.altFormat;n.altFormat=t.noCalendar||i?"h:i"+(t.enableSeconds?":S K":" K"):r+" h:i"+(t.enableSeconds?":S":"")+" K"}Object.defineProperty(D.config,"minDate",{get:function(){return D.config._minDate},set:Y("min")}),Object.defineProperty(D.config,"maxDate",{get:function(){return D.config._maxDate},set:Y("max")});var s=function(t){return function(e){D.config["min"===t?"_minTime":"_maxTime"]=D.parseDate(e,"H:i:S")}};Object.defineProperty(D.config,"minTime",{get:function(){return D.config._minTime},set:s("min")}),Object.defineProperty(D.config,"maxTime",{get:function(){return D.config._maxTime},set:s("max")}),"time"===t.mode&&(D.config.noCalendar=!0,D.config.enableTime=!0),Object.assign(D.config,n,t);for(var a=0;a<e.length;a++)D.config[e[a]]=!0===D.config[e[a]]||"true"===D.config[e[a]];ne.filter(function(e){return void 0!==D.config[e]}).forEach(function(e){D.config[e]=le(D.config[e]||[]).map(h)}),D.isMobile=!D.config.disableMobile&&!D.config.inline&&"single"===D.config.mode&&!D.config.disable.length&&!D.config.enable&&!D.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var a=0;a<D.config.plugins.length;a++){var l=D.config.plugins[a](D)||{};for(var c in l)-1<ne.indexOf(c)?D.config[c]=le(l[c]).map(h).concat(D.config[c]):void 0===t[c]&&(D.config[c]=l[c])}t.altInputClass||(D.config.altInputClass=H().className+" "+D.config.altInputClass),K("onParseConfig")}(),L(),function(){if(D.input=H(),!D.input)return D.config.errorHandler(new Error("Invalid input element specified"));D.input._type=D.input.type,D.input.type="text",D.input.classList.add("flatpickr-input"),D._input=D.input,D.config.altInput&&(D.altInput=ue(D.input.nodeName,D.config.altInputClass),D._input=D.altInput,D.altInput.placeholder=D.input.placeholder,D.altInput.disabled=D.input.disabled,D.altInput.required=D.input.required,D.altInput.tabIndex=D.input.tabIndex,D.altInput.type="text",D.input.setAttribute("type","hidden"),!D.config.static&&D.input.parentNode&&D.input.parentNode.insertBefore(D.altInput,D.input.nextSibling)),D.config.allowInput||D._input.setAttribute("readonly","readonly"),D._positionElement=D.config.positionElement||D._input}(),function(){D.selectedDates=[],D.now=D.parseDate(D.config.now)||new Date;var e=D.config.defaultDate||("INPUT"!==D.input.nodeName&&"TEXTAREA"!==D.input.nodeName||!D.input.placeholder||D.input.value!==D.input.placeholder?D.input.value:null);e&&U(e,D.config.dateFormat),D._initialDate=0<D.selectedDates.length?D.selectedDates[0]:D.config.minDate&&D.config.minDate.getTime()>D.now.getTime()?D.config.minDate:D.config.maxDate&&D.config.maxDate.getTime()<D.now.getTime()?D.config.maxDate:D.now,D.currentYear=D._initialDate.getFullYear(),D.currentMonth=D._initialDate.getMonth(),0<D.selectedDates.length&&(D.latestSelectedDateObj=D.selectedDates[0]),void 0!==D.config.minTime&&(D.config.minTime=D.parseDate(D.config.minTime,"H:i")),void 0!==D.config.maxTime&&(D.config.maxTime=D.parseDate(D.config.maxTime,"H:i")),D.minDateHasTime=!!D.config.minDate&&(0<D.config.minDate.getHours()||0<D.config.minDate.getMinutes()||0<D.config.minDate.getSeconds()),D.maxDateHasTime=!!D.config.maxDate&&(0<D.config.maxDate.getHours()||0<D.config.maxDate.getMinutes()||0<D.config.maxDate.getSeconds())}(),D.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=D.currentMonth),void 0===t&&(t=D.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:D.l10n.daysInMonth[e]}},D.isMobile||function(){var e=window.document.createDocumentFragment();if(D.calendarContainer=ue("div","flatpickr-calendar"),D.calendarContainer.tabIndex=-1,!D.config.noCalendar){if(e.appendChild((D.monthNav=ue("div","flatpickr-months"),D.yearElements=[],D.monthElements=[],D.prevMonthNav=ue("span","flatpickr-prev-month"),D.prevMonthNav.innerHTML=D.config.prevArrow,D.nextMonthNav=ue("span","flatpickr-next-month"),D.nextMonthNav.innerHTML=D.config.nextArrow,x(),Object.defineProperty(D,"_hidePrevMonthArrow",{get:function(){return D.__hidePrevMonthArrow},set:function(e){D.__hidePrevMonthArrow!==e&&(ce(D.prevMonthNav,"flatpickr-disabled",e),D.__hidePrevMonthArrow=e)}}),Object.defineProperty(D,"_hideNextMonthArrow",{get:function(){return D.__hideNextMonthArrow},set:function(e){D.__hideNextMonthArrow!==e&&(ce(D.nextMonthNav,"flatpickr-disabled",e),D.__hideNextMonthArrow=e)}}),D.currentYearElement=D.yearElements[0],V(),D.monthNav)),D.innerContainer=ue("div","flatpickr-innerContainer"),D.config.weekNumbers){var t=function(){D.calendarContainer.classList.add("hasWeeks");var e=ue("div","flatpickr-weekwrapper");e.appendChild(ue("span","flatpickr-weekday",D.l10n.weekAbbreviation));var t=ue("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),n=t.weekWrapper,i=t.weekNumbers;D.innerContainer.appendChild(n),D.weekNumbers=i,D.weekWrapper=n}D.rContainer=ue("div","flatpickr-rContainer"),D.rContainer.appendChild(M()),D.daysContainer||(D.daysContainer=ue("div","flatpickr-days"),D.daysContainer.tabIndex=-1),b(),D.rContainer.appendChild(D.daysContainer),D.innerContainer.appendChild(D.rContainer),e.appendChild(D.innerContainer)}D.config.enableTime&&e.appendChild(function(){D.calendarContainer.classList.add("hasTime"),D.config.noCalendar&&D.calendarContainer.classList.add("noCalendar");var e=we(D.config);D.timeContainer=ue("div","flatpickr-time"),D.timeContainer.tabIndex=-1;var t=ue("span","flatpickr-time-separator",":"),n=de("flatpickr-hour",{"aria-label":D.l10n.hourAriaLabel});D.hourElement=n.getElementsByTagName("input")[0];var i=de("flatpickr-minute",{"aria-label":D.l10n.minuteAriaLabel});if(D.minuteElement=i.getElementsByTagName("input")[0],D.hourElement.tabIndex=D.minuteElement.tabIndex=-1,D.hourElement.value=re(D.latestSelectedDateObj?D.latestSelectedDateObj.getHours():D.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),D.minuteElement.value=re(D.latestSelectedDateObj?D.latestSelectedDateObj.getMinutes():e.minutes),D.hourElement.setAttribute("step",D.config.hourIncrement.toString()),D.minuteElement.setAttribute("step",D.config.minuteIncrement.toString()),D.hourElement.setAttribute("min",D.config.time_24hr?"0":"1"),D.hourElement.setAttribute("max",D.config.time_24hr?"23":"12"),D.hourElement.setAttribute("maxlength","2"),D.minuteElement.setAttribute("min","0"),D.minuteElement.setAttribute("max","59"),D.minuteElement.setAttribute("maxlength","2"),D.timeContainer.appendChild(n),D.timeContainer.appendChild(t),D.timeContainer.appendChild(i),D.config.time_24hr&&D.timeContainer.classList.add("time24hr"),D.config.enableSeconds){D.timeContainer.classList.add("hasSeconds");var o=de("flatpickr-second");D.secondElement=o.getElementsByTagName("input")[0],D.secondElement.value=re(D.latestSelectedDateObj?D.latestSelectedDateObj.getSeconds():e.seconds),D.secondElement.setAttribute("step",D.minuteElement.getAttribute("step")),D.secondElement.setAttribute("min","0"),D.secondElement.setAttribute("max","59"),D.secondElement.setAttribute("maxlength","2"),D.timeContainer.appendChild(ue("span","flatpickr-time-separator",":")),D.timeContainer.appendChild(o)}return D.config.time_24hr||(D.amPM=ue("span","flatpickr-am-pm",D.l10n.amPM[se(11<(D.latestSelectedDateObj?D.hourElement.value:D.config.defaultHour))]),D.amPM.title=D.l10n.toggleTitle,D.amPM.tabIndex=-1,D.timeContainer.appendChild(D.amPM)),D.timeContainer}()),ce(D.calendarContainer,"rangeMode","range"===D.config.mode),ce(D.calendarContainer,"animate",!0===D.config.animate),ce(D.calendarContainer,"multiMonth",1<D.config.showMonths),D.calendarContainer.appendChild(e);var o=void 0!==D.config.appendTo&&void 0!==D.config.appendTo.nodeType;if((D.config.inline||D.config.static)&&(D.calendarContainer.classList.add(D.config.inline?"inline":"static"),D.config.inline&&(!o&&D.element.parentNode?D.element.parentNode.insertBefore(D.calendarContainer,D._input.nextSibling):void 0!==D.config.appendTo&&D.config.appendTo.appendChild(D.calendarContainer)),D.config.static)){var r=ue("div","flatpickr-wrapper");D.element.parentNode&&D.element.parentNode.insertBefore(r,D.element),r.appendChild(D.element),D.altInput&&r.appendChild(D.altInput),r.appendChild(D.calendarContainer)}D.config.static||D.config.inline||(void 0!==D.config.appendTo?D.config.appendTo:window.document.body).appendChild(D.calendarContainer)}(),function(){if(D.config.wrap&&["open","close","toggle","clear"].forEach(function(t){Array.prototype.forEach.call(D.element.querySelectorAll("[data-"+t+"]"),function(e){return s(e,"click",D[t])})}),D.isMobile)return function(){var e=D.config.enableTime?D.config.noCalendar?"time":"datetime-local":"date";D.mobileInput=ue("input",D.input.className+" flatpickr-mobile"),D.mobileInput.tabIndex=1,D.mobileInput.type=e,D.mobileInput.disabled=D.input.disabled,D.mobileInput.required=D.input.required,D.mobileInput.placeholder=D.input.placeholder,D.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",0<D.selectedDates.length&&(D.mobileInput.defaultValue=D.mobileInput.value=D.formatDate(D.selectedDates[0],D.mobileFormatStr)),D.config.minDate&&(D.mobileInput.min=D.formatDate(D.config.minDate,"Y-m-d")),D.config.maxDate&&(D.mobileInput.max=D.formatDate(D.config.maxDate,"Y-m-d")),D.input.getAttribute("step")&&(D.mobileInput.step=String(D.input.getAttribute("step"))),D.input.type="hidden",void 0!==D.altInput&&(D.altInput.type="hidden");try{D.input.parentNode&&D.input.parentNode.insertBefore(D.mobileInput,D.input.nextSibling)}catch(e){}s(D.mobileInput,"change",function(e){D.setDate(fe(e).value,!1,D.mobileFormatStr),K("onChange"),K("onClose")})}();var e=ae(P,50);D._debouncedChange=ae(c,De),D.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&s(D.daysContainer,"mouseover",function(e){"range"===D.config.mode&&F(fe(e))}),s(window.document.body,"keydown",j),D.config.inline||D.config.static||s(window,"resize",e),void 0!==window.ontouchstart?s(window.document,"touchstart",O):s(window.document,"mousedown",O),s(window.document,"focus",O,{capture:!0}),!0===D.config.clickOpens&&(s(D._input,"focus",D.open),s(D._input,"click",D.open)),void 0!==D.daysContainer&&(s(D.monthNav,"click",Z),s(D.monthNav,["keyup","increment"],n),s(D.daysContainer,"click",B)),void 0!==D.timeContainer&&void 0!==D.minuteElement&&void 0!==D.hourElement&&(s(D.timeContainer,["increment"],f),s(D.timeContainer,"blur",f,{capture:!0}),s(D.timeContainer,"click",r),s([D.hourElement,D.minuteElement],["focus","click"],function(e){return fe(e).select()}),void 0!==D.secondElement&&s(D.secondElement,"focus",function(){return D.secondElement&&D.secondElement.select()}),void 0!==D.amPM&&s(D.amPM,"click",function(e){f(e),c()})),D.config.allowInput&&s(D._input,"blur",N)}(),(D.selectedDates.length||D.config.noCalendar)&&(D.config.enableTime&&o(D.config.noCalendar?D.latestSelectedDateObj:void 0),X(!1)),t();var e=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!D.isMobile&&e&&R(),K("onReady")}(),D}function n(e,t){for(var n=Array.prototype.slice.call(e).filter(function(e){return e instanceof HTMLElement}),i=[],o=0;o<n.length;o++){var r=n[o];try{if(null!==r.getAttribute("data-fp-omit"))continue;void 0!==r._flatpickr&&(r._flatpickr.destroy(),r._flatpickr=void 0),r._flatpickr=s(r,t||{}),i.push(r._flatpickr)}catch(e){console.error(e)}}return 1===i.length?i[0]:i}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return n(this,e)},HTMLElement.prototype.flatpickr=function(e){return n([this],e)});var Ce=function(e,t){return"string"==typeof e?n(window.document.querySelectorAll(e),t):e instanceof Node?n([e],t):n(e,t)};return Ce.defaultConfig={},Ce.l10ns={en:ee({},oe),default:ee({},oe)},Ce.localize=function(e){Ce.l10ns.default=ee(ee({},Ce.l10ns.default),e)},Ce.setDefaults=function(e){Ce.defaultConfig=ee(ee({},Ce.defaultConfig),e)},Ce.parseDate=ge({}),Ce.formatDate=me({}),Ce.compareDates=ve,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return n(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=Ce),Ce}),function(s){function t(e,t){this.element=s(e),this.options=t,this.init()}t.prototype.init=function(){this.element.chosen(this.options),this.container=this.element.next(".chosen-container"),this.search_field=this.container.find(".chosen-search-input"),this.is_multiple=this.container.hasClass("chosen-container-multi"),this.is_typing=!1,this.chosenXhr=null,this.events()},t.prototype.events=function(){var e=this;this.search_field.on("compositionstart",function(){e.is_typing=!0}),this.search_field.on("compositionend",function(){e.is_typing=!1,e.update_list()}),this.search_field.on("keyup",function(){e.update_list()}),this.search_field.on("focus",function(){e.search_field_focused()})},t.prototype.search_field_focused=function(){this.search_welcome_message(),0===this.options.min_length&&0===this.search_field.val().length&&this.update_list()},t.prototype.search_welcome_message=function(){var e=s.trim(this.search_field.val()),t=this.container.find(".chosen-results");0===t.children().length&&0===e.length&&t.html('<li class="no-results">'+this.options.typing_text.replace("%s",this.options.min_length-e.length)+"</li>")},t.prototype.update_list=function(){var t=this;if(this.search_welcome_message(),!this.is_typing){var e=s.trim(this.search_field.val()),n=e.length<this.options.min_length?this.options.typing_text.replace("%s",this.options.min_length-e.length):this.options.searching_text;this.container.find(".no-results").text(n),e!==this.search_field.data("prevVal")&&(this.search_field.data("prevVal",e),this.timer&&clearTimeout(this.timer),e.length<this.options.min_length||(this.timer=setTimeout(function(){t.chosenXhr&&t.chosenXhr.abort(),t.options.data.term=e,t.chosenXhr=window.wp.ajax.post("ulf-chosen",t.options.data).done(function(e){t.show_results(e)}).fail(function(e){t.container.find(".no-results").text(e.error)})},this.options.type_delay)))}},t.prototype.show_results=function(e){var n=this;if(!this.is_typing&&null!==e){if(0===e.length)return this.element.data().chosen.no_results_clear(),void this.element.data().chosen.no_results(this.search_field.val());var i=[];this.element.find("option").each(function(){s(this).is(":selected")?i.push(s(this).val()+"-"+s(this).text()):s(this).attr("value").length&&s(this).remove()}),s.each(e,function(e,t){-1===s.inArray(t.value+"-"+t.text,i)&&s("<option />").attr("value",t.value).html(t.text).appendTo(n.element)});var t=this.search_field.val(),o=this.search_field.innerWidth();if(this.element.trigger("chosen:updated"),this.is_multiple){var r=this.element.parent().find(".ulf-hide-select").val()||[];this.element.ULFChosenOrder(r,!0),this.search_field.css("width",o)}this.search_field.val(t),null!==this.chosenXhr.done&&this.chosenXhr.done(e)}},s.fn.ULFAjaxChosen=function(e){return this.each(function(){new t(this,e)})}}(jQuery),function(){var n,i,s=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},o={}.hasOwnProperty;i=function(){function e(){}return e.insertAt=function(e,t,n){return n.insertBefore(e,n.children[t].nextSibling)},e.getFlattenedOptionsAndGroups=function(e){var t,n,i,o,r,s,a,l,c;for(t=[],s=0,l=(i=Array.prototype.filter.call(e.childNodes,function(e){var t;return"OPTION"===(t=e.nodeName.toUpperCase())||"OPTGROUP"===t})).length;s<l;s++)if(n=i[s],t.push(n),"OPTGROUP"===n.nodeName.toUpperCase())for(a=0,c=(r=Array.prototype.filter.call(n.childNodes,function(e){return"OPTION"===e.nodeName.toUpperCase()})).length;a<c;a++)o=r[a],t.push(o);return t},e.isValidMultipleSelectElement=function(e){return null!=e&&"SELECT"===e.nodeName&&e.multiple},e.getChosenUIContainer=function(e){return""!==e.id?document.getElementById(e.id.replace(/-/g,"_")+"_chosen"):this.searchChosenUIContainer(e)},e.isChosenified=function(e){return null!=this.getChosenUIContainer(e)},e.forceSelection=function(e,t){var n,i,o,r;for(o=this.getFlattenedOptionsAndGroups(e),n=0;n<o.length;)r=(i=o[n]).getAttribute("value"),0<=s.call(t,r)?(i.selected=!0,i.setAttribute("selected","")):(i.selected=!1,i.removeAttribute("selected")),n++;return this.triggerEvent(e,"chosen:updated")},e.ULFChosenOrder=function(e,t,n){var i,o,r,s,a,l,c,u,h,d,f,p,_,m;if(null!=this.getDOMElement&&(e=this.getDOMElement(e)),this.isValidMultipleSelectElement(e)&&null!=(o=this.getChosenUIContainer(e))&&t instanceof Array){for(t=t.map(Function.prototype.call,String.prototype.trim),c=this.getFlattenedOptionsAndGroups(e),null!=n&&!0===n&&this.forceSelection(e,t),m=[],r=d=0,p=t.length;d<p;r=++d){for(a=t[r],u=null,s=f=0,_=c.length;f<_;s=++f)c[s].value===a&&(u=s);i=o.querySelectorAll(".search-choice"),h=this.relAttributeName,null!=(l=Array.prototype.filter.call(i,function(e){return null!=e.querySelector("a.search-choice-close["+h+'="'+u+'"]')})[0])&&(o.querySelector("ul.chosen-choices"),m.push(this.insertAt(l,r,o.querySelector("ul.chosen-choices"))))}return m}},e}(),(n=jQuery).fn.extend({ULFChosenOrder:function(e,t){return _ULFChosenOrder.ULFChosenOrder(this,e,t)}}),this._ULFChosenOrder=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,i),t.relAttributeName="data-option-array-index",t.isjQueryObject=function(e){return"undefined"!=typeof jQuery&&null!==jQuery&&e instanceof jQuery},t.getDOMElement=function(e){return this.isjQueryObject(e)?e.get(0):e},t.searchChosenUIContainer=function(e){return null!=n(e).data("chosen")?n(e).data("chosen").container[0]:n(e).next(".chosen-container.chosen-container-multi").get(0)},t.triggerEvent=function(e,t){return n(e).trigger(t)},t}()}.call(this),function(){var a,n,o,s,r={}.hasOwnProperty;(s=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,n,i,o,r,s;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,title:e.title?e.title:void 0,children:0,disabled:e.disabled,classes:e.className}),s=[],n=0,i=(r=e.childNodes).length;n<i;n++)o=r[n],s.push(this.add_option(o,t,e.disabled));return s},e.prototype.add_option=function(e,t,n){if("OPTION"===e.nodeName.toUpperCase())return""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML,title:e.title?e.title:void 0,selected:e.selected,disabled:!0===n?n:e.disabled,group_array_index:t,group_label:null!=t?this.parsed[t].label:null,classes:e.className,style:e.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},e}()).select_to_array=function(e){var t,n,i,o,r;for(o=new s,n=0,i=(r=e.childNodes).length;n<i;n++)t=r[n],o.add_node(t);return o.parsed},n=function(){function o(e,t){var n,i;this.form_field=e,this.options=null!=t?t:{},this.label_click_handler=(n=this.label_click_handler,i=this,function(){return n.apply(i,arguments)}),o.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return o.prototype.set_default_values=function(){var t,n;return this.click_test_action=(t=this,function(e){return t.test_active_click(e)}),this.activate_action=(n=this,function(e){return n.activate_field(e)}),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},o.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||o.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||o.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||o.default_no_result_text},o.prototype.choice_label=function(e){return this.include_group_label_in_selected&&null!=e.group_label?"<b class='group-name'>"+this.escape_html(e.group_label)+"</b>"+e.html:e.html},o.prototype.mouse_enter=function(){return this.mouse_on_container=!0},o.prototype.mouse_leave=function(){return this.mouse_on_container=!1},o.prototype.input_focus=function(e){if(this.is_multiple){if(!this.active_field)return setTimeout((t=this,function(){return t.container_mousedown()}),50)}else if(!this.active_field)return this.activate_field();var t},o.prototype.input_blur=function(e){if(!this.mouse_on_container)return this.active_field=!1,setTimeout((t=this,function(){return t.blur_test()}),100);var t},o.prototype.label_click_handler=function(e){return this.is_multiple?this.container_mousedown(e):this.activate_field()},o.prototype.results_option_build=function(e){var t,n,i,o,r,s,a;for(t="",o=a=0,r=(s=this.results_data).length;o<r&&((i="")!==(i=(n=s[o]).group?this.result_add_group(n):this.result_add_option(n))&&(a++,t+=i),(null!=e?e.first:void 0)&&(n.selected&&this.is_multiple?this.choice_build(n):n.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(n))),!(a>=this.max_shown_results));o++);return t},o.prototype.result_add_option=function(e){var t,n;return e.search_match&&this.include_option_in_results(e)?(t=[],e.disabled||e.selected&&this.is_multiple||t.push("active-result"),!e.disabled||e.selected&&this.is_multiple||t.push("disabled-result"),e.selected&&t.push("result-selected"),null!=e.group_array_index&&t.push("group-option"),""!==e.classes&&t.push(e.classes),(n=document.createElement("li")).className=t.join(" "),e.style&&(n.style.cssText=e.style),n.setAttribute("data-option-array-index",e.array_index),n.innerHTML=e.highlighted_html||e.html,e.title&&(n.title=e.title),this.outerHTML(n)):""},o.prototype.result_add_group=function(e){var t,n;return(e.search_match||e.group_match)&&0<e.active_options?((t=[]).push("group-result"),e.classes&&t.push(e.classes),(n=document.createElement("li")).className=t.join(" "),n.innerHTML=e.highlighted_html||this.escape_html(e.label),e.title&&(n.title=e.title),this.outerHTML(n)):""},o.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},o.prototype.reset_single_select_options=function(){var e,t,n,i,o;for(o=[],e=0,t=(n=this.results_data).length;e<t;e++)(i=n[e]).selected?o.push(i.selected=!1):o.push(void 0);return o},o.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},o.prototype.results_search=function(e){return this.results_showing?this.winnow_results():this.results_show()},o.prototype.winnow_results=function(e){var t,n,i,o,r,s,a,l,c,u,h,d,f,p,_;for(this.no_results_clear(),u=0,t=(a=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=this.get_search_regex(t),i=0,o=(l=this.results_data).length;i<o;i++)(r=l[i]).search_match=!1,d=h=null,r.highlighted_html="",this.include_option_in_results(r)&&(r.group&&(r.group_match=!1,r.active_options=0),null!=r.group_array_index&&this.results_data[r.group_array_index]&&(0===(h=this.results_data[r.group_array_index]).active_options&&h.search_match&&(u+=1),h.active_options+=1),_=r.group?r.label:r.text,r.group&&!this.group_search||(d=this.search_string_match(_,c),r.search_match=null!=d,r.search_match&&!r.group&&(u+=1),r.search_match?(a.length&&(f=d.index,s=_.slice(0,f),n=_.slice(f,f+a.length),p=_.slice(f+a.length),r.highlighted_html=this.escape_html(s)+"<em>"+this.escape_html(n)+"</em>"+this.escape_html(p)),null!=h&&(h.group_match=!0)):null!=r.group_array_index&&this.results_data[r.group_array_index].search_match&&(r.search_match=!0)));return this.result_clear_highlight(),u<1&&a.length?(this.update_results_content(""),this.no_results(a)):(this.update_results_content(this.results_option_build()),(null!=e?e.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},o.prototype.get_search_regex=function(e){var t,n;return n=this.search_contains?e:"(^|\\s|\\b)"+e+"[^\\s]*",this.enable_split_word_search||this.search_contains||(n="^"+n),t=this.case_sensitive_search?"":"i",new RegExp(n,t)},o.prototype.search_string_match=function(e,t){var n;return n=t.exec(e),!this.search_contains&&(null!=n?n[1]:void 0)&&(n.index+=1),n},o.prototype.choices_count=function(){var e,t,n;if(null!=this.selected_option_count)return this.selected_option_count;for(e=this.selected_option_count=0,t=(n=this.form_field.options).length;e<t;e++)n[e].selected&&(this.selected_option_count+=1);return this.selected_option_count},o.prototype.choices_click=function(e){if(e.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},o.prototype.keydown_checker=function(e){var t,n;switch(n=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),8!==n&&this.pending_backstroke&&this.clear_backstroke(),n){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&e.preventDefault();break;case 32:this.disable_search&&e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:e.preventDefault(),this.keydown_arrow()}},o.prototype.keyup_checker=function(e){var t,n;switch(n=null!=(t=e.which)?t:e.keyCode,this.search_field_scale(),n){case 8:this.is_multiple&&this.backstroke_length<1&&0<this.choices_count()?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:e.preventDefault(),this.results_showing&&this.result_select(e);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},o.prototype.clipboard_event_checker=function(e){var t;if(!this.is_disabled)return setTimeout((t=this,function(){return t.results_search()}),50)},o.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},o.prototype.include_option_in_results=function(e){return!(this.is_multiple&&!this.display_selected_options&&e.selected)&&(!(!this.display_disabled_options&&e.disabled)&&!e.empty)},o.prototype.search_results_touchstart=function(e){return this.touch_started=!0,this.search_results_mouseover(e)},o.prototype.search_results_touchmove=function(e){return this.touch_started=!1,this.search_results_mouseout(e)},o.prototype.search_results_touchend=function(e){if(this.touch_started)return this.search_results_mouseup(e)},o.prototype.outerHTML=function(e){var t;return e.outerHTML?e.outerHTML:((t=document.createElement("div")).appendChild(e),t.innerHTML)},o.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n <span>'+this.default_text+'</span>\n <div><b></b></div>\n</a>\n<div class="chosen-drop">\n <div class="chosen-search">\n <input class="chosen-search-input" type="text" autocomplete="off" />\n </div>\n <ul class="chosen-results"></ul>\n</div>'},o.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n <li class="search-field">\n <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n </li>\n</ul>\n<div class="chosen-drop">\n <ul class="chosen-results"></ul>\n</div>'},o.prototype.get_no_results_html=function(e){return'<li class="no-results">\n '+this.results_none_found+" <span>"+this.escape_html(e)+"</span>\n</li>"},o.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?8<=document.documentMode:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},o.default_multiple_text="Select Some Options",o.default_single_text="Select an Option",o.default_no_result_text="No results match",o}(),(a=jQuery).fn.extend({chosen:function(i){return n.browser_is_supported()?this.each(function(e){var t,n;n=(t=a(this)).data("chosen"),"destroy"!==i?n instanceof o||t.data("chosen",new o(this,i)):n instanceof o&&n.destroy()}):this}}),o=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,n),t.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},t.prototype.set_up_html=function(){var e,t;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),t={class:e.join(" "),title:this.form_field.title},this.form_field.id.length&&(t.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("<div />",t),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},t.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},t.prototype.register_observers=function(){var t,n,i,o,r,s,a,l,c,u,h,d,f,p,_,m,g,v,y,b,w,D,C,x;return this.container.on("touchstart.chosen",(t=this,function(e){t.container_mousedown(e)})),this.container.on("touchend.chosen",(n=this,function(e){n.container_mouseup(e)})),this.container.on("mousedown.chosen",(i=this,function(e){i.container_mousedown(e)})),this.container.on("mouseup.chosen",(o=this,function(e){o.container_mouseup(e)})),this.container.on("mouseenter.chosen",(r=this,function(e){r.mouse_enter(e)})),this.container.on("mouseleave.chosen",(s=this,function(e){s.mouse_leave(e)})),this.search_results.on("mouseup.chosen",(a=this,function(e){a.search_results_mouseup(e)})),this.search_results.on("mouseover.chosen",(l=this,function(e){l.search_results_mouseover(e)})),this.search_results.on("mouseout.chosen",(c=this,function(e){c.search_results_mouseout(e)})),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",(u=this,function(e){u.search_results_mousewheel(e)})),this.search_results.on("touchstart.chosen",(h=this,function(e){h.search_results_touchstart(e)})),this.search_results.on("touchmove.chosen",(d=this,function(e){d.search_results_touchmove(e)})),this.search_results.on("touchend.chosen",(f=this,function(e){f.search_results_touchend(e)})),this.form_field_jq.on("chosen:updated.chosen",(p=this,function(e){p.results_update_field(e)})),this.form_field_jq.on("chosen:activate.chosen",(_=this,function(e){_.activate_field(e)})),this.form_field_jq.on("chosen:open.chosen",(m=this,function(e){m.container_mousedown(e)})),this.form_field_jq.on("chosen:close.chosen",(g=this,function(e){g.close_field(e)})),this.search_field.on("blur.chosen",(v=this,function(e){v.input_blur(e)})),this.search_field.on("keyup.chosen",(y=this,function(e){y.keyup_checker(e)})),this.search_field.on("keydown.chosen",(b=this,function(e){b.keydown_checker(e)})),this.search_field.on("focus.chosen",(w=this,function(e){w.input_focus(e)})),this.search_field.on("cut.chosen",(D=this,function(e){D.clipboard_event_checker(e)})),this.search_field.on("paste.chosen",(C=this,function(e){C.clipboard_event_checker(e)})),this.is_multiple?this.search_choices.on("click.chosen",(x=this,function(e){x.choices_click(e)})):this.container.on("click.chosen",function(e){e.preventDefault()})},t.prototype.destroy=function(){return a(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),0<this.form_field_label.length&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},t.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},t.prototype.container_mousedown=function(e){var t;if(!this.is_disabled)return!e||"mousedown"!==(t=e.type)&&"touchstart"!==t||this.results_showing||e.preventDefault(),null!=e&&a(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||a(e.target)[0]!==this.selected_item[0]&&!a(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},t.prototype.container_mouseup=function(e){if("ABBR"===e.target.nodeName&&!this.is_disabled)return this.results_reset(e)},t.prototype.search_results_mousewheel=function(e){var t;if(e.originalEvent&&(t=e.originalEvent.deltaY||-e.originalEvent.wheelDelta||e.originalEvent.detail),null!=t)return e.preventDefault(),"DOMMouseScroll"===e.type&&(t*=40),this.search_results.scrollTop(t+this.search_results.scrollTop())},t.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},t.prototype.close_field=function(){return a(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},t.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},t.prototype.test_active_click=function(e){var t;return(t=a(e.target).closest(".chosen-container")).length&&this.container[0]===t[0]?this.active_field=!0:this.close_field()},t.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=s.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},t.prototype.result_do_highlight=function(e){var t,n,i,o;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),(i=parseInt(this.search_results.css("maxHeight"),10))+(o=this.search_results.scrollTop())<=(t=(n=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight()))return this.search_results.scrollTop(0<t-i?t-i:0);if(n<o)return this.search_results.scrollTop(n)}},t.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},t.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},t.prototype.update_results_content=function(e){return this.search_results.html(e)},t.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},t.prototype.set_tab_index=function(e){var t;if(this.form_field.tabIndex)return t=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=t},t.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),0<this.form_field_label.length)return this.form_field_label.on("click.chosen",this.label_click_handler)},t.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},t.prototype.search_results_mouseup=function(e){var t;if((t=a(e.target).hasClass("active-result")?a(e.target):a(e.target).parents(".active-result").first()).length)return this.result_highlight=t,this.result_select(e),this.search_field.focus()},t.prototype.search_results_mouseover=function(e){var t;if(t=a(e.target).hasClass("active-result")?a(e.target):a(e.target).parents(".active-result").first())return this.result_do_highlight(t)},t.prototype.search_results_mouseout=function(e){if(a(e.target).hasClass("active-result")||a(e.target).parents(".active-result").first())return this.result_clear_highlight()},t.prototype.choice_build=function(e){var t,n,i;return t=a("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?t.addClass("search-choice-disabled"):((n=a("<a />",{class:"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",(i=this,function(e){return i.choice_destroy_link_click(e)})),t.append(n)),this.search_container.before(t)},t.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(a(e.target))},t.prototype.choice_destroy=function(e){if(this.result_deselect(e[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&0<this.choices_count()&&this.get_search_field_value().length<1&&this.results_hide(),e.parents("li").first().remove(),this.search_field_scale()},t.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},t.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},t.prototype.result_select=function(e){var t,n;if(this.result_highlight)return t=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?t.removeClass("active-result"):this.reset_single_select_options(),t.addClass("result-selected"),(n=this.results_data[t[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[n.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(n):this.single_set_selected_text(this.choice_label(n)),this.is_multiple&&(!this.hide_results_on_select||e.metaKey||e.ctrlKey)?e.metaKey||e.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[n.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,e.preventDefault(),this.search_field_scale())},t.prototype.single_set_selected_text=function(e){return null==e&&(e=this.default_text),e===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(e)},t.prototype.result_deselect=function(e){var t;return t=this.results_data[e],!this.form_field.options[t.options_index].disabled&&(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)},t.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},t.prototype.get_search_field_value=function(){return this.search_field.val()},t.prototype.get_search_text=function(){return a.trim(this.get_search_field_value())},t.prototype.escape_html=function(e){return a("<div/>").text(e).html()},t.prototype.winnow_results_set_highlight=function(){var e,t;if(null!=(e=(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?t.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(e)},t.prototype.no_results=function(e){var t;return t=this.get_no_results_html(e),this.search_results.append(t),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},t.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},t.prototype.keydown_arrow=function(){var e;return this.results_showing&&this.result_highlight?(e=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(e):void 0:this.results_show()},t.prototype.keyup_arrow=function(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(e.first()):(0<this.choices_count()&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},t.prototype.keydown_backstroke=function(){var e;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(e=this.search_container.siblings("li.search-choice").last()).length&&!e.hasClass("search-choice-disabled")?(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},t.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},t.prototype.search_field_scale=function(){var e,t,n,i,o,r,s;if(this.is_multiple){for(o={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},t=0,n=(r=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;t<n;t++)o[i=r[t]]=this.search_field.css(i);return(e=a("<div />").css(o)).text(this.get_search_field_value()),a("body").append(e),s=e.width()+25,e.remove(),this.container.is(":visible")&&(s=Math.min(this.container.outerWidth()-10,s)),this.search_field.width(s)}},t.prototype.trigger_form_field_change=function(e){return this.form_field_jq.trigger("input",e),this.form_field_jq.trigger("change",e)},t}()}.call(this),function(s){"use strict";function o(e,t,n){this.init(e,t,n)}function e(){this.rules=[]}s.extend(o.prototype,{init:function(e,t,n){this.controller=e,this.condition=t,this.value=n,this.rules=[],this.controls=[]},evalCondition:function(e,t,n,i,o){if("=="==n)return this.checkBoolean(i)==this.checkBoolean(o);if("!="==n)return this.checkBoolean(i)!=this.checkBoolean(o);if(">="==n)return Number(o)>=Number(i);if("<="==n)return Number(o)<=Number(i);if(">"==n)return Number(o)>Number(i);if("<"==n)return Number(o)<Number(i);if("()"==n)return window[i](e,t,o);if("any"==n){if(s.isArray(o)){for(var r=o.length-1;0<=r;r--)if(-1!==s.inArray(o[r],i.split(",")))return!0}else if(-1!==s.inArray(o,i.split(",")))return!0}else if("not-any"==n)if(s.isArray(o)){for(r=o.length-1;0<=r;r--)if(-1==s.inArray(o[r],i.split(",")))return!0}else if(-1==s.inArray(o,i.split(",")))return!0;return!1},checkBoolean:function(e){switch(e){case!0:case"true":case 1:case"1":e=!0;break;case null:case!1:case"false":case 0:case"0":e=!1}return e},checkCondition:function(e){if(!this.condition)return!0;var t=e.find(this.controller),n=this.getControlValue(e,t);return void 0!==n&&(n=this.normalizeValue(t,this.value,n),this.evalCondition(e,t,this.condition,this.value,n))},normalizeValue:function(e,t,n){return"number"==typeof t?parseFloat(n):n},getControlValue:function(e,t){return 1<t.length&&("radio"==t.attr("type")||"checkbox"==t.attr("type"))?t.filter(":checked").map(function(){return this.value}).get():"checkbox"==t.attr("type")||"radio"==t.attr("type")?t.is(":checked"):t.val()},createRule:function(e,t,n){var i=new o(e,t,n);return this.rules.push(i),i},include:function(e){this.controls.push(e)},applyRule:function(n,e){var t;t=void 0===e?this.checkCondition(n):e;var i=s.map(this.controls,function(e,t){return n.find(e)});t?(s(i).each(function(){s(this).removeClass("ulf-depend-on")}),s(this.rules).each(function(){this.applyRule(n)})):(s(i).each(function(){s(this).addClass("ulf-depend-on")}),s(this.rules).each(function(){this.applyRule(n,!1)}))}}),s.extend(e.prototype,{createRule:function(e,t,n){var i=new o(e,t,n);return this.rules.push(i),i},applyRules:function(e){s(this.rules).each(function(){this.applyRule(e)})}}),s.ulf_deps={createRuleset:function(){return new e},enable:function(n,i,o){return n.on("change keyup",function(e){var t=e.target.getAttribute("data-depend-id")||e.target.getAttribute("data-sub-depend-id");-1!==o.indexOf(t)&&i.applyRules(n)}),i.applyRules(n),!0}}}(jQuery),function(e,n){if("function"==typeof define&&define.amd)define(["exports","jquery"],function(e,t){return n(e,t)});else if("undefined"!=typeof exports){var t=require("jquery");n(exports,t)}else n(e,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t){var a={validate:/^(?!(_nonce|_pseudo))[a-zA-Z0-9_-]*(?:\[(?:\d*|(?!(_nonce|_pseudo))[a-zA-Z0-9_-]+)\])*$/i,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,named:/^[a-zA-Z0-9_-]+$/,push:/^$/,fixed:/^\d+$/};function n(i,e){var n={},r={};function s(e,t,n){return e[t]=n,e}function t(){return n}this.addPair=function(e){if(!a.validate.test(e.name))return this;var t=function(e,t){for(var n,i=e.match(a.key);void 0!==(n=i.pop());)a.push.test(n)?t=s([],(o=e.replace(/\[\]$/,""),void 0===r[o]&&(r[o]=0),r[o]++),t):a.fixed.test(n)?t=s([],n,t):a.named.test(n)&&(t=s({},n,t));var o;return t}(e.name,e.value);return n=i.extend(!0,n,t),this},this.addPairs=function(e){if(!i.isArray(e))throw new Error("formSerializer.addPairs expects an Array");for(var t=0,n=e.length;t<n;t++)this.addPair(e[t]);return this},this.serialize=t,this.serializeJSON=function(){return JSON.stringify(t())}}return n.patterns=a,n.serializeObject=function(){return new n(t,this).addPairs(this.serializeArray()).serialize()},n.serializeJSON=function(){return new n(t,this).addPairs(this.serializeArray()).serializeJSON()},void 0!==t.fn&&(t.fn.serializeObjectULF=n.serializeObject,t.fn.serializeJSONULF=n.serializeJSON),e.FormSerializer=n});
admin/settings/assets/scss/{vendor → partials}/_base.scss RENAMED
File without changes
admin/settings/assets/scss/{vendor → partials}/_chosen.scss RENAMED
File without changes
admin/settings/assets/scss/{vendor → partials}/_customizer.scss RENAMED
@@ -73,9 +73,15 @@
73
  }
74
  }
75
 
76
- .csf-field-date{
 
 
 
 
 
77
 
78
  .csf--to{
 
79
  margin-left: 0;
80
  }
81
  }
73
  }
74
  }
75
 
76
+ .csf-field-date,
77
+ .csf-field-datetime{
78
+
79
+ label{
80
+ display: block;
81
+ }
82
 
83
  .csf--to{
84
+ margin-top: 4px;
85
  margin-left: 0;
86
  }
87
  }
admin/settings/assets/scss/{vendor → partials}/_fields.scss RENAMED
@@ -612,7 +612,37 @@
612
  }
613
 
614
  /**
615
- * 03. 13. Field: gallery
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
616
  */
617
  .csf-field-gallery{
618
 
@@ -646,7 +676,7 @@
646
  }
647
 
648
  /**
649
- * 03. 14. Field: group
650
  */
651
  .csf-field-group{
652
 
@@ -772,7 +802,7 @@
772
  }
773
 
774
  /**
775
- * 03. 15. Field: icon
776
  */
777
  .csf-field-icon{
778
 
@@ -809,7 +839,7 @@
809
  }
810
 
811
  /**
812
- * 03. 16. Field: image_select
813
  */
814
  .csf-field-image_select{
815
 
@@ -874,7 +904,7 @@
874
  }
875
 
876
  /**
877
- * 03. 17. Field: link_color
878
  */
879
  .csf-field-link_color{
880
 
@@ -891,7 +921,7 @@
891
  }
892
 
893
  /**
894
- * 03. 18. Field: map
895
  */
896
  .csf-field-map{
897
 
@@ -951,7 +981,7 @@
951
 
952
 
953
  /**
954
- * 03. 19. Field: media
955
  */
956
  .csf-field-media{
957
 
@@ -979,7 +1009,7 @@
979
  }
980
 
981
  /**
982
- * 03. 20. Field: palette
983
  */
984
  .csf-field-palette{
985
 
@@ -1038,7 +1068,7 @@
1038
  }
1039
 
1040
  /**
1041
- * 03. 21. Field: repeater
1042
  */
1043
  .csf-field-repeater{
1044
 
@@ -1132,7 +1162,7 @@
1132
  }
1133
 
1134
  /**
1135
- * 03. 22. Field: select
1136
  */
1137
  .csf-field-select{
1138
 
@@ -1155,7 +1185,7 @@
1155
  }
1156
 
1157
  /**
1158
- * 03. 23. Field: slider
1159
  */
1160
  .csf-field-slider{
1161
 
@@ -1235,7 +1265,7 @@
1235
  }
1236
 
1237
  /**
1238
- * 03. 24. Field: sortable
1239
  */
1240
  .csf-field-sortable{
1241
 
@@ -1316,7 +1346,7 @@
1316
  }
1317
 
1318
  /**
1319
- * 03. 25. Field: sorter
1320
  */
1321
  .csf-field-sorter{
1322
 
@@ -1393,7 +1423,7 @@
1393
  }
1394
 
1395
  /**
1396
- * 03. 26. Field: spinner
1397
  */
1398
  .csf-field-spinner{
1399
 
@@ -1401,49 +1431,96 @@
1401
  display: flex;
1402
  }
1403
 
1404
- .ui-spinner{
1405
- display: flex;
1406
  }
1407
 
1408
- .ui-button{
1409
  display: flex;
1410
- flex-direction: column;
1411
- justify-content: center;
1412
- text-align: center;
1413
- min-width: 20px;
1414
- padding: 0 4px;
1415
- color: #555;
1416
- border: 1px solid #7e8993;
1417
- background-color: #f5f5f5;
1418
- }
1419
 
1420
- .ui-spinner-button{
1421
- cursor: pointer;
 
 
 
 
 
 
 
 
 
 
1422
 
1423
- &:hover{
1424
- background-color: #e7e7e7;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1425
  }
1426
 
1427
- &:active{
1428
- background-color: #ddd;
 
 
 
 
 
1429
  }
1430
 
1431
- &:before{
1432
- font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
1433
- font-weight: 900;
1434
- font-size: 14px;
1435
- line-height: 14px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1436
  }
1437
  }
1438
 
1439
  .ui-spinner-down{
1440
  order: 1;
1441
- border-right: 0;
1442
- border-radius: 4px 0 0 4px;
1443
-
1444
- &:before{
1445
- content: "\f0d9";
1446
- }
1447
  }
1448
 
1449
  .ui-spinner-input{
@@ -1452,39 +1529,15 @@
1452
 
1453
  .csf--unit{
1454
  order: 3;
1455
- border-left: 0;
1456
- user-select: none;
1457
  }
1458
 
1459
  .ui-spinner-up{
1460
  order: 4;
1461
- border-left: 0;
1462
- border-radius: 0 4px 4px 0;
1463
-
1464
- &:before{
1465
- content: "\f0da";
1466
- }
1467
- }
1468
-
1469
- input{
1470
- position: relative;
1471
- z-index: 1;
1472
- width: 50px;
1473
- text-align: center;
1474
- margin: 0;
1475
- padding: 0 8px;
1476
- border-radius: 0;
1477
- }
1478
-
1479
- .ui-button-text,
1480
- .ui-button-icon,
1481
- .ui-button-icon-space{
1482
- display: none;
1483
  }
1484
  }
1485
 
1486
  /**
1487
- * 03. 27. Field: switcher
1488
  */
1489
  .csf-field-switcher{
1490
 
@@ -1566,7 +1619,7 @@
1566
  }
1567
 
1568
  /**
1569
- * 03. 28. Field: tabbed
1570
  */
1571
  .csf-field-tabbed{
1572
 
@@ -1618,7 +1671,7 @@
1618
  }
1619
 
1620
  /**
1621
- * 03. 29. Field: text
1622
  */
1623
  .csf-field-text{
1624
 
@@ -1630,7 +1683,7 @@
1630
  }
1631
 
1632
  /**
1633
- * 03. 30. Field: textarea
1634
  */
1635
  .csf-field-textarea{
1636
 
@@ -1647,7 +1700,7 @@
1647
  }
1648
 
1649
  /**
1650
- * 03. 31. Field: typography
1651
  */
1652
  .csf-field-typography{
1653
 
@@ -1746,7 +1799,7 @@
1746
  }
1747
 
1748
  /**
1749
- * 03. 32. Field: upload
1750
  */
1751
  .csf-field-upload{
1752
 
@@ -1770,7 +1823,7 @@
1770
  }
1771
 
1772
  /**
1773
- * 03. 33. Field: wp_editor
1774
  */
1775
  .csf-field-wp_editor{
1776
 
@@ -1827,7 +1880,7 @@
1827
  }
1828
 
1829
  /**
1830
- * 03. 34. Field: heading
1831
  */
1832
  .csf-field-heading{
1833
  font-size: 1.5em;
@@ -1837,7 +1890,7 @@
1837
  }
1838
 
1839
  /**
1840
- * 03. 35. Field: subheading
1841
  */
1842
  .csf-field-subheading{
1843
  font-size: 14px;
@@ -1849,7 +1902,7 @@
1849
  }
1850
 
1851
  /**
1852
- * 03. 36. Field: submessage
1853
  */
1854
  .csf-field-submessage{
1855
  padding: 0 !important;
@@ -1898,7 +1951,7 @@
1898
  }
1899
 
1900
  /**
1901
- * 03. 37. Field: notice
1902
  */
1903
  .csf-field-notice{
1904
  background-color: #f7f7f7;
@@ -1933,7 +1986,7 @@
1933
  }
1934
 
1935
  /**
1936
- * 03. 38. Field: number
1937
  */
1938
  .csf-field-number{
1939
 
@@ -1968,7 +2021,7 @@
1968
  }
1969
 
1970
  /**
1971
- * 03. 39. Field: link
1972
  */
1973
  .csf-field-link{
1974
 
@@ -2011,7 +2064,7 @@
2011
  }
2012
 
2013
  /**
2014
- * 03. 40. others
2015
  */
2016
  .csf-help{
2017
  cursor: help;
612
  }
613
 
614
  /**
615
+ * 03. 13. Field: datetime
616
+ */
617
+ .csf-field-datetime{
618
+
619
+ input{
620
+ margin: 0;
621
+ }
622
+
623
+ .csf--to{
624
+ margin-left: 7px;
625
+ }
626
+ }
627
+
628
+ .csf-flatpickr{
629
+
630
+ select,
631
+ input{
632
+ min-height: auto;
633
+
634
+ &:focus{
635
+ box-shadow: none;
636
+ }
637
+ }
638
+
639
+ &.open{
640
+ z-index: 9999999 !important;
641
+ }
642
+ }
643
+
644
+ /**
645
+ * 03. 14. Field: gallery
646
  */
647
  .csf-field-gallery{
648
 
676
  }
677
 
678
  /**
679
+ * 03. 15. Field: group
680
  */
681
  .csf-field-group{
682
 
802
  }
803
 
804
  /**
805
+ * 03. 16. Field: icon
806
  */
807
  .csf-field-icon{
808
 
839
  }
840
 
841
  /**
842
+ * 03. 17. Field: image_select
843
  */
844
  .csf-field-image_select{
845
 
904
  }
905
 
906
  /**
907
+ * 03. 18. Field: link_color
908
  */
909
  .csf-field-link_color{
910
 
921
  }
922
 
923
  /**
924
+ * 03. 19. Field: map
925
  */
926
  .csf-field-map{
927
 
981
 
982
 
983
  /**
984
+ * 03. 20. Field: media
985
  */
986
  .csf-field-media{
987
 
1009
  }
1010
 
1011
  /**
1012
+ * 03. 21. Field: palette
1013
  */
1014
  .csf-field-palette{
1015
 
1068
  }
1069
 
1070
  /**
1071
+ * 03. 22. Field: repeater
1072
  */
1073
  .csf-field-repeater{
1074
 
1162
  }
1163
 
1164
  /**
1165
+ * 03. 23. Field: select
1166
  */
1167
  .csf-field-select{
1168
 
1185
  }
1186
 
1187
  /**
1188
+ * 03. 24. Field: slider
1189
  */
1190
  .csf-field-slider{
1191
 
1265
  }
1266
 
1267
  /**
1268
+ * 03. 25. Field: sortable
1269
  */
1270
  .csf-field-sortable{
1271
 
1346
  }
1347
 
1348
  /**
1349
+ * 03. 26. Field: sorter
1350
  */
1351
  .csf-field-sorter{
1352
 
1423
  }
1424
 
1425
  /**
1426
+ * 03. 27. Field: spinner
1427
  */
1428
  .csf-field-spinner{
1429
 
1431
  display: flex;
1432
  }
1433
 
1434
+ .ui-widget{
1435
+ font-family: inherit;
1436
  }
1437
 
1438
+ .ui-spinner{
1439
  display: flex;
1440
+ align-items: stretch;
1441
+ overflow: unset;
1442
+ border: none;
1443
+ background: none;
1444
+ border-radius: 0;
 
 
 
 
1445
 
1446
+ .ui-button{
1447
+ display: flex;
1448
+ flex-direction: column;
1449
+ justify-content: center;
1450
+ text-align: center;
1451
+ min-width: 20px;
1452
+ padding: 0 4px;
1453
+ margin: 0;
1454
+ color: #555;
1455
+ background-color: #f5f5f5;
1456
+ border: 1px solid #7e8993;
1457
+ }
1458
 
1459
+ .ui-spinner-button{
1460
+ position: relative;
1461
+ cursor: pointer;
1462
+ height: auto;
1463
+
1464
+ &:hover{
1465
+ background-color: #e7e7e7;
1466
+ }
1467
+
1468
+ &:active{
1469
+ background-color: #ddd;
1470
+ }
1471
+
1472
+ &:before{
1473
+ font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
1474
+ font-weight: 900;
1475
+ font-size: 14px;
1476
+ line-height: 14px;
1477
+ }
1478
  }
1479
 
1480
+ .ui-spinner-down{
1481
+ border-right: 0;
1482
+ border-radius: 4px 0 0 4px;
1483
+
1484
+ &:before{
1485
+ content: "\f0d9";
1486
+ }
1487
  }
1488
 
1489
+ .ui-spinner-up{
1490
+ border-left: 0;
1491
+ border-radius: 0 4px 4px 0;
1492
+
1493
+ &:before{
1494
+ content: "\f0da";
1495
+ }
1496
+ }
1497
+
1498
+ .csf--unit{
1499
+ border-left: 0;
1500
+ user-select: none;
1501
+ }
1502
+
1503
+ .ui-button-text,
1504
+ .ui-button-icon,
1505
+ .ui-button-icon-space{
1506
+ display: none;
1507
+ }
1508
+
1509
+ input{
1510
+ font-family: inherit;
1511
+ font-size: inherit;
1512
+ position: relative;
1513
+ z-index: 1;
1514
+ width: 50px;
1515
+ text-align: center;
1516
+ margin: 0;
1517
+ padding: 0 8px;
1518
+ border-radius: 0;
1519
  }
1520
  }
1521
 
1522
  .ui-spinner-down{
1523
  order: 1;
 
 
 
 
 
 
1524
  }
1525
 
1526
  .ui-spinner-input{
1529
 
1530
  .csf--unit{
1531
  order: 3;
 
 
1532
  }
1533
 
1534
  .ui-spinner-up{
1535
  order: 4;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1536
  }
1537
  }
1538
 
1539
  /**
1540
+ * 03. 28. Field: switcher
1541
  */
1542
  .csf-field-switcher{
1543
 
1619
  }
1620
 
1621
  /**
1622
+ * 03. 29. Field: tabbed
1623
  */
1624
  .csf-field-tabbed{
1625
 
1671
  }
1672
 
1673
  /**
1674
+ * 03. 30. Field: text
1675
  */
1676
  .csf-field-text{
1677
 
1683
  }
1684
 
1685
  /**
1686
+ * 03. 31. Field: textarea
1687
  */
1688
  .csf-field-textarea{
1689
 
1700
  }
1701
 
1702
  /**
1703
+ * 03. 32. Field: typography
1704
  */
1705
  .csf-field-typography{
1706
 
1799
  }
1800
 
1801
  /**
1802
+ * 03. 33. Field: upload
1803
  */
1804
  .csf-field-upload{
1805
 
1823
  }
1824
 
1825
  /**
1826
+ * 03. 34. Field: wp_editor
1827
  */
1828
  .csf-field-wp_editor{
1829
 
1880
  }
1881
 
1882
  /**
1883
+ * 03. 35. Field: heading
1884
  */
1885
  .csf-field-heading{
1886
  font-size: 1.5em;
1890
  }
1891
 
1892
  /**
1893
+ * 03. 36. Field: subheading
1894
  */
1895
  .csf-field-subheading{
1896
  font-size: 14px;
1902
  }
1903
 
1904
  /**
1905
+ * 03. 37. Field: submessage
1906
  */
1907
  .csf-field-submessage{
1908
  padding: 0 !important;
1951
  }
1952
 
1953
  /**
1954
+ * 03. 38. Field: notice
1955
  */
1956
  .csf-field-notice{
1957
  background-color: #f7f7f7;
1986
  }
1987
 
1988
  /**
1989
+ * 03. 39. Field: number
1990
  */
1991
  .csf-field-number{
1992
 
2021
  }
2022
 
2023
  /**
2024
+ * 03. 40. Field: link
2025
  */
2026
  .csf-field-link{
2027
 
2064
  }
2065
 
2066
  /**
2067
+ * 03. 41. others
2068
  */
2069
  .csf-help{
2070
  cursor: help;
admin/settings/assets/scss/partials/_flatpickr.scss ADDED
@@ -0,0 +1,794 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Flatpickr
3
+ */
4
+ .flatpickr-calendar {
5
+ background: transparent;
6
+ opacity: 0;
7
+ display: none;
8
+ text-align: center;
9
+ visibility: hidden;
10
+ padding: 0;
11
+ -webkit-animation: none;
12
+ animation: none;
13
+ direction: ltr;
14
+ border: 0;
15
+ font-size: 14px;
16
+ line-height: 24px;
17
+ border-radius: 5px;
18
+ position: absolute;
19
+ width: 307.875px;
20
+ -webkit-box-sizing: border-box;
21
+ box-sizing: border-box;
22
+ -ms-touch-action: manipulation;
23
+ touch-action: manipulation;
24
+ background: #fff;
25
+ -webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08);
26
+ box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08);
27
+ }
28
+ .flatpickr-calendar.open,
29
+ .flatpickr-calendar.inline {
30
+ opacity: 1;
31
+ max-height: 640px;
32
+ visibility: visible;
33
+ }
34
+ .flatpickr-calendar.open {
35
+ display: inline-block;
36
+ z-index: 99999;
37
+ }
38
+ .flatpickr-calendar.animate.open {
39
+ -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
40
+ animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
41
+ }
42
+ .flatpickr-calendar.inline {
43
+ display: block;
44
+ position: relative;
45
+ top: 2px;
46
+ }
47
+ .flatpickr-calendar.static {
48
+ position: absolute;
49
+ top: calc(100% + 2px);
50
+ }
51
+ .flatpickr-calendar.static.open {
52
+ z-index: 999;
53
+ display: block;
54
+ }
55
+ .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
56
+ -webkit-box-shadow: none !important;
57
+ box-shadow: none !important;
58
+ }
59
+ .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
60
+ -webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
61
+ box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
62
+ }
63
+ .flatpickr-calendar .hasWeeks .dayContainer,
64
+ .flatpickr-calendar .hasTime .dayContainer {
65
+ border-bottom: 0;
66
+ border-bottom-right-radius: 0;
67
+ border-bottom-left-radius: 0;
68
+ }
69
+ .flatpickr-calendar .hasWeeks .dayContainer {
70
+ border-left: 0;
71
+ }
72
+ .flatpickr-calendar.hasTime .flatpickr-time {
73
+ height: 40px;
74
+ border-top: 1px solid #e6e6e6;
75
+ }
76
+ .flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
77
+ height: auto;
78
+ }
79
+ .flatpickr-calendar:before,
80
+ .flatpickr-calendar:after {
81
+ position: absolute;
82
+ display: block;
83
+ pointer-events: none;
84
+ border: solid transparent;
85
+ content: '';
86
+ height: 0;
87
+ width: 0;
88
+ left: 22px;
89
+ }
90
+ .flatpickr-calendar.rightMost:before,
91
+ .flatpickr-calendar.arrowRight:before,
92
+ .flatpickr-calendar.rightMost:after,
93
+ .flatpickr-calendar.arrowRight:after {
94
+ left: auto;
95
+ right: 22px;
96
+ }
97
+ .flatpickr-calendar.arrowCenter:before,
98
+ .flatpickr-calendar.arrowCenter:after {
99
+ left: 50%;
100
+ right: 50%;
101
+ }
102
+ .flatpickr-calendar:before {
103
+ border-width: 5px;
104
+ margin: 0 -5px;
105
+ }
106
+ .flatpickr-calendar:after {
107
+ border-width: 4px;
108
+ margin: 0 -4px;
109
+ }
110
+ .flatpickr-calendar.arrowTop:before,
111
+ .flatpickr-calendar.arrowTop:after {
112
+ bottom: 100%;
113
+ }
114
+ .flatpickr-calendar.arrowTop:before {
115
+ border-bottom-color: #e6e6e6;
116
+ }
117
+ .flatpickr-calendar.arrowTop:after {
118
+ border-bottom-color: #fff;
119
+ }
120
+ .flatpickr-calendar.arrowBottom:before,
121
+ .flatpickr-calendar.arrowBottom:after {
122
+ top: 100%;
123
+ }
124
+ .flatpickr-calendar.arrowBottom:before {
125
+ border-top-color: #e6e6e6;
126
+ }
127
+ .flatpickr-calendar.arrowBottom:after {
128
+ border-top-color: #fff;
129
+ }
130
+ .flatpickr-calendar:focus {
131
+ outline: 0;
132
+ }
133
+ .flatpickr-wrapper {
134
+ position: relative;
135
+ display: inline-block;
136
+ }
137
+ .flatpickr-months {
138
+ display: -webkit-box;
139
+ display: -webkit-flex;
140
+ display: -ms-flexbox;
141
+ display: flex;
142
+ }
143
+ .flatpickr-months .flatpickr-month {
144
+ background: transparent;
145
+ color: rgba(0,0,0,0.9);
146
+ fill: rgba(0,0,0,0.9);
147
+ height: 34px;
148
+ line-height: 1;
149
+ text-align: center;
150
+ position: relative;
151
+ -webkit-user-select: none;
152
+ -moz-user-select: none;
153
+ -ms-user-select: none;
154
+ user-select: none;
155
+ overflow: hidden;
156
+ -webkit-box-flex: 1;
157
+ -webkit-flex: 1;
158
+ -ms-flex: 1;
159
+ flex: 1;
160
+ }
161
+ .flatpickr-months .flatpickr-prev-month,
162
+ .flatpickr-months .flatpickr-next-month {
163
+ text-decoration: none;
164
+ cursor: pointer;
165
+ position: absolute;
166
+ top: 0;
167
+ height: 34px;
168
+ padding: 10px;
169
+ z-index: 3;
170
+ color: rgba(0,0,0,0.9);
171
+ fill: rgba(0,0,0,0.9);
172
+ }
173
+ .flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
174
+ .flatpickr-months .flatpickr-next-month.flatpickr-disabled {
175
+ display: none;
176
+ }
177
+ .flatpickr-months .flatpickr-prev-month i,
178
+ .flatpickr-months .flatpickr-next-month i {
179
+ position: relative;
180
+ }
181
+ .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
182
+ .flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
183
+ /*
184
+ /*rtl:begin:ignore*/
185
+ /*
186
+ */
187
+ left: 0;
188
+ /*
189
+ /*rtl:end:ignore*/
190
+ /*
191
+ */
192
+ }
193
+ /*
194
+ /*rtl:begin:ignore*/
195
+ /*
196
+ /*rtl:end:ignore*/
197
+ .flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
198
+ .flatpickr-months .flatpickr-next-month.flatpickr-next-month {
199
+ /*
200
+ /*rtl:begin:ignore*/
201
+ /*
202
+ */
203
+ right: 0;
204
+ /*
205
+ /*rtl:end:ignore*/
206
+ /*
207
+ */
208
+ }
209
+ /*
210
+ /*rtl:begin:ignore*/
211
+ /*
212
+ /*rtl:end:ignore*/
213
+ .flatpickr-months .flatpickr-prev-month:hover,
214
+ .flatpickr-months .flatpickr-next-month:hover {
215
+ color: #959ea9;
216
+ }
217
+ .flatpickr-months .flatpickr-prev-month:hover svg,
218
+ .flatpickr-months .flatpickr-next-month:hover svg {
219
+ fill: #f64747;
220
+ }
221
+ .flatpickr-months .flatpickr-prev-month svg,
222
+ .flatpickr-months .flatpickr-next-month svg {
223
+ width: 14px;
224
+ height: 14px;
225
+ }
226
+ .flatpickr-months .flatpickr-prev-month svg path,
227
+ .flatpickr-months .flatpickr-next-month svg path {
228
+ -webkit-transition: fill 0.1s;
229
+ transition: fill 0.1s;
230
+ fill: inherit;
231
+ }
232
+ .numInputWrapper {
233
+ position: relative;
234
+ height: auto;
235
+ }
236
+ .numInputWrapper input,
237
+ .numInputWrapper span {
238
+ display: inline-block;
239
+ }
240
+ .numInputWrapper input {
241
+ width: 100%;
242
+ }
243
+ .numInputWrapper input::-ms-clear {
244
+ display: none;
245
+ }
246
+ .numInputWrapper input::-webkit-outer-spin-button,
247
+ .numInputWrapper input::-webkit-inner-spin-button {
248
+ margin: 0;
249
+ -webkit-appearance: none;
250
+ }
251
+ .numInputWrapper span {
252
+ position: absolute;
253
+ right: 0;
254
+ width: 14px;
255
+ padding: 0 4px 0 2px;
256
+ height: 50%;
257
+ line-height: 50%;
258
+ opacity: 0;
259
+ cursor: pointer;
260
+ border: 1px solid rgba(57,57,57,0.15);
261
+ -webkit-box-sizing: border-box;
262
+ box-sizing: border-box;
263
+ }
264
+ .numInputWrapper span:hover {
265
+ background: rgba(0,0,0,0.1);
266
+ }
267
+ .numInputWrapper span:active {
268
+ background: rgba(0,0,0,0.2);
269
+ }
270
+ .numInputWrapper span:after {
271
+ display: block;
272
+ content: "";
273
+ position: absolute;
274
+ }
275
+ .numInputWrapper span.arrowUp {
276
+ top: 0;
277
+ border-bottom: 0;
278
+ }
279
+ .numInputWrapper span.arrowUp:after {
280
+ border-left: 4px solid transparent;
281
+ border-right: 4px solid transparent;
282
+ border-bottom: 4px solid rgba(57,57,57,0.6);
283
+ top: 26%;
284
+ }
285
+ .numInputWrapper span.arrowDown {
286
+ top: 50%;
287
+ }
288
+ .numInputWrapper span.arrowDown:after {
289
+ border-left: 4px solid transparent;
290
+ border-right: 4px solid transparent;
291
+ border-top: 4px solid rgba(57,57,57,0.6);
292
+ top: 40%;
293
+ }
294
+ .numInputWrapper span svg {
295
+ width: inherit;
296
+ height: auto;
297
+ }
298
+ .numInputWrapper span svg path {
299
+ fill: rgba(0,0,0,0.5);
300
+ }
301
+ .numInputWrapper:hover {
302
+ background: rgba(0,0,0,0.05);
303
+ }
304
+ .numInputWrapper:hover span {
305
+ opacity: 1;
306
+ }
307
+ .flatpickr-current-month {
308
+ font-size: 135%;
309
+ line-height: inherit;
310
+ font-weight: 300;
311
+ color: inherit;
312
+ position: absolute;
313
+ width: 75%;
314
+ left: 12.5%;
315
+ padding: 7.48px 0 0 0;
316
+ line-height: 1;
317
+ height: 34px;
318
+ display: inline-block;
319
+ text-align: center;
320
+ -webkit-transform: translate3d(0px, 0px, 0px);
321
+ transform: translate3d(0px, 0px, 0px);
322
+ }
323
+ .flatpickr-current-month span.cur-month {
324
+ font-family: inherit;
325
+ font-weight: 700;
326
+ color: inherit;
327
+ display: inline-block;
328
+ margin-left: 0.5ch;
329
+ padding: 0;
330
+ }
331
+ .flatpickr-current-month span.cur-month:hover {
332
+ background: rgba(0,0,0,0.05);
333
+ }
334
+ .flatpickr-current-month .numInputWrapper {
335
+ width: 6ch;
336
+ width: 7ch\0;
337
+ display: inline-block;
338
+ }
339
+ .flatpickr-current-month .numInputWrapper span.arrowUp:after {
340
+ border-bottom-color: rgba(0,0,0,0.9);
341
+ }
342
+ .flatpickr-current-month .numInputWrapper span.arrowDown:after {
343
+ border-top-color: rgba(0,0,0,0.9);
344
+ }
345
+ .flatpickr-current-month input.cur-year {
346
+ background: transparent;
347
+ -webkit-box-sizing: border-box;
348
+ box-sizing: border-box;
349
+ color: inherit;
350
+ cursor: text;
351
+ padding: 0 0 0 0.5ch;
352
+ margin: 0;
353
+ display: inline-block;
354
+ font-size: inherit;
355
+ font-family: inherit;
356
+ font-weight: 300;
357
+ line-height: inherit;
358
+ height: auto;
359
+ border: 0;
360
+ border-radius: 0;
361
+ vertical-align: initial;
362
+ -webkit-appearance: textfield;
363
+ -moz-appearance: textfield;
364
+ appearance: textfield;
365
+ }
366
+ .flatpickr-current-month input.cur-year:focus {
367
+ outline: 0;
368
+ }
369
+ .flatpickr-current-month input.cur-year[disabled],
370
+ .flatpickr-current-month input.cur-year[disabled]:hover {
371
+ font-size: 100%;
372
+ color: rgba(0,0,0,0.5);
373
+ background: transparent;
374
+ pointer-events: none;
375
+ }
376
+ .flatpickr-current-month .flatpickr-monthDropdown-months {
377
+ appearance: menulist;
378
+ background: transparent;
379
+ border: none;
380
+ border-radius: 0;
381
+ box-sizing: border-box;
382
+ color: inherit;
383
+ cursor: pointer;
384
+ font-size: inherit;
385
+ font-family: inherit;
386
+ font-weight: 300;
387
+ height: auto;
388
+ line-height: inherit;
389
+ margin: -1px 0 0 0;
390
+ outline: none;
391
+ padding: 0 0 0 0.5ch;
392
+ position: relative;
393
+ vertical-align: initial;
394
+ -webkit-box-sizing: border-box;
395
+ -webkit-appearance: menulist;
396
+ -moz-appearance: menulist;
397
+ width: auto;
398
+ }
399
+ .flatpickr-current-month .flatpickr-monthDropdown-months:focus,
400
+ .flatpickr-current-month .flatpickr-monthDropdown-months:active {
401
+ outline: none;
402
+ }
403
+ .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
404
+ background: rgba(0,0,0,0.05);
405
+ }
406
+ .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
407
+ background-color: transparent;
408
+ outline: none;
409
+ padding: 0;
410
+ }
411
+ .flatpickr-weekdays {
412
+ background: transparent;
413
+ text-align: center;
414
+ overflow: hidden;
415
+ width: 100%;
416
+ display: -webkit-box;
417
+ display: -webkit-flex;
418
+ display: -ms-flexbox;
419
+ display: flex;
420
+ -webkit-box-align: center;
421
+ -webkit-align-items: center;
422
+ -ms-flex-align: center;
423
+ align-items: center;
424
+ height: 28px;
425
+ }
426
+ .flatpickr-weekdays .flatpickr-weekdaycontainer {
427
+ display: -webkit-box;
428
+ display: -webkit-flex;
429
+ display: -ms-flexbox;
430
+ display: flex;
431
+ -webkit-box-flex: 1;
432
+ -webkit-flex: 1;
433
+ -ms-flex: 1;
434
+ flex: 1;
435
+ }
436
+ span.flatpickr-weekday {
437
+ cursor: default;
438
+ font-size: 90%;
439
+ background: transparent;
440
+ color: rgba(0,0,0,0.54);
441
+ line-height: 1;
442
+ margin: 0;
443
+ text-align: center;
444
+ display: block;
445
+ -webkit-box-flex: 1;
446
+ -webkit-flex: 1;
447
+ -ms-flex: 1;
448
+ flex: 1;
449
+ font-weight: bolder;
450
+ }
451
+ .dayContainer,
452
+ .flatpickr-weeks {
453
+ padding: 1px 0 0 0;
454
+ }
455
+ .flatpickr-days {
456
+ position: relative;
457
+ overflow: hidden;
458
+ display: -webkit-box;
459
+ display: -webkit-flex;
460
+ display: -ms-flexbox;
461
+ display: flex;
462
+ -webkit-box-align: start;
463
+ -webkit-align-items: flex-start;
464
+ -ms-flex-align: start;
465
+ align-items: flex-start;
466
+ width: 307.875px;
467
+ }
468
+ .flatpickr-days:focus {
469
+ outline: 0;
470
+ }
471
+ .dayContainer {
472
+ padding: 0;
473
+ outline: 0;
474
+ text-align: left;
475
+ width: 307.875px;
476
+ min-width: 307.875px;
477
+ max-width: 307.875px;
478
+ -webkit-box-sizing: border-box;
479
+ box-sizing: border-box;
480
+ display: inline-block;
481
+ display: -ms-flexbox;
482
+ display: -webkit-box;
483
+ display: -webkit-flex;
484
+ display: flex;
485
+ -webkit-flex-wrap: wrap;
486
+ flex-wrap: wrap;
487
+ -ms-flex-wrap: wrap;
488
+ -ms-flex-pack: justify;
489
+ -webkit-justify-content: space-around;
490
+ justify-content: space-around;
491
+ -webkit-transform: translate3d(0px, 0px, 0px);
492
+ transform: translate3d(0px, 0px, 0px);
493
+ opacity: 1;
494
+ }
495
+ .dayContainer + .dayContainer {
496
+ -webkit-box-shadow: -1px 0 0 #e6e6e6;
497
+ box-shadow: -1px 0 0 #e6e6e6;
498
+ }
499
+ .flatpickr-day {
500
+ background: none;
501
+ border: 1px solid transparent;
502
+ border-radius: 150px;
503
+ -webkit-box-sizing: border-box;
504
+ box-sizing: border-box;
505
+ color: #393939;
506
+ cursor: pointer;
507
+ font-weight: 400;
508
+ width: 14.2857143%;
509
+ -webkit-flex-basis: 14.2857143%;
510
+ -ms-flex-preferred-size: 14.2857143%;
511
+ flex-basis: 14.2857143%;
512
+ max-width: 39px;
513
+ height: 39px;
514
+ line-height: 39px;
515
+ margin: 0;
516
+ display: inline-block;
517
+ position: relative;
518
+ -webkit-box-pack: center;
519
+ -webkit-justify-content: center;
520
+ -ms-flex-pack: center;
521
+ justify-content: center;
522
+ text-align: center;
523
+ }
524
+ .flatpickr-day.inRange,
525
+ .flatpickr-day.prevMonthDay.inRange,
526
+ .flatpickr-day.nextMonthDay.inRange,
527
+ .flatpickr-day.today.inRange,
528
+ .flatpickr-day.prevMonthDay.today.inRange,
529
+ .flatpickr-day.nextMonthDay.today.inRange,
530
+ .flatpickr-day:hover,
531
+ .flatpickr-day.prevMonthDay:hover,
532
+ .flatpickr-day.nextMonthDay:hover,
533
+ .flatpickr-day:focus,
534
+ .flatpickr-day.prevMonthDay:focus,
535
+ .flatpickr-day.nextMonthDay:focus {
536
+ cursor: pointer;
537
+ outline: 0;
538
+ background: #e6e6e6;
539
+ border-color: #e6e6e6;
540
+ }
541
+ .flatpickr-day.today {
542
+ border-color: #959ea9;
543
+ }
544
+ .flatpickr-day.today:hover,
545
+ .flatpickr-day.today:focus {
546
+ border-color: #959ea9;
547
+ background: #959ea9;
548
+ color: #fff;
549
+ }
550
+ .flatpickr-day.selected,
551
+ .flatpickr-day.startRange,
552
+ .flatpickr-day.endRange,
553
+ .flatpickr-day.selected.inRange,
554
+ .flatpickr-day.startRange.inRange,
555
+ .flatpickr-day.endRange.inRange,
556
+ .flatpickr-day.selected:focus,
557
+ .flatpickr-day.startRange:focus,
558
+ .flatpickr-day.endRange:focus,
559
+ .flatpickr-day.selected:hover,
560
+ .flatpickr-day.startRange:hover,
561
+ .flatpickr-day.endRange:hover,
562
+ .flatpickr-day.selected.prevMonthDay,
563
+ .flatpickr-day.startRange.prevMonthDay,
564
+ .flatpickr-day.endRange.prevMonthDay,
565
+ .flatpickr-day.selected.nextMonthDay,
566
+ .flatpickr-day.startRange.nextMonthDay,
567
+ .flatpickr-day.endRange.nextMonthDay {
568
+ background: #569ff7;
569
+ -webkit-box-shadow: none;
570
+ box-shadow: none;
571
+ color: #fff;
572
+ border-color: #569ff7;
573
+ }
574
+ .flatpickr-day.selected.startRange,
575
+ .flatpickr-day.startRange.startRange,
576
+ .flatpickr-day.endRange.startRange {
577
+ border-radius: 50px 0 0 50px;
578
+ }
579
+ .flatpickr-day.selected.endRange,
580
+ .flatpickr-day.startRange.endRange,
581
+ .flatpickr-day.endRange.endRange {
582
+ border-radius: 0 50px 50px 0;
583
+ }
584
+ .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
585
+ .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
586
+ .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
587
+ -webkit-box-shadow: -10px 0 0 #569ff7;
588
+ box-shadow: -10px 0 0 #569ff7;
589
+ }
590
+ .flatpickr-day.selected.startRange.endRange,
591
+ .flatpickr-day.startRange.startRange.endRange,
592
+ .flatpickr-day.endRange.startRange.endRange {
593
+ border-radius: 50px;
594
+ }
595
+ .flatpickr-day.inRange {
596
+ border-radius: 0;
597
+ -webkit-box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
598
+ box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
599
+ }
600
+ .flatpickr-day.flatpickr-disabled,
601
+ .flatpickr-day.flatpickr-disabled:hover,
602
+ .flatpickr-day.prevMonthDay,
603
+ .flatpickr-day.nextMonthDay,
604
+ .flatpickr-day.notAllowed,
605
+ .flatpickr-day.notAllowed.prevMonthDay,
606
+ .flatpickr-day.notAllowed.nextMonthDay {
607
+ color: rgba(57,57,57,0.3);
608
+ background: transparent;
609
+ border-color: transparent;
610
+ cursor: default;
611
+ }
612
+ .flatpickr-day.flatpickr-disabled,
613
+ .flatpickr-day.flatpickr-disabled:hover {
614
+ cursor: not-allowed;
615
+ color: rgba(57,57,57,0.1);
616
+ }
617
+ .flatpickr-day.week.selected {
618
+ border-radius: 0;
619
+ -webkit-box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
620
+ box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
621
+ }
622
+ .flatpickr-day.hidden {
623
+ visibility: hidden;
624
+ }
625
+ .rangeMode .flatpickr-day {
626
+ margin-top: 1px;
627
+ }
628
+ .flatpickr-weekwrapper {
629
+ float: left;
630
+ }
631
+ .flatpickr-weekwrapper .flatpickr-weeks {
632
+ padding: 0 12px;
633
+ -webkit-box-shadow: 1px 0 0 #e6e6e6;
634
+ box-shadow: 1px 0 0 #e6e6e6;
635
+ }
636
+ .flatpickr-weekwrapper .flatpickr-weekday {
637
+ float: none;
638
+ width: 100%;
639
+ line-height: 28px;
640
+ }
641
+ .flatpickr-weekwrapper span.flatpickr-day,
642
+ .flatpickr-weekwrapper span.flatpickr-day:hover {
643
+ display: block;
644
+ width: 100%;
645
+ max-width: none;
646
+ color: rgba(57,57,57,0.3);
647
+ background: transparent;
648
+ cursor: default;
649
+ border: none;
650
+ }
651
+ .flatpickr-innerContainer {
652
+ display: block;
653
+ display: -webkit-box;
654
+ display: -webkit-flex;
655
+ display: -ms-flexbox;
656
+ display: flex;
657
+ -webkit-box-sizing: border-box;
658
+ box-sizing: border-box;
659
+ overflow: hidden;
660
+ }
661
+ .flatpickr-rContainer {
662
+ display: inline-block;
663
+ padding: 0;
664
+ -webkit-box-sizing: border-box;
665
+ box-sizing: border-box;
666
+ }
667
+ .flatpickr-time {
668
+ text-align: center;
669
+ outline: 0;
670
+ display: block;
671
+ height: 0;
672
+ line-height: 40px;
673
+ max-height: 40px;
674
+ -webkit-box-sizing: border-box;
675
+ box-sizing: border-box;
676
+ overflow: hidden;
677
+ display: -webkit-box;
678
+ display: -webkit-flex;
679
+ display: -ms-flexbox;
680
+ display: flex;
681
+ }
682
+ .flatpickr-time:after {
683
+ content: "";
684
+ display: table;
685
+ clear: both;
686
+ }
687
+ .flatpickr-time .numInputWrapper {
688
+ -webkit-box-flex: 1;
689
+ -webkit-flex: 1;
690
+ -ms-flex: 1;
691
+ flex: 1;
692
+ width: 40%;
693
+ height: 40px;
694
+ float: left;
695
+ }
696
+ .flatpickr-time .numInputWrapper span.arrowUp:after {
697
+ border-bottom-color: #393939;
698
+ }
699
+ .flatpickr-time .numInputWrapper span.arrowDown:after {
700
+ border-top-color: #393939;
701
+ }
702
+ .flatpickr-time.hasSeconds .numInputWrapper {
703
+ width: 26%;
704
+ }
705
+ .flatpickr-time.time24hr .numInputWrapper {
706
+ width: 49%;
707
+ }
708
+ .flatpickr-time input {
709
+ background: transparent;
710
+ -webkit-box-shadow: none;
711
+ box-shadow: none;
712
+ border: 0;
713
+ border-radius: 0;
714
+ text-align: center;
715
+ margin: 0;
716
+ padding: 0;
717
+ height: inherit;
718
+ line-height: inherit;
719
+ color: #393939;
720
+ font-size: 14px;
721
+ position: relative;
722
+ -webkit-box-sizing: border-box;
723
+ box-sizing: border-box;
724
+ -webkit-appearance: textfield;
725
+ -moz-appearance: textfield;
726
+ appearance: textfield;
727
+ }
728
+ .flatpickr-time input.flatpickr-hour {
729
+ font-weight: bold;
730
+ }
731
+ .flatpickr-time input.flatpickr-minute,
732
+ .flatpickr-time input.flatpickr-second {
733
+ font-weight: 400;
734
+ }
735
+ .flatpickr-time input:focus {
736
+ outline: 0;
737
+ border: 0;
738
+ }
739
+ .flatpickr-time .flatpickr-time-separator,
740
+ .flatpickr-time .flatpickr-am-pm {
741
+ height: inherit;
742
+ float: left;
743
+ line-height: inherit;
744
+ color: #393939;
745
+ font-weight: bold;
746
+ width: 2%;
747
+ -webkit-user-select: none;
748
+ -moz-user-select: none;
749
+ -ms-user-select: none;
750
+ user-select: none;
751
+ -webkit-align-self: center;
752
+ -ms-flex-item-align: center;
753
+ align-self: center;
754
+ }
755
+ .flatpickr-time .flatpickr-am-pm {
756
+ outline: 0;
757
+ width: 18%;
758
+ cursor: pointer;
759
+ text-align: center;
760
+ font-weight: 400;
761
+ }
762
+ .flatpickr-time input:hover,
763
+ .flatpickr-time .flatpickr-am-pm:hover,
764
+ .flatpickr-time input:focus,
765
+ .flatpickr-time .flatpickr-am-pm:focus {
766
+ background: #eee;
767
+ }
768
+ .flatpickr-input[readonly] {
769
+ cursor: pointer;
770
+ }
771
+ @-webkit-keyframes fpFadeInDown {
772
+ from {
773
+ opacity: 0;
774
+ -webkit-transform: translate3d(0, -20px, 0);
775
+ transform: translate3d(0, -20px, 0);
776
+ }
777
+ to {
778
+ opacity: 1;
779
+ -webkit-transform: translate3d(0, 0, 0);
780
+ transform: translate3d(0, 0, 0);
781
+ }
782
+ }
783
+ @keyframes fpFadeInDown {
784
+ from {
785
+ opacity: 0;
786
+ -webkit-transform: translate3d(0, -20px, 0);
787
+ transform: translate3d(0, -20px, 0);
788
+ }
789
+ to {
790
+ opacity: 1;
791
+ -webkit-transform: translate3d(0, 0, 0);
792
+ transform: translate3d(0, 0, 0);
793
+ }
794
+ }
admin/settings/assets/scss/{vendor → partials}/_helper.scss RENAMED
File without changes
admin/settings/assets/scss/{vendor → partials}/_modal.scss RENAMED
File without changes
admin/settings/assets/scss/{vendor → partials}/_navmenu.scss RENAMED
File without changes
admin/settings/assets/scss/{vendor → partials}/_profile.scss RENAMED
File without changes
admin/settings/assets/scss/{vendor → partials}/_responsive.scss RENAMED
@@ -101,39 +101,6 @@
101
  }
102
  }
103
 
104
- .csf-modal-inner{
105
- width: 350px;
106
- height: 400px;
107
- }
108
-
109
- .csf-modal-content{
110
- height: 237px;
111
- }
112
-
113
- .csf-icon-dialog{
114
-
115
- .csf-modal-inner{
116
- width: 305px;
117
- height: 380px;
118
- }
119
-
120
- .csf-modal-content{
121
- height: 267px;
122
- }
123
- }
124
-
125
- .csf-modal-icon{
126
-
127
- .csf-modal-inner{
128
- width: 330px;
129
- height: 385px;
130
- }
131
-
132
- .csf-modal-content{
133
- height: 252px;
134
- }
135
- }
136
-
137
  .csf-profile-options,
138
  .csf-taxonomy-edit-fields{
139
 
@@ -164,3 +131,27 @@
164
  }
165
  }
166
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  }
102
  }
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  .csf-profile-options,
105
  .csf-taxonomy-edit-fields{
106
 
131
  }
132
  }
133
  }
134
+
135
+ @media only screen and (max-width: 782px) {
136
+
137
+ .csf-modal{
138
+
139
+ .csf-modal-inner{
140
+ width: 90%;
141
+ }
142
+ }
143
+ }
144
+
145
+ @media only screen and (max-height: 750px) {
146
+
147
+ .csf-modal{
148
+
149
+ .csf-modal-inner{
150
+ height: auto;
151
+ }
152
+
153
+ .csf-modal-content{
154
+ height: calc(100vh - 200px);
155
+ }
156
+ }
157
+ }
admin/settings/assets/scss/{vendor → partials}/_taxonomy.scss RENAMED
File without changes
admin/settings/assets/scss/{vendor → partials}/_themes.scss RENAMED
File without changes
admin/settings/assets/scss/{vendor → partials}/_welcome.scss RENAMED
File without changes
admin/settings/assets/scss/{vendor → partials}/_widget.scss RENAMED
File without changes
admin/settings/assets/scss/style.scss CHANGED
@@ -35,34 +35,35 @@
35
  * 03. 10. Field: color_group
36
  * 03. 11. Field: fieldset
37
  * 03. 12. Field: date
38
- * 03. 13. Field: gallery
39
- * 03. 14. Field: group
40
- * 03. 15. Field: icon
41
- * 03. 16. Field: image_select
42
- * 03. 17. Field: link_color
43
- * 03. 18. Field: map
44
- * 03. 19. Field: media
45
- * 03. 20. Field: palette
46
- * 03. 21. Field: repeater
47
- * 03. 22. Field: select
48
- * 03. 23. Field: slider
49
- * 03. 24. Field: sortable
50
- * 03. 25. Field: sorter
51
- * 03. 26. Field: spinner
52
- * 03. 27. Field: switcher
53
- * 03. 28. Field: tabbed
54
- * 03. 29. Field: text
55
- * 03. 30. Field: textarea
56
- * 03. 31. Field: typography
57
- * 03. 32. Field: upload
58
- * 03. 33. Field: wp_editor
59
- * 03. 34. Field: heading
60
- * 03. 35. Field: subheading
61
- * 03. 36. Field: submessage
62
- * 03. 37. Field: notice
63
- * 03. 38. Field: number
64
- * 03. 39. Field: link
65
- * 03. 40. Field: others
 
66
  * 04. Widget
67
  * 05. Customizer
68
  * 06. Taxonomy
@@ -80,16 +81,17 @@
80
  * ---------------------------------------------------------
81
  *
82
  */
83
- @import "vendor/base";
84
- @import "vendor/themes";
85
- @import "vendor/fields";
86
- @import "vendor/widget";
87
- @import "vendor/customizer";
88
- @import "vendor/taxonomy";
89
- @import "vendor/navmenu";
90
- @import "vendor/profile";
91
- @import "vendor/modal";
92
- @import "vendor/helper";
93
- @import "vendor/welcome";
94
- @import "vendor/responsive";
95
- @import "vendor/chosen";
 
35
  * 03. 10. Field: color_group
36
  * 03. 11. Field: fieldset
37
  * 03. 12. Field: date
38
+ * 03. 13. Field: datetime
39
+ * 03. 14. Field: gallery
40
+ * 03. 15. Field: group
41
+ * 03. 16. Field: icon
42
+ * 03. 17. Field: image_select
43
+ * 03. 18. Field: link_color
44
+ * 03. 19. Field: map
45
+ * 03. 20. Field: media
46
+ * 03. 21. Field: palette
47
+ * 03. 22. Field: repeater
48
+ * 03. 23. Field: select
49
+ * 03. 24. Field: slider
50
+ * 03. 25. Field: sortable
51
+ * 03. 26. Field: sorter
52
+ * 03. 27. Field: spinner
53
+ * 03. 28. Field: switcher
54
+ * 03. 29. Field: tabbed
55
+ * 03. 30. Field: text
56
+ * 03. 31. Field: textarea
57
+ * 03. 32. Field: typography
58
+ * 03. 33. Field: upload
59
+ * 03. 34. Field: wp_editor
60
+ * 03. 35. Field: heading
61
+ * 03. 36. Field: subheading
62
+ * 03. 37. Field: submessage
63
+ * 03. 38. Field: notice
64
+ * 03. 39. Field: number
65
+ * 03. 40. Field: link
66
+ * 03. 41. Field: others
67
  * 04. Widget
68
  * 05. Customizer
69
  * 06. Taxonomy
81
  * ---------------------------------------------------------
82
  *
83
  */
84
+ @import "partials/base";
85
+ @import "partials/themes";
86
+ @import "partials/fields";
87
+ @import "partials/widget";
88
+ @import "partials/customizer";
89
+ @import "partials/taxonomy";
90
+ @import "partials/navmenu";
91
+ @import "partials/profile";
92
+ @import "partials/modal";
93
+ @import "partials/helper";
94
+ @import "partials/welcome";
95
+ @import "partials/responsive";
96
+ @import "partials/chosen";
97
+ @import "partials/flatpickr";
admin/settings/classes/admin-options.class.php CHANGED
@@ -186,7 +186,11 @@ if ( ! class_exists( 'ULF_Options' ) ) {
186
  // add admin bar menu
187
  public function add_admin_bar_menu( $wp_admin_bar ) {
188
 
189
- if( is_network_admin() && ( $this->args['database'] !== 'network' || $this->args['show_in_network'] !== true ) ) {
 
 
 
 
190
  return;
191
  }
192
 
186
  // add admin bar menu
187
  public function add_admin_bar_menu( $wp_admin_bar ) {
188
 
189
+ if ( ! current_user_can( $this->args['menu_capability'] ) ) {
190
+ return;
191
+ }
192
+
193
+ if ( is_network_admin() && ( $this->args['database'] !== 'network' || $this->args['show_in_network'] !== true ) ) {
194
  return;
195
  }
196
 
admin/settings/classes/setup.class.php CHANGED
@@ -12,7 +12,7 @@ if ( ! class_exists( 'ULF' ) ) {
12
 
13
  // Default constants
14
  public static $premium = true;
15
- public static $version = '2.2.4';
16
  public static $dir = '';
17
  public static $url = '';
18
  public static $css = '';
@@ -412,6 +412,7 @@ if ( ! class_exists( 'ULF' ) ) {
412
  'color_group',
413
  'content',
414
  'date',
 
415
  'dimensions',
416
  'fieldset',
417
  'gallery',
@@ -492,63 +493,67 @@ if ( ! class_exists( 'ULF' ) ) {
492
  // Enqueue admin and fields styles and scripts
493
  public static function add_admin_enqueue_scripts() {
494
 
495
- // Loads scripts and styles only when needed
496
- $wpscreen = get_current_screen();
497
 
498
- if ( ! empty( self::$args['admin_options'] ) ) {
499
- foreach ( self::$args['admin_options'] as $argument ) {
500
- if ( substr( $wpscreen->id, -strlen( $argument['menu_slug'] ) ) === $argument['menu_slug'] ) {
501
- self::$enqueue = true;
 
 
 
 
502
  }
503
  }
504
- }
505
 
506
- if ( ! empty( self::$args['metabox_options'] ) ) {
507
- foreach ( self::$args['metabox_options'] as $argument ) {
508
- if ( in_array( $wpscreen->post_type, (array) $argument['post_type'] ) ) {
509
- self::$enqueue = true;
 
510
  }
511
  }
512
- }
513
 
514
- if ( ! empty( self::$args['taxonomy_options'] ) ) {
515
- foreach ( self::$args['taxonomy_options'] as $argument ) {
516
- if ( in_array( $wpscreen->taxonomy, (array) $argument['taxonomy'] ) ) {
517
- self::$enqueue = true;
 
518
  }
519
  }
520
- }
521
 
522
- if ( ! empty( self::$shortcode_instances ) ) {
523
- foreach ( self::$shortcode_instances as $argument ) {
524
- if ( ( $argument['show_in_editor'] && $wpscreen->base === 'post' ) || $argument['show_in_custom'] ) {
525
- self::$enqueue = true;
 
526
  }
527
  }
528
- }
529
 
530
- if ( ! empty( self::$args['widget_options'] ) && ( $wpscreen->id === 'widgets' || $wpscreen->id === 'customize' ) ) {
531
- self::$enqueue = true;
532
- }
533
 
534
- if ( ! empty( self::$args['customize_options'] ) && $wpscreen->id === 'customize' ) {
535
- self::$enqueue = true;
536
- }
537
 
538
- if ( ! empty( self::$args['nav_menu_options'] ) && $wpscreen->id === 'nav-menus' ) {
539
- self::$enqueue = true;
540
- }
541
 
542
- if ( ! empty( self::$args['profile_options'] ) && ( $wpscreen->id === 'profile' || $wpscreen->id === 'user-edit' ) ) {
543
- self::$enqueue = true;
544
- }
545
 
546
- if ( ! empty( self::$args['comment_options'] ) && $wpscreen->id === 'comment' ) {
547
- self::$enqueue = true;
548
- }
 
 
 
 
549
 
550
- if ( $wpscreen->id === 'tools_page_ulf-welcome' ) {
551
- self::$enqueue = true;
552
  }
553
 
554
  if ( ! apply_filters( 'ulf_enqueue_assets', self::$enqueue ) ) {
@@ -782,4 +787,4 @@ if ( ! class_exists( 'ULF' ) ) {
782
 
783
  }
784
 
785
- ULF::init( __FILE__ );
12
 
13
  // Default constants
14
  public static $premium = true;
15
+ public static $version = '2.2.6';
16
  public static $dir = '';
17
  public static $url = '';
18
  public static $css = '';
412
  'color_group',
413
  'content',
414
  'date',
415
+ 'datetime',
416
  'dimensions',
417
  'fieldset',
418
  'gallery',
493
  // Enqueue admin and fields styles and scripts
494
  public static function add_admin_enqueue_scripts() {
495
 
496
+ if ( ! self::$enqueue ) {
 
497
 
498
+ // Loads scripts and styles only when needed
499
+ $wpscreen = get_current_screen();
500
+
501
+ if ( ! empty( self::$args['admin_options'] ) ) {
502
+ foreach ( self::$args['admin_options'] as $argument ) {
503
+ if ( substr( $wpscreen->id, -strlen( $argument['menu_slug'] ) ) === $argument['menu_slug'] ) {
504
+ self::$enqueue = true;
505
+ }
506
  }
507
  }
 
508
 
509
+ if ( ! empty( self::$args['metabox_options'] ) ) {
510
+ foreach ( self::$args['metabox_options'] as $argument ) {
511
+ if ( in_array( $wpscreen->post_type, (array) $argument['post_type'] ) ) {
512
+ self::$enqueue = true;
513
+ }
514
  }
515
  }
 
516
 
517
+ if ( ! empty( self::$args['taxonomy_options'] ) ) {
518
+ foreach ( self::$args['taxonomy_options'] as $argument ) {
519
+ if ( in_array( $wpscreen->taxonomy, (array) $argument['taxonomy'] ) ) {
520
+ self::$enqueue = true;
521
+ }
522
  }
523
  }
 
524
 
525
+ if ( ! empty( self::$shortcode_instances ) ) {
526
+ foreach ( self::$shortcode_instances as $argument ) {
527
+ if ( ( $argument['show_in_editor'] && $wpscreen->base === 'post' ) || $argument['show_in_custom'] ) {
528
+ self::$enqueue = true;
529
+ }
530
  }
531
  }
 
532
 
533
+ if ( ! empty( self::$args['widget_options'] ) && ( $wpscreen->id === 'widgets' || $wpscreen->id === 'customize' ) ) {
534
+ self::$enqueue = true;
535
+ }
536
 
537
+ if ( ! empty( self::$args['customize_options'] ) && $wpscreen->id === 'customize' ) {
538
+ self::$enqueue = true;
539
+ }
540
 
541
+ if ( ! empty( self::$args['nav_menu_options'] ) && $wpscreen->id === 'nav-menus' ) {
542
+ self::$enqueue = true;
543
+ }
544
 
545
+ if ( ! empty( self::$args['profile_options'] ) && ( $wpscreen->id === 'profile' || $wpscreen->id === 'user-edit' ) ) {
546
+ self::$enqueue = true;
547
+ }
548
 
549
+ if ( ! empty( self::$args['comment_options'] ) && $wpscreen->id === 'comment' ) {
550
+ self::$enqueue = true;
551
+ }
552
+
553
+ if ( $wpscreen->id === 'tools_page_ulf-welcome' ) {
554
+ self::$enqueue = true;
555
+ }
556
 
 
 
557
  }
558
 
559
  if ( ! apply_filters( 'ulf_enqueue_assets', self::$enqueue ) ) {
787
 
788
  }
789
 
790
+ ULF::init( __FILE__ );
admin/settings/fields/checkbox/checkbox.php CHANGED
@@ -81,7 +81,7 @@ if ( ! class_exists( 'ULF_Field_checkbox' ) ) {
81
 
82
  echo '<label class="ulf-checkbox">';
83
  echo '<input type="hidden" name="'. esc_attr( $this->field_name() ) .'" value="'. $this->value .'" class="ulf--input"'. $this->field_attributes() .'/>';
84
- echo '<input type="checkbox" name="_pseudo" class="ulf--checkbox"'. esc_attr( checked( $this->value, 1, false ) ) .'/>';
85
  echo ( ! empty( $this->field['label'] ) ) ? '<span class="ulf--text">'. esc_attr( $this->field['label'] ) .'</span>' : '';
86
  echo '</label>';
87
 
81
 
82
  echo '<label class="ulf-checkbox">';
83
  echo '<input type="hidden" name="'. esc_attr( $this->field_name() ) .'" value="'. $this->value .'" class="ulf--input"'. $this->field_attributes() .'/>';
84
+ echo '<input type="checkbox" name="_pseudo" class="ulf--checkbox"'. esc_attr( checked( $this->value, 1, false ) ) . $this->field_attributes() .'/>';
85
  echo ( ! empty( $this->field['label'] ) ) ? '<span class="ulf--text">'. esc_attr( $this->field['label'] ) .'</span>' : '';
86
  echo '</label>';
87
 
admin/settings/fields/code_editor/code_editor.php CHANGED
@@ -10,7 +10,7 @@
10
  if ( ! class_exists( 'ULF_Field_code_editor' ) ) {
11
  class ULF_Field_code_editor extends ULF_Fields {
12
 
13
- public $version = '5.62.2';
14
  public $cdn_url = 'https://cdn.jsdelivr.net/npm/codemirror@';
15
 
16
  public function __construct( $field, $value = '', $unique = '', $where = '', $parent = '' ) {
10
  if ( ! class_exists( 'ULF_Field_code_editor' ) ) {
11
  class ULF_Field_code_editor extends ULF_Fields {
12
 
13
+ public $version = '5.64.0';
14
  public $cdn_url = 'https://cdn.jsdelivr.net/npm/codemirror@';
15
 
16
  public function __construct( $field, $value = '', $unique = '', $where = '', $parent = '' ) {
admin/settings/fields/datetime/datetime.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access directly.
2
+ /**
3
+ *
4
+ * Field: datetime
5
+ *
6
+ * @since 1.0.0
7
+ * @version 1.0.0
8
+ *
9
+ */
10
+ if ( ! class_exists( 'ULF_Field_datetime' ) ) {
11
+ class ULF_Field_datetime extends ULF_Fields {
12
+
13
+ public function __construct( $field, $value = '', $unique = '', $where = '', $parent = '' ) {
14
+ parent::__construct( $field, $value, $unique, $where, $parent );
15
+ }
16
+
17
+ public function render() {
18
+
19
+ $defaults = array(
20
+ 'allowInput' => true,
21
+ );
22
+
23
+ $settings = ( ! empty( $this->field['settings'] ) ) ? $this->field['settings'] : array();
24
+
25
+ if ( ! isset( $settings['noCalendar'] ) ) {
26
+ $defaults['dateFormat'] = 'm/d/Y';
27
+ }
28
+
29
+ $settings = wp_parse_args( $settings, $defaults );
30
+
31
+ echo $this->field_before();
32
+
33
+ if ( ! empty( $this->field['from_to'] ) ) {
34
+
35
+ $args = wp_parse_args( $this->field, array(
36
+ 'text_from' => esc_html__( 'From', 'ulf' ),
37
+ 'text_to' => esc_html__( 'To', 'ulf' ),
38
+ ) );
39
+
40
+ $value = wp_parse_args( $this->value, array(
41
+ 'from' => '',
42
+ 'to' => '',
43
+ ) );
44
+
45
+ echo '<label class="ulf--from">'. esc_attr( $args['text_from'] ) .' <input type="text" name="'. esc_attr( $this->field_name( '[from]' ) ) .'" value="'. esc_attr( $value['from'] ) .'"'. $this->field_attributes() .' data-type="from" /></label>';
46
+ echo '<label class="ulf--to">'. esc_attr( $args['text_to'] ) .' <input type="text" name="'. esc_attr( $this->field_name( '[to]' ) ) .'" value="'. esc_attr( $value['to'] ) .'"'. $this->field_attributes() .' data-type="to" /></label>';
47
+
48
+ } else {
49
+
50
+ echo '<input type="text" name="'. esc_attr( $this->field_name() ) .'" value="'. esc_attr( $this->value ) .'"'. $this->field_attributes() .'/>';
51
+
52
+ }
53
+
54
+ echo '<div class="ulf-datetime-settings" data-settings="'. esc_attr( json_encode( $settings ) ) .'"></div>';
55
+
56
+ echo $this->field_after();
57
+
58
+ }
59
+
60
+ }
61
+ }
admin/settings/fields/typography/google-fonts.php CHANGED
@@ -28,17 +28,19 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
28
  'Aleo'=>[['300','300italic','normal','italic','700','700italic'],['latin','latin-ext']],
29
  'Alex Brush'=>[['normal'],['latin','latin-ext','vietnamese']],
30
  'Alfa Slab One'=>[['normal'],['latin','latin-ext','vietnamese']],
31
- 'Alice'=>[['normal'],['cyrillic','cyrillic-ext','latin']],
32
  'Alike'=>[['normal'],['latin']],
33
  'Alike Angular'=>[['normal'],['latin']],
34
  'Allan'=>[['normal','700'],['latin','latin-ext']],
35
  'Allerta'=>[['normal'],['latin']],
36
  'Allerta Stencil'=>[['normal'],['latin']],
37
- 'Allura'=>[['normal'],['latin','latin-ext']],
 
38
  'Almarai'=>[['300','normal','700','800'],['arabic']],
39
  'Almendra'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
40
  'Almendra Display'=>[['normal'],['latin','latin-ext']],
41
  'Almendra SC'=>[['normal'],['latin']],
 
42
  'Amarante'=>[['normal'],['latin','latin-ext']],
43
  'Amaranth'=>[['normal','italic','700','700italic'],['latin']],
44
  'Amatic SC'=>[['normal','700'],['cyrillic','hebrew','latin','latin-ext','vietnamese']],
@@ -47,11 +49,10 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
47
  'Amiri'=>[['normal','italic','700','700italic'],['arabic','latin','latin-ext']],
48
  'Amita'=>[['normal','700'],['devanagari','latin','latin-ext']],
49
  'Anaheim'=>[['normal'],['latin','latin-ext']],
50
- 'Andada'=>[['normal'],['latin','latin-ext']],
51
  'Andada Pro'=>[['normal','500','600','700','800','italic','500italic','600italic','700italic','800italic'],['latin','latin-ext','vietnamese']],
52
  'Andika'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
53
  'Andika New Basic'=>[['normal','italic','700','700italic'],['latin','latin-ext','vietnamese']],
54
- 'Angkor'=>[['normal'],['khmer']],
55
  'Annie Use Your Telescope'=>[['normal'],['latin']],
56
  'Anonymous Pro'=>[['normal','italic','700','700italic'],['cyrillic','greek','latin','latin-ext']],
57
  'Antic'=>[['normal'],['latin']],
@@ -65,7 +66,8 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
65
  'Architects Daughter'=>[['normal'],['latin']],
66
  'Archivo'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
67
  'Archivo Black'=>[['normal'],['latin','latin-ext']],
68
- 'Archivo Narrow'=>[['normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','vietnamese']],
 
69
  'Aref Ruqaa'=>[['normal','700'],['arabic','latin','latin-ext']],
70
  'Arima Madurai'=>[['100','200','300','normal','500','700','800','900'],['latin','latin-ext','tamil','vietnamese']],
71
  'Arimo'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','hebrew','latin','latin-ext','vietnamese']],
@@ -95,15 +97,18 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
95
  'Averia Libre'=>[['300','300italic','normal','italic','700','700italic'],['latin']],
96
  'Averia Sans Libre'=>[['300','300italic','normal','italic','700','700italic'],['latin']],
97
  'Averia Serif Libre'=>[['300','300italic','normal','italic','700','700italic'],['latin']],
 
98
  'B612'=>[['normal','italic','700','700italic'],['latin']],
99
  'B612 Mono'=>[['normal','italic','700','700italic'],['latin']],
100
  'Bad Script'=>[['normal'],['cyrillic','latin']],
101
  'Bahiana'=>[['normal'],['latin','latin-ext']],
102
  'Bahianita'=>[['normal'],['latin','latin-ext','vietnamese']],
103
  'Bai Jamjuree'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
 
104
  'Ballet'=>[['normal'],['latin','latin-ext','vietnamese']],
105
  'Baloo 2'=>[['normal','500','600','700','800'],['devanagari','latin','latin-ext','vietnamese']],
106
  'Baloo Bhai 2'=>[['normal','500','600','700','800'],['gujarati','latin','latin-ext','vietnamese']],
 
107
  'Baloo Bhaina 2'=>[['normal','500','600','700','800'],['latin','latin-ext','oriya','vietnamese']],
108
  'Baloo Chettan 2'=>[['normal','500','600','700','800'],['latin','latin-ext','malayalam','vietnamese']],
109
  'Baloo Da 2'=>[['normal','500','600','700','800'],['bengali','latin','latin-ext','vietnamese']],
@@ -121,10 +126,10 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
121
  'Barrio'=>[['normal'],['latin','latin-ext']],
122
  'Basic'=>[['normal'],['latin','latin-ext']],
123
  'Baskervville'=>[['normal','italic'],['latin','latin-ext']],
124
- 'Battambang'=>[['normal','700'],['khmer']],
125
  'Baumans'=>[['normal'],['latin']],
126
- 'Bayon'=>[['normal'],['khmer']],
127
- 'Be Vietnam'=>[['100','100italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic'],['latin','latin-ext','vietnamese']],
128
  'Bebas Neue'=>[['normal'],['latin','latin-ext']],
129
  'Belgrano'=>[['normal'],['latin']],
130
  'Bellefair'=>[['normal'],['hebrew','latin','latin-ext']],
@@ -135,20 +140,23 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
135
  'Benne'=>[['normal'],['kannada','latin','latin-ext']],
136
  'Bentham'=>[['normal'],['latin']],
137
  'Berkshire Swash'=>[['normal'],['latin','latin-ext']],
 
138
  'Beth Ellen'=>[['normal'],['latin']],
139
- 'Bevan'=>[['normal'],['latin','latin-ext','vietnamese']],
140
- 'Big Shoulders Display'=>[['100','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
141
- 'Big Shoulders Inline Display'=>[['100','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
142
- 'Big Shoulders Inline Text'=>[['100','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
143
- 'Big Shoulders Stencil Display'=>[['100','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
144
- 'Big Shoulders Stencil Text'=>[['100','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
145
- 'Big Shoulders Text'=>[['100','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
146
  'Bigelow Rules'=>[['normal'],['latin','latin-ext']],
147
  'Bigshot One'=>[['normal'],['latin']],
148
  'Bilbo'=>[['normal'],['latin','latin-ext','vietnamese']],
149
  'Bilbo Swash Caps'=>[['normal'],['latin','latin-ext']],
150
  'BioRhyme'=>[['200','300','normal','700','800'],['latin','latin-ext']],
151
  'BioRhyme Expanded'=>[['200','300','normal','700','800'],['latin','latin-ext']],
 
 
152
  'Biryani'=>[['200','300','normal','600','700','800','900'],['devanagari','latin','latin-ext']],
153
  'Bitter'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
154
  'Black And White Picture'=>[['normal'],['korean','latin']],
@@ -156,9 +164,10 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
156
  'Black Ops One'=>[['normal'],['latin','latin-ext']],
157
  'Blinker'=>[['100','200','300','normal','600','700','800','900'],['latin','latin-ext']],
158
  'Bodoni Moda'=>[['normal','500','600','700','800','900','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
159
- 'Bokor'=>[['normal'],['khmer']],
160
  'Bona Nova'=>[['normal','italic','700'],['cyrillic','cyrillic-ext','greek','hebrew','latin','latin-ext','vietnamese']],
161
  'Bonbon'=>[['normal'],['latin']],
 
162
  'Boogaloo'=>[['normal'],['latin']],
163
  'Bowlby One'=>[['normal'],['latin']],
164
  'Bowlby One SC'=>[['normal'],['latin','latin-ext']],
@@ -181,7 +190,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
181
  'Cabin Sketch'=>[['normal','700'],['latin']],
182
  'Caesar Dressing'=>[['normal'],['latin']],
183
  'Cagliostro'=>[['normal'],['latin']],
184
- 'Cairo'=>[['200','300','normal','600','700','900'],['arabic','latin','latin-ext']],
185
  'Caladea'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
186
  'Calistoga'=>[['normal'],['latin','latin-ext','vietnamese']],
187
  'Calligraffitti'=>[['normal'],['latin']],
@@ -192,6 +201,8 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
192
  'Cantata One'=>[['normal'],['latin','latin-ext']],
193
  'Cantora One'=>[['normal'],['latin','latin-ext']],
194
  'Capriola'=>[['normal'],['latin','latin-ext']],
 
 
195
  'Cardo'=>[['normal','italic','700'],['greek','greek-ext','latin','latin-ext']],
196
  'Carme'=>[['normal'],['latin']],
197
  'Carrois Gothic'=>[['normal'],['latin']],
@@ -215,6 +226,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
215
  'Chela One'=>[['normal'],['latin','latin-ext']],
216
  'Chelsea Market'=>[['normal'],['latin','latin-ext']],
217
  'Chenla'=>[['normal'],['khmer']],
 
218
  'Cherry Cream Soda'=>[['normal'],['latin']],
219
  'Cherry Swash'=>[['normal','700'],['latin','latin-ext']],
220
  'Chewy'=>[['normal'],['latin']],
@@ -231,6 +243,8 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
231
  'Coiny'=>[['normal'],['latin','latin-ext','tamil','vietnamese']],
232
  'Combo'=>[['normal'],['latin','latin-ext']],
233
  'Comfortaa'=>[['300','normal','500','600','700'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
 
 
234
  'Comic Neue'=>[['300','300italic','normal','italic','700','700italic'],['latin']],
235
  'Coming Soon'=>[['normal'],['latin']],
236
  'Commissioner'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
@@ -242,6 +256,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
242
  'Cookie'=>[['normal'],['latin']],
243
  'Copse'=>[['normal'],['latin']],
244
  'Corben'=>[['normal','700'],['latin','latin-ext']],
 
245
  'Cormorant'=>[['300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
246
  'Cormorant Garamond'=>[['300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
247
  'Cormorant Infant'=>[['300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
@@ -257,7 +272,6 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
257
  'Creepster'=>[['normal'],['latin']],
258
  'Crete Round'=>[['normal','italic'],['latin','latin-ext']],
259
  'Crimson Pro'=>[['200','300','normal','500','600','700','800','900','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
260
- 'Crimson Text'=>[['normal','italic','600','600italic','700','700italic'],['latin']],
261
  'Croissant One'=>[['normal'],['latin','latin-ext']],
262
  'Crushed'=>[['normal'],['latin']],
263
  'Cuprum'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
@@ -270,7 +284,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
270
  'DM Serif Text'=>[['normal','italic'],['latin','latin-ext']],
271
  'Damion'=>[['normal'],['latin']],
272
  'Dancing Script'=>[['normal','500','600','700'],['latin','latin-ext','vietnamese']],
273
- 'Dangrek'=>[['normal'],['khmer']],
274
  'Darker Grotesque'=>[['300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
275
  'David Libre'=>[['normal','500','700'],['hebrew','latin','latin-ext','vietnamese']],
276
  'Dawning of a New Day'=>[['normal'],['latin']],
@@ -291,6 +305,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
291
  'Dokdo'=>[['normal'],['korean','latin']],
292
  'Domine'=>[['normal','500','600','700'],['latin','latin-ext']],
293
  'Donegal One'=>[['normal'],['latin','latin-ext']],
 
294
  'Doppio One'=>[['normal'],['latin','latin-ext']],
295
  'Dorsa'=>[['normal'],['latin']],
296
  'Dosis'=>[['200','300','normal','500','600','700','800'],['latin','latin-ext','vietnamese']],
@@ -304,7 +319,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
304
  'Eater'=>[['normal'],['latin','latin-ext']],
305
  'Economica'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
306
  'Eczar'=>[['normal','500','600','700','800'],['devanagari','latin','latin-ext']],
307
- 'El Messiri'=>[['normal','500','600','700'],['arabic','cyrillic','latin']],
308
  'Electrolize'=>[['normal'],['latin']],
309
  'Elsie'=>[['normal','900'],['latin','latin-ext']],
310
  'Elsie Swash Caps'=>[['normal','900'],['latin','latin-ext']],
@@ -319,14 +334,17 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
319
  'Engagement'=>[['normal'],['latin']],
320
  'Englebert'=>[['normal'],['latin','latin-ext']],
321
  'Enriqueta'=>[['normal','500','600','700'],['latin','latin-ext']],
 
322
  'Epilogue'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
323
  'Erica One'=>[['normal'],['latin','latin-ext']],
324
  'Esteban'=>[['normal'],['latin','latin-ext']],
 
325
  'Euphoria Script'=>[['normal'],['latin','latin-ext']],
326
  'Ewert'=>[['normal'],['latin','latin-ext']],
327
  'Exo'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
328
  'Exo 2'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
329
- 'Expletus Sans'=>[['normal','italic','500','500italic','600','600italic','700','700italic'],['latin']],
 
330
  'Fahkwang'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
331
  'Fanwood Text'=>[['normal','italic'],['latin']],
332
  'Farro'=>[['300','normal','500','700'],['latin','latin-ext']],
@@ -334,9 +352,9 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
334
  'Fascinate'=>[['normal'],['latin']],
335
  'Fascinate Inline'=>[['normal'],['latin']],
336
  'Faster One'=>[['normal'],['latin']],
337
- 'Fasthand'=>[['normal'],['khmer']],
338
  'Fauna One'=>[['normal'],['latin','latin-ext']],
339
- 'Faustina'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['latin','latin-ext','vietnamese']],
340
  'Federant'=>[['normal'],['latin']],
341
  'Federo'=>[['normal'],['latin']],
342
  'Felipa'=>[['normal'],['latin','latin-ext']],
@@ -352,6 +370,10 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
352
  'Fjord One'=>[['normal'],['latin']],
353
  'Flamenco'=>[['300','normal'],['latin']],
354
  'Flavors'=>[['normal'],['latin','latin-ext']],
 
 
 
 
355
  'Fondamento'=>[['normal','italic'],['latin','latin-ext']],
356
  'Fontdiner Swanky'=>[['normal'],['latin']],
357
  'Forum'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext']],
@@ -361,12 +383,13 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
361
  'Freckle Face'=>[['normal'],['latin','latin-ext']],
362
  'Fredericka the Great'=>[['normal'],['latin','latin-ext']],
363
  'Fredoka One'=>[['normal'],['latin']],
364
- 'Freehand'=>[['normal'],['khmer']],
365
  'Fresca'=>[['normal'],['latin','latin-ext']],
366
  'Frijole'=>[['normal'],['latin']],
367
  'Fruktur'=>[['normal'],['latin','latin-ext']],
368
  'Fugaz One'=>[['normal'],['latin']],
369
  'Fuggles'=>[['normal'],['latin','latin-ext','vietnamese']],
 
370
  'GFS Didot'=>[['normal'],['greek']],
371
  'GFS Neohellenic'=>[['normal','italic','700','700italic'],['greek']],
372
  'Gabriela'=>[['normal'],['cyrillic','cyrillic-ext','latin']],
@@ -378,6 +401,8 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
378
  'Gamja Flower'=>[['normal'],['korean','latin']],
379
  'Gayathri'=>[['100','normal','700'],['latin','malayalam']],
380
  'Gelasio'=>[['normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','vietnamese']],
 
 
381
  'Gentium Basic'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
382
  'Gentium Book Basic'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
383
  'Geo'=>[['normal','italic'],['latin']],
@@ -385,6 +410,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
385
  'Geostar'=>[['normal'],['latin']],
386
  'Geostar Fill'=>[['normal'],['latin']],
387
  'Germania One'=>[['normal'],['latin']],
 
388
  'Gidugu'=>[['normal'],['latin','telugu']],
389
  'Gilda Display'=>[['normal'],['latin','latin-ext']],
390
  'Girassol'=>[['normal'],['latin','latin-ext']],
@@ -392,6 +418,8 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
392
  'Glass Antiqua'=>[['normal'],['latin','latin-ext']],
393
  'Glegoo'=>[['normal','700'],['devanagari','latin','latin-ext']],
394
  'Gloria Hallelujah'=>[['normal'],['latin']],
 
 
395
  'Goblin One'=>[['normal'],['latin']],
396
  'Gochi Hand'=>[['normal'],['latin']],
397
  'Goldman'=>[['normal','700'],['latin','latin-ext','vietnamese']],
@@ -405,15 +433,18 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
405
  'Grand Hotel'=>[['normal'],['latin','latin-ext']],
406
  'Grandstander'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
407
  'Gravitas One'=>[['normal'],['latin']],
408
- 'Great Vibes'=>[['normal'],['latin','latin-ext']],
 
409
  'Grenze'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['latin','latin-ext','vietnamese']],
410
  'Grenze Gotisch'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
 
411
  'Griffy'=>[['normal'],['latin','latin-ext']],
412
  'Gruppo'=>[['normal'],['latin','latin-ext']],
413
  'Gudea'=>[['normal','italic','700'],['latin','latin-ext']],
414
  'Gugi'=>[['normal'],['korean','latin']],
415
  'Gupter'=>[['normal','500','700'],['latin']],
416
  'Gurajada'=>[['normal'],['latin','telugu']],
 
417
  'Habibi'=>[['normal'],['latin','latin-ext']],
418
  'Hachi Maru Pop'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
419
  'Hahmlet'=>[['100','200','300','normal','500','600','700','800','900'],['korean','latin','latin-ext','vietnamese']],
@@ -422,7 +453,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
422
  'Hanalei'=>[['normal'],['latin','latin-ext']],
423
  'Hanalei Fill'=>[['normal'],['latin','latin-ext']],
424
  'Handlee'=>[['normal'],['latin']],
425
- 'Hanuman'=>[['normal','700'],['khmer']],
426
  'Happy Monkey'=>[['normal'],['latin','latin-ext']],
427
  'Harmattan'=>[['normal','700'],['arabic','latin','latin-ext']],
428
  'Headland One'=>[['normal'],['latin','latin-ext']],
@@ -431,6 +462,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
431
  'Hepta Slab'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
432
  'Herr Von Muellerhoff'=>[['normal'],['latin','latin-ext']],
433
  'Hi Melody'=>[['normal'],['korean','latin']],
 
434
  'Hind'=>[['300','normal','500','600','700'],['devanagari','latin','latin-ext']],
435
  'Hind Guntur'=>[['300','normal','500','600','700'],['latin','latin-ext','telugu']],
436
  'Hind Madurai'=>[['300','normal','500','600','700'],['latin','latin-ext','tamil']],
@@ -439,9 +471,16 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
439
  'Holtwood One SC'=>[['normal'],['latin']],
440
  'Homemade Apple'=>[['normal'],['latin']],
441
  'Homenaje'=>[['normal'],['latin']],
 
442
  'IBM Plex Mono'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
443
  'IBM Plex Sans'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
444
- 'IBM Plex Sans Condensed'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','vietnamese']],
 
 
 
 
 
 
445
  'IBM Plex Serif'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
446
  'IM Fell DW Pica'=>[['normal','italic'],['latin']],
447
  'IM Fell DW Pica SC'=>[['normal'],['latin']],
@@ -457,6 +496,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
457
  'Iceberg'=>[['normal'],['latin']],
458
  'Iceland'=>[['normal'],['latin']],
459
  'Imbue'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
 
460
  'Imprima'=>[['normal'],['latin','latin-ext']],
461
  'Inconsolata'=>[['200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
462
  'Inder'=>[['normal'],['latin','latin-ext']],
@@ -465,8 +505,10 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
465
  'Inknut Antiqua'=>[['300','normal','500','600','700','800','900'],['devanagari','latin','latin-ext']],
466
  'Inria Sans'=>[['300','300italic','normal','italic','700','700italic'],['latin','latin-ext']],
467
  'Inria Serif'=>[['300','300italic','normal','italic','700','700italic'],['latin','latin-ext']],
 
468
  'Inter'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
469
  'Irish Grover'=>[['normal'],['latin']],
 
470
  'Istok Web'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext']],
471
  'Italiana'=>[['normal'],['latin']],
472
  'Italianno'=>[['normal'],['latin','latin-ext','vietnamese']],
@@ -489,11 +531,15 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
489
  'Julee'=>[['normal'],['latin']],
490
  'Julius Sans One'=>[['normal'],['latin','latin-ext']],
491
  'Junge'=>[['normal'],['latin']],
492
- 'Jura'=>[['300','normal','500','600','700'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
493
  'Just Another Hand'=>[['normal'],['latin']],
494
  'Just Me Again Down Here'=>[['normal'],['latin','latin-ext']],
495
  'K2D'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic'],['latin','latin-ext','thai','vietnamese']],
496
  'Kadwa'=>[['normal','700'],['devanagari','latin']],
 
 
 
 
497
  'Kalam'=>[['300','normal','700'],['devanagari','latin','latin-ext']],
498
  'Kameron'=>[['normal','700'],['latin']],
499
  'Kanit'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['latin','latin-ext','thai','vietnamese']],
@@ -512,16 +558,20 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
512
  'Khand'=>[['300','normal','500','600','700'],['devanagari','latin','latin-ext']],
513
  'Khmer'=>[['normal'],['khmer']],
514
  'Khula'=>[['300','normal','600','700','800'],['devanagari','latin','latin-ext']],
 
515
  'Kirang Haerang'=>[['normal'],['korean','latin']],
516
  'Kite One'=>[['normal'],['latin']],
517
  'Kiwi Maru'=>[['300','normal','500'],['cyrillic','japanese','latin','latin-ext']],
 
518
  'Knewave'=>[['normal'],['latin','latin-ext']],
519
  'KoHo'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
520
  'Kodchasan'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
521
- 'Kosugi'=>[['normal'],['cyrillic','japanese','latin']],
522
- 'Kosugi Maru'=>[['normal'],['cyrillic','japanese','latin']],
 
 
523
  'Kotta One'=>[['normal'],['latin','latin-ext']],
524
- 'Koulen'=>[['normal'],['khmer']],
525
  'Kranky'=>[['normal'],['latin']],
526
  'Kreon'=>[['300','normal','500','600','700'],['latin','latin-ext']],
527
  'Kristi'=>[['normal'],['latin']],
@@ -531,7 +581,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
531
  'Kulim Park'=>[['200','200italic','300','300italic','normal','italic','600','600italic','700','700italic'],['latin','latin-ext']],
532
  'Kumar One'=>[['normal'],['gujarati','latin','latin-ext']],
533
  'Kumar One Outline'=>[['normal'],['gujarati','latin','latin-ext']],
534
- 'Kumbh Sans'=>[['300','normal','700'],['latin','latin-ext']],
535
  'Kurale'=>[['normal'],['cyrillic','cyrillic-ext','devanagari','latin','latin-ext']],
536
  'La Belle Aurore'=>[['normal'],['latin']],
537
  'Lacquer'=>[['normal'],['latin']],
@@ -548,14 +598,14 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
548
  'Lekton'=>[['normal','italic','700'],['latin','latin-ext']],
549
  'Lemon'=>[['normal'],['latin']],
550
  'Lemonada'=>[['300','normal','500','600','700'],['arabic','latin','latin-ext','vietnamese']],
551
- 'Lexend'=>[['100','300','normal','500','600','700','800'],['latin','latin-ext','vietnamese']],
552
- 'Lexend Deca'=>[['normal'],['latin','latin-ext','vietnamese']],
553
- 'Lexend Exa'=>[['normal'],['latin','latin-ext','vietnamese']],
554
- 'Lexend Giga'=>[['normal'],['latin','latin-ext','vietnamese']],
555
- 'Lexend Mega'=>[['normal'],['latin','latin-ext','vietnamese']],
556
- 'Lexend Peta'=>[['normal'],['latin','latin-ext','vietnamese']],
557
- 'Lexend Tera'=>[['normal'],['latin','latin-ext','vietnamese']],
558
- 'Lexend Zetta'=>[['normal'],['latin','latin-ext','vietnamese']],
559
  'Libre Barcode 128'=>[['normal'],['latin']],
560
  'Libre Barcode 128 Text'=>[['normal'],['latin']],
561
  'Libre Barcode 39'=>[['normal'],['latin']],
@@ -567,6 +617,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
567
  'Libre Caslon Display'=>[['normal'],['latin','latin-ext']],
568
  'Libre Caslon Text'=>[['normal','italic','700'],['latin','latin-ext']],
569
  'Libre Franklin'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
 
570
  'Life Savers'=>[['normal','700','800'],['latin','latin-ext']],
571
  'Lilita One'=>[['normal'],['latin','latin-ext']],
572
  'Lily Script One'=>[['normal'],['latin','latin-ext']],
@@ -583,13 +634,20 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
583
  'Londrina Solid'=>[['100','300','normal','900'],['latin']],
584
  'Long Cang'=>[['normal'],['chinese-simplified','latin']],
585
  'Lora'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
 
586
  'Love Ya Like A Sister'=>[['normal'],['latin']],
587
  'Loved by the King'=>[['normal'],['latin']],
588
  'Lovers Quarrel'=>[['normal'],['latin','latin-ext','vietnamese']],
589
  'Luckiest Guy'=>[['normal'],['latin']],
590
  'Lusitana'=>[['normal','700'],['latin']],
591
  'Lustria'=>[['normal'],['latin']],
 
 
 
 
592
  'M PLUS 1p'=>[['100','300','normal','500','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','hebrew','japanese','latin','latin-ext','vietnamese']],
 
 
593
  'M PLUS Rounded 1c'=>[['100','300','normal','500','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','hebrew','japanese','latin','latin-ext','vietnamese']],
594
  'Ma Shan Zheng'=>[['normal'],['chinese-simplified','latin']],
595
  'Macondo'=>[['normal'],['latin']],
@@ -604,9 +662,9 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
604
  'Mallanna'=>[['normal'],['latin','telugu']],
605
  'Mandali'=>[['normal'],['latin','telugu']],
606
  'Manjari'=>[['100','normal','700'],['latin','latin-ext','malayalam']],
607
- 'Manrope'=>[['200','300','normal','500','600','700','800'],['cyrillic','greek','latin','latin-ext']],
608
  'Mansalva'=>[['normal'],['latin']],
609
- 'Manuale'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['latin','latin-ext','vietnamese']],
610
  'Marcellus'=>[['normal'],['latin','latin-ext']],
611
  'Marcellus SC'=>[['normal'],['latin','latin-ext']],
612
  'Marck Script'=>[['normal'],['cyrillic','latin','latin-ext']],
@@ -621,17 +679,19 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
621
  'Mate SC'=>[['normal'],['latin']],
622
  'Maven Pro'=>[['normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
623
  'McLaren'=>[['normal'],['latin','latin-ext']],
 
624
  'Meddon'=>[['normal'],['latin']],
625
  'MedievalSharp'=>[['normal'],['latin','latin-ext']],
626
  'Medula One'=>[['normal'],['latin']],
627
  'Meera Inimai'=>[['normal'],['latin','tamil']],
628
  'Megrim'=>[['normal'],['latin']],
629
  'Meie Script'=>[['normal'],['latin','latin-ext']],
 
630
  'Merienda'=>[['normal','700'],['latin','latin-ext']],
631
  'Merienda One'=>[['normal'],['latin']],
632
  'Merriweather'=>[['300','300italic','normal','italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
633
  'Merriweather Sans'=>[['300','normal','500','600','700','800','300italic','italic','500italic','600italic','700italic','800italic'],['cyrillic-ext','latin','latin-ext','vietnamese']],
634
- 'Metal'=>[['normal'],['khmer']],
635
  'Metal Mania'=>[['normal'],['latin','latin-ext']],
636
  'Metamorphous'=>[['normal'],['latin','latin-ext']],
637
  'Metrophobic'=>[['normal'],['latin','latin-ext','vietnamese']],
@@ -645,9 +705,12 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
645
  'Mirza'=>[['normal','500','600','700'],['arabic','latin','latin-ext']],
646
  'Miss Fajardose'=>[['normal'],['latin','latin-ext']],
647
  'Mitr'=>[['200','300','normal','500','600','700'],['latin','latin-ext','thai','vietnamese']],
 
 
648
  'Modak'=>[['normal'],['devanagari','latin','latin-ext']],
649
  'Modern Antiqua'=>[['normal'],['latin','latin-ext']],
650
  'Mogra'=>[['normal'],['gujarati','latin','latin-ext']],
 
651
  'Molengo'=>[['normal'],['latin','latin-ext']],
652
  'Molle'=>[['italic'],['latin','latin-ext']],
653
  'Monda'=>[['normal','700'],['latin','latin-ext','vietnamese']],
@@ -655,13 +718,16 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
655
  'Monoton'=>[['normal'],['latin']],
656
  'Monsieur La Doulaise'=>[['normal'],['latin','latin-ext']],
657
  'Montaga'=>[['normal'],['latin']],
 
658
  'MonteCarlo'=>[['normal'],['latin','latin-ext','vietnamese']],
659
  'Montez'=>[['normal'],['latin']],
660
  'Montserrat'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
661
  'Montserrat Alternates'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
662
  'Montserrat Subrayada'=>[['normal','700'],['latin']],
663
- 'Moul'=>[['normal'],['khmer']],
664
- 'Moulpali'=>[['normal'],['khmer']],
 
 
665
  'Mountains of Christmas'=>[['normal','700'],['latin']],
666
  'Mouse Memoirs'=>[['normal'],['latin','latin-ext']],
667
  'Mr Bedfort'=>[['normal'],['latin','latin-ext']],
@@ -673,7 +739,8 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
673
  'Mukta Mahee'=>[['200','300','normal','500','600','700','800'],['gurmukhi','latin','latin-ext']],
674
  'Mukta Malar'=>[['200','300','normal','500','600','700','800'],['latin','latin-ext','tamil']],
675
  'Mukta Vaani'=>[['200','300','normal','500','600','700','800'],['gujarati','latin','latin-ext']],
676
- 'Mulish'=>[['200','300','normal','500','600','700','800','900','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
 
677
  'MuseoModerno'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
678
  'Mystery Quest'=>[['normal'],['latin','latin-ext']],
679
  'NTR'=>[['normal'],['latin','telugu']],
@@ -693,23 +760,195 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
693
  'Niramit'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
694
  'Nixie One'=>[['normal'],['latin']],
695
  'Nobile'=>[['normal','italic','500','500italic','700','700italic'],['latin','latin-ext']],
696
- 'Nokora'=>[['normal','700'],['khmer']],
697
  'Norican'=>[['normal'],['latin','latin-ext']],
698
  'Nosifer'=>[['normal'],['latin','latin-ext']],
699
  'Notable'=>[['normal'],['latin']],
700
  'Nothing You Could Do'=>[['normal'],['latin']],
701
  'Noticia Text'=>[['normal','italic','700','700italic'],['latin','latin-ext','vietnamese']],
 
 
 
 
 
702
  'Noto Sans'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','devanagari','greek','greek-ext','latin','latin-ext','vietnamese']],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
703
  'Noto Sans HK'=>[['100','300','normal','500','700','900'],['chinese-hongkong','latin']],
 
 
 
 
 
 
 
 
704
  'Noto Sans JP'=>[['100','300','normal','500','700','900'],['japanese','latin']],
 
705
  'Noto Sans KR'=>[['100','300','normal','500','700','900'],['korean','latin']],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
706
  'Noto Sans SC'=>[['100','300','normal','500','700','900'],['chinese-simplified','latin']],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
707
  'Noto Sans TC'=>[['100','300','normal','500','700','900'],['chinese-traditional','latin']],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
708
  'Noto Serif'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
 
 
 
 
 
 
 
 
 
 
 
 
 
709
  'Noto Serif JP'=>[['200','300','normal','500','600','700','900'],['japanese','latin']],
710
  'Noto Serif KR'=>[['200','300','normal','500','600','700','900'],['korean','latin']],
 
 
 
 
 
 
711
  'Noto Serif SC'=>[['200','300','normal','500','600','700','900'],['chinese-simplified','latin']],
 
712
  'Noto Serif TC'=>[['200','300','normal','500','600','700','900'],['chinese-traditional','latin']],
 
 
 
 
 
 
 
713
  'Nova Cut'=>[['normal'],['latin']],
714
  'Nova Flat'=>[['normal'],['latin']],
715
  'Nova Mono'=>[['normal'],['greek','latin']],
@@ -719,17 +958,19 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
719
  'Nova Slim'=>[['normal'],['latin']],
720
  'Nova Square'=>[['normal'],['latin']],
721
  'Numans'=>[['normal'],['latin']],
722
- 'Nunito'=>[['200','200italic','300','300italic','normal','italic','600','600italic','700','700italic','800','800italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
723
- 'Nunito Sans'=>[['200','200italic','300','300italic','normal','italic','600','600italic','700','700italic','800','800italic','900','900italic'],['latin','latin-ext','vietnamese']],
724
  'Odibee Sans'=>[['normal'],['latin']],
725
- 'Odor Mean Chey'=>[['normal'],['khmer']],
726
  'Offside'=>[['normal'],['latin']],
727
- 'Oi'=>[['normal'],['greek','latin','latin-ext','vietnamese']],
728
  'Old Standard TT'=>[['normal','italic','700'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
729
  'Oldenburg'=>[['normal'],['latin','latin-ext']],
 
730
  'Oleo Script'=>[['normal','700'],['latin','latin-ext']],
731
  'Oleo Script Swash Caps'=>[['normal','700'],['latin','latin-ext']],
732
- 'Open Sans'=>[['300','300italic','normal','italic','600','600italic','700','700italic','800','800italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
 
733
  'Open Sans Condensed'=>[['300','300italic','700'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
734
  'Oranienbaum'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext']],
735
  'Orbitron'=>[['normal','500','600','700','800','900'],['latin']],
@@ -739,11 +980,12 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
739
  'Original Surfer'=>[['normal'],['latin']],
740
  'Oswald'=>[['200','300','normal','500','600','700'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
741
  'Otomanopee One'=>[['normal'],['japanese','latin','latin-ext']],
 
742
  'Over the Rainbow'=>[['normal'],['latin']],
743
  'Overlock'=>[['normal','italic','700','700italic','900','900italic'],['latin','latin-ext']],
744
  'Overlock SC'=>[['normal'],['latin','latin-ext']],
745
- 'Overpass'=>[['100','100italic','200','200italic','300','300italic','normal','italic','600','600italic','700','700italic','800','800italic','900','900italic'],['latin','latin-ext']],
746
- 'Overpass Mono'=>[['300','normal','600','700'],['latin','latin-ext']],
747
  'Ovo'=>[['normal'],['latin']],
748
  'Oxanium'=>[['200','300','normal','500','600','700','800'],['latin','latin-ext']],
749
  'Oxygen'=>[['300','normal','700'],['latin','latin-ext']],
@@ -764,6 +1006,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
764
  'Parisienne'=>[['normal'],['latin','latin-ext']],
765
  'Passero One'=>[['normal'],['latin','latin-ext']],
766
  'Passion One'=>[['normal','700','900'],['latin','latin-ext']],
 
767
  'Pathway Gothic One'=>[['normal'],['latin','latin-ext']],
768
  'Patrick Hand'=>[['normal'],['latin','latin-ext','vietnamese']],
769
  'Patrick Hand SC'=>[['normal'],['latin','latin-ext','vietnamese']],
@@ -774,6 +1017,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
774
  'Peddana'=>[['normal'],['latin','telugu']],
775
  'Peralta'=>[['normal'],['latin','latin-ext']],
776
  'Permanent Marker'=>[['normal'],['latin']],
 
777
  'Petit Formal Script'=>[['normal'],['latin','latin-ext']],
778
  'Petrona'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
779
  'Philosopher'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','latin','vietnamese']],
@@ -798,8 +1042,9 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
798
  'Port Lligat Slab'=>[['normal'],['latin']],
799
  'Potta One'=>[['normal'],['japanese','latin','latin-ext','vietnamese']],
800
  'Pragati Narrow'=>[['normal','700'],['devanagari','latin','latin-ext']],
 
801
  'Prata'=>[['normal'],['cyrillic','cyrillic-ext','latin','vietnamese']],
802
- 'Preahvihear'=>[['normal'],['khmer']],
803
  'Press Start 2P'=>[['normal'],['cyrillic','cyrillic-ext','greek','latin','latin-ext']],
804
  'Pridi'=>[['200','300','normal','500','600','700'],['latin','latin-ext','thai','vietnamese']],
805
  'Princess Sofia'=>[['normal'],['latin','latin-ext']],
@@ -808,8 +1053,10 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
808
  'Prosto One'=>[['normal'],['cyrillic','latin','latin-ext']],
809
  'Proza Libre'=>[['normal','italic','500','500italic','600','600italic','700','700italic','800','800italic'],['latin','latin-ext']],
810
  'Public Sans'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
 
811
  'Puritan'=>[['normal','italic','700','700italic'],['latin']],
812
  'Purple Purse'=>[['normal'],['latin','latin-ext']],
 
813
  'Qahiri'=>[['normal'],['arabic','latin']],
814
  'Quando'=>[['normal'],['latin','latin-ext']],
815
  'Quantico'=>[['normal','italic','700','700italic'],['latin']],
@@ -819,6 +1066,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
819
  'Quicksand'=>[['300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
820
  'Quintessential'=>[['normal'],['latin','latin-ext']],
821
  'Qwigley'=>[['normal'],['latin','latin-ext','vietnamese']],
 
822
  'Racing Sans One'=>[['normal'],['latin','latin-ext']],
823
  'Radley'=>[['normal','italic'],['latin','latin-ext']],
824
  'Rajdhani'=>[['300','normal','500','600','700'],['devanagari','latin','latin-ext']],
@@ -829,16 +1077,21 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
829
  'Ramaraja'=>[['normal'],['latin','telugu']],
830
  'Rambla'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
831
  'Rammetto One'=>[['normal'],['latin','latin-ext']],
 
832
  'Ranchers'=>[['normal'],['latin','latin-ext']],
833
  'Rancho'=>[['normal'],['latin']],
834
  'Ranga'=>[['normal','700'],['devanagari','latin','latin-ext']],
835
  'Rasa'=>[['300','normal','500','600','700','300italic','italic','500italic','600italic','700italic'],['gujarati','latin','latin-ext','vietnamese']],
836
  'Rationale'=>[['normal'],['latin']],
837
  'Ravi Prakash'=>[['normal'],['latin','telugu']],
 
838
  'Recursive'=>[['300','normal','500','600','700','800','900'],['cyrillic-ext','latin','latin-ext','vietnamese']],
839
- 'Red Hat Display'=>[['normal','italic','500','500italic','700','700italic','900','900italic'],['latin','latin-ext']],
840
- 'Red Hat Text'=>[['normal','italic','500','500italic','700','700italic'],['latin','latin-ext']],
 
841
  'Red Rose'=>[['300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
 
 
842
  'Redressed'=>[['normal'],['latin']],
843
  'Reem Kufi'=>[['normal','500','600','700'],['arabic','latin']],
844
  'Reenie Beanie'=>[['normal'],['latin']],
@@ -849,11 +1102,13 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
849
  'Ribeye Marrow'=>[['normal'],['latin','latin-ext']],
850
  'Righteous'=>[['normal'],['latin','latin-ext']],
851
  'Risque'=>[['normal'],['latin','latin-ext']],
 
852
  'Roboto'=>[['100','100italic','300','300italic','normal','italic','500','500italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
853
  'Roboto Condensed'=>[['300','300italic','normal','italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
854
  'Roboto Mono'=>[['100','200','300','normal','500','600','700','100italic','200italic','300italic','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
855
  'Roboto Slab'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
856
  'Rochester'=>[['normal'],['latin']],
 
857
  'Rock Salt'=>[['normal'],['latin']],
858
  'RocknRoll One'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
859
  'Rokkitt'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
@@ -865,17 +1120,17 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
865
  'Rowdies'=>[['300','normal','700'],['latin','latin-ext','vietnamese']],
866
  'Rozha One'=>[['normal'],['devanagari','latin','latin-ext']],
867
  'Rubik'=>[['300','normal','500','600','700','800','900','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','hebrew','latin','latin-ext']],
 
868
  'Rubik Mono One'=>[['normal'],['cyrillic','latin','latin-ext']],
869
  'Ruda'=>[['normal','500','600','700','800','900'],['cyrillic','latin','latin-ext','vietnamese']],
870
  'Rufina'=>[['normal','700'],['latin','latin-ext']],
871
- 'Ruge Boogie'=>[['normal'],['latin','latin-ext']],
872
  'Ruluko'=>[['normal'],['latin','latin-ext']],
873
  'Rum Raisin'=>[['normal'],['latin','latin-ext']],
874
  'Ruslan Display'=>[['normal'],['cyrillic','latin','latin-ext']],
875
  'Russo One'=>[['normal'],['cyrillic','latin','latin-ext']],
876
- 'Ruthie'=>[['normal'],['latin','latin-ext']],
877
  'Rye'=>[['normal'],['latin','latin-ext']],
878
- 'STIX Two Math'=>[['normal'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
879
  'STIX Two Text'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
880
  'Sacramento'=>[['normal'],['latin','latin-ext']],
881
  'Sahitya'=>[['normal','700'],['devanagari','latin']],
@@ -894,11 +1149,12 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
894
  'Sarala'=>[['normal','700'],['devanagari','latin','latin-ext']],
895
  'Sarina'=>[['normal'],['latin','latin-ext']],
896
  'Sarpanch'=>[['normal','500','600','700','800','900'],['devanagari','latin','latin-ext']],
 
897
  'Satisfy'=>[['normal'],['latin']],
898
  'Sawarabi Gothic'=>[['normal'],['cyrillic','japanese','latin','latin-ext','vietnamese']],
899
  'Sawarabi Mincho'=>[['normal'],['japanese','latin','latin-ext']],
900
  'Scada'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext']],
901
- 'Scheherazade'=>[['normal','700'],['arabic','latin']],
902
  'Schoolbell'=>[['normal'],['latin']],
903
  'Scope One'=>[['normal'],['latin','latin-ext']],
904
  'Seaweed Script'=>[['normal'],['latin','latin-ext']],
@@ -910,19 +1166,23 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
910
  'Seymour One'=>[['normal'],['cyrillic','latin','latin-ext']],
911
  'Shadows Into Light'=>[['normal'],['latin']],
912
  'Shadows Into Light Two'=>[['normal'],['latin','latin-ext']],
 
913
  'Shanti'=>[['normal'],['latin']],
914
  'Share'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
915
  'Share Tech'=>[['normal'],['latin']],
916
  'Share Tech Mono'=>[['normal'],['latin']],
 
 
917
  'Shippori Mincho'=>[['normal','500','600','700','800'],['japanese','latin','latin-ext']],
918
  'Shippori Mincho B1'=>[['normal','500','600','700','800'],['japanese','latin','latin-ext']],
 
919
  'Shojumaru'=>[['normal'],['latin','latin-ext']],
920
  'Short Stack'=>[['normal'],['latin']],
921
  'Shrikhand'=>[['normal'],['gujarati','latin','latin-ext']],
922
  'Siemreap'=>[['normal'],['khmer']],
923
  'Sigmar One'=>[['normal'],['latin','latin-ext','vietnamese']],
924
  'Signika'=>[['300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
925
- 'Signika Negative'=>[['300','normal','600','700'],['latin','latin-ext']],
926
  'Simonetta'=>[['normal','italic','900','900italic'],['latin','latin-ext']],
927
  'Single Day'=>[['normal'],['korean']],
928
  'Sintony'=>[['normal','700'],['latin','latin-ext']],
@@ -933,6 +1193,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
933
  'Slabo 27px'=>[['normal'],['latin','latin-ext']],
934
  'Slackey'=>[['normal'],['latin']],
935
  'Smokum'=>[['normal'],['latin']],
 
936
  'Smythe'=>[['normal'],['latin']],
937
  'Sniglet'=>[['normal','800'],['latin','latin-ext']],
938
  'Snippet'=>[['normal'],['latin']],
@@ -944,8 +1205,10 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
944
  'Sonsie One'=>[['normal'],['latin','latin-ext']],
945
  'Sora'=>[['100','200','300','normal','500','600','700','800'],['latin','latin-ext']],
946
  'Sorts Mill Goudy'=>[['normal','italic'],['latin','latin-ext']],
947
- 'Source Code Pro'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
 
948
  'Source Sans Pro'=>[['200','200italic','300','300italic','normal','italic','600','600italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
 
949
  'Source Serif Pro'=>[['200','200italic','300','300italic','normal','italic','600','600italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
950
  'Space Grotesk'=>[['300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
951
  'Space Mono'=>[['normal','italic','700','700italic'],['latin','latin-ext','vietnamese']],
@@ -956,6 +1219,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
956
  'Spicy Rice'=>[['normal'],['latin']],
957
  'Spinnaker'=>[['normal'],['latin','latin-ext']],
958
  'Spirax'=>[['normal'],['latin']],
 
959
  'Squada One'=>[['normal'],['latin']],
960
  'Sree Krushnadevaraya'=>[['normal'],['latin','telugu']],
961
  'Sriracha'=>[['normal'],['latin','latin-ext','thai','vietnamese']],
@@ -965,6 +1229,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
965
  'Stalinist One'=>[['normal'],['cyrillic','latin','latin-ext']],
966
  'Stardos Stencil'=>[['normal','700'],['latin']],
967
  'Stick'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
 
968
  'Stint Ultra Condensed'=>[['normal'],['latin','latin-ext']],
969
  'Stint Ultra Expanded'=>[['normal'],['latin','latin-ext']],
970
  'Stoke'=>[['300','normal'],['latin','latin-ext']],
@@ -981,7 +1246,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
981
  'Sura'=>[['normal','700'],['devanagari','latin','latin-ext']],
982
  'Suranna'=>[['normal'],['latin','telugu']],
983
  'Suravaram'=>[['normal'],['latin','telugu']],
984
- 'Suwannaphum'=>[['normal'],['khmer']],
985
  'Swanky and Moo Moo'=>[['normal'],['latin']],
986
  'Syncopate'=>[['normal','700'],['latin']],
987
  'Syne'=>[['normal','500','600','700','800'],['latin','latin-ext']],
@@ -989,7 +1254,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
989
  'Syne Tactile'=>[['normal'],['latin','latin-ext']],
990
  'Tajawal'=>[['200','300','normal','500','700','800','900'],['arabic','latin']],
991
  'Tangerine'=>[['normal','700'],['latin']],
992
- 'Taprom'=>[['normal'],['khmer']],
993
  'Tauri'=>[['normal'],['latin','latin-ext']],
994
  'Taviraj'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['latin','latin-ext','thai','vietnamese']],
995
  'Teko'=>[['300','normal','500','600','700'],['devanagari','latin','latin-ext']],
@@ -1000,6 +1265,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
1000
  'Texturina'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
1001
  'Thasadith'=>[['normal','italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
1002
  'The Girl Next Door'=>[['normal'],['latin']],
 
1003
  'Tienne'=>[['normal','700','900'],['latin']],
1004
  'Tillana'=>[['normal','500','600','700','800'],['devanagari','latin','latin-ext']],
1005
  'Timmana'=>[['normal'],['latin','telugu']],
@@ -1018,6 +1284,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
1018
  'Trykker'=>[['normal'],['latin','latin-ext']],
1019
  'Tulpen One'=>[['normal'],['latin']],
1020
  'Turret Road'=>[['200','300','normal','500','700','800'],['latin','latin-ext']],
 
1021
  'Ubuntu'=>[['300','300italic','normal','italic','500','500italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext']],
1022
  'Ubuntu Condensed'=>[['normal'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext']],
1023
  'Ubuntu Mono'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext']],
@@ -1031,6 +1298,7 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
1031
  'Unkempt'=>[['normal','700'],['latin']],
1032
  'Unlock'=>[['normal'],['latin']],
1033
  'Unna'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
 
1034
  'VT323'=>[['normal'],['latin','latin-ext','vietnamese']],
1035
  'Vampiro One'=>[['normal'],['latin','latin-ext']],
1036
  'Varela'=>[['normal'],['latin','latin-ext']],
@@ -1048,16 +1316,19 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
1048
  'Vollkorn'=>[['normal','500','600','700','800','900','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
1049
  'Vollkorn SC'=>[['normal','600','700','900'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
1050
  'Voltaire'=>[['normal'],['latin']],
 
1051
  'Waiting for the Sunrise'=>[['normal'],['latin']],
1052
  'Wallpoet'=>[['normal'],['latin']],
1053
  'Walter Turncoat'=>[['normal'],['latin']],
1054
  'Warnes'=>[['normal'],['latin','latin-ext']],
 
1055
  'Wellfleet'=>[['normal'],['latin','latin-ext']],
1056
  'Wendy One'=>[['normal'],['latin','latin-ext']],
1057
  'WindSong'=>[['normal','500'],['latin','latin-ext','vietnamese']],
1058
  'Wire One'=>[['normal'],['latin']],
1059
  'Work Sans'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
1060
  'Xanh Mono'=>[['normal','italic'],['latin','latin-ext','vietnamese']],
 
1061
  'Yanone Kaffeesatz'=>[['200','300','normal','500','600','700'],['cyrillic','latin','latin-ext','vietnamese']],
1062
  'Yantramanav'=>[['100','300','normal','500','700','900'],['devanagari','latin','latin-ext']],
1063
  'Yatra One'=>[['normal'],['devanagari','latin','latin-ext']],
@@ -1067,12 +1338,24 @@ if ( ! function_exists( 'ulf_get_google_fonts' ) ) {
1067
  'Yesteryear'=>[['normal'],['latin']],
1068
  'Yomogi'=>[['normal'],['cyrillic','japanese','latin','latin-ext','vietnamese']],
1069
  'Yrsa'=>[['300','normal','500','600','700','300italic','italic','500italic','600italic','700italic'],['latin','latin-ext','vietnamese']],
 
 
 
 
 
1070
  'Yusei Magic'=>[['normal'],['japanese','latin','latin-ext']],
1071
  'ZCOOL KuaiLe'=>[['normal'],['chinese-simplified','latin']],
1072
  'ZCOOL QingKe HuangYou'=>[['normal'],['chinese-simplified','latin']],
1073
  'ZCOOL XiaoWei'=>[['normal'],['chinese-simplified','latin']],
 
 
1074
  'Zen Dots'=>[['normal'],['latin','latin-ext']],
 
 
 
1075
  'Zen Loop'=>[['normal','italic'],['latin','latin-ext']],
 
 
1076
  'Zen Tokyo Zoo'=>[['normal'],['latin','latin-ext']],
1077
  'Zeyada'=>[['normal'],['latin']],
1078
  'Zhi Mang Xing'=>[['normal'],['chinese-simplified','latin']],
28
  'Aleo'=>[['300','300italic','normal','italic','700','700italic'],['latin','latin-ext']],
29
  'Alex Brush'=>[['normal'],['latin','latin-ext','vietnamese']],
30
  'Alfa Slab One'=>[['normal'],['latin','latin-ext','vietnamese']],
31
+ 'Alice'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext']],
32
  'Alike'=>[['normal'],['latin']],
33
  'Alike Angular'=>[['normal'],['latin']],
34
  'Allan'=>[['normal','700'],['latin','latin-ext']],
35
  'Allerta'=>[['normal'],['latin']],
36
  'Allerta Stencil'=>[['normal'],['latin']],
37
+ 'Allison'=>[['normal'],['latin','latin-ext','vietnamese']],
38
+ 'Allura'=>[['normal'],['latin','latin-ext','vietnamese']],
39
  'Almarai'=>[['300','normal','700','800'],['arabic']],
40
  'Almendra'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
41
  'Almendra Display'=>[['normal'],['latin','latin-ext']],
42
  'Almendra SC'=>[['normal'],['latin']],
43
+ 'Alumni Sans'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
44
  'Amarante'=>[['normal'],['latin','latin-ext']],
45
  'Amaranth'=>[['normal','italic','700','700italic'],['latin']],
46
  'Amatic SC'=>[['normal','700'],['cyrillic','hebrew','latin','latin-ext','vietnamese']],
49
  'Amiri'=>[['normal','italic','700','700italic'],['arabic','latin','latin-ext']],
50
  'Amita'=>[['normal','700'],['devanagari','latin','latin-ext']],
51
  'Anaheim'=>[['normal'],['latin','latin-ext']],
 
52
  'Andada Pro'=>[['normal','500','600','700','800','italic','500italic','600italic','700italic','800italic'],['latin','latin-ext','vietnamese']],
53
  'Andika'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
54
  'Andika New Basic'=>[['normal','italic','700','700italic'],['latin','latin-ext','vietnamese']],
55
+ 'Angkor'=>[['normal'],['khmer','latin']],
56
  'Annie Use Your Telescope'=>[['normal'],['latin']],
57
  'Anonymous Pro'=>[['normal','italic','700','700italic'],['cyrillic','greek','latin','latin-ext']],
58
  'Antic'=>[['normal'],['latin']],
66
  'Architects Daughter'=>[['normal'],['latin']],
67
  'Archivo'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
68
  'Archivo Black'=>[['normal'],['latin','latin-ext']],
69
+ 'Archivo Narrow'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['latin','latin-ext','vietnamese']],
70
+ 'Are You Serious'=>[['normal'],['latin','latin-ext','vietnamese']],
71
  'Aref Ruqaa'=>[['normal','700'],['arabic','latin','latin-ext']],
72
  'Arima Madurai'=>[['100','200','300','normal','500','700','800','900'],['latin','latin-ext','tamil','vietnamese']],
73
  'Arimo'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','hebrew','latin','latin-ext','vietnamese']],
97
  'Averia Libre'=>[['300','300italic','normal','italic','700','700italic'],['latin']],
98
  'Averia Sans Libre'=>[['300','300italic','normal','italic','700','700italic'],['latin']],
99
  'Averia Serif Libre'=>[['300','300italic','normal','italic','700','700italic'],['latin']],
100
+ 'Azeret Mono'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
101
  'B612'=>[['normal','italic','700','700italic'],['latin']],
102
  'B612 Mono'=>[['normal','italic','700','700italic'],['latin']],
103
  'Bad Script'=>[['normal'],['cyrillic','latin']],
104
  'Bahiana'=>[['normal'],['latin','latin-ext']],
105
  'Bahianita'=>[['normal'],['latin','latin-ext','vietnamese']],
106
  'Bai Jamjuree'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
107
+ 'Bakbak One'=>[['normal'],['latin','latin-ext']],
108
  'Ballet'=>[['normal'],['latin','latin-ext','vietnamese']],
109
  'Baloo 2'=>[['normal','500','600','700','800'],['devanagari','latin','latin-ext','vietnamese']],
110
  'Baloo Bhai 2'=>[['normal','500','600','700','800'],['gujarati','latin','latin-ext','vietnamese']],
111
+ 'Baloo Bhaijaan 2'=>[['normal','500','600','700','800'],['arabic','latin','latin-ext','vietnamese']],
112
  'Baloo Bhaina 2'=>[['normal','500','600','700','800'],['latin','latin-ext','oriya','vietnamese']],
113
  'Baloo Chettan 2'=>[['normal','500','600','700','800'],['latin','latin-ext','malayalam','vietnamese']],
114
  'Baloo Da 2'=>[['normal','500','600','700','800'],['bengali','latin','latin-ext','vietnamese']],
126
  'Barrio'=>[['normal'],['latin','latin-ext']],
127
  'Basic'=>[['normal'],['latin','latin-ext']],
128
  'Baskervville'=>[['normal','italic'],['latin','latin-ext']],
129
+ 'Battambang'=>[['100','300','normal','700','900'],['khmer','latin']],
130
  'Baumans'=>[['normal'],['latin']],
131
+ 'Bayon'=>[['normal'],['khmer','latin']],
132
+ 'Be Vietnam Pro'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['latin','latin-ext','vietnamese']],
133
  'Bebas Neue'=>[['normal'],['latin','latin-ext']],
134
  'Belgrano'=>[['normal'],['latin']],
135
  'Bellefair'=>[['normal'],['hebrew','latin','latin-ext']],
140
  'Benne'=>[['normal'],['kannada','latin','latin-ext']],
141
  'Bentham'=>[['normal'],['latin']],
142
  'Berkshire Swash'=>[['normal'],['latin','latin-ext']],
143
+ 'Besley'=>[['normal','500','600','700','800','900','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
144
  'Beth Ellen'=>[['normal'],['latin']],
145
+ 'Bevan'=>[['normal','italic'],['latin','latin-ext','vietnamese']],
146
+ 'Big Shoulders Display'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
147
+ 'Big Shoulders Inline Display'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
148
+ 'Big Shoulders Inline Text'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
149
+ 'Big Shoulders Stencil Display'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
150
+ 'Big Shoulders Stencil Text'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
151
+ 'Big Shoulders Text'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
152
  'Bigelow Rules'=>[['normal'],['latin','latin-ext']],
153
  'Bigshot One'=>[['normal'],['latin']],
154
  'Bilbo'=>[['normal'],['latin','latin-ext','vietnamese']],
155
  'Bilbo Swash Caps'=>[['normal'],['latin','latin-ext']],
156
  'BioRhyme'=>[['200','300','normal','700','800'],['latin','latin-ext']],
157
  'BioRhyme Expanded'=>[['200','300','normal','700','800'],['latin','latin-ext']],
158
+ 'Birthstone'=>[['normal'],['latin','latin-ext','vietnamese']],
159
+ 'Birthstone Bounce'=>[['normal','500'],['latin','latin-ext','vietnamese']],
160
  'Biryani'=>[['200','300','normal','600','700','800','900'],['devanagari','latin','latin-ext']],
161
  'Bitter'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
162
  'Black And White Picture'=>[['normal'],['korean','latin']],
164
  'Black Ops One'=>[['normal'],['latin','latin-ext']],
165
  'Blinker'=>[['100','200','300','normal','600','700','800','900'],['latin','latin-ext']],
166
  'Bodoni Moda'=>[['normal','500','600','700','800','900','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
167
+ 'Bokor'=>[['normal'],['khmer','latin']],
168
  'Bona Nova'=>[['normal','italic','700'],['cyrillic','cyrillic-ext','greek','hebrew','latin','latin-ext','vietnamese']],
169
  'Bonbon'=>[['normal'],['latin']],
170
+ 'Bonheur Royale'=>[['normal'],['latin','latin-ext','vietnamese']],
171
  'Boogaloo'=>[['normal'],['latin']],
172
  'Bowlby One'=>[['normal'],['latin']],
173
  'Bowlby One SC'=>[['normal'],['latin','latin-ext']],
190
  'Cabin Sketch'=>[['normal','700'],['latin']],
191
  'Caesar Dressing'=>[['normal'],['latin']],
192
  'Cagliostro'=>[['normal'],['latin']],
193
+ 'Cairo'=>[['200','300','normal','500','600','700','800','900'],['arabic','latin','latin-ext']],
194
  'Caladea'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
195
  'Calistoga'=>[['normal'],['latin','latin-ext','vietnamese']],
196
  'Calligraffitti'=>[['normal'],['latin']],
201
  'Cantata One'=>[['normal'],['latin','latin-ext']],
202
  'Cantora One'=>[['normal'],['latin','latin-ext']],
203
  'Capriola'=>[['normal'],['latin','latin-ext']],
204
+ 'Caramel'=>[['normal'],['latin','latin-ext','vietnamese']],
205
+ 'Carattere'=>[['normal'],['latin','latin-ext','vietnamese']],
206
  'Cardo'=>[['normal','italic','700'],['greek','greek-ext','latin','latin-ext']],
207
  'Carme'=>[['normal'],['latin']],
208
  'Carrois Gothic'=>[['normal'],['latin']],
226
  'Chela One'=>[['normal'],['latin','latin-ext']],
227
  'Chelsea Market'=>[['normal'],['latin','latin-ext']],
228
  'Chenla'=>[['normal'],['khmer']],
229
+ 'Cherish'=>[['normal'],['latin','latin-ext','vietnamese']],
230
  'Cherry Cream Soda'=>[['normal'],['latin']],
231
  'Cherry Swash'=>[['normal','700'],['latin','latin-ext']],
232
  'Chewy'=>[['normal'],['latin']],
243
  'Coiny'=>[['normal'],['latin','latin-ext','tamil','vietnamese']],
244
  'Combo'=>[['normal'],['latin','latin-ext']],
245
  'Comfortaa'=>[['300','normal','500','600','700'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
246
+ 'Comforter'=>[['normal'],['cyrillic','latin','latin-ext','vietnamese']],
247
+ 'Comforter Brush'=>[['normal'],['cyrillic','latin','latin-ext','vietnamese']],
248
  'Comic Neue'=>[['300','300italic','normal','italic','700','700italic'],['latin']],
249
  'Coming Soon'=>[['normal'],['latin']],
250
  'Commissioner'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
256
  'Cookie'=>[['normal'],['latin']],
257
  'Copse'=>[['normal'],['latin']],
258
  'Corben'=>[['normal','700'],['latin','latin-ext']],
259
+ 'Corinthia'=>[['normal','700'],['latin','latin-ext','vietnamese']],
260
  'Cormorant'=>[['300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
261
  'Cormorant Garamond'=>[['300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
262
  'Cormorant Infant'=>[['300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
272
  'Creepster'=>[['normal'],['latin']],
273
  'Crete Round'=>[['normal','italic'],['latin','latin-ext']],
274
  'Crimson Pro'=>[['200','300','normal','500','600','700','800','900','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
 
275
  'Croissant One'=>[['normal'],['latin','latin-ext']],
276
  'Crushed'=>[['normal'],['latin']],
277
  'Cuprum'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
284
  'DM Serif Text'=>[['normal','italic'],['latin','latin-ext']],
285
  'Damion'=>[['normal'],['latin']],
286
  'Dancing Script'=>[['normal','500','600','700'],['latin','latin-ext','vietnamese']],
287
+ 'Dangrek'=>[['normal'],['khmer','latin']],
288
  'Darker Grotesque'=>[['300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
289
  'David Libre'=>[['normal','500','700'],['hebrew','latin','latin-ext','vietnamese']],
290
  'Dawning of a New Day'=>[['normal'],['latin']],
305
  'Dokdo'=>[['normal'],['korean','latin']],
306
  'Domine'=>[['normal','500','600','700'],['latin','latin-ext']],
307
  'Donegal One'=>[['normal'],['latin','latin-ext']],
308
+ 'Dongle'=>[['300','normal','700'],['korean','latin','latin-ext','vietnamese']],
309
  'Doppio One'=>[['normal'],['latin','latin-ext']],
310
  'Dorsa'=>[['normal'],['latin']],
311
  'Dosis'=>[['200','300','normal','500','600','700','800'],['latin','latin-ext','vietnamese']],
319
  'Eater'=>[['normal'],['latin','latin-ext']],
320
  'Economica'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
321
  'Eczar'=>[['normal','500','600','700','800'],['devanagari','latin','latin-ext']],
322
+ 'El Messiri'=>[['normal','500','600','700'],['arabic','cyrillic','latin','latin-ext']],
323
  'Electrolize'=>[['normal'],['latin']],
324
  'Elsie'=>[['normal','900'],['latin','latin-ext']],
325
  'Elsie Swash Caps'=>[['normal','900'],['latin','latin-ext']],
334
  'Engagement'=>[['normal'],['latin']],
335
  'Englebert'=>[['normal'],['latin','latin-ext']],
336
  'Enriqueta'=>[['normal','500','600','700'],['latin','latin-ext']],
337
+ 'Ephesis'=>[['normal'],['latin','latin-ext','vietnamese']],
338
  'Epilogue'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
339
  'Erica One'=>[['normal'],['latin','latin-ext']],
340
  'Esteban'=>[['normal'],['latin','latin-ext']],
341
+ 'Estonia'=>[['normal'],['latin','latin-ext','vietnamese']],
342
  'Euphoria Script'=>[['normal'],['latin','latin-ext']],
343
  'Ewert'=>[['normal'],['latin','latin-ext']],
344
  'Exo'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
345
  'Exo 2'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
346
+ 'Expletus Sans'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['latin','latin-ext']],
347
+ 'Explora'=>[['normal'],['cherokee','latin','latin-ext','vietnamese']],
348
  'Fahkwang'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
349
  'Fanwood Text'=>[['normal','italic'],['latin']],
350
  'Farro'=>[['300','normal','500','700'],['latin','latin-ext']],
352
  'Fascinate'=>[['normal'],['latin']],
353
  'Fascinate Inline'=>[['normal'],['latin']],
354
  'Faster One'=>[['normal'],['latin']],
355
+ 'Fasthand'=>[['normal'],['khmer','latin']],
356
  'Fauna One'=>[['normal'],['latin','latin-ext']],
357
+ 'Faustina'=>[['300','normal','500','600','700','800','300italic','italic','500italic','600italic','700italic','800italic'],['latin','latin-ext','vietnamese']],
358
  'Federant'=>[['normal'],['latin']],
359
  'Federo'=>[['normal'],['latin']],
360
  'Felipa'=>[['normal'],['latin','latin-ext']],
370
  'Fjord One'=>[['normal'],['latin']],
371
  'Flamenco'=>[['300','normal'],['latin']],
372
  'Flavors'=>[['normal'],['latin','latin-ext']],
373
+ 'Fleur De Leah'=>[['normal'],['latin','latin-ext','vietnamese']],
374
+ 'Flow Block'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
375
+ 'Flow Circular'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
376
+ 'Flow Rounded'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
377
  'Fondamento'=>[['normal','italic'],['latin','latin-ext']],
378
  'Fontdiner Swanky'=>[['normal'],['latin']],
379
  'Forum'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext']],
383
  'Freckle Face'=>[['normal'],['latin','latin-ext']],
384
  'Fredericka the Great'=>[['normal'],['latin','latin-ext']],
385
  'Fredoka One'=>[['normal'],['latin']],
386
+ 'Freehand'=>[['normal'],['khmer','latin']],
387
  'Fresca'=>[['normal'],['latin','latin-ext']],
388
  'Frijole'=>[['normal'],['latin']],
389
  'Fruktur'=>[['normal'],['latin','latin-ext']],
390
  'Fugaz One'=>[['normal'],['latin']],
391
  'Fuggles'=>[['normal'],['latin','latin-ext','vietnamese']],
392
+ 'Fuzzy Bubbles'=>[['normal','700'],['latin','latin-ext','vietnamese']],
393
  'GFS Didot'=>[['normal'],['greek']],
394
  'GFS Neohellenic'=>[['normal','italic','700','700italic'],['greek']],
395
  'Gabriela'=>[['normal'],['cyrillic','cyrillic-ext','latin']],
401
  'Gamja Flower'=>[['normal'],['korean','latin']],
402
  'Gayathri'=>[['100','normal','700'],['latin','malayalam']],
403
  'Gelasio'=>[['normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','vietnamese']],
404
+ 'Gemunu Libre'=>[['200','300','normal','500','600','700','800'],['latin','latin-ext','sinhala']],
405
+ 'Genos'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cherokee','latin','latin-ext','vietnamese']],
406
  'Gentium Basic'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
407
  'Gentium Book Basic'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
408
  'Geo'=>[['normal','italic'],['latin']],
410
  'Geostar'=>[['normal'],['latin']],
411
  'Geostar Fill'=>[['normal'],['latin']],
412
  'Germania One'=>[['normal'],['latin']],
413
+ 'Gideon Roman'=>[['normal'],['latin','latin-ext','vietnamese']],
414
  'Gidugu'=>[['normal'],['latin','telugu']],
415
  'Gilda Display'=>[['normal'],['latin','latin-ext']],
416
  'Girassol'=>[['normal'],['latin','latin-ext']],
418
  'Glass Antiqua'=>[['normal'],['latin','latin-ext']],
419
  'Glegoo'=>[['normal','700'],['devanagari','latin','latin-ext']],
420
  'Gloria Hallelujah'=>[['normal'],['latin']],
421
+ 'Glory'=>[['100','200','300','normal','500','600','700','800','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic'],['latin','latin-ext','vietnamese']],
422
+ 'Gluten'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
423
  'Goblin One'=>[['normal'],['latin']],
424
  'Gochi Hand'=>[['normal'],['latin']],
425
  'Goldman'=>[['normal','700'],['latin','latin-ext','vietnamese']],
433
  'Grand Hotel'=>[['normal'],['latin','latin-ext']],
434
  'Grandstander'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
435
  'Gravitas One'=>[['normal'],['latin']],
436
+ 'Great Vibes'=>[['normal'],['latin','latin-ext','vietnamese']],
437
+ 'Grechen Fuemen'=>[['normal'],['latin','latin-ext','vietnamese']],
438
  'Grenze'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['latin','latin-ext','vietnamese']],
439
  'Grenze Gotisch'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
440
+ 'Grey Qo'=>[['normal'],['latin','latin-ext','vietnamese']],
441
  'Griffy'=>[['normal'],['latin','latin-ext']],
442
  'Gruppo'=>[['normal'],['latin','latin-ext']],
443
  'Gudea'=>[['normal','italic','700'],['latin','latin-ext']],
444
  'Gugi'=>[['normal'],['korean','latin']],
445
  'Gupter'=>[['normal','500','700'],['latin']],
446
  'Gurajada'=>[['normal'],['latin','telugu']],
447
+ 'Gwendolyn'=>[['normal','700'],['latin','latin-ext','vietnamese']],
448
  'Habibi'=>[['normal'],['latin','latin-ext']],
449
  'Hachi Maru Pop'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
450
  'Hahmlet'=>[['100','200','300','normal','500','600','700','800','900'],['korean','latin','latin-ext','vietnamese']],
453
  'Hanalei'=>[['normal'],['latin','latin-ext']],
454
  'Hanalei Fill'=>[['normal'],['latin','latin-ext']],
455
  'Handlee'=>[['normal'],['latin']],
456
+ 'Hanuman'=>[['100','300','normal','700','900'],['khmer','latin']],
457
  'Happy Monkey'=>[['normal'],['latin','latin-ext']],
458
  'Harmattan'=>[['normal','700'],['arabic','latin','latin-ext']],
459
  'Headland One'=>[['normal'],['latin','latin-ext']],
462
  'Hepta Slab'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
463
  'Herr Von Muellerhoff'=>[['normal'],['latin','latin-ext']],
464
  'Hi Melody'=>[['normal'],['korean','latin']],
465
+ 'Hina Mincho'=>[['normal'],['cyrillic','japanese','latin','latin-ext','vietnamese']],
466
  'Hind'=>[['300','normal','500','600','700'],['devanagari','latin','latin-ext']],
467
  'Hind Guntur'=>[['300','normal','500','600','700'],['latin','latin-ext','telugu']],
468
  'Hind Madurai'=>[['300','normal','500','600','700'],['latin','latin-ext','tamil']],
471
  'Holtwood One SC'=>[['normal'],['latin']],
472
  'Homemade Apple'=>[['normal'],['latin']],
473
  'Homenaje'=>[['normal'],['latin']],
474
+ 'Hurricane'=>[['normal'],['latin','latin-ext','vietnamese']],
475
  'IBM Plex Mono'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
476
  'IBM Plex Sans'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
477
+ 'IBM Plex Sans Arabic'=>[['100','200','300','normal','500','600','700'],['arabic','cyrillic-ext','latin','latin-ext']],
478
+ 'IBM Plex Sans Condensed'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic-ext','latin','latin-ext','vietnamese']],
479
+ 'IBM Plex Sans Devanagari'=>[['100','200','300','normal','500','600','700'],['cyrillic-ext','devanagari','latin','latin-ext']],
480
+ 'IBM Plex Sans Hebrew'=>[['100','200','300','normal','500','600','700'],['cyrillic-ext','hebrew','latin','latin-ext']],
481
+ 'IBM Plex Sans KR'=>[['100','200','300','normal','500','600','700'],['korean','latin','latin-ext']],
482
+ 'IBM Plex Sans Thai'=>[['100','200','300','normal','500','600','700'],['cyrillic-ext','latin','latin-ext','thai']],
483
+ 'IBM Plex Sans Thai Looped'=>[['100','200','300','normal','500','600','700'],['cyrillic-ext','latin','latin-ext','thai']],
484
  'IBM Plex Serif'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
485
  'IM Fell DW Pica'=>[['normal','italic'],['latin']],
486
  'IM Fell DW Pica SC'=>[['normal'],['latin']],
496
  'Iceberg'=>[['normal'],['latin']],
497
  'Iceland'=>[['normal'],['latin']],
498
  'Imbue'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
499
+ 'Imperial Script'=>[['normal'],['latin','latin-ext','vietnamese']],
500
  'Imprima'=>[['normal'],['latin','latin-ext']],
501
  'Inconsolata'=>[['200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
502
  'Inder'=>[['normal'],['latin','latin-ext']],
505
  'Inknut Antiqua'=>[['300','normal','500','600','700','800','900'],['devanagari','latin','latin-ext']],
506
  'Inria Sans'=>[['300','300italic','normal','italic','700','700italic'],['latin','latin-ext']],
507
  'Inria Serif'=>[['300','300italic','normal','italic','700','700italic'],['latin','latin-ext']],
508
+ 'Inspiration'=>[['normal'],['latin','latin-ext','vietnamese']],
509
  'Inter'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
510
  'Irish Grover'=>[['normal'],['latin']],
511
+ 'Island Moments'=>[['normal'],['latin','latin-ext','vietnamese']],
512
  'Istok Web'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext']],
513
  'Italiana'=>[['normal'],['latin']],
514
  'Italianno'=>[['normal'],['latin','latin-ext','vietnamese']],
531
  'Julee'=>[['normal'],['latin']],
532
  'Julius Sans One'=>[['normal'],['latin','latin-ext']],
533
  'Junge'=>[['normal'],['latin']],
534
+ 'Jura'=>[['300','normal','500','600','700'],['cyrillic','cyrillic-ext','greek','greek-ext','kayah-li','latin','latin-ext','vietnamese']],
535
  'Just Another Hand'=>[['normal'],['latin']],
536
  'Just Me Again Down Here'=>[['normal'],['latin','latin-ext']],
537
  'K2D'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic'],['latin','latin-ext','thai','vietnamese']],
538
  'Kadwa'=>[['normal','700'],['devanagari','latin']],
539
+ 'Kaisei Decol'=>[['normal','500','700'],['cyrillic','japanese','latin','latin-ext']],
540
+ 'Kaisei HarunoUmi'=>[['normal','500','700'],['cyrillic','japanese','latin','latin-ext']],
541
+ 'Kaisei Opti'=>[['normal','500','700'],['cyrillic','japanese','latin','latin-ext']],
542
+ 'Kaisei Tokumin'=>[['normal','500','700','800'],['cyrillic','japanese','latin','latin-ext']],
543
  'Kalam'=>[['300','normal','700'],['devanagari','latin','latin-ext']],
544
  'Kameron'=>[['normal','700'],['latin']],
545
  'Kanit'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['latin','latin-ext','thai','vietnamese']],
558
  'Khand'=>[['300','normal','500','600','700'],['devanagari','latin','latin-ext']],
559
  'Khmer'=>[['normal'],['khmer']],
560
  'Khula'=>[['300','normal','600','700','800'],['devanagari','latin','latin-ext']],
561
+ 'Kings'=>[['normal'],['latin','latin-ext','vietnamese']],
562
  'Kirang Haerang'=>[['normal'],['korean','latin']],
563
  'Kite One'=>[['normal'],['latin']],
564
  'Kiwi Maru'=>[['300','normal','500'],['cyrillic','japanese','latin','latin-ext']],
565
+ 'Klee One'=>[['normal','600'],['cyrillic','greek-ext','japanese','latin','latin-ext']],
566
  'Knewave'=>[['normal'],['latin','latin-ext']],
567
  'KoHo'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
568
  'Kodchasan'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
569
+ 'Koh Santepheap'=>[['100','300','normal','700','900'],['khmer','latin']],
570
+ 'Kolker Brush'=>[['normal'],['latin','latin-ext','vietnamese']],
571
+ 'Kosugi'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
572
+ 'Kosugi Maru'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
573
  'Kotta One'=>[['normal'],['latin','latin-ext']],
574
+ 'Koulen'=>[['normal'],['khmer','latin']],
575
  'Kranky'=>[['normal'],['latin']],
576
  'Kreon'=>[['300','normal','500','600','700'],['latin','latin-ext']],
577
  'Kristi'=>[['normal'],['latin']],
581
  'Kulim Park'=>[['200','200italic','300','300italic','normal','italic','600','600italic','700','700italic'],['latin','latin-ext']],
582
  'Kumar One'=>[['normal'],['gujarati','latin','latin-ext']],
583
  'Kumar One Outline'=>[['normal'],['gujarati','latin','latin-ext']],
584
+ 'Kumbh Sans'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext']],
585
  'Kurale'=>[['normal'],['cyrillic','cyrillic-ext','devanagari','latin','latin-ext']],
586
  'La Belle Aurore'=>[['normal'],['latin']],
587
  'Lacquer'=>[['normal'],['latin']],
598
  'Lekton'=>[['normal','italic','700'],['latin','latin-ext']],
599
  'Lemon'=>[['normal'],['latin']],
600
  'Lemonada'=>[['300','normal','500','600','700'],['arabic','latin','latin-ext','vietnamese']],
601
+ 'Lexend'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
602
+ 'Lexend Deca'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
603
+ 'Lexend Exa'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
604
+ 'Lexend Giga'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
605
+ 'Lexend Mega'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
606
+ 'Lexend Peta'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
607
+ 'Lexend Tera'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
608
+ 'Lexend Zetta'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
609
  'Libre Barcode 128'=>[['normal'],['latin']],
610
  'Libre Barcode 128 Text'=>[['normal'],['latin']],
611
  'Libre Barcode 39'=>[['normal'],['latin']],
617
  'Libre Caslon Display'=>[['normal'],['latin','latin-ext']],
618
  'Libre Caslon Text'=>[['normal','italic','700'],['latin','latin-ext']],
619
  'Libre Franklin'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
620
+ 'Licorice'=>[['normal'],['latin','latin-ext','vietnamese']],
621
  'Life Savers'=>[['normal','700','800'],['latin','latin-ext']],
622
  'Lilita One'=>[['normal'],['latin','latin-ext']],
623
  'Lily Script One'=>[['normal'],['latin','latin-ext']],
634
  'Londrina Solid'=>[['100','300','normal','900'],['latin']],
635
  'Long Cang'=>[['normal'],['chinese-simplified','latin']],
636
  'Lora'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
637
+ 'Love Light'=>[['normal'],['latin','latin-ext','vietnamese']],
638
  'Love Ya Like A Sister'=>[['normal'],['latin']],
639
  'Loved by the King'=>[['normal'],['latin']],
640
  'Lovers Quarrel'=>[['normal'],['latin','latin-ext','vietnamese']],
641
  'Luckiest Guy'=>[['normal'],['latin']],
642
  'Lusitana'=>[['normal','700'],['latin']],
643
  'Lustria'=>[['normal'],['latin']],
644
+ 'Luxurious Roman'=>[['normal'],['latin','latin-ext','vietnamese']],
645
+ 'Luxurious Script'=>[['normal'],['latin','latin-ext','vietnamese']],
646
+ 'M PLUS 1'=>[['100','200','300','normal','500','600','700','800','900'],['japanese','latin','latin-ext','vietnamese']],
647
+ 'M PLUS 1 Code'=>[['100','200','300','normal','500','600','700'],['japanese','latin','latin-ext','vietnamese']],
648
  'M PLUS 1p'=>[['100','300','normal','500','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','hebrew','japanese','latin','latin-ext','vietnamese']],
649
+ 'M PLUS 2'=>[['100','200','300','normal','500','600','700','800','900'],['japanese','latin','latin-ext','vietnamese']],
650
+ 'M PLUS Code Latin'=>[['100','200','300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
651
  'M PLUS Rounded 1c'=>[['100','300','normal','500','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','hebrew','japanese','latin','latin-ext','vietnamese']],
652
  'Ma Shan Zheng'=>[['normal'],['chinese-simplified','latin']],
653
  'Macondo'=>[['normal'],['latin']],
662
  'Mallanna'=>[['normal'],['latin','telugu']],
663
  'Mandali'=>[['normal'],['latin','telugu']],
664
  'Manjari'=>[['100','normal','700'],['latin','latin-ext','malayalam']],
665
+ 'Manrope'=>[['200','300','normal','500','600','700','800'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
666
  'Mansalva'=>[['normal'],['latin']],
667
+ 'Manuale'=>[['300','normal','500','600','700','800','300italic','italic','500italic','600italic','700italic','800italic'],['latin','latin-ext','vietnamese']],
668
  'Marcellus'=>[['normal'],['latin','latin-ext']],
669
  'Marcellus SC'=>[['normal'],['latin','latin-ext']],
670
  'Marck Script'=>[['normal'],['cyrillic','latin','latin-ext']],
679
  'Mate SC'=>[['normal'],['latin']],
680
  'Maven Pro'=>[['normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
681
  'McLaren'=>[['normal'],['latin','latin-ext']],
682
+ 'Mea Culpa'=>[['normal'],['latin','latin-ext','vietnamese']],
683
  'Meddon'=>[['normal'],['latin']],
684
  'MedievalSharp'=>[['normal'],['latin','latin-ext']],
685
  'Medula One'=>[['normal'],['latin']],
686
  'Meera Inimai'=>[['normal'],['latin','tamil']],
687
  'Megrim'=>[['normal'],['latin']],
688
  'Meie Script'=>[['normal'],['latin','latin-ext']],
689
+ 'Meow Script'=>[['normal'],['latin','latin-ext','vietnamese']],
690
  'Merienda'=>[['normal','700'],['latin','latin-ext']],
691
  'Merienda One'=>[['normal'],['latin']],
692
  'Merriweather'=>[['300','300italic','normal','italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
693
  'Merriweather Sans'=>[['300','normal','500','600','700','800','300italic','italic','500italic','600italic','700italic','800italic'],['cyrillic-ext','latin','latin-ext','vietnamese']],
694
+ 'Metal'=>[['normal'],['khmer','latin']],
695
  'Metal Mania'=>[['normal'],['latin','latin-ext']],
696
  'Metamorphous'=>[['normal'],['latin','latin-ext']],
697
  'Metrophobic'=>[['normal'],['latin','latin-ext','vietnamese']],
705
  'Mirza'=>[['normal','500','600','700'],['arabic','latin','latin-ext']],
706
  'Miss Fajardose'=>[['normal'],['latin','latin-ext']],
707
  'Mitr'=>[['200','300','normal','500','600','700'],['latin','latin-ext','thai','vietnamese']],
708
+ 'Mochiy Pop One'=>[['normal'],['japanese','latin']],
709
+ 'Mochiy Pop P One'=>[['normal'],['japanese','latin']],
710
  'Modak'=>[['normal'],['devanagari','latin','latin-ext']],
711
  'Modern Antiqua'=>[['normal'],['latin','latin-ext']],
712
  'Mogra'=>[['normal'],['gujarati','latin','latin-ext']],
713
+ 'Mohave'=>[['300','normal','500','600','700','300italic','italic','500italic','600italic','700italic'],['latin','latin-ext']],
714
  'Molengo'=>[['normal'],['latin','latin-ext']],
715
  'Molle'=>[['italic'],['latin','latin-ext']],
716
  'Monda'=>[['normal','700'],['latin','latin-ext','vietnamese']],
718
  'Monoton'=>[['normal'],['latin']],
719
  'Monsieur La Doulaise'=>[['normal'],['latin','latin-ext']],
720
  'Montaga'=>[['normal'],['latin']],
721
+ 'Montagu Slab'=>[['100','200','300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
722
  'MonteCarlo'=>[['normal'],['latin','latin-ext','vietnamese']],
723
  'Montez'=>[['normal'],['latin']],
724
  'Montserrat'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
725
  'Montserrat Alternates'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
726
  'Montserrat Subrayada'=>[['normal','700'],['latin']],
727
+ 'Moo Lah Lah'=>[['normal'],['latin','latin-ext','vietnamese']],
728
+ 'Moon Dance'=>[['normal'],['latin','latin-ext','vietnamese']],
729
+ 'Moul'=>[['normal'],['khmer','latin']],
730
+ 'Moulpali'=>[['normal'],['khmer','latin']],
731
  'Mountains of Christmas'=>[['normal','700'],['latin']],
732
  'Mouse Memoirs'=>[['normal'],['latin','latin-ext']],
733
  'Mr Bedfort'=>[['normal'],['latin','latin-ext']],
739
  'Mukta Mahee'=>[['200','300','normal','500','600','700','800'],['gurmukhi','latin','latin-ext']],
740
  'Mukta Malar'=>[['200','300','normal','500','600','700','800'],['latin','latin-ext','tamil']],
741
  'Mukta Vaani'=>[['200','300','normal','500','600','700','800'],['gujarati','latin','latin-ext']],
742
+ 'Mulish'=>[['200','300','normal','500','600','700','800','900','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
743
+ 'Murecho'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','japanese','latin','latin-ext']],
744
  'MuseoModerno'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
745
  'Mystery Quest'=>[['normal'],['latin','latin-ext']],
746
  'NTR'=>[['normal'],['latin','telugu']],
760
  'Niramit'=>[['200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
761
  'Nixie One'=>[['normal'],['latin']],
762
  'Nobile'=>[['normal','italic','500','500italic','700','700italic'],['latin','latin-ext']],
763
+ 'Nokora'=>[['100','300','normal','700','900'],['khmer','latin']],
764
  'Norican'=>[['normal'],['latin','latin-ext']],
765
  'Nosifer'=>[['normal'],['latin','latin-ext']],
766
  'Notable'=>[['normal'],['latin']],
767
  'Nothing You Could Do'=>[['normal'],['latin']],
768
  'Noticia Text'=>[['normal','italic','700','700italic'],['latin','latin-ext','vietnamese']],
769
+ 'Noto Kufi Arabic'=>[['100','200','300','normal','500','600','700','800','900'],['arabic']],
770
+ 'Noto Music'=>[['normal'],['music']],
771
+ 'Noto Naskh Arabic'=>[['normal','500','600','700'],['arabic']],
772
+ 'Noto Nastaliq Urdu'=>[['normal','700'],['arabic']],
773
+ 'Noto Rashi Hebrew'=>[['100','200','300','normal','500','600','700','800','900'],['hebrew']],
774
  'Noto Sans'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','devanagari','greek','greek-ext','latin','latin-ext','vietnamese']],
775
+ 'Noto Sans Adlam'=>[['normal','500','600','700'],['adlam']],
776
+ 'Noto Sans Adlam Unjoined'=>[['normal','500','600','700'],['adlam']],
777
+ 'Noto Sans Anatolian Hieroglyphs'=>[['normal'],['anatolian-hieroglyphs']],
778
+ 'Noto Sans Arabic'=>[['100','200','300','normal','500','600','700','800','900'],['arabic']],
779
+ 'Noto Sans Armenian'=>[['100','200','300','normal','500','600','700','800','900'],['armenian']],
780
+ 'Noto Sans Avestan'=>[['normal'],['avestan']],
781
+ 'Noto Sans Balinese'=>[['normal','500','600','700'],['balinese']],
782
+ 'Noto Sans Bamum'=>[['normal','500','600','700'],['bamum']],
783
+ 'Noto Sans Bassa Vah'=>[['normal'],['bassa-vah']],
784
+ 'Noto Sans Batak'=>[['normal'],['batak']],
785
+ 'Noto Sans Bengali'=>[['100','200','300','normal','500','600','700','800','900'],['bengali']],
786
+ 'Noto Sans Bhaiksuki'=>[['normal'],['bhaiksuki']],
787
+ 'Noto Sans Brahmi'=>[['normal'],['brahmi']],
788
+ 'Noto Sans Buginese'=>[['normal'],['buginese']],
789
+ 'Noto Sans Buhid'=>[['normal'],['buhid']],
790
+ 'Noto Sans Canadian Aboriginal'=>[['100','200','300','normal','500','600','700','800','900'],['canadian-aboriginal']],
791
+ 'Noto Sans Carian'=>[['normal'],['carian']],
792
+ 'Noto Sans Caucasian Albanian'=>[['normal'],['caucasian-albanian']],
793
+ 'Noto Sans Chakma'=>[['normal'],['chakma']],
794
+ 'Noto Sans Cham'=>[['100','200','300','normal','500','600','700','800','900'],['cham']],
795
+ 'Noto Sans Cherokee'=>[['100','200','300','normal','500','600','700','800','900'],['cherokee']],
796
+ 'Noto Sans Coptic'=>[['normal'],['coptic']],
797
+ 'Noto Sans Cuneiform'=>[['normal'],['cuneiform']],
798
+ 'Noto Sans Cypriot'=>[['normal'],['cypriot']],
799
+ 'Noto Sans Deseret'=>[['normal'],['deseret']],
800
+ 'Noto Sans Devanagari'=>[['100','200','300','normal','500','600','700','800','900'],['devanagari']],
801
+ 'Noto Sans Display'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
802
+ 'Noto Sans Duployan'=>[['normal'],['duployan']],
803
+ 'Noto Sans Egyptian Hieroglyphs'=>[['normal'],['egyptian-hieroglyphs']],
804
+ 'Noto Sans Elbasan'=>[['normal'],['elbasan']],
805
+ 'Noto Sans Elymaic'=>[['normal'],['elymaic']],
806
+ 'Noto Sans Georgian'=>[['100','200','300','normal','500','600','700','800','900'],['georgian']],
807
+ 'Noto Sans Glagolitic'=>[['normal'],['glagolitic']],
808
+ 'Noto Sans Gothic'=>[['normal'],['gothic']],
809
+ 'Noto Sans Grantha'=>[['normal'],['grantha']],
810
+ 'Noto Sans Gujarati'=>[['100','200','300','normal','500','600','700','800','900'],['gujarati']],
811
+ 'Noto Sans Gunjala Gondi'=>[['normal'],['gunjala-gondi']],
812
+ 'Noto Sans Gurmukhi'=>[['100','200','300','normal','500','600','700','800','900'],['gurmukhi']],
813
  'Noto Sans HK'=>[['100','300','normal','500','700','900'],['chinese-hongkong','latin']],
814
+ 'Noto Sans Hanifi Rohingya'=>[['normal','500','600','700'],['hanifi-rohingya']],
815
+ 'Noto Sans Hanunoo'=>[['normal'],['hanunoo']],
816
+ 'Noto Sans Hatran'=>[['normal'],['hatran']],
817
+ 'Noto Sans Hebrew'=>[['100','200','300','normal','500','600','700','800','900'],['hebrew']],
818
+ 'Noto Sans Imperial Aramaic'=>[['normal'],['imperial-aramaic']],
819
+ 'Noto Sans Indic Siyaq Numbers'=>[['normal'],['indic-siyaq-numbers']],
820
+ 'Noto Sans Inscriptional Pahlavi'=>[['normal'],['inscriptional-pahlavi']],
821
+ 'Noto Sans Inscriptional Parthian'=>[['normal'],['inscriptional-parthian']],
822
  'Noto Sans JP'=>[['100','300','normal','500','700','900'],['japanese','latin']],
823
+ 'Noto Sans Javanese'=>[['normal','700'],['javanese']],
824
  'Noto Sans KR'=>[['100','300','normal','500','700','900'],['korean','latin']],
825
+ 'Noto Sans Kaithi'=>[['normal'],['kaithi']],
826
+ 'Noto Sans Kannada'=>[['100','200','300','normal','500','600','700','800','900'],['kannada']],
827
+ 'Noto Sans Kayah Li'=>[['normal','500','600','700'],['kayah-li']],
828
+ 'Noto Sans Kharoshthi'=>[['normal'],['kharoshthi']],
829
+ 'Noto Sans Khmer'=>[['100','200','300','normal','500','600','700','800','900'],['khmer']],
830
+ 'Noto Sans Khojki'=>[['normal'],['khojki']],
831
+ 'Noto Sans Khudawadi'=>[['normal'],['khudawadi']],
832
+ 'Noto Sans Lao'=>[['100','200','300','normal','500','600','700','800','900'],['lao']],
833
+ 'Noto Sans Lepcha'=>[['normal'],['lepcha']],
834
+ 'Noto Sans Limbu'=>[['normal'],['limbu']],
835
+ 'Noto Sans Linear A'=>[['normal'],['linear-a']],
836
+ 'Noto Sans Linear B'=>[['normal'],['linear-b']],
837
+ 'Noto Sans Lisu'=>[['normal','500','600','700'],['lisu']],
838
+ 'Noto Sans Lycian'=>[['normal'],['lycian']],
839
+ 'Noto Sans Lydian'=>[['normal'],['lydian']],
840
+ 'Noto Sans Mahajani'=>[['normal'],['mahajani']],
841
+ 'Noto Sans Malayalam'=>[['100','200','300','normal','500','600','700','800','900'],['malayalam']],
842
+ 'Noto Sans Mandaic'=>[['normal'],['mandaic']],
843
+ 'Noto Sans Manichaean'=>[['normal'],['manichaean']],
844
+ 'Noto Sans Marchen'=>[['normal'],['marchen']],
845
+ 'Noto Sans Masaram Gondi'=>[['normal'],['masaram-gondi']],
846
+ 'Noto Sans Math'=>[['normal'],['math']],
847
+ 'Noto Sans Mayan Numerals'=>[['normal'],['mayan-numerals']],
848
+ 'Noto Sans Medefaidrin'=>[['normal','500','600','700'],['medefaidrin']],
849
+ 'Noto Sans Meetei Mayek'=>[['100','200','300','normal','500','600','700','800','900'],['meetei-mayek']],
850
+ 'Noto Sans Meroitic'=>[['normal'],['meroitic']],
851
+ 'Noto Sans Miao'=>[['normal'],['miao']],
852
+ 'Noto Sans Modi'=>[['normal'],['modi']],
853
+ 'Noto Sans Mongolian'=>[['normal'],['mongolian']],
854
+ 'Noto Sans Mono'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
855
+ 'Noto Sans Mro'=>[['normal'],['mro']],
856
+ 'Noto Sans Multani'=>[['normal'],['multani']],
857
+ 'Noto Sans Myanmar'=>[['100','200','300','normal','500','600','700','800','900'],['myanmar']],
858
+ 'Noto Sans N Ko'=>[['normal'],['nko']],
859
+ 'Noto Sans Nabataean'=>[['normal'],['nabataean']],
860
+ 'Noto Sans New Tai Lue'=>[['normal'],['new-tai-lue']],
861
+ 'Noto Sans Newa'=>[['normal'],['newa']],
862
+ 'Noto Sans Nushu'=>[['normal'],['nushu']],
863
+ 'Noto Sans Ogham'=>[['normal'],['ogham']],
864
+ 'Noto Sans Ol Chiki'=>[['normal','500','600','700'],['ol-chiki']],
865
+ 'Noto Sans Old Hungarian'=>[['normal'],['old-hungarian']],
866
+ 'Noto Sans Old Italic'=>[['normal'],['old-italic']],
867
+ 'Noto Sans Old North Arabian'=>[['normal'],['old-north-arabian']],
868
+ 'Noto Sans Old Permic'=>[['normal'],['old-permic']],
869
+ 'Noto Sans Old Persian'=>[['normal'],['old-persian']],
870
+ 'Noto Sans Old Sogdian'=>[['normal'],['old-sogdian']],
871
+ 'Noto Sans Old South Arabian'=>[['normal'],['old-south-arabian']],
872
+ 'Noto Sans Old Turkic'=>[['normal'],['old-turkic']],
873
+ 'Noto Sans Oriya'=>[['100','normal','700','900'],['oriya']],
874
+ 'Noto Sans Osage'=>[['normal'],['osage']],
875
+ 'Noto Sans Osmanya'=>[['normal'],['osmanya']],
876
+ 'Noto Sans Pahawh Hmong'=>[['normal'],['pahawh-hmong']],
877
+ 'Noto Sans Palmyrene'=>[['normal'],['palmyrene']],
878
+ 'Noto Sans Pau Cin Hau'=>[['normal'],['pau-cin-hau']],
879
+ 'Noto Sans Phags Pa'=>[['normal'],['phags-pa']],
880
+ 'Noto Sans Phoenician'=>[['normal'],['phoenician']],
881
+ 'Noto Sans Psalter Pahlavi'=>[['normal'],['psalter-pahlavi']],
882
+ 'Noto Sans Rejang'=>[['normal'],['rejang']],
883
+ 'Noto Sans Runic'=>[['normal'],['runic']],
884
  'Noto Sans SC'=>[['100','300','normal','500','700','900'],['chinese-simplified','latin']],
885
+ 'Noto Sans Samaritan'=>[['normal'],['samaritan']],
886
+ 'Noto Sans Saurashtra'=>[['normal'],['saurashtra']],
887
+ 'Noto Sans Sharada'=>[['normal'],['sharada']],
888
+ 'Noto Sans Shavian'=>[['normal'],['shavian']],
889
+ 'Noto Sans Siddham'=>[['normal'],['siddham']],
890
+ 'Noto Sans Sinhala'=>[['100','200','300','normal','500','600','700','800','900'],['sinhala']],
891
+ 'Noto Sans Sogdian'=>[['normal'],['sogdian']],
892
+ 'Noto Sans Sora Sompeng'=>[['normal','500','600','700'],['sora-sompeng']],
893
+ 'Noto Sans Soyombo'=>[['normal'],['soyombo']],
894
+ 'Noto Sans Sundanese'=>[['normal','500','600','700'],['sundanese']],
895
+ 'Noto Sans Syloti Nagri'=>[['normal'],['syloti-nagri']],
896
+ 'Noto Sans Symbols'=>[['100','200','300','normal','500','600','700','800','900'],['symbols']],
897
+ 'Noto Sans Symbols 2'=>[['normal'],['symbols']],
898
+ 'Noto Sans Syriac'=>[['100','normal','900'],['syriac']],
899
  'Noto Sans TC'=>[['100','300','normal','500','700','900'],['chinese-traditional','latin']],
900
+ 'Noto Sans Tagalog'=>[['normal'],['tagalog']],
901
+ 'Noto Sans Tagbanwa'=>[['normal'],['tagbanwa']],
902
+ 'Noto Sans Tai Le'=>[['normal'],['tai-le']],
903
+ 'Noto Sans Tai Tham'=>[['normal','500','600','700'],['tai-tham']],
904
+ 'Noto Sans Tai Viet'=>[['normal'],['tai-viet']],
905
+ 'Noto Sans Takri'=>[['normal'],['takri']],
906
+ 'Noto Sans Tamil'=>[['100','200','300','normal','500','600','700','800','900'],['tamil']],
907
+ 'Noto Sans Tamil Supplement'=>[['normal'],['tamil-supplement']],
908
+ 'Noto Sans Telugu'=>[['100','200','300','normal','500','600','700','800','900'],['telugu']],
909
+ 'Noto Sans Thaana'=>[['100','200','300','normal','500','600','700','800','900'],['thaana']],
910
+ 'Noto Sans Thai'=>[['100','200','300','normal','500','600','700','800','900'],['thai']],
911
+ 'Noto Sans Thai Looped'=>[['100','200','300','normal','500','600','700','800','900'],['thai']],
912
+ 'Noto Sans Tifinagh'=>[['normal'],['tifinagh']],
913
+ 'Noto Sans Tirhuta'=>[['normal'],['tirhuta']],
914
+ 'Noto Sans Ugaritic'=>[['normal'],['ugaritic']],
915
+ 'Noto Sans Vai'=>[['normal'],['vai']],
916
+ 'Noto Sans Wancho'=>[['normal'],['wancho']],
917
+ 'Noto Sans Warang Citi'=>[['normal'],['warang-citi']],
918
+ 'Noto Sans Yi'=>[['normal'],['yi']],
919
+ 'Noto Sans Zanabazar Square'=>[['normal'],['zanabazar-square']],
920
  'Noto Serif'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
921
+ 'Noto Serif Ahom'=>[['normal'],['ahom']],
922
+ 'Noto Serif Armenian'=>[['100','200','300','normal','500','600','700','800','900'],['armenian']],
923
+ 'Noto Serif Balinese'=>[['normal'],['balinese']],
924
+ 'Noto Serif Bengali'=>[['100','200','300','normal','500','600','700','800','900'],['bengali']],
925
+ 'Noto Serif Devanagari'=>[['100','200','300','normal','500','600','700','800','900'],['devanagari']],
926
+ 'Noto Serif Display'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
927
+ 'Noto Serif Dogra'=>[['normal'],['dogra']],
928
+ 'Noto Serif Ethiopic'=>[['100','200','300','normal','500','600','700','800','900'],['ethiopic']],
929
+ 'Noto Serif Georgian'=>[['100','200','300','normal','500','600','700','800','900'],['georgian']],
930
+ 'Noto Serif Grantha'=>[['normal'],['grantha']],
931
+ 'Noto Serif Gujarati'=>[['100','200','300','normal','500','600','700','800','900'],['gujarati']],
932
+ 'Noto Serif Gurmukhi'=>[['100','200','300','normal','500','600','700','800','900'],['gurmukhi']],
933
+ 'Noto Serif Hebrew'=>[['100','200','300','normal','500','600','700','800','900'],['hebrew']],
934
  'Noto Serif JP'=>[['200','300','normal','500','600','700','900'],['japanese','latin']],
935
  'Noto Serif KR'=>[['200','300','normal','500','600','700','900'],['korean','latin']],
936
+ 'Noto Serif Kannada'=>[['100','200','300','normal','500','600','700','800','900'],['kannada']],
937
+ 'Noto Serif Khmer'=>[['100','200','300','normal','500','600','700','800','900'],['khmer']],
938
+ 'Noto Serif Lao'=>[['100','200','300','normal','500','600','700','800','900'],['lao']],
939
+ 'Noto Serif Malayalam'=>[['100','200','300','normal','500','600','700','800','900'],['malayalam']],
940
+ 'Noto Serif Myanmar'=>[['100','200','300','normal','500','600','700','800','900'],['myanmar']],
941
+ 'Noto Serif Nyiakeng Puachue Hmong'=>[['normal','500','600','700'],['nyiakeng-puachue-hmong']],
942
  'Noto Serif SC'=>[['200','300','normal','500','600','700','900'],['chinese-simplified','latin']],
943
+ 'Noto Serif Sinhala'=>[['100','200','300','normal','500','600','700','800','900'],['sinhala']],
944
  'Noto Serif TC'=>[['200','300','normal','500','600','700','900'],['chinese-traditional','latin']],
945
+ 'Noto Serif Tamil'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['tamil']],
946
+ 'Noto Serif Tangut'=>[['normal'],['tangut']],
947
+ 'Noto Serif Telugu'=>[['100','200','300','normal','500','600','700','800','900'],['telugu']],
948
+ 'Noto Serif Thai'=>[['100','200','300','normal','500','600','700','800','900'],['thai']],
949
+ 'Noto Serif Tibetan'=>[['100','200','300','normal','500','600','700','800','900'],['tibetan']],
950
+ 'Noto Serif Yezidi'=>[['normal','500','600','700'],['yezidi']],
951
+ 'Noto Traditional Nushu'=>[['normal'],['nushu']],
952
  'Nova Cut'=>[['normal'],['latin']],
953
  'Nova Flat'=>[['normal'],['latin']],
954
  'Nova Mono'=>[['normal'],['greek','latin']],
958
  'Nova Slim'=>[['normal'],['latin']],
959
  'Nova Square'=>[['normal'],['latin']],
960
  'Numans'=>[['normal'],['latin']],
961
+ 'Nunito'=>[['200','300','normal','500','600','700','800','900','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
962
+ 'Nunito Sans'=>[['200','200italic','300','300italic','normal','italic','600','600italic','700','700italic','800','800italic','900','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
963
  'Odibee Sans'=>[['normal'],['latin']],
964
+ 'Odor Mean Chey'=>[['normal'],['khmer','latin']],
965
  'Offside'=>[['normal'],['latin']],
966
+ 'Oi'=>[['normal'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','tamil','vietnamese']],
967
  'Old Standard TT'=>[['normal','italic','700'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
968
  'Oldenburg'=>[['normal'],['latin','latin-ext']],
969
+ 'Ole'=>[['normal'],['latin','latin-ext','vietnamese']],
970
  'Oleo Script'=>[['normal','700'],['latin','latin-ext']],
971
  'Oleo Script Swash Caps'=>[['normal','700'],['latin','latin-ext']],
972
+ 'Oooh Baby'=>[['normal'],['latin','latin-ext','vietnamese']],
973
+ 'Open Sans'=>[['300','normal','500','600','700','800','300italic','italic','500italic','600italic','700italic','800italic'],['cyrillic','cyrillic-ext','greek','greek-ext','hebrew','latin','latin-ext','vietnamese']],
974
  'Open Sans Condensed'=>[['300','300italic','700'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
975
  'Oranienbaum'=>[['normal'],['cyrillic','cyrillic-ext','latin','latin-ext']],
976
  'Orbitron'=>[['normal','500','600','700','800','900'],['latin']],
980
  'Original Surfer'=>[['normal'],['latin']],
981
  'Oswald'=>[['200','300','normal','500','600','700'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
982
  'Otomanopee One'=>[['normal'],['japanese','latin','latin-ext']],
983
+ 'Outfit'=>[['100','200','300','normal','500','600','700','800','900'],['latin']],
984
  'Over the Rainbow'=>[['normal'],['latin']],
985
  'Overlock'=>[['normal','italic','700','700italic','900','900italic'],['latin','latin-ext']],
986
  'Overlock SC'=>[['normal'],['latin','latin-ext']],
987
+ 'Overpass'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
988
+ 'Overpass Mono'=>[['300','normal','500','600','700'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
989
  'Ovo'=>[['normal'],['latin']],
990
  'Oxanium'=>[['200','300','normal','500','600','700','800'],['latin','latin-ext']],
991
  'Oxygen'=>[['300','normal','700'],['latin','latin-ext']],
1006
  'Parisienne'=>[['normal'],['latin','latin-ext']],
1007
  'Passero One'=>[['normal'],['latin','latin-ext']],
1008
  'Passion One'=>[['normal','700','900'],['latin','latin-ext']],
1009
+ 'Passions Conflict'=>[['normal'],['latin','latin-ext','vietnamese']],
1010
  'Pathway Gothic One'=>[['normal'],['latin','latin-ext']],
1011
  'Patrick Hand'=>[['normal'],['latin','latin-ext','vietnamese']],
1012
  'Patrick Hand SC'=>[['normal'],['latin','latin-ext','vietnamese']],
1017
  'Peddana'=>[['normal'],['latin','telugu']],
1018
  'Peralta'=>[['normal'],['latin','latin-ext']],
1019
  'Permanent Marker'=>[['normal'],['latin']],
1020
+ 'Petemoss'=>[['normal'],['latin','latin-ext','vietnamese']],
1021
  'Petit Formal Script'=>[['normal'],['latin','latin-ext']],
1022
  'Petrona'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
1023
  'Philosopher'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','latin','vietnamese']],
1042
  'Port Lligat Slab'=>[['normal'],['latin']],
1043
  'Potta One'=>[['normal'],['japanese','latin','latin-ext','vietnamese']],
1044
  'Pragati Narrow'=>[['normal','700'],['devanagari','latin','latin-ext']],
1045
+ 'Praise'=>[['normal'],['latin','latin-ext','vietnamese']],
1046
  'Prata'=>[['normal'],['cyrillic','cyrillic-ext','latin','vietnamese']],
1047
+ 'Preahvihear'=>[['normal'],['khmer','latin']],
1048
  'Press Start 2P'=>[['normal'],['cyrillic','cyrillic-ext','greek','latin','latin-ext']],
1049
  'Pridi'=>[['200','300','normal','500','600','700'],['latin','latin-ext','thai','vietnamese']],
1050
  'Princess Sofia'=>[['normal'],['latin','latin-ext']],
1053
  'Prosto One'=>[['normal'],['cyrillic','latin','latin-ext']],
1054
  'Proza Libre'=>[['normal','italic','500','500italic','600','600italic','700','700italic','800','800italic'],['latin','latin-ext']],
1055
  'Public Sans'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
1056
+ 'Puppies Play'=>[['normal'],['latin','latin-ext','vietnamese']],
1057
  'Puritan'=>[['normal','italic','700','700italic'],['latin']],
1058
  'Purple Purse'=>[['normal'],['latin','latin-ext']],
1059
+ 'Pushster'=>[['normal'],['latin','latin-ext']],
1060
  'Qahiri'=>[['normal'],['arabic','latin']],
1061
  'Quando'=>[['normal'],['latin','latin-ext']],
1062
  'Quantico'=>[['normal','italic','700','700italic'],['latin']],
1066
  'Quicksand'=>[['300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
1067
  'Quintessential'=>[['normal'],['latin','latin-ext']],
1068
  'Qwigley'=>[['normal'],['latin','latin-ext','vietnamese']],
1069
+ 'Qwitcher Grypen'=>[['normal','700'],['latin','latin-ext','vietnamese']],
1070
  'Racing Sans One'=>[['normal'],['latin','latin-ext']],
1071
  'Radley'=>[['normal','italic'],['latin','latin-ext']],
1072
  'Rajdhani'=>[['300','normal','500','600','700'],['devanagari','latin','latin-ext']],
1077
  'Ramaraja'=>[['normal'],['latin','telugu']],
1078
  'Rambla'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
1079
  'Rammetto One'=>[['normal'],['latin','latin-ext']],
1080
+ 'Rampart One'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
1081
  'Ranchers'=>[['normal'],['latin','latin-ext']],
1082
  'Rancho'=>[['normal'],['latin']],
1083
  'Ranga'=>[['normal','700'],['devanagari','latin','latin-ext']],
1084
  'Rasa'=>[['300','normal','500','600','700','300italic','italic','500italic','600italic','700italic'],['gujarati','latin','latin-ext','vietnamese']],
1085
  'Rationale'=>[['normal'],['latin']],
1086
  'Ravi Prakash'=>[['normal'],['latin','telugu']],
1087
+ 'Readex Pro'=>[['200','300','normal','500','600','700'],['arabic','latin','latin-ext','vietnamese']],
1088
  'Recursive'=>[['300','normal','500','600','700','800','900'],['cyrillic-ext','latin','latin-ext','vietnamese']],
1089
+ 'Red Hat Display'=>[['300','normal','500','600','700','800','900','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
1090
+ 'Red Hat Mono'=>[['300','normal','500','600','700','300italic','italic','500italic','600italic','700italic'],['latin','latin-ext']],
1091
+ 'Red Hat Text'=>[['300','normal','500','600','700','300italic','italic','500italic','600italic','700italic'],['latin','latin-ext']],
1092
  'Red Rose'=>[['300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
1093
+ 'Redacted'=>[['normal'],['latin','latin-ext']],
1094
+ 'Redacted Script'=>[['300','normal','700'],['latin','latin-ext']],
1095
  'Redressed'=>[['normal'],['latin']],
1096
  'Reem Kufi'=>[['normal','500','600','700'],['arabic','latin']],
1097
  'Reenie Beanie'=>[['normal'],['latin']],
1102
  'Ribeye Marrow'=>[['normal'],['latin','latin-ext']],
1103
  'Righteous'=>[['normal'],['latin','latin-ext']],
1104
  'Risque'=>[['normal'],['latin','latin-ext']],
1105
+ 'Road Rage'=>[['normal'],['latin','latin-ext','vietnamese']],
1106
  'Roboto'=>[['100','100italic','300','300italic','normal','italic','500','500italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
1107
  'Roboto Condensed'=>[['300','300italic','normal','italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
1108
  'Roboto Mono'=>[['100','200','300','normal','500','600','700','100italic','200italic','300italic','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
1109
  'Roboto Slab'=>[['100','200','300','normal','500','600','700','800','900'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
1110
  'Rochester'=>[['normal'],['latin']],
1111
+ 'Rock 3D'=>[['normal'],['japanese','latin']],
1112
  'Rock Salt'=>[['normal'],['latin']],
1113
  'RocknRoll One'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
1114
  'Rokkitt'=>[['100','200','300','normal','500','600','700','800','900'],['latin','latin-ext','vietnamese']],
1120
  'Rowdies'=>[['300','normal','700'],['latin','latin-ext','vietnamese']],
1121
  'Rozha One'=>[['normal'],['devanagari','latin','latin-ext']],
1122
  'Rubik'=>[['300','normal','500','600','700','800','900','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','hebrew','latin','latin-ext']],
1123
+ 'Rubik Beastly'=>[['normal'],['cyrillic','cyrillic-ext','hebrew','latin','latin-ext']],
1124
  'Rubik Mono One'=>[['normal'],['cyrillic','latin','latin-ext']],
1125
  'Ruda'=>[['normal','500','600','700','800','900'],['cyrillic','latin','latin-ext','vietnamese']],
1126
  'Rufina'=>[['normal','700'],['latin','latin-ext']],
1127
+ 'Ruge Boogie'=>[['normal'],['latin','latin-ext','vietnamese']],
1128
  'Ruluko'=>[['normal'],['latin','latin-ext']],
1129
  'Rum Raisin'=>[['normal'],['latin','latin-ext']],
1130
  'Ruslan Display'=>[['normal'],['cyrillic','latin','latin-ext']],
1131
  'Russo One'=>[['normal'],['cyrillic','latin','latin-ext']],
1132
+ 'Ruthie'=>[['normal'],['latin','latin-ext','vietnamese']],
1133
  'Rye'=>[['normal'],['latin','latin-ext']],
 
1134
  'STIX Two Text'=>[['normal','500','600','700','italic','500italic','600italic','700italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
1135
  'Sacramento'=>[['normal'],['latin','latin-ext']],
1136
  'Sahitya'=>[['normal','700'],['devanagari','latin']],
1149
  'Sarala'=>[['normal','700'],['devanagari','latin','latin-ext']],
1150
  'Sarina'=>[['normal'],['latin','latin-ext']],
1151
  'Sarpanch'=>[['normal','500','600','700','800','900'],['devanagari','latin','latin-ext']],
1152
+ 'Sassy Frass'=>[['normal'],['latin','latin-ext','vietnamese']],
1153
  'Satisfy'=>[['normal'],['latin']],
1154
  'Sawarabi Gothic'=>[['normal'],['cyrillic','japanese','latin','latin-ext','vietnamese']],
1155
  'Sawarabi Mincho'=>[['normal'],['japanese','latin','latin-ext']],
1156
  'Scada'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','latin','latin-ext']],
1157
+ 'Scheherazade New'=>[['normal','700'],['arabic','latin','latin-ext']],
1158
  'Schoolbell'=>[['normal'],['latin']],
1159
  'Scope One'=>[['normal'],['latin','latin-ext']],
1160
  'Seaweed Script'=>[['normal'],['latin','latin-ext']],
1166
  'Seymour One'=>[['normal'],['cyrillic','latin','latin-ext']],
1167
  'Shadows Into Light'=>[['normal'],['latin']],
1168
  'Shadows Into Light Two'=>[['normal'],['latin','latin-ext']],
1169
+ 'Shalimar'=>[['normal'],['latin','latin-ext','vietnamese']],
1170
  'Shanti'=>[['normal'],['latin']],
1171
  'Share'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
1172
  'Share Tech'=>[['normal'],['latin']],
1173
  'Share Tech Mono'=>[['normal'],['latin']],
1174
+ 'Shippori Antique'=>[['normal'],['japanese','latin','latin-ext']],
1175
+ 'Shippori Antique B1'=>[['normal'],['japanese','latin','latin-ext']],
1176
  'Shippori Mincho'=>[['normal','500','600','700','800'],['japanese','latin','latin-ext']],
1177
  'Shippori Mincho B1'=>[['normal','500','600','700','800'],['japanese','latin','latin-ext']],
1178
+ 'Shizuru'=>[['normal'],['japanese','latin']],
1179
  'Shojumaru'=>[['normal'],['latin','latin-ext']],
1180
  'Short Stack'=>[['normal'],['latin']],
1181
  'Shrikhand'=>[['normal'],['gujarati','latin','latin-ext']],
1182
  'Siemreap'=>[['normal'],['khmer']],
1183
  'Sigmar One'=>[['normal'],['latin','latin-ext','vietnamese']],
1184
  'Signika'=>[['300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
1185
+ 'Signika Negative'=>[['300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
1186
  'Simonetta'=>[['normal','italic','900','900italic'],['latin','latin-ext']],
1187
  'Single Day'=>[['normal'],['korean']],
1188
  'Sintony'=>[['normal','700'],['latin','latin-ext']],
1193
  'Slabo 27px'=>[['normal'],['latin','latin-ext']],
1194
  'Slackey'=>[['normal'],['latin']],
1195
  'Smokum'=>[['normal'],['latin']],
1196
+ 'Smooch'=>[['normal'],['latin','latin-ext','vietnamese']],
1197
  'Smythe'=>[['normal'],['latin']],
1198
  'Sniglet'=>[['normal','800'],['latin','latin-ext']],
1199
  'Snippet'=>[['normal'],['latin']],
1205
  'Sonsie One'=>[['normal'],['latin','latin-ext']],
1206
  'Sora'=>[['100','200','300','normal','500','600','700','800'],['latin','latin-ext']],
1207
  'Sorts Mill Goudy'=>[['normal','italic'],['latin','latin-ext']],
1208
+ 'Source Code Pro'=>[['200','300','normal','500','600','700','800','900','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
1209
+ 'Source Sans 3'=>[['200','300','normal','500','600','700','800','900','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
1210
  'Source Sans Pro'=>[['200','200italic','300','300italic','normal','italic','600','600italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext','vietnamese']],
1211
+ 'Source Serif 4'=>[['200','300','normal','500','600','700','800','900','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
1212
  'Source Serif Pro'=>[['200','200italic','300','300italic','normal','italic','600','600italic','700','700italic','900','900italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
1213
  'Space Grotesk'=>[['300','normal','500','600','700'],['latin','latin-ext','vietnamese']],
1214
  'Space Mono'=>[['normal','italic','700','700italic'],['latin','latin-ext','vietnamese']],
1219
  'Spicy Rice'=>[['normal'],['latin']],
1220
  'Spinnaker'=>[['normal'],['latin','latin-ext']],
1221
  'Spirax'=>[['normal'],['latin']],
1222
+ 'Spline Sans'=>[['300','normal','500','600','700'],['latin','latin-ext']],
1223
  'Squada One'=>[['normal'],['latin']],
1224
  'Sree Krushnadevaraya'=>[['normal'],['latin','telugu']],
1225
  'Sriracha'=>[['normal'],['latin','latin-ext','thai','vietnamese']],
1229
  'Stalinist One'=>[['normal'],['cyrillic','latin','latin-ext']],
1230
  'Stardos Stencil'=>[['normal','700'],['latin']],
1231
  'Stick'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
1232
+ 'Stick No Bills'=>[['200','300','normal','500','600','700','800'],['latin','latin-ext','sinhala']],
1233
  'Stint Ultra Condensed'=>[['normal'],['latin','latin-ext']],
1234
  'Stint Ultra Expanded'=>[['normal'],['latin','latin-ext']],
1235
  'Stoke'=>[['300','normal'],['latin','latin-ext']],
1246
  'Sura'=>[['normal','700'],['devanagari','latin','latin-ext']],
1247
  'Suranna'=>[['normal'],['latin','telugu']],
1248
  'Suravaram'=>[['normal'],['latin','telugu']],
1249
+ 'Suwannaphum'=>[['100','300','normal','700','900'],['khmer','latin']],
1250
  'Swanky and Moo Moo'=>[['normal'],['latin']],
1251
  'Syncopate'=>[['normal','700'],['latin']],
1252
  'Syne'=>[['normal','500','600','700','800'],['latin','latin-ext']],
1254
  'Syne Tactile'=>[['normal'],['latin','latin-ext']],
1255
  'Tajawal'=>[['200','300','normal','500','700','800','900'],['arabic','latin']],
1256
  'Tangerine'=>[['normal','700'],['latin']],
1257
+ 'Taprom'=>[['normal'],['khmer','latin']],
1258
  'Tauri'=>[['normal'],['latin','latin-ext']],
1259
  'Taviraj'=>[['100','100italic','200','200italic','300','300italic','normal','italic','500','500italic','600','600italic','700','700italic','800','800italic','900','900italic'],['latin','latin-ext','thai','vietnamese']],
1260
  'Teko'=>[['300','normal','500','600','700'],['devanagari','latin','latin-ext']],
1265
  'Texturina'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
1266
  'Thasadith'=>[['normal','italic','700','700italic'],['latin','latin-ext','thai','vietnamese']],
1267
  'The Girl Next Door'=>[['normal'],['latin']],
1268
+ 'The Nautigal'=>[['normal','700'],['latin','latin-ext','vietnamese']],
1269
  'Tienne'=>[['normal','700','900'],['latin']],
1270
  'Tillana'=>[['normal','500','600','700','800'],['devanagari','latin','latin-ext']],
1271
  'Timmana'=>[['normal'],['latin','telugu']],
1284
  'Trykker'=>[['normal'],['latin','latin-ext']],
1285
  'Tulpen One'=>[['normal'],['latin']],
1286
  'Turret Road'=>[['200','300','normal','500','700','800'],['latin','latin-ext']],
1287
+ 'Twinkle Star'=>[['normal'],['latin','latin-ext','vietnamese']],
1288
  'Ubuntu'=>[['300','300italic','normal','italic','500','500italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext']],
1289
  'Ubuntu Condensed'=>[['normal'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext']],
1290
  'Ubuntu Mono'=>[['normal','italic','700','700italic'],['cyrillic','cyrillic-ext','greek','greek-ext','latin','latin-ext']],
1298
  'Unkempt'=>[['normal','700'],['latin']],
1299
  'Unlock'=>[['normal'],['latin']],
1300
  'Unna'=>[['normal','italic','700','700italic'],['latin','latin-ext']],
1301
+ 'Urbanist'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext']],
1302
  'VT323'=>[['normal'],['latin','latin-ext','vietnamese']],
1303
  'Vampiro One'=>[['normal'],['latin','latin-ext']],
1304
  'Varela'=>[['normal'],['latin','latin-ext']],
1316
  'Vollkorn'=>[['normal','500','600','700','800','900','italic','500italic','600italic','700italic','800italic','900italic'],['cyrillic','cyrillic-ext','greek','latin','latin-ext','vietnamese']],
1317
  'Vollkorn SC'=>[['normal','600','700','900'],['cyrillic','cyrillic-ext','latin','latin-ext','vietnamese']],
1318
  'Voltaire'=>[['normal'],['latin']],
1319
+ 'Vujahday Script'=>[['normal'],['latin','latin-ext','vietnamese']],
1320
  'Waiting for the Sunrise'=>[['normal'],['latin']],
1321
  'Wallpoet'=>[['normal'],['latin']],
1322
  'Walter Turncoat'=>[['normal'],['latin']],
1323
  'Warnes'=>[['normal'],['latin','latin-ext']],
1324
+ 'Waterfall'=>[['normal'],['latin','latin-ext','vietnamese']],
1325
  'Wellfleet'=>[['normal'],['latin','latin-ext']],
1326
  'Wendy One'=>[['normal'],['latin','latin-ext']],
1327
  'WindSong'=>[['normal','500'],['latin','latin-ext','vietnamese']],
1328
  'Wire One'=>[['normal'],['latin']],
1329
  'Work Sans'=>[['100','200','300','normal','500','600','700','800','900','100italic','200italic','300italic','italic','500italic','600italic','700italic','800italic','900italic'],['latin','latin-ext','vietnamese']],
1330
  'Xanh Mono'=>[['normal','italic'],['latin','latin-ext','vietnamese']],
1331
+ 'Yaldevi'=>[['200','300','normal','500','600','700'],['latin','latin-ext','sinhala']],
1332
  'Yanone Kaffeesatz'=>[['200','300','normal','500','600','700'],['cyrillic','latin','latin-ext','vietnamese']],
1333
  'Yantramanav'=>[['100','300','normal','500','700','900'],['devanagari','latin','latin-ext']],
1334
  'Yatra One'=>[['normal'],['devanagari','latin','latin-ext']],
1338
  'Yesteryear'=>[['normal'],['latin']],
1339
  'Yomogi'=>[['normal'],['cyrillic','japanese','latin','latin-ext','vietnamese']],
1340
  'Yrsa'=>[['300','normal','500','600','700','300italic','italic','500italic','600italic','700italic'],['latin','latin-ext','vietnamese']],
1341
+ 'Yuji Boku'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
1342
+ 'Yuji Hentaigana Akari'=>[['normal'],['japanese','latin','latin-ext']],
1343
+ 'Yuji Hentaigana Akebono'=>[['normal'],['japanese','latin','latin-ext']],
1344
+ 'Yuji Mai'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
1345
+ 'Yuji Syuku'=>[['normal'],['cyrillic','japanese','latin','latin-ext']],
1346
  'Yusei Magic'=>[['normal'],['japanese','latin','latin-ext']],
1347
  'ZCOOL KuaiLe'=>[['normal'],['chinese-simplified','latin']],
1348
  'ZCOOL QingKe HuangYou'=>[['normal'],['chinese-simplified','latin']],
1349
  'ZCOOL XiaoWei'=>[['normal'],['chinese-simplified','latin']],
1350
+ 'Zen Antique'=>[['normal'],['cyrillic','greek','japanese','latin','latin-ext']],
1351
+ 'Zen Antique Soft'=>[['normal'],['cyrillic','greek','japanese','latin','latin-ext']],
1352
  'Zen Dots'=>[['normal'],['latin','latin-ext']],
1353
+ 'Zen Kaku Gothic Antique'=>[['300','normal','500','700','900'],['cyrillic','japanese','latin','latin-ext']],
1354
+ 'Zen Kaku Gothic New'=>[['300','normal','500','700','900'],['cyrillic','japanese','latin','latin-ext']],
1355
+ 'Zen Kurenaido'=>[['normal'],['cyrillic','greek','japanese','latin','latin-ext']],
1356
  'Zen Loop'=>[['normal','italic'],['latin','latin-ext']],
1357
+ 'Zen Maru Gothic'=>[['300','normal','500','700','900'],['cyrillic','greek','japanese','latin','latin-ext']],
1358
+ 'Zen Old Mincho'=>[['normal','700','900'],['cyrillic','greek','japanese','latin','latin-ext']],
1359
  'Zen Tokyo Zoo'=>[['normal'],['latin','latin-ext']],
1360
  'Zeyada'=>[['normal'],['latin']],
1361
  'Zhi Mang Xing'=>[['normal'],['chinese-simplified','latin']],
admin/settings/fields/wp_editor/wp_editor.php CHANGED
@@ -68,10 +68,14 @@ if ( ! class_exists( 'ULF_Field_wp_editor' ) ) {
68
  // Setup wp editor media buttons
69
  public function setup_wp_editor_media_buttons() {
70
 
 
 
 
 
71
  ob_start();
72
- echo '<div class="wp-media-buttons">';
73
- do_action( 'media_buttons' );
74
- echo '</div>';
75
  $media_buttons = ob_get_clean();
76
 
77
  echo '<script type="text/javascript">';
68
  // Setup wp editor media buttons
69
  public function setup_wp_editor_media_buttons() {
70
 
71
+ if ( ! function_exists( 'media_buttons' ) ) {
72
+ return;
73
+ }
74
+
75
  ob_start();
76
+ echo '<div class="wp-media-buttons">';
77
+ do_action( 'media_buttons' );
78
+ echo '</div>';
79
  $media_buttons = ob_get_clean();
80
 
81
  echo '<script type="text/javascript">';
admin/settings/languages/zh_CN.mo CHANGED
Binary file
admin/settings/languages/zh_CN.po CHANGED
@@ -1,14 +1,672 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2021-03-28 18:50+0300\n"
5
- "PO-Revision-Date: 2021-03-28 18:51+0300\n"
6
- "Last-Translator: \n"
7
- "Language-Team: \n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "X-Generator: Poedit 2.3\n"
12
- "X-Poedit-Basepath: .\n"
13
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
- "Language: en\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2021 Codestar
2
+ # This file is distributed under the same license as the Codestar Framework package.
3
+ msgid ""
4
+ msgstr ""
5
+ "POT-Creation-Date: 2021-06-25 12:32:35+00:00\n"
6
+ "PO-Revision-Date: 2021-08-19 12:18+0800\n"
7
+ "Last-Translator: Seaton Jiang <seatonjiang@vtrois.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: zh_CN\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.4.3\n"
14
+ "Project-Id-Version: \n"
15
+
16
+ #: classes/admin-options.class.php:226
17
+ msgid "Error while saving the changes."
18
+ msgstr "保存失败"
19
+
20
+ #: classes/admin-options.class.php:286
21
+ msgid "Settings successfully imported."
22
+ msgstr "导入成功"
23
+
24
+ #: classes/admin-options.class.php:298 classes/admin-options.class.php:314
25
+ msgid "Default settings restored."
26
+ msgstr "恢复完成"
27
+
28
+ #: classes/admin-options.class.php:385
29
+ msgid "Settings saved."
30
+ msgstr "保存成功"
31
+
32
+ #: classes/admin-options.class.php:565
33
+ msgid "You have unsaved changes, save your changes!"
34
+ msgstr "配置发生改变,请勿忘记保存!"
35
+
36
+ #: classes/admin-options.class.php:567
37
+ msgid "show all settings"
38
+ msgstr "显示所有设置"
39
+
40
+ #: classes/admin-options.class.php:569 fields/icon/icon.php:57
41
+ #: fields/map/map.php:23
42
+ msgid "Search..."
43
+ msgstr "请输入关键词"
44
+
45
+ #: classes/admin-options.class.php:572 classes/admin-options.class.php:695
46
+ msgid "Save"
47
+ msgstr "保存配置"
48
+
49
+ #: classes/admin-options.class.php:572 classes/admin-options.class.php:695
50
+ msgid "Saving..."
51
+ msgstr "正在保存"
52
+
53
+ #: classes/admin-options.class.php:573 classes/admin-options.class.php:696
54
+ msgid "Reset Section"
55
+ msgstr "恢复此页"
56
+
57
+ #: classes/admin-options.class.php:573 classes/admin-options.class.php:696
58
+ msgid "Are you sure to reset this section options?"
59
+ msgstr "单击「确定」进行恢复,当前页面的配置将会丢失!"
60
+
61
+ #: classes/admin-options.class.php:574 classes/admin-options.class.php:697
62
+ msgid "Reset All"
63
+ msgstr "恢复全部"
64
+
65
+ #: classes/admin-options.class.php:574 classes/admin-options.class.php:697
66
+ #: classes/comment-options.class.php:216 classes/metabox-options.class.php:294
67
+ #: fields/backup/backup.php:31
68
+ msgid "Reset"
69
+ msgstr "恢复默认"
70
+
71
+ #: classes/admin-options.class.php:574 classes/admin-options.class.php:697
72
+ msgid "Are you sure you want to reset all settings to default values?"
73
+ msgstr "单击「确定」进行恢复,所有页面的配置都将丢失!"
74
+
75
+ #: classes/admin-options.class.php:672 classes/comment-options.class.php:199
76
+ #: classes/metabox-options.class.php:277 fields/button_set/button_set.php:56
77
+ #: fields/checkbox/checkbox.php:76 fields/radio/radio.php:75
78
+ #: fields/select/select.php:113 functions/actions.php:41
79
+ msgid "No data available."
80
+ msgstr "没有可用数据"
81
+
82
+ #: classes/comment-options.class.php:217 classes/metabox-options.class.php:295
83
+ msgid "update post"
84
+ msgstr "更新文章"
85
+
86
+ #: classes/comment-options.class.php:217 classes/metabox-options.class.php:295
87
+ msgid "Cancel"
88
+ msgstr "取消"
89
+
90
+ #: classes/setup.class.php:592
91
+ msgid "Are you sure?"
92
+ msgstr "单击「确定」进行下一步操作,该操作可能会丢失部分配置!"
93
+
94
+ #: classes/setup.class.php:593
95
+ msgid "Please enter %s or more characters"
96
+ msgstr "请输入 %s 或更多字符"
97
+
98
+ #: classes/setup.class.php:594
99
+ msgid "Searching..."
100
+ msgstr "搜索中..."
101
+
102
+ #: classes/setup.class.php:595
103
+ msgid "No results found."
104
+ msgstr "未找到结果。"
105
+
106
+ #: classes/setup.class.php:696
107
+ msgid "Oops! Not allowed."
108
+ msgstr "哎呀!不允许。"
109
+
110
+ #: classes/setup.class.php:768 classes/setup.class.php:772
111
+ msgid "Field not found!"
112
+ msgstr "没有找到任何数据"
113
+
114
+ #: classes/shortcode-options.class.php:253 fields/group/group.php:23
115
+ msgid "Add New"
116
+ msgstr "新增"
117
+
118
+ #: classes/shortcode-options.class.php:290 functions/actions.php:16
119
+ #: functions/actions.php:68 functions/actions.php:106 functions/actions.php:141
120
+ #: functions/actions.php:170
121
+ msgid "Error: Invalid nonce verification."
122
+ msgstr "错误: 无效的nonce验证。"
123
+
124
+ #: fields/background/background.php:36 fields/media/media.php:59
125
+ msgid "Not selected"
126
+ msgstr "未选择"
127
+
128
+ #: fields/background/background.php:72 fields/date/date.php:31
129
+ msgid "From"
130
+ msgstr "从"
131
+
132
+ #: fields/background/background.php:90 fields/date/date.php:32
133
+ msgid "To"
134
+ msgstr "到"
135
+
136
+ #: fields/background/background.php:108
137
+ msgid "Direction"
138
+ msgstr "方向"
139
+
140
+ #: fields/background/background.php:114
141
+ msgid "Gradient Direction"
142
+ msgstr "渐变方向"
143
+
144
+ #: fields/background/background.php:115
145
+ msgid "&#8659; top to bottom"
146
+ msgstr "&#8659; 从上到下"
147
+
148
+ #: fields/background/background.php:116
149
+ msgid "&#8658; left to right"
150
+ msgstr "&#8658;从左到右"
151
+
152
+ #: fields/background/background.php:117
153
+ msgid "&#8664; corner top to right"
154
+ msgstr "&#8664; 右上角"
155
+
156
+ #: fields/background/background.php:118
157
+ msgid "&#8665; corner top to left"
158
+ msgstr "&#8664; 左上角"
159
+
160
+ #: fields/background/background.php:161
161
+ msgid "Background Position"
162
+ msgstr "背景位置"
163
+
164
+ #: fields/background/background.php:162
165
+ msgid "Left Top"
166
+ msgstr "左上"
167
+
168
+ #: fields/background/background.php:163
169
+ msgid "Left Center"
170
+ msgstr "左中"
171
+
172
+ #: fields/background/background.php:164
173
+ msgid "Left Bottom"
174
+ msgstr "左下"
175
+
176
+ #: fields/background/background.php:165
177
+ msgid "Center Top"
178
+ msgstr "中上"
179
+
180
+ #: fields/background/background.php:166
181
+ msgid "Center Center"
182
+ msgstr "居中"
183
+
184
+ #: fields/background/background.php:167
185
+ msgid "Center Bottom"
186
+ msgstr "中下"
187
+
188
+ #: fields/background/background.php:168
189
+ msgid "Right Top"
190
+ msgstr "右上"
191
+
192
+ #: fields/background/background.php:169
193
+ msgid "Right Center"
194
+ msgstr "右中"
195
+
196
+ #: fields/background/background.php:170
197
+ msgid "Right Bottom"
198
+ msgstr "右下"
199
+
200
+ #: fields/background/background.php:184
201
+ msgid "Background Repeat"
202
+ msgstr "背景重复"
203
+
204
+ #: fields/background/background.php:185
205
+ msgid "Repeat"
206
+ msgstr "重复"
207
+
208
+ #: fields/background/background.php:186
209
+ msgid "No Repeat"
210
+ msgstr "不重复"
211
+
212
+ #: fields/background/background.php:187
213
+ msgid "Repeat Horizontally"
214
+ msgstr "水平重复"
215
+
216
+ #: fields/background/background.php:188
217
+ msgid "Repeat Vertically"
218
+ msgstr "垂直重复"
219
+
220
+ #: fields/background/background.php:202
221
+ msgid "Background Attachment"
222
+ msgstr "背景附件"
223
+
224
+ #: fields/background/background.php:203
225
+ msgid "Scroll"
226
+ msgstr "滚动"
227
+
228
+ #: fields/background/background.php:204
229
+ msgid "Fixed"
230
+ msgstr "固定"
231
+
232
+ #: fields/background/background.php:218
233
+ msgid "Background Size"
234
+ msgstr "背景大小"
235
+
236
+ #: fields/background/background.php:219
237
+ msgid "Cover"
238
+ msgstr "覆盖"
239
+
240
+ #: fields/background/background.php:220
241
+ msgid "Contain"
242
+ msgstr "包含"
243
+
244
+ #: fields/background/background.php:221
245
+ msgid "Auto"
246
+ msgstr "自动"
247
+
248
+ #: fields/background/background.php:235
249
+ msgid "Background Origin"
250
+ msgstr "背景起源"
251
+
252
+ #: fields/background/background.php:236 fields/background/background.php:254
253
+ msgid "Padding Box"
254
+ msgstr "框内边距"
255
+
256
+ #: fields/background/background.php:237 fields/background/background.php:253
257
+ msgid "Border Box"
258
+ msgstr "边框"
259
+
260
+ #: fields/background/background.php:238 fields/background/background.php:255
261
+ msgid "Content Box"
262
+ msgstr "内容框"
263
+
264
+ #: fields/background/background.php:252
265
+ msgid "Background Clip"
266
+ msgstr "背景剪辑"
267
+
268
+ #: fields/background/background.php:269
269
+ msgid "Background Blend Mode"
270
+ msgstr "背景混合模式"
271
+
272
+ #: fields/background/background.php:270 fields/link_color/link_color.php:36
273
+ #: fields/typography/typography.php:186
274
+ msgid "Normal"
275
+ msgstr "正常"
276
+
277
+ #: fields/background/background.php:271
278
+ msgid "Multiply"
279
+ msgstr "乘"
280
+
281
+ #: fields/background/background.php:272
282
+ msgid "Screen"
283
+ msgstr "屏幕"
284
+
285
+ #: fields/background/background.php:273
286
+ msgid "Overlay"
287
+ msgstr "覆盖"
288
+
289
+ #: fields/background/background.php:274
290
+ msgid "Darken"
291
+ msgstr "变黑"
292
+
293
+ #: fields/background/background.php:275
294
+ msgid "Lighten"
295
+ msgstr "减轻"
296
+
297
+ #: fields/background/background.php:276
298
+ msgid "Color Dodge"
299
+ msgstr "颜色减淡"
300
+
301
+ #: fields/background/background.php:277
302
+ msgid "Saturation"
303
+ msgstr "饱和度"
304
+
305
+ #: fields/background/background.php:278
306
+ msgid "Color"
307
+ msgstr "颜色"
308
+
309
+ #: fields/background/background.php:279
310
+ msgid "Luminosity"
311
+ msgstr "光度"
312
+
313
+ #: fields/backup/backup.php:26
314
+ msgid "Import"
315
+ msgstr "导入"
316
+
317
+ #: fields/backup/backup.php:29
318
+ msgid "Export & Download"
319
+ msgstr "导出和下载"
320
+
321
+ #: fields/border/border.php:25 fields/spacing/spacing.php:25
322
+ msgid "top"
323
+ msgstr "顶部"
324
+
325
+ #: fields/border/border.php:26 fields/spacing/spacing.php:26
326
+ msgid "right"
327
+ msgstr "右"
328
+
329
+ #: fields/border/border.php:27 fields/spacing/spacing.php:27
330
+ msgid "bottom"
331
+ msgstr "底部"
332
+
333
+ #: fields/border/border.php:28 fields/spacing/spacing.php:28
334
+ msgid "left"
335
+ msgstr "左"
336
+
337
+ #: fields/border/border.php:29 fields/spacing/spacing.php:29
338
+ msgid "all"
339
+ msgstr "所有"
340
+
341
+ #: fields/border/border.php:51 fields/typography/typography.php:214
342
+ msgid "Solid"
343
+ msgstr "实线"
344
+
345
+ #: fields/border/border.php:52 fields/typography/typography.php:217
346
+ msgid "Dashed"
347
+ msgstr "虚线"
348
+
349
+ #: fields/border/border.php:53 fields/typography/typography.php:216
350
+ msgid "Dotted"
351
+ msgstr "点线"
352
+
353
+ #: fields/border/border.php:54 fields/typography/typography.php:215
354
+ msgid "Double"
355
+ msgstr "双线"
356
+
357
+ #: fields/border/border.php:55
358
+ msgid "Inset"
359
+ msgstr "插入"
360
+
361
+ #: fields/border/border.php:56
362
+ msgid "Outset"
363
+ msgstr "开始"
364
+
365
+ #: fields/border/border.php:57
366
+ msgid "Groove"
367
+ msgstr "凹槽"
368
+
369
+ #: fields/border/border.php:58
370
+ msgid "ridge"
371
+ msgstr "凸出"
372
+
373
+ #: fields/border/border.php:59 fields/typography/typography.php:199
374
+ #: fields/typography/typography.php:213
375
+ msgid "None"
376
+ msgstr "无"
377
+
378
+ #: fields/dimensions/dimensions.php:22
379
+ msgid "width"
380
+ msgstr "宽度"
381
+
382
+ #: fields/dimensions/dimensions.php:23
383
+ msgid "height"
384
+ msgstr "高度"
385
+
386
+ #: fields/gallery/gallery.php:20
387
+ msgid "Add Gallery"
388
+ msgstr "添加图库"
389
+
390
+ #: fields/gallery/gallery.php:21
391
+ msgid "Edit Gallery"
392
+ msgstr "编辑图库"
393
+
394
+ #: fields/gallery/gallery.php:22
395
+ msgid "Clear"
396
+ msgstr "清除"
397
+
398
+ #: fields/group/group.php:35 fields/repeater/repeater.php:27
399
+ msgid "Error: Field ID conflict."
400
+ msgstr "错误:字段ID冲突。"
401
+
402
+ #: fields/group/group.php:46 fields/group/group.php:87
403
+ #: fields/repeater/repeater.php:48 fields/repeater/repeater.php:76
404
+ msgid "Are you sure to delete this item?"
405
+ msgstr "确定要删除这个项目吗?"
406
+
407
+ #: fields/group/group.php:121 fields/repeater/repeater.php:89
408
+ msgid "You cannot add more."
409
+ msgstr "无法添加更多"
410
+
411
+ #: fields/group/group.php:122 fields/repeater/repeater.php:90
412
+ msgid "You cannot remove more."
413
+ msgstr "无法删除更多"
414
+
415
+ #: fields/icon/icon.php:20 fields/icon/icon.php:53
416
+ msgid "Add Icon"
417
+ msgstr "添加图标"
418
+
419
+ #: fields/icon/icon.php:21
420
+ msgid "Remove Icon"
421
+ msgstr "删除图标"
422
+
423
+ #: fields/link/link.php:20
424
+ msgid "Add Link"
425
+ msgstr "添加链接"
426
+
427
+ #: fields/link/link.php:21
428
+ msgid "Edit Link"
429
+ msgstr "编辑链接"
430
+
431
+ #: fields/link/link.php:22
432
+ msgid "Remove Link"
433
+ msgstr "移除链接"
434
+
435
+ #: fields/link_color/link_color.php:37
436
+ msgid "Hover"
437
+ msgstr "悬停"
438
+
439
+ #: fields/link_color/link_color.php:38
440
+ msgid "Active"
441
+ msgstr "启用"
442
+
443
+ #: fields/link_color/link_color.php:39
444
+ msgid "Visited"
445
+ msgstr "访问"
446
+
447
+ #: fields/link_color/link_color.php:40
448
+ msgid "Focus"
449
+ msgstr "焦点"
450
+
451
+ #: fields/map/map.php:24
452
+ msgid "Latitude"
453
+ msgstr "纬度"
454
+
455
+ #: fields/map/map.php:25
456
+ msgid "Longitude"
457
+ msgstr "经度"
458
+
459
+ #: fields/media/media.php:25 fields/upload/upload.php:25
460
+ msgid "Upload"
461
+ msgstr "上传"
462
+
463
+ #: fields/media/media.php:26 fields/upload/upload.php:26
464
+ msgid "Remove"
465
+ msgstr "删除"
466
+
467
+ #: fields/sorter/sorter.php:21
468
+ msgid "Enabled"
469
+ msgstr "启用"
470
+
471
+ #: fields/sorter/sorter.php:22
472
+ msgid "Disabled"
473
+ msgstr "禁用"
474
+
475
+ #: fields/switcher/switcher.php:20
476
+ msgid "On"
477
+ msgstr "启用"
478
+
479
+ #: fields/switcher/switcher.php:21
480
+ msgid "Off"
481
+ msgstr "禁用"
482
+
483
+ #: fields/typography/typography.php:96
484
+ msgid "Font Family"
485
+ msgstr "字体"
486
+
487
+ #: fields/typography/typography.php:97
488
+ msgid "Select a font"
489
+ msgstr "选择字体"
490
+
491
+ #: fields/typography/typography.php:105
492
+ msgid "Backup Font Family"
493
+ msgstr "备份字体系列"
494
+
495
+ #: fields/typography/typography.php:119 fields/typography/typography.php:132
496
+ #: fields/typography/typography.php:145 fields/typography/typography.php:160
497
+ #: fields/typography/typography.php:176 fields/typography/typography.php:189
498
+ #: fields/typography/typography.php:203 fields/typography/typography.php:221
499
+ msgid "Default"
500
+ msgstr "默认"
501
+
502
+ #: fields/typography/typography.php:130
503
+ msgid "Font Style"
504
+ msgstr "字体样式"
505
+
506
+ #: fields/typography/typography.php:144 fields/typography/typography.php:145
507
+ msgid "Load Extra Styles"
508
+ msgstr "加载额外样式"
509
+
510
+ #: fields/typography/typography.php:158
511
+ msgid "Subset"
512
+ msgstr "子集"
513
+
514
+ #: fields/typography/typography.php:168
515
+ msgid "Text Align"
516
+ msgstr "文本对齐"
517
+
518
+ #: fields/typography/typography.php:170
519
+ msgid "Inherit"
520
+ msgstr "继承"
521
+
522
+ #: fields/typography/typography.php:171
523
+ msgid "Left"
524
+ msgstr "左侧"
525
+
526
+ #: fields/typography/typography.php:172
527
+ msgid "Center"
528
+ msgstr "居中"
529
+
530
+ #: fields/typography/typography.php:173
531
+ msgid "Right"
532
+ msgstr "右侧"
533
+
534
+ #: fields/typography/typography.php:174
535
+ msgid "Justify"
536
+ msgstr "两端对齐"
537
+
538
+ #: fields/typography/typography.php:175
539
+ msgid "Initial"
540
+ msgstr "初始"
541
+
542
+ #: fields/typography/typography.php:184
543
+ msgid "Font Variant"
544
+ msgstr "字体变体"
545
+
546
+ #: fields/typography/typography.php:187
547
+ msgid "Small Caps"
548
+ msgstr "小写"
549
+
550
+ #: fields/typography/typography.php:188
551
+ msgid "All Small Caps"
552
+ msgstr "所有字母小写"
553
+
554
+ #: fields/typography/typography.php:197
555
+ msgid "Text Transform"
556
+ msgstr "文本转换"
557
+
558
+ #: fields/typography/typography.php:200
559
+ msgid "Capitalize"
560
+ msgstr "大写"
561
+
562
+ #: fields/typography/typography.php:201
563
+ msgid "Uppercase"
564
+ msgstr "大写"
565
+
566
+ #: fields/typography/typography.php:202
567
+ msgid "Lowercase"
568
+ msgstr "小写"
569
+
570
+ #: fields/typography/typography.php:211
571
+ msgid "Text Decoration"
572
+ msgstr "文本装饰"
573
+
574
+ #: fields/typography/typography.php:218
575
+ msgid "Wavy"
576
+ msgstr "波浪"
577
+
578
+ #: fields/typography/typography.php:219
579
+ msgid "Overline"
580
+ msgstr "上划线"
581
+
582
+ #: fields/typography/typography.php:220
583
+ msgid "Line-through"
584
+ msgstr "删除线"
585
+
586
+ #: fields/typography/typography.php:233
587
+ msgid "Font Size"
588
+ msgstr "字体大小"
589
+
590
+ #: fields/typography/typography.php:245
591
+ msgid "Line Height"
592
+ msgstr "线高度"
593
+
594
+ #: fields/typography/typography.php:257
595
+ msgid "Letter Spacing"
596
+ msgstr "字母间距"
597
+
598
+ #: fields/typography/typography.php:269
599
+ msgid "Word Spacing"
600
+ msgstr "字间距"
601
+
602
+ #: fields/typography/typography.php:284
603
+ msgid "Font Color"
604
+ msgstr "字体颜色"
605
+
606
+ #: fields/typography/typography.php:295
607
+ msgid "Custom Style"
608
+ msgstr "自定义样式"
609
+
610
+ #: fields/typography/typography.php:362
611
+ msgid "Custom Web Fonts"
612
+ msgstr "自定义 Web 字体"
613
+
614
+ #: fields/typography/typography.php:368
615
+ msgid "Safe Web Fonts"
616
+ msgstr "Web 安全字体"
617
+
618
+ #: fields/typography/typography.php:388
619
+ msgid "Google Web Fonts"
620
+ msgstr "Google Web 字体"
621
+
622
+ #: functions/actions.php:72 functions/actions.php:110
623
+ msgid "Error: Invalid key."
624
+ msgstr "错误:无效密钥。"
625
+
626
+ #: functions/actions.php:114
627
+ msgid "Error: The response is not a valid JSON response."
628
+ msgstr "错误:响应不是有效的 JSON 响应。"
629
+
630
+ #: functions/actions.php:174
631
+ msgid "Error: Invalid term ID."
632
+ msgstr "错误:无效的项目ID。"
633
+
634
+ #: functions/actions.php:180
635
+ msgid "Error: You do not have permission to do that."
636
+ msgstr "错误:您无权这样做。"
637
+
638
+ #: functions/validate.php:14 functions/validate.php:86
639
+ msgid "Please enter a valid email address."
640
+ msgstr "请输入正确的电子邮件地址。"
641
+
642
+ #: functions/validate.php:32 functions/validate.php:106
643
+ msgid "Please enter a valid number."
644
+ msgstr "请输入有效的数字"
645
+
646
+ #: functions/validate.php:50 functions/validate.php:126
647
+ msgid "This field is required."
648
+ msgstr "这是必填栏。"
649
+
650
+ #: functions/validate.php:68 functions/validate.php:146
651
+ msgid "Please enter a valid URL."
652
+ msgstr "请输入有效网址"
653
+
654
+ #. Plugin Name of the plugin/theme
655
+ msgid "Codestar Framework"
656
+ msgstr "Codestar Framework"
657
+
658
+ #. Plugin URI of the plugin/theme
659
+ msgid "http://codestarframework.com/"
660
+ msgstr "http://codestarframework.com/"
661
+
662
+ #. Description of the plugin/theme
663
+ msgid "A Simple and Lightweight WordPress Option Framework for Themes and Plugins"
664
+ msgstr "一个简单且轻量的 WordPress 主题和插件选项框架"
665
+
666
+ #. Author of the plugin/theme
667
+ msgid "Codestar"
668
+ msgstr "Codestar"
669
+
670
+ #. Author URI of the plugin/theme
671
+ msgid "http://codestarthemes.com/"
672
+ msgstr "http://codestarthemes.com/"
assets/js/wp-ulike.js CHANGED
@@ -1,6 +1,6 @@
1
- /*! WP ULike - v4.5.8
2
  * https://wpulike.com
3
- * TechnoWich 2021;
4
  */
5
 
6
 
1
+ /*! WP ULike - v4.5.9
2
  * https://wpulike.com
3
+ * TechnoWich 2022;
4
  */
5
 
6
 
assets/js/wp-ulike.min.js CHANGED
@@ -1,5 +1,5 @@
1
- /*! WP ULike - v4.5.8
2
  * https://wpulike.com
3
- * TechnoWich 2021;
4
  */
5
  !function(t){t.fn.WordpressUlikeTooltip=function(e){if(this.length>1)return this.each((function(){t(this).WordpressUlikeTooltip(e)})),this;if(void 0===this||1!==this.length)return!1;const i=t(this);e=t.extend({},t.WordpressUlikeTooltip.defaults,e,i.data());let s=i.attr("title");void 0!==s&&s.length&&(e.title=s),e.class+=" ulf-"+e.theme+"-theme",e.class+=" ulf-"+e.size,e.trigger=e.trigger.toLowerCase().trim();let o={dom:this,dom_wrapped:i,position_debug:e.position_debug,trigger:e.trigger,id:e.id,title:e.title,content:e.title,child_class:e.child,theme:e.theme,class:e.class,position:e.position,close_on_outside_click:e.close_on_outside_click,singleton:e.singleton,dataAttr:"ulike-tooltip",createTooltipHTML:function(){return`<div class='ulf-tooltip ${o.class}' role='tooltip'><div class='ulf-arrow'></div><div class='ulf-content'>${o.content}</div></div>`},destroy:function(){const e=o.dom_wrapped.data(o.dataAttr);null!=e&&(e.dom_wrapped.off("touchstart mouseenter",e.show),e.dom_wrapped.off("click",e.preventDefaultHandler),t(window).off("resize",e.onResize),e.isVisible()&&e.hide(),e.dom_wrapped.data(e.dataAttr,null))},initialize:function(){return o.dom_wrapped.on("touchstart mouseenter",o.show),o.dom_wrapped.on("click",o.preventDefaultHandler),t.WordpressUlikeTooltip.body_click_initialized||(t(document).on("touchstart mousedown",o.onClickOutside),t.WordpressUlikeTooltip.bodyClickInitialized=!0),o.dom_wrapped.data(o.dataAttr,o),t(document).on("WordpressUlikeLikersMarkupUpdated",(function(t,e,i,s){if("popover"==i)if(s.length)o.show();else{let t=e.data(o.dataAttr);null!=t&&t.destroy()}})),o.dom},preventDefaultHandler:function(t){return t.preventDefault(),!1},show:function(e){if(o.isVisible())return!1;o.singleton&&o.hideAllVisible();const i=t("body");(void 0===e||e)&&"function"==typeof o.title&&(o.content=o.title(o.dom_wrapped,o)),i.append(o.createTooltipHTML()),o.tooltip=t(".ulf-tooltip:last"),o.positionTooltip(),t(window).on("resize",o.onResize);const s="ulp-dom-"+o.id;o.tooltip.attr("id",s),o.dom.attr("aria-describedby",s),t.WordpressUlikeTooltip.visible.push(o),(void 0===e||e)&&o.dom.trigger("ulf-show",[o.tooltip,o.hide]),t("body").on("DOMSubtreeModified",o.positionTooltip)},isVisible:function(){return t.inArray(o,t.WordpressUlikeTooltip.visible)>-1},hideAllVisible:function(){return t.each(t.WordpressUlikeTooltip.visible,(function(t,e){e.dom_wrapped.hasClass("ulf-focused")||e.hide()})),this},hide:function(e){t("body").off("DOMSubtreeModified",o.positionTooltip),t(window).off("resize",o.onResize),o.dom.attr("aria-describedby",null),o.tooltip&&o.tooltip.length&&o.tooltip.remove(),(void 0===e||e)&&o.dom.trigger("ulf-hide"),"click"!==o.trigger&&o.dom_wrapped.off("touchstart mousedown",o.hide);var i=t.inArray(o,t.WordpressUlikeTooltip.visible);return t.WordpressUlikeTooltip.visible.splice(i,1),o.dom},onResize:function(){o.hide(!1),o.show(!1)},onClickOutside:function(e){const i=t(e.target);i.hasClass("ulf-tooltip")||i.parents(".ulf-tooltip:first").length||t.each(t.WordpressUlikeTooltip.visible,(function(t,e){void 0!==e&&e.close_on_outside_click&&(i!==e.dom_wrapped||"focus"!==e.trigger&&"hoverfocus"!==e.trigger)&&e.hide()}))},positionTooltip:function(){o.positionDebug("-- Start positioning --"),o.dom_wrapped.length&&o.dom_wrapped.is(":visible")||(o.positionDebug("Elem no longer exists. Removing tooltip"),o.hide(!0));let t=o.tooltip.find(".ulf-arrow"),[e,i,s,n,l,a]=o.calculateSafePosition(o.position);return void 0===l&&"auto"!==o.position&&(o.positionDebug("Couldn't fit preferred position"),[e,i,s,n,l,a]=o.calculateSafePosition("auto")),void 0===l?(o.positionDebug("Doesn't appear to fit. Displaying centered"),o.tooltip.addClass("ulf-centered").css({top:"50%",left:"50%","margin-left":-s/2,"margin-top":-n/2}),t&&t.length&&t.remove(),void o.positionDebug("-- Done positioning --")):(o.positionDebug({"Setting Position":{Left:l,Top:a}}),o.tooltip.css("left",l),o.tooltip.css("top",a),i<60&&(o.positionDebug("Element is less than "+i+"px. Setting arrow to hug the side tighter"),e+=" ulf-arrow-super-hug"),t.addClass("ulf-arrow-"+e),o.positionDebug("-- Done positioning --"),o)},calculateSafePosition:function(t){let e,i,s,n=o.tooltip.find(".ulf-arrow"),l=o.dom_wrapped.offset(),a=o.dom_wrapped.outerHeight(),r=o.dom_wrapped.outerWidth(),d=o.tooltip.outerWidth(),p=o.tooltip.outerHeight(),u=document.querySelector("body").offsetWidth,h=document.querySelector("body").offsetHeight,g=n.is(":visible")?n.outerHeight():0,c=n.is(":visible")?n.outerWidth():0,m={};if(m.below=h-(p+a+l.top)>5,m.above=l.top-p>5,m.vertical_half=l.top+r/2-p/2>5,m.right=u-(d+r+l.left)>5,m.right_half=u-l.left-r/2-d/2>5,m.right_full=u-l.left-d>5,m.left=l.left-d>5,m.left_half=l.left+r/2-d/2>5,m.left_full=l.left-d>5,o.positionDebug({"Clicked Element":{Left:l.left,Top:l.top}}),o.positionDebug({"Element Dimensions":{Height:a,Width:r},"Tooltip Dimensions":{Height:p,Width:d},"Window Dimensions":{Height:h,Width:u},"Arrow Dimensions":{Height:g,Width:c}}),o.positionDebug(m),("auto"===t||"bottom"===t)&&m.below&&m.left_half&&m.right_half)o.positionDebug("Displaying below, centered"),e="top",i=l.left-d/2+r/2,s=l.top+a+g/2;else if(("auto"===t||"top"===t)&&m.above&&m.left_half&&m.right_half){if(o.positionDebug("Displaying above, centered"),e="bottom",o.child_class){let t=o.dom_wrapped.find(o.child_class).first();i=t.offset().left-d/2+t.width()/2}else i=l.left-d/2+r/2;s=l.top-p-g/2}else("auto"===t||"left"===t)&&m.left&&m.vertical_half?(o.positionDebug("Displaying left, centered"),e="right",i=l.left-d-c/2,s=l.top+a/2-p/2):("auto"===t||"right"===t)&&m.right&&m.vertical_half?(o.positionDebug("Displaying right, centered"),e="left",i=l.left+r+c/2,s=l.top+a/2-p/2):("auto"===t||"bottom"===t)&&m.below&&m.right_full?(o.positionDebug("Displaying below, to the right"),e="top ulf-arrow-hug-left",i=l.left,s=l.top+a+g/2):("auto"===t||"bottom"===t)&&m.below&&m.left_full?(o.positionDebug("Displaying below, to the left"),e="top ulf-arrow-hug-right",i=l.left+r-d,s=l.top+a+g/2):("auto"===t||"top"===t)&&m.above&&m.right_full?(o.positionDebug("Displaying above, to the right"),e="bottom ulf-arrow-hug-left",i=l.left,s=l.top-p-g/2):("auto"===t||"top"===t)&&m.above&&m.left_full&&(o.positionDebug("Displaying above, to the left"),e="bottom ulf-arrow-hug-right",i=l.left+r-d,s=l.top-p-g/2);return[e,r,d,p,i,s]},positionDebug:function(t){return!!o.position_debug&&("object"==typeof t?console.table(t):console.log(`Position: ${t}`))}};return o.destroy(),o.initialize()},t.WordpressUlikeTooltip={},t.WordpressUlikeTooltip.visible=[],t.WordpressUlikeTooltip.body_click_initialized=!1,t.WordpressUlikeTooltip.defaults={id:Date.now(),title:"",trigger:"hoverfocus",position:"auto",class:"",theme:"black",size:"small",singleton:!0,close_on_outside_click:!0}}(jQuery),function(t,e,i,s){"use strict";var o="WordpressUlikeNotifications",n={messageType:"success",messageText:"Hello World!",timeout:8e3,messageElement:"wpulike-message",notifContainer:"wpulike-notification"};function l(e,i){this.element=e,this.$element=t(e),this.settings=t.extend({},n,i),this._defaults=n,this._name=o,this.init()}t.extend(l.prototype,{init:function(){this._message(),this._container(),this._append(),this._remove()},_message:function(){this.$messageElement=t("<div/>").addClass(this.settings.messageElement+" wpulike-"+this.settings.messageType).text(this.settings.messageText)},_container:function(){t("."+this.settings.notifContainer).length||this.$element.append(t("<div/>").addClass(this.settings.notifContainer)),this.$notifContainer=this.$element.find("."+this.settings.notifContainer)},_append:function(){this.$notifContainer.append(this.$messageElement).trigger("WordpressUlikeNotificationAppend")},_remove:function(){var e=this;this.$messageElement.on("click",(function(){t(this).fadeOut(300,(function(){t(this).remove(),t("."+e.settings.messageElement).length||e.$notifContainer.remove()})).trigger("WordpressUlikeRemoveNotification")})),e.settings.timeout&&setTimeout((function(){e.$messageElement.fadeOut(300,(function(){t(this).remove(),t("."+e.settings.messageElement).length||e.$notifContainer.remove()})).trigger("WordpressUlikeRemoveNotification")}),e.settings.timeout)}}),t.fn[o]=function(t){return this.each((function(){new l(this,t)}))}}(jQuery,window,document),function(t,e,i,s){"use strict";var o="WordpressUlike",n=(t(e),t(i)),l={ID:0,nonce:0,type:"",append:"",appendTimeout:2e3,displayLikers:!1,likersTemplate:"default",disablePophover:!0,isTotal:!1,factor:"",template:"",counterSelector:".count-box",generalSelector:".wp_ulike_general_class",buttonSelector:".wp_ulike_btn",likersSelector:".wp_ulike_likers_wrapper"},a={"ulike-id":"ID","ulike-nonce":"nonce","ulike-type":"type","ulike-append":"append","ulike-is-total":"isTotal","ulike-display-likers":"displayLikers","ulike-likers-style":"likersTemplate","ulike-disable-pophover":"disablePophover","ulike-append-timeout":"appendTimeout","ulike-factor":"factor","ulike-template":"template"};function r(e,i){for(var s in this.element=e,this.$element=t(e),this.settings=t.extend({},l,i),this._defaults=l,this._name=o,this.buttonElement=this.$element.find(this.settings.buttonSelector),a){var n=this.buttonElement.data(s);undefined!==n&&(this.settings[a[s]]=n)}this.generalElement=this.$element.find(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),this.counterElement.length&&this.counterElement.each(function(e,i){void 0!==t(i).data("ulike-counter-value")&&t(i).html(t(i).data("ulike-counter-value"))}.bind(this)),this.likersElement=this.$element.find(this.settings.likersSelector),this.init()}t.extend(r.prototype,{init:function(){this.buttonElement.on("click",this._initLike.bind(this)),this.generalElement.one("mouseenter",this._updateLikers.bind(this))},_ajax:function(e,i){t.ajax({url:wp_ulike_params.ajax_url,type:"POST",dataType:"json",data:e}).done(i)},_initLike:function(t){t.stopPropagation(),this._maybeUpdateElements(t),this._updateSameButtons(),this._updateSameLikers(),this.buttonElement.prop("disabled",!0),n.trigger("WordpressUlikeLoading",this.element),this.generalElement.addClass("wp_ulike_is_loading"),this._ajax({action:"wp_ulike_process",id:this.settings.ID,nonce:this.settings.nonce,factor:this.settings.factor,type:this.settings.type,template:this.settings.template,displayLikers:this.settings.displayLikers,likersTemplate:this.settings.likersTemplate},function(t){this.generalElement.removeClass("wp_ulike_is_loading"),t.success?(this._updateMarkup(t),this._appendChild()):t.data.hasToast&&this._sendNotification("error",t.data.message),this.buttonElement.prop("disabled",!1),n.trigger("WordpressUlikeUpdated",this.element)}.bind(this))},_maybeUpdateElements:function(e){this.buttonElement=t(e.currentTarget),this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),this.settings.factor=this.buttonElement.data("ulike-factor")},_appendChild:function(){if(""!==this.settings.append){var e=t(this.settings.append);this.buttonElement.append(e),this.settings.appendTimeout&&setTimeout((function(){e.detach()}),this.settings.appendTimeout)}},_updateMarkup:function(t){this._setSbilingElement(),this._setSbilingButtons(),this._updateGeneralClassNames(t.data.status),null!==t.data.data&&(5!=t.data.status&&(this.__updateCounter(t.data.data),this.settings.displayLikers&&void 0!==t.data.likers&&this._updateLikersMarkup(t.data.likers)),this._updateButton(t.data.btnText,t.data.status)),t.data.hasToast&&this._sendNotification(t.data.messageType,t.data.message)},_updateGeneralClassNames:function(t){var e="wp_ulike_is_not_liked",i="wp_ulike_is_liked",s="wp_ulike_is_unliked",o="wp_ulike_click_is_disabled";switch(this.siblingElement.length&&this.siblingElement.removeClass(this._arrayToString([i,s])),t){case 1:this.generalElement.addClass(i).removeClass(e),this.generalElement.children().first().addClass(o);break;case 2:this.generalElement.addClass(s).removeClass(i);break;case 3:this.generalElement.addClass(i).removeClass(s);break;case 0:case 5:this.generalElement.addClass(o),this.siblingElement.length&&this.siblingElement.addClass(o)}},_arrayToString:function(t){return t.join(" ")},_setSbilingElement:function(){this.siblingElement=this.generalElement.siblings()},_setSbilingButtons:function(){this.siblingButton=this.buttonElement.siblings(this.settings.buttonSelector)},__updateCounter:function(t){this.counterElement.attr("data-ulike-counter-value",t).html(t),n.trigger("WordpressUlikeCounterUpdated",[this.buttonElement])},_updateLikers:function(t){if(this.settings.displayLikers){if("popover"==this.settings.likersTemplate&&this.$element.data("ulike-tooltip"))return;if("default"==this.settings.likersTemplate&&this.likersElement.length)return;return this.generalElement.addClass("wp_ulike_is_getting_likers_list"),this._ajax({action:"wp_ulike_get_likers",id:this.settings.ID,nonce:this.settings.nonce,type:this.settings.type,displayLikers:this.settings.displayLikers,likersTemplate:this.settings.likersTemplate},function(t){this.generalElement.removeClass("wp_ulike_is_getting_likers_list"),t.success&&this._updateLikersMarkup(t.data)}.bind(this)),t.stopImmediatePropagation(),!1}},_updateLikersMarkup:function(e){"popover"==this.settings.likersTemplate?(this.likersElement=this.$element,e.template&&this.likersElement.WordpressUlikeTooltip({id:this.settings.type.toLowerCase()+"-"+this.settings.ID,title:e.template,position:"top",child:this.settings.generalSelector,theme:"white",size:"tiny",trigger:"hover"})):(this.likersElement.length||(this.likersElement=t(e.template).appendTo(this.$element)),e.template?this.likersElement.show().html(e.template):this.likersElement.hide().empty()),n.trigger("WordpressUlikeLikersMarkupUpdated",[this.likersElement,this.settings.likersTemplate,e.template])},_updateSameButtons:function(){var t=void 0!==this.settings.factor?"_"+this.settings.factor:"";this.sameButtons=n.find(".wp_"+this.settings.type.toLowerCase()+t+"_btn_"+this.settings.ID),this.sameButtons.length>1&&(this.buttonElement=this.sameButtons,this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector))},_updateSameLikers:function(){this.sameLikers=n.find(".wp_"+this.settings.type.toLowerCase()+"_likers_"+this.settings.ID),this.sameLikers.length>1&&(this.likersElement=this.sameLikers)},_getLikersElement:function(){return this.likersElement},_updateButton:function(t,e){this.buttonElement.hasClass("wp_ulike_put_image")?(4==e?this.buttonElement.addClass("image-unlike wp_ulike_btn_is_active"):this.buttonElement.toggleClass("image-unlike wp_ulike_btn_is_active"),this.siblingElement.length&&this.siblingElement.find(this.settings.buttonSelector).removeClass("image-unlike wp_ulike_btn_is_active"),this.siblingButton.length&&this.siblingButton.removeClass("image-unlike wp_ulike_btn_is_active")):this.buttonElement.hasClass("wp_ulike_put_text")&&null!==t&&this.buttonElement.find("span").html(t)},_sendNotification:function(e,s){t(i.body).WordpressUlikeNotifications({messageType:e,messageText:s})}}),t.fn[o]=function(e){return this.each((function(){t.data(this,"plugin_"+o)||t.data(this,"plugin_"+o,new r(this,e))}))}}(jQuery,window,document),function(t){var e,i,s;t(".wpulike").WordpressUlike(),e=".wpulike",i=function(e){t(e).WordpressUlike()},s=t("body")[0],new(window.MutationObserver||window.WebKitMutationObserver)((function(s){s.forEach((function(s){if(s.addedNodes.length)for(var o=t(s.addedNodes).find(e),n=0,l=o.length;n<l;n++)i(o[n])}))})).observe(s,{childList:!0,subtree:!0})}(jQuery);
1
+ /*! WP ULike - v4.5.9
2
  * https://wpulike.com
3
+ * TechnoWich 2022;
4
  */
5
  !function(t){t.fn.WordpressUlikeTooltip=function(e){if(this.length>1)return this.each((function(){t(this).WordpressUlikeTooltip(e)})),this;if(void 0===this||1!==this.length)return!1;const i=t(this);e=t.extend({},t.WordpressUlikeTooltip.defaults,e,i.data());let s=i.attr("title");void 0!==s&&s.length&&(e.title=s),e.class+=" ulf-"+e.theme+"-theme",e.class+=" ulf-"+e.size,e.trigger=e.trigger.toLowerCase().trim();let o={dom:this,dom_wrapped:i,position_debug:e.position_debug,trigger:e.trigger,id:e.id,title:e.title,content:e.title,child_class:e.child,theme:e.theme,class:e.class,position:e.position,close_on_outside_click:e.close_on_outside_click,singleton:e.singleton,dataAttr:"ulike-tooltip",createTooltipHTML:function(){return`<div class='ulf-tooltip ${o.class}' role='tooltip'><div class='ulf-arrow'></div><div class='ulf-content'>${o.content}</div></div>`},destroy:function(){const e=o.dom_wrapped.data(o.dataAttr);null!=e&&(e.dom_wrapped.off("touchstart mouseenter",e.show),e.dom_wrapped.off("click",e.preventDefaultHandler),t(window).off("resize",e.onResize),e.isVisible()&&e.hide(),e.dom_wrapped.data(e.dataAttr,null))},initialize:function(){return o.dom_wrapped.on("touchstart mouseenter",o.show),o.dom_wrapped.on("click",o.preventDefaultHandler),t.WordpressUlikeTooltip.body_click_initialized||(t(document).on("touchstart mousedown",o.onClickOutside),t.WordpressUlikeTooltip.bodyClickInitialized=!0),o.dom_wrapped.data(o.dataAttr,o),t(document).on("WordpressUlikeLikersMarkupUpdated",(function(t,e,i,s){if("popover"==i)if(s.length)o.show();else{let t=e.data(o.dataAttr);null!=t&&t.destroy()}})),o.dom},preventDefaultHandler:function(t){return t.preventDefault(),!1},show:function(e){if(o.isVisible())return!1;o.singleton&&o.hideAllVisible();const i=t("body");(void 0===e||e)&&"function"==typeof o.title&&(o.content=o.title(o.dom_wrapped,o)),i.append(o.createTooltipHTML()),o.tooltip=t(".ulf-tooltip:last"),o.positionTooltip(),t(window).on("resize",o.onResize);const s="ulp-dom-"+o.id;o.tooltip.attr("id",s),o.dom.attr("aria-describedby",s),t.WordpressUlikeTooltip.visible.push(o),(void 0===e||e)&&o.dom.trigger("ulf-show",[o.tooltip,o.hide]),t("body").on("DOMSubtreeModified",o.positionTooltip)},isVisible:function(){return t.inArray(o,t.WordpressUlikeTooltip.visible)>-1},hideAllVisible:function(){return t.each(t.WordpressUlikeTooltip.visible,(function(t,e){e.dom_wrapped.hasClass("ulf-focused")||e.hide()})),this},hide:function(e){t("body").off("DOMSubtreeModified",o.positionTooltip),t(window).off("resize",o.onResize),o.dom.attr("aria-describedby",null),o.tooltip&&o.tooltip.length&&o.tooltip.remove(),(void 0===e||e)&&o.dom.trigger("ulf-hide"),"click"!==o.trigger&&o.dom_wrapped.off("touchstart mousedown",o.hide);var i=t.inArray(o,t.WordpressUlikeTooltip.visible);return t.WordpressUlikeTooltip.visible.splice(i,1),o.dom},onResize:function(){o.hide(!1),o.show(!1)},onClickOutside:function(e){const i=t(e.target);i.hasClass("ulf-tooltip")||i.parents(".ulf-tooltip:first").length||t.each(t.WordpressUlikeTooltip.visible,(function(t,e){void 0!==e&&e.close_on_outside_click&&(i!==e.dom_wrapped||"focus"!==e.trigger&&"hoverfocus"!==e.trigger)&&e.hide()}))},positionTooltip:function(){o.positionDebug("-- Start positioning --"),o.dom_wrapped.length&&o.dom_wrapped.is(":visible")||(o.positionDebug("Elem no longer exists. Removing tooltip"),o.hide(!0));let t=o.tooltip.find(".ulf-arrow"),[e,i,s,n,l,a]=o.calculateSafePosition(o.position);return void 0===l&&"auto"!==o.position&&(o.positionDebug("Couldn't fit preferred position"),[e,i,s,n,l,a]=o.calculateSafePosition("auto")),void 0===l?(o.positionDebug("Doesn't appear to fit. Displaying centered"),o.tooltip.addClass("ulf-centered").css({top:"50%",left:"50%","margin-left":-s/2,"margin-top":-n/2}),t&&t.length&&t.remove(),void o.positionDebug("-- Done positioning --")):(o.positionDebug({"Setting Position":{Left:l,Top:a}}),o.tooltip.css("left",l),o.tooltip.css("top",a),i<60&&(o.positionDebug("Element is less than "+i+"px. Setting arrow to hug the side tighter"),e+=" ulf-arrow-super-hug"),t.addClass("ulf-arrow-"+e),o.positionDebug("-- Done positioning --"),o)},calculateSafePosition:function(t){let e,i,s,n=o.tooltip.find(".ulf-arrow"),l=o.dom_wrapped.offset(),a=o.dom_wrapped.outerHeight(),r=o.dom_wrapped.outerWidth(),d=o.tooltip.outerWidth(),p=o.tooltip.outerHeight(),u=document.querySelector("body").offsetWidth,h=document.querySelector("body").offsetHeight,g=n.is(":visible")?n.outerHeight():0,c=n.is(":visible")?n.outerWidth():0,m={};if(m.below=h-(p+a+l.top)>5,m.above=l.top-p>5,m.vertical_half=l.top+r/2-p/2>5,m.right=u-(d+r+l.left)>5,m.right_half=u-l.left-r/2-d/2>5,m.right_full=u-l.left-d>5,m.left=l.left-d>5,m.left_half=l.left+r/2-d/2>5,m.left_full=l.left-d>5,o.positionDebug({"Clicked Element":{Left:l.left,Top:l.top}}),o.positionDebug({"Element Dimensions":{Height:a,Width:r},"Tooltip Dimensions":{Height:p,Width:d},"Window Dimensions":{Height:h,Width:u},"Arrow Dimensions":{Height:g,Width:c}}),o.positionDebug(m),("auto"===t||"bottom"===t)&&m.below&&m.left_half&&m.right_half)o.positionDebug("Displaying below, centered"),e="top",i=l.left-d/2+r/2,s=l.top+a+g/2;else if(("auto"===t||"top"===t)&&m.above&&m.left_half&&m.right_half){if(o.positionDebug("Displaying above, centered"),e="bottom",o.child_class){let t=o.dom_wrapped.find(o.child_class).first();i=t.offset().left-d/2+t.width()/2}else i=l.left-d/2+r/2;s=l.top-p-g/2}else("auto"===t||"left"===t)&&m.left&&m.vertical_half?(o.positionDebug("Displaying left, centered"),e="right",i=l.left-d-c/2,s=l.top+a/2-p/2):("auto"===t||"right"===t)&&m.right&&m.vertical_half?(o.positionDebug("Displaying right, centered"),e="left",i=l.left+r+c/2,s=l.top+a/2-p/2):("auto"===t||"bottom"===t)&&m.below&&m.right_full?(o.positionDebug("Displaying below, to the right"),e="top ulf-arrow-hug-left",i=l.left,s=l.top+a+g/2):("auto"===t||"bottom"===t)&&m.below&&m.left_full?(o.positionDebug("Displaying below, to the left"),e="top ulf-arrow-hug-right",i=l.left+r-d,s=l.top+a+g/2):("auto"===t||"top"===t)&&m.above&&m.right_full?(o.positionDebug("Displaying above, to the right"),e="bottom ulf-arrow-hug-left",i=l.left,s=l.top-p-g/2):("auto"===t||"top"===t)&&m.above&&m.left_full&&(o.positionDebug("Displaying above, to the left"),e="bottom ulf-arrow-hug-right",i=l.left+r-d,s=l.top-p-g/2);return[e,r,d,p,i,s]},positionDebug:function(t){return!!o.position_debug&&("object"==typeof t?console.table(t):console.log(`Position: ${t}`))}};return o.destroy(),o.initialize()},t.WordpressUlikeTooltip={},t.WordpressUlikeTooltip.visible=[],t.WordpressUlikeTooltip.body_click_initialized=!1,t.WordpressUlikeTooltip.defaults={id:Date.now(),title:"",trigger:"hoverfocus",position:"auto",class:"",theme:"black",size:"small",singleton:!0,close_on_outside_click:!0}}(jQuery),function(t,e,i,s){"use strict";var o="WordpressUlikeNotifications",n={messageType:"success",messageText:"Hello World!",timeout:8e3,messageElement:"wpulike-message",notifContainer:"wpulike-notification"};function l(e,i){this.element=e,this.$element=t(e),this.settings=t.extend({},n,i),this._defaults=n,this._name=o,this.init()}t.extend(l.prototype,{init:function(){this._message(),this._container(),this._append(),this._remove()},_message:function(){this.$messageElement=t("<div/>").addClass(this.settings.messageElement+" wpulike-"+this.settings.messageType).text(this.settings.messageText)},_container:function(){t("."+this.settings.notifContainer).length||this.$element.append(t("<div/>").addClass(this.settings.notifContainer)),this.$notifContainer=this.$element.find("."+this.settings.notifContainer)},_append:function(){this.$notifContainer.append(this.$messageElement).trigger("WordpressUlikeNotificationAppend")},_remove:function(){var e=this;this.$messageElement.on("click",(function(){t(this).fadeOut(300,(function(){t(this).remove(),t("."+e.settings.messageElement).length||e.$notifContainer.remove()})).trigger("WordpressUlikeRemoveNotification")})),e.settings.timeout&&setTimeout((function(){e.$messageElement.fadeOut(300,(function(){t(this).remove(),t("."+e.settings.messageElement).length||e.$notifContainer.remove()})).trigger("WordpressUlikeRemoveNotification")}),e.settings.timeout)}}),t.fn[o]=function(t){return this.each((function(){new l(this,t)}))}}(jQuery,window,document),function(t,e,i,s){"use strict";var o="WordpressUlike",n=(t(e),t(i)),l={ID:0,nonce:0,type:"",append:"",appendTimeout:2e3,displayLikers:!1,likersTemplate:"default",disablePophover:!0,isTotal:!1,factor:"",template:"",counterSelector:".count-box",generalSelector:".wp_ulike_general_class",buttonSelector:".wp_ulike_btn",likersSelector:".wp_ulike_likers_wrapper"},a={"ulike-id":"ID","ulike-nonce":"nonce","ulike-type":"type","ulike-append":"append","ulike-is-total":"isTotal","ulike-display-likers":"displayLikers","ulike-likers-style":"likersTemplate","ulike-disable-pophover":"disablePophover","ulike-append-timeout":"appendTimeout","ulike-factor":"factor","ulike-template":"template"};function r(e,i){for(var s in this.element=e,this.$element=t(e),this.settings=t.extend({},l,i),this._defaults=l,this._name=o,this.buttonElement=this.$element.find(this.settings.buttonSelector),a){var n=this.buttonElement.data(s);undefined!==n&&(this.settings[a[s]]=n)}this.generalElement=this.$element.find(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),this.counterElement.length&&this.counterElement.each(function(e,i){void 0!==t(i).data("ulike-counter-value")&&t(i).html(t(i).data("ulike-counter-value"))}.bind(this)),this.likersElement=this.$element.find(this.settings.likersSelector),this.init()}t.extend(r.prototype,{init:function(){this.buttonElement.on("click",this._initLike.bind(this)),this.generalElement.one("mouseenter",this._updateLikers.bind(this))},_ajax:function(e,i){t.ajax({url:wp_ulike_params.ajax_url,type:"POST",dataType:"json",data:e}).done(i)},_initLike:function(t){t.stopPropagation(),this._maybeUpdateElements(t),this._updateSameButtons(),this._updateSameLikers(),this.buttonElement.prop("disabled",!0),n.trigger("WordpressUlikeLoading",this.element),this.generalElement.addClass("wp_ulike_is_loading"),this._ajax({action:"wp_ulike_process",id:this.settings.ID,nonce:this.settings.nonce,factor:this.settings.factor,type:this.settings.type,template:this.settings.template,displayLikers:this.settings.displayLikers,likersTemplate:this.settings.likersTemplate},function(t){this.generalElement.removeClass("wp_ulike_is_loading"),t.success?(this._updateMarkup(t),this._appendChild()):t.data.hasToast&&this._sendNotification("error",t.data.message),this.buttonElement.prop("disabled",!1),n.trigger("WordpressUlikeUpdated",this.element)}.bind(this))},_maybeUpdateElements:function(e){this.buttonElement=t(e.currentTarget),this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),this.settings.factor=this.buttonElement.data("ulike-factor")},_appendChild:function(){if(""!==this.settings.append){var e=t(this.settings.append);this.buttonElement.append(e),this.settings.appendTimeout&&setTimeout((function(){e.detach()}),this.settings.appendTimeout)}},_updateMarkup:function(t){this._setSbilingElement(),this._setSbilingButtons(),this._updateGeneralClassNames(t.data.status),null!==t.data.data&&(5!=t.data.status&&(this.__updateCounter(t.data.data),this.settings.displayLikers&&void 0!==t.data.likers&&this._updateLikersMarkup(t.data.likers)),this._updateButton(t.data.btnText,t.data.status)),t.data.hasToast&&this._sendNotification(t.data.messageType,t.data.message)},_updateGeneralClassNames:function(t){var e="wp_ulike_is_not_liked",i="wp_ulike_is_liked",s="wp_ulike_is_unliked",o="wp_ulike_click_is_disabled";switch(this.siblingElement.length&&this.siblingElement.removeClass(this._arrayToString([i,s])),t){case 1:this.generalElement.addClass(i).removeClass(e),this.generalElement.children().first().addClass(o);break;case 2:this.generalElement.addClass(s).removeClass(i);break;case 3:this.generalElement.addClass(i).removeClass(s);break;case 0:case 5:this.generalElement.addClass(o),this.siblingElement.length&&this.siblingElement.addClass(o)}},_arrayToString:function(t){return t.join(" ")},_setSbilingElement:function(){this.siblingElement=this.generalElement.siblings()},_setSbilingButtons:function(){this.siblingButton=this.buttonElement.siblings(this.settings.buttonSelector)},__updateCounter:function(t){this.counterElement.attr("data-ulike-counter-value",t).html(t),n.trigger("WordpressUlikeCounterUpdated",[this.buttonElement])},_updateLikers:function(t){if(this.settings.displayLikers){if("popover"==this.settings.likersTemplate&&this.$element.data("ulike-tooltip"))return;if("default"==this.settings.likersTemplate&&this.likersElement.length)return;return this.generalElement.addClass("wp_ulike_is_getting_likers_list"),this._ajax({action:"wp_ulike_get_likers",id:this.settings.ID,nonce:this.settings.nonce,type:this.settings.type,displayLikers:this.settings.displayLikers,likersTemplate:this.settings.likersTemplate},function(t){this.generalElement.removeClass("wp_ulike_is_getting_likers_list"),t.success&&this._updateLikersMarkup(t.data)}.bind(this)),t.stopImmediatePropagation(),!1}},_updateLikersMarkup:function(e){"popover"==this.settings.likersTemplate?(this.likersElement=this.$element,e.template&&this.likersElement.WordpressUlikeTooltip({id:this.settings.type.toLowerCase()+"-"+this.settings.ID,title:e.template,position:"top",child:this.settings.generalSelector,theme:"white",size:"tiny",trigger:"hover"})):(this.likersElement.length||(this.likersElement=t(e.template).appendTo(this.$element)),e.template?this.likersElement.show().html(e.template):this.likersElement.hide().empty()),n.trigger("WordpressUlikeLikersMarkupUpdated",[this.likersElement,this.settings.likersTemplate,e.template])},_updateSameButtons:function(){var t=void 0!==this.settings.factor?"_"+this.settings.factor:"";this.sameButtons=n.find(".wp_"+this.settings.type.toLowerCase()+t+"_btn_"+this.settings.ID),this.sameButtons.length>1&&(this.buttonElement=this.sameButtons,this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector))},_updateSameLikers:function(){this.sameLikers=n.find(".wp_"+this.settings.type.toLowerCase()+"_likers_"+this.settings.ID),this.sameLikers.length>1&&(this.likersElement=this.sameLikers)},_getLikersElement:function(){return this.likersElement},_updateButton:function(t,e){this.buttonElement.hasClass("wp_ulike_put_image")?(4==e?this.buttonElement.addClass("image-unlike wp_ulike_btn_is_active"):this.buttonElement.toggleClass("image-unlike wp_ulike_btn_is_active"),this.siblingElement.length&&this.siblingElement.find(this.settings.buttonSelector).removeClass("image-unlike wp_ulike_btn_is_active"),this.siblingButton.length&&this.siblingButton.removeClass("image-unlike wp_ulike_btn_is_active")):this.buttonElement.hasClass("wp_ulike_put_text")&&null!==t&&this.buttonElement.find("span").html(t)},_sendNotification:function(e,s){t(i.body).WordpressUlikeNotifications({messageType:e,messageText:s})}}),t.fn[o]=function(e){return this.each((function(){t.data(this,"plugin_"+o)||t.data(this,"plugin_"+o,new r(this,e))}))}}(jQuery,window,document),function(t){var e,i,s;t(".wpulike").WordpressUlike(),e=".wpulike",i=function(e){t(e).WordpressUlike()},s=t("body")[0],new(window.MutationObserver||window.WebKitMutationObserver)((function(s){s.forEach((function(s){if(s.addedNodes.length)for(var o=t(s.addedNodes).find(e),n=0,l=o.length;n<l;n++)i(o[n])}))})).observe(s,{childList:!0,subtree:!0})}(jQuery);
includes/action.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  *
6
  * @package wp-ulike
7
- * @author TechnoWich 2021
8
  * @link https://wpulike.com
9
  */
10
 
4
  *
5
  *
6
  * @package wp-ulike
7
+ * @author TechnoWich 2022
8
  * @link https://wpulike.com
9
  */
10
 
includes/classes/class-wp-ulike-activator.php CHANGED
@@ -3,7 +3,7 @@
3
  * WP ULike Activator
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * WP ULike Activator
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/classes/class-wp-ulike-ajax-listener-base.php CHANGED
@@ -3,7 +3,7 @@
3
  * WP ULike AJAX Listener
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
@@ -20,17 +20,17 @@ abstract class wp_ulike_ajax_listener_base{
20
  /**
21
  * Form Data
22
  */
23
- protected $data;
24
 
25
  /**
26
  * User info
27
  */
28
- protected $user;
29
 
30
  /**
31
  * Settings Type
32
  */
33
- protected $settings_type;
34
 
35
  public function __construct(){
36
  $this->setUser();
3
  * WP ULike AJAX Listener
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
20
  /**
21
  * Form Data
22
  */
23
+ public $data;
24
 
25
  /**
26
  * User info
27
  */
28
+ public $user;
29
 
30
  /**
31
  * Settings Type
32
  */
33
+ public $settings_type;
34
 
35
  public function __construct(){
36
  $this->setUser();
includes/classes/class-wp-ulike-cta-listener.php CHANGED
@@ -3,7 +3,7 @@
3
  * WP ULike CTA Listener
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * WP ULike CTA Listener
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/classes/class-wp-ulike-cta-process.php CHANGED
@@ -3,7 +3,7 @@
3
  * WP ULike Process Class
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * WP ULike Process Class
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/classes/class-wp-ulike-cta-template.php CHANGED
@@ -3,7 +3,7 @@
3
  * WP ULike Process Class
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * WP ULike Process Class
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/classes/class-wp-ulike-customizer.php CHANGED
@@ -3,7 +3,7 @@
3
  * Wp ULike Admin Customize
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Wp ULike Admin Customize
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/classes/class-wp-ulike-deactivator.php CHANGED
@@ -3,7 +3,7 @@
3
  * WP ULike Deactivator
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * WP ULike Deactivator
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/classes/class-wp-ulike-entities-process.php CHANGED
@@ -3,7 +3,7 @@
3
  * WP ULike Process Class
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
@@ -208,7 +208,7 @@ if ( ! class_exists( 'wp_ulike_entities_process' ) ) {
208
  "settings" => $settings
209
  ) );
210
 
211
- if( $user_item_count && $user_item_count > wp_ulike_setting_repo::getVoteLimitNumber( $args['type'] ) ){
212
  $status = false;
213
  }
214
  }
3
  * WP ULike Process Class
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
208
  "settings" => $settings
209
  ) );
210
 
211
+ if( $user_item_count && ( $user_item_count >= wp_ulike_setting_repo::getVoteLimitNumber( $args['type'] ) ) ){
212
  $status = false;
213
  }
214
  }
includes/classes/class-wp-ulike-frontend-assets.php CHANGED
@@ -3,7 +3,7 @@
3
  * Wp ULike FrontEnd Scripts Class.
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Wp ULike FrontEnd Scripts Class.
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/classes/class-wp-ulike-mycred.php CHANGED
@@ -3,7 +3,7 @@
3
  * WP ULike myCred support Class
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * WP ULike myCred support Class
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/classes/class-wp-ulike.php CHANGED
@@ -3,7 +3,7 @@
3
  * Deprecated WP ULike Process Class
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Deprecated WP ULike Process Class
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/functions/content-types.php CHANGED
@@ -3,7 +3,7 @@
3
  * Supported Item Types
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Supported Item Types
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/functions/counter.php CHANGED
@@ -3,7 +3,7 @@
3
  * Counter Functions
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Counter Functions
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/functions/general.php CHANGED
@@ -3,7 +3,7 @@
3
  * Global Functions
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Global Functions
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/functions/meta.php CHANGED
@@ -3,7 +3,7 @@
3
  * Meta Functions
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Meta Functions
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/functions/queries.php CHANGED
@@ -3,7 +3,7 @@
3
  * Query Controllers
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Query Controllers
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/functions/templates.php CHANGED
@@ -3,7 +3,7 @@
3
  * Custom Templates
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Custom Templates
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/functions/utilities.php CHANGED
@@ -3,7 +3,7 @@
3
  * Utilities
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Utilities
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/hooks/frontend-ajax.php CHANGED
@@ -3,7 +3,7 @@
3
  * Front-end AJAX Hooks
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Front-end AJAX Hooks
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/hooks/general.php CHANGED
@@ -3,7 +3,7 @@
3
  * General Hooks
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * General Hooks
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/hooks/shortcodes.php CHANGED
@@ -3,7 +3,7 @@
3
  * Shortcodes
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Shortcodes
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/hooks/third-party.php CHANGED
@@ -3,7 +3,7 @@
3
  * Third-Party Plugins
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Third-Party Plugins
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/index.php CHANGED
@@ -3,7 +3,7 @@
3
  * Include Files
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Include Files
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
includes/plugin.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  *
6
  * @package wp-ulike
7
- * @author TechnoWich 2021
8
  * @link https://wpulike.com
9
  */
10
 
4
  *
5
  *
6
  * @package wp-ulike
7
+ * @author TechnoWich 2022
8
  * @link https://wpulike.com
9
  */
10
 
includes/public/index.php CHANGED
@@ -3,7 +3,7 @@
3
  * Include Public Files
4
  *
5
  * @package wp-ulike
6
- * @author TechnoWich 2021
7
  * @link https://wpulike.com
8
  */
9
 
3
  * Include Public Files
4
  *
5
  * @package wp-ulike
6
+ * @author TechnoWich 2022
7
  * @link https://wpulike.com
8
  */
9
 
languages/wp-ulike-ar.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:26:42+0000\n"
9
  "Language: ar\n"
10
  "MIME-Version: 1.0\n"
@@ -163,13 +163,13 @@ msgid "Topics Likes Logs"
163
  msgstr "سجلات مواضيع الإعجاب"
164
 
165
  #: admin/classes/class-wp-ulike-admin-pages.php:59
166
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
167
  msgid "Statistics"
168
  msgstr "إحصائيات"
169
 
170
  #: admin/classes/class-wp-ulike-admin-pages.php:67
171
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
172
- #: includes/plugin.php:107
173
  msgid "About"
174
  msgstr ""
175
 
@@ -185,7 +185,7 @@ msgstr ""
185
  msgid "Logs"
186
  msgstr "السجلات"
187
 
188
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
189
  msgid "Settings"
190
  msgstr "الإعدادات"
191
 
@@ -1949,12 +1949,12 @@ msgid "WP ULike"
1949
  msgstr "وردبرس یولایک"
1950
 
1951
  #. translators: %s: PHP version
1952
- #: wp-ulike.php:78
1953
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1954
  msgstr ""
1955
 
1956
  #. translators: %s: WordPress version
1957
- #: wp-ulike.php:92
1958
  msgid ""
1959
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1960
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:26:42+0000\n"
9
  "Language: ar\n"
10
  "MIME-Version: 1.0\n"
163
  msgstr "سجلات مواضيع الإعجاب"
164
 
165
  #: admin/classes/class-wp-ulike-admin-pages.php:59
166
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
167
  msgid "Statistics"
168
  msgstr "إحصائيات"
169
 
170
  #: admin/classes/class-wp-ulike-admin-pages.php:67
171
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
172
+ #: includes/plugin.php:110
173
  msgid "About"
174
  msgstr ""
175
 
185
  msgid "Logs"
186
  msgstr "السجلات"
187
 
188
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
189
  msgid "Settings"
190
  msgstr "الإعدادات"
191
 
1949
  msgstr "وردبرس یولایک"
1950
 
1951
  #. translators: %s: PHP version
1952
+ #: wp-ulike.php:74
1953
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1954
  msgstr ""
1955
 
1956
  #. translators: %s: WordPress version
1957
+ #: wp-ulike.php:88
1958
  msgid ""
1959
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1960
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-de.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2019-06-19 16:23:52+0000\n"
9
  "Language: de\n"
10
  "MIME-Version: 1.0\n"
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr ""
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr ""
167
 
@@ -177,7 +177,7 @@ msgstr ""
177
  msgid "Logs"
178
  msgstr "Logdateien"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr ""
183
 
@@ -1876,12 +1876,12 @@ msgid "WP ULike"
1876
  msgstr ""
1877
 
1878
  #. translators: %s: PHP version
1879
- #: wp-ulike.php:78
1880
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1881
  msgstr ""
1882
 
1883
  #. translators: %s: WordPress version
1884
- #: wp-ulike.php:92
1885
  msgid ""
1886
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1887
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: 2019-06-19 16:23:52+0000\n"
9
  "Language: de\n"
10
  "MIME-Version: 1.0\n"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
159
  msgid "Statistics"
160
  msgstr ""
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:110
165
  msgid "About"
166
  msgstr ""
167
 
177
  msgid "Logs"
178
  msgstr "Logdateien"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
181
  msgid "Settings"
182
  msgstr ""
183
 
1876
  msgstr ""
1877
 
1878
  #. translators: %s: PHP version
1879
+ #: wp-ulike.php:74
1880
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1881
  msgstr ""
1882
 
1883
  #. translators: %s: WordPress version
1884
+ #: wp-ulike.php:88
1885
  msgid ""
1886
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1887
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-es-co.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: +0000\n"
9
  "Language: es_CO\n"
10
  "MIME-Version: 1.0\n"
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr ""
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr ""
167
 
@@ -177,7 +177,7 @@ msgstr ""
177
  msgid "Logs"
178
  msgstr ""
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr ""
183
 
@@ -1871,12 +1871,12 @@ msgid "WP ULike"
1871
  msgstr ""
1872
 
1873
  #. translators: %s: PHP version
1874
- #: wp-ulike.php:78
1875
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1876
  msgstr ""
1877
 
1878
  #. translators: %s: WordPress version
1879
- #: wp-ulike.php:92
1880
  msgid ""
1881
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1882
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: +0000\n"
9
  "Language: es_CO\n"
10
  "MIME-Version: 1.0\n"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
159
  msgid "Statistics"
160
  msgstr ""
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:110
165
  msgid "About"
166
  msgstr ""
167
 
177
  msgid "Logs"
178
  msgstr ""
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
181
  msgid "Settings"
182
  msgstr ""
183
 
1871
  msgstr ""
1872
 
1873
  #. translators: %s: PHP version
1874
+ #: wp-ulike.php:74
1875
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1876
  msgstr ""
1877
 
1878
  #. translators: %s: WordPress version
1879
+ #: wp-ulike.php:88
1880
  msgid ""
1881
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1882
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-fa_IR.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2021-01-09 02:03+0330\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
@@ -157,13 +157,13 @@ msgid "Topics Likes Logs"
157
  msgstr "وقایع لایک در تاپیک ها"
158
 
159
  #: admin/classes/class-wp-ulike-admin-pages.php:59
160
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
161
  msgid "Statistics"
162
  msgstr "آماره"
163
 
164
  #: admin/classes/class-wp-ulike-admin-pages.php:67
165
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
166
- #: includes/plugin.php:107
167
  msgid "About"
168
  msgstr "درباره"
169
 
@@ -179,7 +179,7 @@ msgstr "درباره"
179
  msgid "Logs"
180
  msgstr "وقایع"
181
 
182
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
183
  msgid "Settings"
184
  msgstr "تنظیمات"
185
 
@@ -1919,12 +1919,12 @@ msgid "WP ULike"
1919
  msgstr "یولایک"
1920
 
1921
  #. translators: %s: PHP version
1922
- #: wp-ulike.php:78
1923
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1924
  msgstr ""
1925
 
1926
  #. translators: %s: WordPress version
1927
- #: wp-ulike.php:92
1928
  msgid ""
1929
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1930
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: 2021-01-09 02:03+0330\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
157
  msgstr "وقایع لایک در تاپیک ها"
158
 
159
  #: admin/classes/class-wp-ulike-admin-pages.php:59
160
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
161
  msgid "Statistics"
162
  msgstr "آماره"
163
 
164
  #: admin/classes/class-wp-ulike-admin-pages.php:67
165
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
166
+ #: includes/plugin.php:110
167
  msgid "About"
168
  msgstr "درباره"
169
 
179
  msgid "Logs"
180
  msgstr "وقایع"
181
 
182
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
183
  msgid "Settings"
184
  msgstr "تنظیمات"
185
 
1919
  msgstr "یولایک"
1920
 
1921
  #. translators: %s: PHP version
1922
+ #: wp-ulike.php:74
1923
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1924
  msgstr ""
1925
 
1926
  #. translators: %s: WordPress version
1927
+ #: wp-ulike.php:88
1928
  msgid ""
1929
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1930
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-fr.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:27:07+0000\n"
9
  "Language: fr\n"
10
  "MIME-Version: 1.0\n"
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr "Historiques des sujets likés"
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr "Statistiques"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr "À propos"
167
 
@@ -177,7 +177,7 @@ msgstr "À propos"
177
  msgid "Logs"
178
  msgstr "Fichiers journaux"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr "Réglages"
183
 
@@ -1926,12 +1926,12 @@ msgid "WP ULike"
1926
  msgstr "WP ULike"
1927
 
1928
  #. translators: %s: PHP version
1929
- #: wp-ulike.php:78
1930
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1931
  msgstr ""
1932
 
1933
  #. translators: %s: WordPress version
1934
- #: wp-ulike.php:92
1935
  msgid ""
1936
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1937
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:27:07+0000\n"
9
  "Language: fr\n"
10
  "MIME-Version: 1.0\n"
155
  msgstr "Historiques des sujets likés"
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
159
  msgid "Statistics"
160
  msgstr "Statistiques"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:110
165
  msgid "About"
166
  msgstr "À propos"
167
 
177
  msgid "Logs"
178
  msgstr "Fichiers journaux"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
181
  msgid "Settings"
182
  msgstr "Réglages"
183
 
1926
  msgstr "WP ULike"
1927
 
1928
  #. translators: %s: PHP version
1929
+ #: wp-ulike.php:74
1930
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1931
  msgstr ""
1932
 
1933
  #. translators: %s: WordPress version
1934
+ #: wp-ulike.php:88
1935
  msgid ""
1936
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1937
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-ja.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2019-07-03 14:50:28+0000\n"
9
  "Language: ja_JP\n"
10
  "MIME-Version: 1.0\n"
@@ -158,13 +158,13 @@ msgid "Topics Likes Logs"
158
  msgstr "トピックのいいねログ"
159
 
160
  #: admin/classes/class-wp-ulike-admin-pages.php:59
161
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
162
  msgid "Statistics"
163
  msgstr "統計"
164
 
165
  #: admin/classes/class-wp-ulike-admin-pages.php:67
166
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
167
- #: includes/plugin.php:107
168
  msgid "About"
169
  msgstr "プラグインについて"
170
 
@@ -180,7 +180,7 @@ msgstr "プラグインについて"
180
  msgid "Logs"
181
  msgstr "ログ"
182
 
183
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
184
  msgid "Settings"
185
  msgstr "設定"
186
 
@@ -1923,12 +1923,12 @@ msgid "WP ULike"
1923
  msgstr "WP ULike"
1924
 
1925
  #. translators: %s: PHP version
1926
- #: wp-ulike.php:78
1927
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1928
  msgstr ""
1929
 
1930
  #. translators: %s: WordPress version
1931
- #: wp-ulike.php:92
1932
  msgid ""
1933
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1934
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: 2019-07-03 14:50:28+0000\n"
9
  "Language: ja_JP\n"
10
  "MIME-Version: 1.0\n"
158
  msgstr "トピックのいいねログ"
159
 
160
  #: admin/classes/class-wp-ulike-admin-pages.php:59
161
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
162
  msgid "Statistics"
163
  msgstr "統計"
164
 
165
  #: admin/classes/class-wp-ulike-admin-pages.php:67
166
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
167
+ #: includes/plugin.php:110
168
  msgid "About"
169
  msgstr "プラグインについて"
170
 
180
  msgid "Logs"
181
  msgstr "ログ"
182
 
183
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
184
  msgid "Settings"
185
  msgstr "設定"
186
 
1923
  msgstr "WP ULike"
1924
 
1925
  #. translators: %s: PHP version
1926
+ #: wp-ulike.php:74
1927
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1928
  msgstr ""
1929
 
1930
  #. translators: %s: WordPress version
1931
+ #: wp-ulike.php:88
1932
  msgid ""
1933
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1934
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-nl.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2020-02-23 18:53:56+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr "Statistieken"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr "Over"
167
 
@@ -177,7 +177,7 @@ msgstr "Over"
177
  msgid "Logs"
178
  msgstr "Logboeken"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr "Settings"
183
 
@@ -1893,12 +1893,12 @@ msgid "WP ULike"
1893
  msgstr "WP ULike"
1894
 
1895
  #. translators: %s: PHP version
1896
- #: wp-ulike.php:78
1897
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1898
  msgstr ""
1899
 
1900
  #. translators: %s: WordPress version
1901
- #: wp-ulike.php:92
1902
  msgid ""
1903
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1904
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: 2020-02-23 18:53:56+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
159
  msgid "Statistics"
160
  msgstr "Statistieken"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:110
165
  msgid "About"
166
  msgstr "Over"
167
 
177
  msgid "Logs"
178
  msgstr "Logboeken"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
181
  msgid "Settings"
182
  msgstr "Settings"
183
 
1893
  msgstr "WP ULike"
1894
 
1895
  #. translators: %s: PHP version
1896
+ #: wp-ulike.php:74
1897
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1898
  msgstr ""
1899
 
1900
  #. translators: %s: WordPress version
1901
+ #: wp-ulike.php:88
1902
  msgid ""
1903
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1904
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-ru.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:27:25+0000\n"
9
  "Language: ru\n"
10
  "MIME-Version: 1.0\n"
@@ -156,13 +156,13 @@ msgid "Topics Likes Logs"
156
  msgstr ""
157
 
158
  #: admin/classes/class-wp-ulike-admin-pages.php:59
159
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
160
  msgid "Statistics"
161
  msgstr ""
162
 
163
  #: admin/classes/class-wp-ulike-admin-pages.php:67
164
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
165
- #: includes/plugin.php:107
166
  msgid "About"
167
  msgstr ""
168
 
@@ -178,7 +178,7 @@ msgstr ""
178
  msgid "Logs"
179
  msgstr ""
180
 
181
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
182
  msgid "Settings"
183
  msgstr ""
184
 
@@ -1872,12 +1872,12 @@ msgid "WP ULike"
1872
  msgstr ""
1873
 
1874
  #. translators: %s: PHP version
1875
- #: wp-ulike.php:78
1876
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1877
  msgstr ""
1878
 
1879
  #. translators: %s: WordPress version
1880
- #: wp-ulike.php:92
1881
  msgid ""
1882
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1883
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:27:25+0000\n"
9
  "Language: ru\n"
10
  "MIME-Version: 1.0\n"
156
  msgstr ""
157
 
158
  #: admin/classes/class-wp-ulike-admin-pages.php:59
159
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
160
  msgid "Statistics"
161
  msgstr ""
162
 
163
  #: admin/classes/class-wp-ulike-admin-pages.php:67
164
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
165
+ #: includes/plugin.php:110
166
  msgid "About"
167
  msgstr ""
168
 
178
  msgid "Logs"
179
  msgstr ""
180
 
181
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
182
  msgid "Settings"
183
  msgstr ""
184
 
1872
  msgstr ""
1873
 
1874
  #. translators: %s: PHP version
1875
+ #: wp-ulike.php:74
1876
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1877
  msgstr ""
1878
 
1879
  #. translators: %s: WordPress version
1880
+ #: wp-ulike.php:88
1881
  msgid ""
1882
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1883
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-sv.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2020-02-26 22:14:02+0000\n"
9
  "Language: sv_SE\n"
10
  "MIME-Version: 1.0\n"
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr "Statistik"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr "Om"
167
 
@@ -177,7 +177,7 @@ msgstr "Om"
177
  msgid "Logs"
178
  msgstr "Loggar"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr "Inställningar"
183
 
@@ -1897,12 +1897,12 @@ msgid "WP ULike"
1897
  msgstr ""
1898
 
1899
  #. translators: %s: PHP version
1900
- #: wp-ulike.php:78
1901
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1902
  msgstr ""
1903
 
1904
  #. translators: %s: WordPress version
1905
- #: wp-ulike.php:92
1906
  msgid ""
1907
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1908
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: 2020-02-26 22:14:02+0000\n"
9
  "Language: sv_SE\n"
10
  "MIME-Version: 1.0\n"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
159
  msgid "Statistics"
160
  msgstr "Statistik"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:110
165
  msgid "About"
166
  msgstr "Om"
167
 
177
  msgid "Logs"
178
  msgstr "Loggar"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
181
  msgid "Settings"
182
  msgstr "Inställningar"
183
 
1897
  msgstr ""
1898
 
1899
  #. translators: %s: PHP version
1900
+ #: wp-ulike.php:74
1901
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1902
  msgstr ""
1903
 
1904
  #. translators: %s: WordPress version
1905
+ #: wp-ulike.php:88
1906
  msgid ""
1907
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1908
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-zh-cn.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2018-05-27 09:01:52+0000\n"
9
  "Language: zh_CN\n"
10
  "MIME-Version: 1.0\n"
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr "统计"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr "关于"
167
 
@@ -177,7 +177,7 @@ msgstr "关于"
177
  msgid "Logs"
178
  msgstr "日志"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr "设置"
183
 
@@ -1887,12 +1887,12 @@ msgid "WP ULike"
1887
  msgstr "WP ULike"
1888
 
1889
  #. translators: %s: PHP version
1890
- #: wp-ulike.php:78
1891
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1892
  msgstr ""
1893
 
1894
  #. translators: %s: WordPress version
1895
- #: wp-ulike.php:92
1896
  msgid ""
1897
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1898
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "PO-Revision-Date: 2018-05-27 09:01:52+0000\n"
9
  "Language: zh_CN\n"
10
  "MIME-Version: 1.0\n"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
159
  msgid "Statistics"
160
  msgstr "统计"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:110
165
  msgid "About"
166
  msgstr "关于"
167
 
177
  msgid "Logs"
178
  msgstr "日志"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
181
  msgid "Settings"
182
  msgstr "设置"
183
 
1887
  msgstr "WP ULike"
1888
 
1889
  #. translators: %s: PHP version
1890
+ #: wp-ulike.php:74
1891
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1892
  msgstr ""
1893
 
1894
  #. translators: %s: WordPress version
1895
+ #: wp-ulike.php:88
1896
  msgid ""
1897
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1898
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2021 TechnoWich
2
  # This file is distributed under the same license as the WP ULike package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP ULike 4.5.7\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-10-25 18:19:44+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: WP ULike Team <info@wpulike.com>\n"
14
  "X-Generator: grunt-wp-i18n 1.0.3\n"
@@ -156,13 +156,13 @@ msgid "Topics Likes Logs"
156
  msgstr ""
157
 
158
  #: admin/classes/class-wp-ulike-admin-pages.php:59
159
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
160
  msgid "Statistics"
161
  msgstr ""
162
 
163
  #: admin/classes/class-wp-ulike-admin-pages.php:67
164
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
165
- #: includes/plugin.php:107
166
  msgid "About"
167
  msgstr ""
168
 
@@ -178,7 +178,7 @@ msgstr ""
178
  msgid "Logs"
179
  msgstr ""
180
 
181
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
182
  msgid "Settings"
183
  msgstr ""
184
 
@@ -1873,12 +1873,12 @@ msgstr ""
1873
  msgid "WP ULike"
1874
  msgstr ""
1875
 
1876
- #: wp-ulike.php:78
1877
  #. translators: %s: PHP version
1878
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1879
  msgstr ""
1880
 
1881
- #: wp-ulike.php:92
1882
  #. translators: %s: WordPress version
1883
  msgid ""
1884
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1
+ # Copyright (C) 2022 TechnoWich
2
  # This file is distributed under the same license as the WP ULike package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP ULike 4.5.9\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2022-01-16 12:16:46+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: WP ULike Team <info@wpulike.com>\n"
14
  "X-Generator: grunt-wp-i18n 1.0.3\n"
156
  msgstr ""
157
 
158
  #: admin/classes/class-wp-ulike-admin-pages.php:59
159
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:109
160
  msgid "Statistics"
161
  msgstr ""
162
 
163
  #: admin/classes/class-wp-ulike-admin-pages.php:67
164
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
165
+ #: includes/plugin.php:110
166
  msgid "About"
167
  msgstr ""
168
 
178
  msgid "Logs"
179
  msgstr ""
180
 
181
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:108
182
  msgid "Settings"
183
  msgstr ""
184
 
1873
  msgid "WP ULike"
1874
  msgstr ""
1875
 
1876
+ #: wp-ulike.php:74
1877
  #. translators: %s: PHP version
1878
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1879
  msgstr ""
1880
 
1881
+ #: wp-ulike.php:88
1882
  #. translators: %s: WordPress version
1883
  msgid ""
1884
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: like, marketing, elementor, user profile, rating, favorite, statistics, bu
6
  Requires PHP: 5.6
7
  Requires at least: 5.0
8
  Tested up to: 5.8
9
- Stable tag: 4.5.8
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -140,6 +140,11 @@ Yes, WP ULike is compatible with Apache, Nginx, Microsoft IIS et LiteSpeed web s
140
 
141
  == Changelog ==
142
 
 
 
 
 
 
143
  = 4.5.8 =
144
  * Fixed: Minor bug fixes.
145
 
6
  Requires PHP: 5.6
7
  Requires at least: 5.0
8
  Tested up to: 5.8
9
+ Stable tag: 4.5.9
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
140
 
141
  == Changelog ==
142
 
143
+ = 4.5.9 =
144
+ * Improved: Compatibility with WordPress 5.9 applied.
145
+ * Updated: Options panel framework.
146
+ * Fixed: Minor bug fixes.
147
+
148
  = 4.5.8 =
149
  * Fixed: Minor bug fixes.
150
 
wp-ulike.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP ULike
4
  * Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
5
  * Description: Receiving feedback is crucial as a content creator, but unfortunately, the pieces of content you can collect it on are limited by default. However, with the help of the WP ULike plugin, it is possible to cast voting to any type of content you may have on your website. With outstanding and eye-catching widgets, you can have Like and Dislike Button on all of your content would it be a post, comment, BuddyPress activity, bbPress topics, WooCommerce products, you name it. Now you can feel your users Love for each part of your work.
6
- * Version: 4.5.8
7
  * Author: TechnoWich
8
  * Author URI: https://technowich.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
9
  * Text Domain: wp-ulike
@@ -27,7 +27,7 @@ if ( ! defined( 'ABSPATH' ) ) {
27
 
28
  // Do not change these values
29
  define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
30
- define( 'WP_ULIKE_VERSION' , '4.5.8' );
31
  define( 'WP_ULIKE_DB_VERSION' , '2.3' );
32
  define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
33
  define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ) );
3
  * Plugin Name: WP ULike
4
  * Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
5
  * Description: Receiving feedback is crucial as a content creator, but unfortunately, the pieces of content you can collect it on are limited by default. However, with the help of the WP ULike plugin, it is possible to cast voting to any type of content you may have on your website. With outstanding and eye-catching widgets, you can have Like and Dislike Button on all of your content would it be a post, comment, BuddyPress activity, bbPress topics, WooCommerce products, you name it. Now you can feel your users Love for each part of your work.
6
+ * Version: 4.5.9
7
  * Author: TechnoWich
8
  * Author URI: https://technowich.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
9
  * Text Domain: wp-ulike
27
 
28
  // Do not change these values
29
  define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
30
+ define( 'WP_ULIKE_VERSION' , '4.5.9' );
31
  define( 'WP_ULIKE_DB_VERSION' , '2.3' );
32
  define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
33
  define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ) );