Cherry Projects - Version 1.0.0

Version Description

  • Initial release
Download this release

Release Info

Developer TemplateMonster 2002
Plugin Icon 128x128 Cherry Projects
Version 1.0.0
Comparing to
See all releases

Version 1.0.0

Files changed (100) hide show
  1. LICENSE +675 -0
  2. admin/assets/css/admin-style.css +242 -0
  3. admin/assets/images/ajax-loader.gif +0 -0
  4. admin/assets/images/svg/inherit.svg +17 -0
  5. admin/assets/images/svg/list-layout-grid.svg +16 -0
  6. admin/assets/images/svg/list-layout-justified.svg +16 -0
  7. admin/assets/images/svg/list-layout-masonry.svg +15 -0
  8. admin/assets/images/svg/slider.svg +10 -0
  9. admin/assets/js/cherry-projects-admin-scripts.js +115 -0
  10. admin/assets/js/serialize-object.js +70 -0
  11. admin/assets/scss/admin-style.scss +265 -0
  12. admin/includes/class-projects-admin.php +198 -0
  13. admin/includes/class-projects-meta-boxes.php +327 -0
  14. admin/includes/class-projects-options-page.php +701 -0
  15. cherry-framework/cherry-core.php +481 -0
  16. cherry-framework/config.json +189 -0
  17. cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php +1565 -0
  18. cherry-framework/modules/cherry-creator/cherry-creator.php +122 -0
  19. cherry-framework/modules/cherry-creator/inc/cherry-creator-term.php +126 -0
  20. cherry-framework/modules/cherry-customizer/assets/fonts/google.json +13772 -0
  21. cherry-framework/modules/cherry-customizer/assets/fonts/standard.json +209 -0
  22. cherry-framework/modules/cherry-customizer/cherry-customizer.php +1105 -0
  23. cherry-framework/modules/cherry-customizer/inc/class-cherry-wp-customize-iconpicker.php +90 -0
  24. cherry-framework/modules/cherry-dynamic-css/cherry-dynamic-css.php +452 -0
  25. cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-utilities.php +841 -0
  26. cherry-framework/modules/cherry-google-fonts-loader/cherry-google-fonts-loader.php +372 -0
  27. cherry-framework/modules/cherry-js-core/assets/js/cherry-js-core.js +155 -0
  28. cherry-framework/modules/cherry-js-core/assets/js/min/cherry-js-core.min.js +1 -0
  29. cherry-framework/modules/cherry-js-core/cherry-js-core.php +184 -0
  30. cherry-framework/modules/cherry-page-builder/assets/css/min/page-settings.min.css +18 -0
  31. cherry-framework/modules/cherry-page-builder/assets/js/min/page-settings.min.js +1 -0
  32. cherry-framework/modules/cherry-page-builder/assets/js/page-settings.js +92 -0
  33. cherry-framework/modules/cherry-page-builder/assets/scss/page-setting.scss +80 -0
  34. cherry-framework/modules/cherry-page-builder/cherry-page-builder.php +406 -0
  35. cherry-framework/modules/cherry-page-builder/views/page.php +46 -0
  36. cherry-framework/modules/cherry-page-builder/views/section.php +10 -0
  37. cherry-framework/modules/cherry-plugin-updater/cherry-plugin-updater.php +143 -0
  38. cherry-framework/modules/cherry-plugin-updater/inc/cherry-base-updater.php +156 -0
  39. cherry-framework/modules/cherry-post-formats-api/assets/js/cherry-post-formats.js +68 -0
  40. cherry-framework/modules/cherry-post-formats-api/assets/js/min/cherry-post-formats.min.js +1 -0
  41. cherry-framework/modules/cherry-post-formats-api/cherry-post-formats-api.php +1079 -0
  42. cherry-framework/modules/cherry-post-formats-api/inc/class-cherry-facebook-embed.php +81 -0
  43. cherry-framework/modules/cherry-post-meta/cherry-post-meta.php +454 -0
  44. cherry-framework/modules/cherry-post-meta/views/meta.php +20 -0
  45. cherry-framework/modules/cherry-post-types/cherry-post-types.php +155 -0
  46. cherry-framework/modules/cherry-post-types/inc/cherry-post-type.php +112 -0
  47. cherry-framework/modules/cherry-taxonomies/cherry-taxonomies.php +132 -0
  48. cherry-framework/modules/cherry-taxonomies/inc/cherry-taxonomy.php +210 -0
  49. cherry-framework/modules/cherry-term-meta/cherry-term-meta.php +293 -0
  50. cherry-framework/modules/cherry-theme-updater/cherry-theme-updater.php +141 -0
  51. cherry-framework/modules/cherry-theme-updater/inc/cherry-base-updater.php +156 -0
  52. cherry-framework/modules/cherry-toolkit/cherry-toolkit.php +208 -0
  53. cherry-framework/modules/cherry-ui-elements/cherry-ui-elements.php +152 -0
  54. cherry-framework/modules/cherry-ui-elements/i-ui.php +45 -0
  55. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.css +56 -0
  56. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.js +1 -0
  57. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.js +74 -0
  58. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.scss +52 -0
  59. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-kit/_mixins.scss +182 -0
  60. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-kit/_variables.scss +23 -0
  61. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/ui-checkbox.php +130 -0
  62. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/min/ui-colorpicker.min.css +41 -0
  63. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/min/ui-colorpicker.min.js +1 -0
  64. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-colorpicker.js +25 -0
  65. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-colorpicker.scss +53 -0
  66. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-kit/_mixins.scss +182 -0
  67. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-kit/_variables.scss +23 -0
  68. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/ui-colorpicker.php +98 -0
  69. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/jquery-iconpicker.js +1445 -0
  70. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/jquery-iconpicker.min.js +1 -0
  71. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.css +326 -0
  72. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.js +1 -0
  73. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.js +47 -0
  74. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.scss +324 -0
  75. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-kit/_mixins.scss +182 -0
  76. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-kit/_variables.scss +23 -0
  77. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/ui-iconpicker.php +293 -0
  78. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.css +1 -0
  79. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.js +1 -0
  80. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_mixins.scss +184 -0
  81. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_variables.scss +23 -0
  82. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.js +159 -0
  83. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.scss +158 -0
  84. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/ui-media.php +165 -0
  85. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/min/ui-radio.min.css +67 -0
  86. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/min/ui-radio.min.js +1 -0
  87. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-kit/_mixins.scss +166 -0
  88. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-kit/_variables.scss +21 -0
  89. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-radio.js +53 -0
  90. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-radio.scss +78 -0
  91. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/ui-radio.php +130 -0
  92. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/min/ui-repeater.min.css +1 -0
  93. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/min/ui-repeater.min.js +1 -0
  94. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-kit/_mixins.scss +166 -0
  95. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-kit/_variables.scss +21 -0
  96. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-repeater.js +174 -0
  97. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-repeater.scss +137 -0
  98. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/ui-repeater.php +327 -0
  99. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/min/select2.min.css +103 -0
  100. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/min/select2.min.js +2 -0
LICENSE ADDED
@@ -0,0 +1,675 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
622
+
623
+ How to Apply These Terms to Your New Programs
624
+
625
+ If you develop a new program, and you want it to be of the greatest
626
+ possible use to the public, the best way to achieve this is to make it
627
+ free software which everyone can redistribute and change under these terms.
628
+
629
+ To do so, attach the following notices to the program. It is safest
630
+ to attach them to the start of each source file to most effectively
631
+ state the exclusion of warranty; and each file should have at least
632
+ the "copyright" line and a pointer to where the full notice is found.
633
+
634
+ {one line to give the program's name and a brief idea of what it does.}
635
+ Copyright (C) {year} {name of author}
636
+
637
+ This program is free software: you can redistribute it and/or modify
638
+ it under the terms of the GNU General Public License as published by
639
+ the Free Software Foundation, either version 3 of the License, or
640
+ (at your option) any later version.
641
+
642
+ This program is distributed in the hope that it will be useful,
643
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
644
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
+ GNU General Public License for more details.
646
+
647
+ You should have received a copy of the GNU General Public License
648
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
649
+
650
+ Also add information on how to contact you by electronic and paper mail.
651
+
652
+ If the program does terminal interaction, make it output a short
653
+ notice like this when it starts in an interactive mode:
654
+
655
+ {project} Copyright (C) {year} {fullname}
656
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
+ This is free software, and you are welcome to redistribute it
658
+ under certain conditions; type `show c' for details.
659
+
660
+ The hypothetical commands `show w' and `show c' should show the appropriate
661
+ parts of the General Public License. Of course, your program's commands
662
+ might be different; for a GUI interface, you would use an "about box".
663
+
664
+ You should also get your employer (if you work as a programmer) or school,
665
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
666
+ For more information on this, and how to apply and follow the GNU GPL, see
667
+ <http://www.gnu.org/licenses/>.
668
+
669
+ The GNU General Public License does not permit incorporating your program
670
+ into proprietary programs. If your program is a subroutine library, you
671
+ may consider it more useful to permit linking proprietary applications with
672
+ the library. If this is what you want to do, use the GNU Lesser General
673
+ Public License instead of this License. But first, please read
674
+ <http://www.gnu.org/philosophy/why-not-lgpl.html>.
675
+
admin/assets/css/admin-style.css ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #cherry-projects-options-form {
2
+ margin: 30px 20px 0 0;
3
+ border: 1px solid #e5e5e5;
4
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
5
+ background-color: #fff;
6
+ border-radius: 8px;
7
+ padding: 30px; }
8
+ #cherry-projects-options-form .cherry-projects-options-page-wrapper {
9
+ background-color: #efefef;
10
+ border-radius: 6px;
11
+ padding: 30px;
12
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); }
13
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper {
14
+ max-height: 575px;
15
+ overflow-y: scroll; }
16
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper::-webkit-scrollbar {
17
+ width: 8px;
18
+ height: 8px; }
19
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper::-webkit-scrollbar-button {
20
+ width: 0px;
21
+ height: 0px; }
22
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper::-webkit-scrollbar-thumb {
23
+ background: #495159;
24
+ border: 0px none #ffffff;
25
+ border-radius: 4px; }
26
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper::-webkit-scrollbar-thumb:hover {
27
+ background: #48c569; }
28
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper::-webkit-scrollbar-thumb:active {
29
+ background: #48c569; }
30
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper::-webkit-scrollbar-track {
31
+ background-color: rgba(0, 0, 0, 0.1);
32
+ border: 0px none #495159;
33
+ border-radius: 4px; }
34
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper::-webkit-scrollbar-track:hover {
35
+ background: rgba(0, 0, 0, 0.2); }
36
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper::-webkit-scrollbar-track:active {
37
+ background: rgba(0, 0, 0, 0.2); }
38
+ #cherry-projects-options-form .cherry-projects-options-list-wrapper::-webkit-scrollbar-corner {
39
+ background: transparent; }
40
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper {
41
+ position: relative;
42
+ margin-top: 30px;
43
+ padding: 30px;
44
+ background-color: #fff;
45
+ border-radius: 4px;
46
+ box-shadow: 0px 5px 21px rgba(0, 0, 0, 0.1); }
47
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper .custom-button {
48
+ padding: 16px 30px;
49
+ display: inline-block;
50
+ background-color: #C5C5C5;
51
+ font-weight: 900;
52
+ text-transform: uppercase;
53
+ color: #fff;
54
+ box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.2);
55
+ cursor: pointer;
56
+ border-radius: 4px;
57
+ margin-right: 20px; }
58
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper .custom-button.save-button {
59
+ background-color: #48c569; }
60
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper .custom-button.save-button:hover {
61
+ background-color: #3ba956; }
62
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper .custom-button.define-as-default-button {
63
+ background-color: #495159; }
64
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper .custom-button.define-as-default-button:hover {
65
+ background-color: #282D31; }
66
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper .custom-button.restore-button {
67
+ background-color: #495159; }
68
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper .custom-button.restore-button:hover {
69
+ background-color: #282D31; }
70
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper .custom-button:last-child {
71
+ margin-right: 0; }
72
+ #cherry-projects-options-form .cherry-projects-options-control-wrapper .custom-button:hover {
73
+ background-color: #3ba956; }
74
+
75
+ .option-section {
76
+ display: -webkit-box;
77
+ display: -webkit-flex;
78
+ display: -ms-flexbox;
79
+ display: flex;
80
+ -webkit-flex-flow: row nowrap;
81
+ -ms-flex-flow: row nowrap;
82
+ flex-flow: row nowrap;
83
+ box-shadow: 0px 5px 21px rgba(0, 0, 0, 0.1);
84
+ padding: 20px 30px;
85
+ background-color: #fff;
86
+ border-bottom: 1px solid #e5e5e5; }
87
+ .option-section:first-child {
88
+ border-radius: 4px 4px 0 0; }
89
+ .option-section:last-child {
90
+ border-radius: 0 0 4px 4px; }
91
+ .option-section .option-info-wrapper {
92
+ -webkit-box-flex: 0;
93
+ -webkit-flex: 0 1 30%;
94
+ -ms-flex: 0 1 30%;
95
+ flex: 0 1 30%; }
96
+ .option-section .option-info-wrapper .option-description {
97
+ font-style: italic; }
98
+ .option-section .option-ui-element-wrapper {
99
+ -webkit-box-flex: 0;
100
+ -webkit-flex: 0 1 70%;
101
+ -ms-flex: 0 1 70%;
102
+ flex: 0 1 70%; }
103
+
104
+ .notice-box {
105
+ background: #23282d;
106
+ position: fixed;
107
+ margin: 5px 0;
108
+ box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
109
+ box-sizing: border-box;
110
+ padding: 8px 15px 8px 8px;
111
+ min-width: 200px;
112
+ overflow: hidden;
113
+ color: #fff;
114
+ z-index: 999;
115
+ border-radius: 2px;
116
+ -webkit-transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1);
117
+ transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1); }
118
+ .notice-box span.dashicons {
119
+ position: relative;
120
+ margin-right: 10px; }
121
+ .notice-box span.dashicons:before {
122
+ position: absolute;
123
+ font-size: 30px;
124
+ left: -6px;
125
+ top: -4px; }
126
+ .notice-box.success-notice span.dashicons {
127
+ color: #48c569; }
128
+ .notice-box.success-notice span.dashicons:before {
129
+ content: "\f147"; }
130
+ .notice-box.success-notice .inner b {
131
+ color: #48c569; }
132
+ .notice-box.info-notice span.dashicons {
133
+ color: #faa730; }
134
+ .notice-box.info-notice span.dashicons:before {
135
+ content: "\f534"; }
136
+ .notice-box.info-notice .inner b {
137
+ color: #faa730; }
138
+ .notice-box.error-notice span.dashicons {
139
+ color: #e54343; }
140
+ .notice-box.error-notice span.dashicons:before {
141
+ content: "\f158"; }
142
+ .notice-box.show-state {
143
+ -webkit-transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);
144
+ transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1); }
145
+ .notice-box .inner {
146
+ display: inline-block; }
147
+
148
+ .cherry-spinner-wordpress {
149
+ width: 50px;
150
+ height: 50px;
151
+ position: absolute;
152
+ top: 30px;
153
+ right: 30px;
154
+ display: none; }
155
+
156
+ .double-bounce-1, .double-bounce-2 {
157
+ width: 100%;
158
+ height: 100%;
159
+ border-radius: 50%;
160
+ background-color: #48c569;
161
+ opacity: 0.6;
162
+ position: absolute;
163
+ top: 0;
164
+ left: 0;
165
+ -webkit-animation: tm-bounce 2.0s infinite ease-in-out;
166
+ animation: tm-bounce 2.0s infinite ease-in-out; }
167
+
168
+ .double-bounce-2 {
169
+ -webkit-animation-delay: -1.0s;
170
+ animation-delay: -1.0s; }
171
+
172
+ @-webkit-keyframes tm-bounce {
173
+ 0%, 100% {
174
+ -webkit-transform: scale(0);
175
+ transform: scale(0); }
176
+ 50% {
177
+ -webkit-transform: scale(1);
178
+ transform: scale(1); } }
179
+
180
+ @keyframes tm-bounce {
181
+ 0%, 100% {
182
+ -webkit-transform: scale(0);
183
+ transform: scale(0); }
184
+ 50% {
185
+ -webkit-transform: scale(1);
186
+ transform: scale(1); } }
187
+ .cherry-ui-repeater-container .cheryr-ui-repeater-content-box {
188
+ display: -webkit-box;
189
+ display: -webkit-flex;
190
+ display: -ms-flexbox;
191
+ display: flex;
192
+ -webkit-flex-flow: row wrap;
193
+ -ms-flex-flow: row wrap;
194
+ flex-flow: row wrap; }
195
+ .cherry-ui-repeater-container .cheryr-ui-repeater-content-box .detail_label-wrap {
196
+ -webkit-box-flex: 0;
197
+ -webkit-flex: 0 1 49%;
198
+ -ms-flex: 0 1 49%;
199
+ flex: 0 1 49%;
200
+ margin-right: 1%; }
201
+ .cherry-ui-repeater-container .cheryr-ui-repeater-content-box .detail_info-wrap {
202
+ -webkit-box-flex: 0;
203
+ -webkit-flex: 0 1 49%;
204
+ -ms-flex: 0 1 49%;
205
+ flex: 0 1 49%;
206
+ margin-left: 1%; }
207
+ .cherry-ui-repeater-container .cheryr-ui-repeater-content-box .skill_label-wrap {
208
+ -webkit-box-flex: 0;
209
+ -webkit-flex: 0 1 49%;
210
+ -ms-flex: 0 1 49%;
211
+ flex: 0 1 49%;
212
+ margin-right: 1%; }
213
+ .cherry-ui-repeater-container .cheryr-ui-repeater-content-box .skill_value-wrap {
214
+ -webkit-box-flex: 0;
215
+ -webkit-flex: 0 1 49%;
216
+ -ms-flex: 0 1 49%;
217
+ flex: 0 1 49%;
218
+ margin-left: 1%; }
219
+ .cherry-ui-repeater-container .cheryr-ui-repeater-content-box .video_type-wrap {
220
+ -webkit-box-flex: 0;
221
+ -webkit-flex: 0 1 100%;
222
+ -ms-flex: 0 1 100%;
223
+ flex: 0 1 100%;
224
+ margin-bottom: 20px; }
225
+ .cherry-ui-repeater-container .cheryr-ui-repeater-content-box .video_embed-wrap {
226
+ -webkit-box-flex: 0;
227
+ -webkit-flex: 0 1 100%;
228
+ -ms-flex: 0 1 100%;
229
+ flex: 0 1 100%;
230
+ margin-bottom: 20px; }
231
+ .cherry-ui-repeater-container .cheryr-ui-repeater-content-box .video_src-wrap {
232
+ -webkit-box-flex: 0;
233
+ -webkit-flex: 0 1 10%;
234
+ -ms-flex: 0 1 10%;
235
+ flex: 0 1 10%;
236
+ margin-right: 5px; }
237
+ .cherry-ui-repeater-container .cheryr-ui-repeater-content-box .poster_src-wrap {
238
+ -webkit-box-flex: 0;
239
+ -webkit-flex: 0 1 10%;
240
+ -ms-flex: 0 1 10%;
241
+ flex: 0 1 10%;
242
+ margin-left: 5px; }
admin/assets/images/ajax-loader.gif ADDED
Binary file
admin/assets/images/svg/inherit.svg ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Background_xA0_Image_1_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
5
+ x="0px" y="0px" width="90px" height="60px" viewBox="0 0 90 60" enable-background="new 0 0 90 60" xml:space="preserve">
6
+ <rect fill="#BAC1C9" width="90" height="60"/>
7
+ <rect x="7" y="7" fill="#FFFFFF" width="76" height="46"/>
8
+ <g>
9
+ <path fill="#BAC1C9" d="M48.665,29.61c-0.791,0.456-1.286,1.38-1.286,1.769c0,0.295-0.229,0.644-0.536,0.644h-3.216
10
+ c-0.295,0-0.482-0.456-0.482-0.751v-0.603c0-1.621,1.608-3.015,2.787-3.55c1.032-0.469,1.46-0.911,1.46-1.769
11
+ c0-0.75-0.978-1.42-2.063-1.42c-0.603,0-1.152,0.188-1.447,0.388c-0.321,0.228-0.643,0.549-1.434,1.541
12
+ c-0.107,0.134-0.268,0.214-0.415,0.214c-0.121,0-0.228-0.041-0.335-0.107L39.5,24.292c-0.228-0.174-0.281-0.469-0.134-0.71
13
+ c1.447-2.398,3.483-3.563,6.216-3.563c2.868,0,6.083,2.291,6.083,5.359C51.666,27.922,49.938,28.9,48.665,29.61z M47.433,36.631
14
+ c0,0.295-0.241,0.536-0.536,0.536H43.68c-0.294,0-0.536-0.241-0.536-0.536v-3.216c0-0.294,0.241-0.535,0.536-0.535h3.216
15
+ c0.295,0,0.536,0.241,0.536,0.535L47.433,36.631L47.433,36.631z"/>
16
+ </g>
17
+ </svg>
admin/assets/images/svg/list-layout-grid.svg ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="90px" height="60px" viewBox="0 0 90 60" enable-background="new 0 0 90 60" xml:space="preserve">
6
+ <rect fill="#BAC1C9" width="90" height="60"/>
7
+ <rect x="7" y="7" fill="#FFFFFF" width="23" height="13"/>
8
+ <rect x="34" y="7" fill="#FFFFFF" width="23" height="13"/>
9
+ <rect x="61" y="7" fill="#FFFFFF" width="22" height="13"/>
10
+ <rect x="7" y="24" fill="#FFFFFF" width="23" height="13"/>
11
+ <rect x="34" y="24" fill="#FFFFFF" width="23" height="13"/>
12
+ <rect x="61" y="24" fill="#FFFFFF" width="22" height="13"/>
13
+ <rect x="7" y="41" fill="#FFFFFF" width="23" height="13"/>
14
+ <rect x="34" y="41" fill="#FFFFFF" width="23" height="13"/>
15
+ <rect x="61" y="41" fill="#FFFFFF" width="22" height="13"/>
16
+ </svg>
admin/assets/images/svg/list-layout-justified.svg ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="90px" height="60px" viewBox="0 0 90 60" enable-background="new 0 0 90 60" xml:space="preserve">
6
+ <rect fill="#BAC1C9" width="90" height="60"/>
7
+ <rect x="7" y="7" fill="#FFFFFF" width="28" height="13"/>
8
+ <rect x="39" y="7" fill="#FFFFFF" width="20" height="13"/>
9
+ <rect x="63" y="7" fill="#FFFFFF" width="20" height="13"/>
10
+ <rect x="7" y="24" fill="#FFFFFF" width="16" height="13"/>
11
+ <rect x="27" y="24" fill="#FFFFFF" width="16" height="13"/>
12
+ <rect x="47" y="24" fill="#FFFFFF" width="16" height="13"/>
13
+ <rect x="67" y="24" fill="#FFFFFF" width="16" height="13"/>
14
+ <rect x="7" y="41" fill="#FFFFFF" width="48" height="13"/>
15
+ <rect x="59" y="41" fill="#FFFFFF" width="24" height="13"/>
16
+ </svg>
admin/assets/images/svg/list-layout-masonry.svg ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="90px" height="60px" viewBox="0 0 90 60" enable-background="new 0 0 90 60" xml:space="preserve">
6
+ <rect fill="#BAC1C9" width="90" height="60"/>
7
+ <rect x="7" y="7" fill="#FFFFFF" width="23" height="17"/>
8
+ <rect x="7" y="28" fill="#FFFFFF" width="23" height="7"/>
9
+ <rect x="7" y="39" fill="#FFFFFF" width="23" height="15"/>
10
+ <rect x="34" y="7" fill="#FFFFFF" width="23" height="22"/>
11
+ <rect x="34" y="33" fill="#FFFFFF" width="23" height="21"/>
12
+ <rect x="61" y="7" fill="#FFFFFF" width="22" height="10"/>
13
+ <rect x="61" y="21" fill="#FFFFFF" width="22" height="19"/>
14
+ <rect x="61" y="44" fill="#FFFFFF" width="22" height="10"/>
15
+ </svg>
admin/assets/images/svg/slider.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="90px" height="60px" viewBox="0 0 90 60" enable-background="new 0 0 90 60" xml:space="preserve">
6
+ <rect fill="#BAC1C9" width="90" height="60"/>
7
+ <rect fill="#BAC1C9" width="90" height="60"/>
8
+ <rect x="15" y="7" fill="#FFFFFF" width="60" height="46"/>
9
+ <rect x="7" y="7" fill="#FFFFFF" width="76" height="46"/>
10
+ </svg>
admin/assets/js/cherry-projects-admin-scripts.js ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($){
2
+ "use strict";
3
+
4
+ CherryJsCore.utilites.namespace('project_admin_theme_script');
5
+ CherryJsCore.project_admin_theme_script = {
6
+ ajaxRequest: null,
7
+ ajaxRequestSuccess: true,
8
+ init: function () {
9
+ var self = this;
10
+
11
+ if( CherryJsCore.status.is_ready ){
12
+ self.readyRender( self );
13
+ }else{
14
+ CherryJsCore.variable.$document.on( 'ready', self.readyRender( self ) );
15
+ }
16
+ },
17
+ readyRender: function ( self ) {
18
+
19
+ var self = self,
20
+ $projectsOptionsForm = $('#cherry-projects-options-form'),
21
+ $saveButton = $('#cherry-projects-save-options', $projectsOptionsForm ),
22
+ $defineAsDefaultButton = $('#cherry-projects-define-as-default', $projectsOptionsForm ),
23
+ $restoreButton = $('#cherry-projects-restore-options', $projectsOptionsForm );
24
+
25
+ $saveButton.on( 'click', {
26
+ self: self,
27
+ optionsForm: $projectsOptionsForm,
28
+ ajaxRequestType: 'save'
29
+ }, self.ajaxRequestFunction );
30
+
31
+ $defineAsDefaultButton.on( 'click', {
32
+ self: self,
33
+ optionsForm: $projectsOptionsForm,
34
+ ajaxRequestType: 'define_as_default'
35
+ }, self.ajaxRequestFunction );
36
+
37
+ $restoreButton.on( 'click', {
38
+ self: self,
39
+ optionsForm: $projectsOptionsForm,
40
+ ajaxRequestType: 'restore'
41
+ }, self.ajaxRequestFunction );
42
+
43
+ },
44
+ ajaxRequestFunction: function( event ) {
45
+ var self = event.data.self,
46
+ $projectsOptionsForm = event.data.optionsForm,
47
+ $cherrySpinner = $('.cherry-spinner-wordpress', $projectsOptionsForm),
48
+ ajaxRequestType = event.data.ajaxRequestType,
49
+ serializeArray = $projectsOptionsForm.serializeObject(),
50
+ data = {
51
+ nonce: CherryJsCore.variable.security,
52
+ action: 'cherry_projects_ajax_request',
53
+ post_array: serializeArray,
54
+ type: ajaxRequestType
55
+ };
56
+
57
+ if ( ! self.ajaxRequestSuccess ) {
58
+ self.ajaxRequest.abort();
59
+ self.noticeCreate( 'error-notice', cherryProjectsPluginSettings.please_wait_processing );
60
+ }
61
+
62
+ self.ajaxRequest = jQuery.ajax( {
63
+ type: 'POST',
64
+ url: ajaxurl,
65
+ data: data,
66
+ cache: false,
67
+ beforeSend: function(){
68
+ self.ajaxRequestSuccess = false;
69
+ $cherrySpinner.fadeIn();
70
+ },
71
+ success: function( response ) {
72
+ self.ajaxRequestSuccess = true;
73
+ $cherrySpinner.fadeOut();
74
+ self.noticeCreate( response.type, response.message );
75
+ if ( 'restore' === ajaxRequestType ) {
76
+ window.location.href = cherryProjectsPluginSettings.redirect_url;
77
+ }
78
+ },
79
+ dataType: 'json'
80
+ } );
81
+
82
+ return false;
83
+ },
84
+ noticeCreate: function( type, message ) {
85
+ var notice = $( '<div class="notice-box ' + type + '"><span class="dashicons"></span><div class="inner">' + message + '</div></div>' ),
86
+ rightDelta = 0,
87
+ timeoutId;
88
+
89
+ $( 'body' ).prepend( notice );
90
+ reposition();
91
+ rightDelta = -1 * ( notice.outerWidth( true ) + 10 );
92
+ notice.css( {'right' : rightDelta } );
93
+
94
+ timeoutId = setTimeout( function () { notice.css( { 'right' : 10 } ).addClass( 'show-state' ) }, 100 );
95
+ timeoutId = setTimeout( function () {
96
+ rightDelta = -1 * ( notice.outerWidth( true ) + 10 );
97
+ notice.css( { right: rightDelta } ).removeClass( 'show-state' );
98
+ }, 4000 );
99
+ timeoutId = setTimeout( function () {
100
+ notice.remove(); clearTimeout( timeoutId );
101
+ }, 4500 );
102
+
103
+ function reposition(){
104
+ var topDelta = 100;
105
+
106
+ $( '.notice-box' ).each( function( index ) {
107
+ $( this ).css( { top: topDelta } );
108
+ topDelta += $( this ).outerHeight( true );
109
+ } );
110
+ }
111
+ }
112
+ }
113
+ CherryJsCore.project_admin_theme_script.init();
114
+ }(jQuery));
115
+
admin/assets/js/serialize-object.js ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ( function( $ ) {
2
+ "use strict";
3
+
4
+ $.fn.serializeObject = function() {
5
+
6
+ var self = this,
7
+ json = {},
8
+ push_counters = {},
9
+ patterns = {
10
+ "validate": /^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_-]+)\])*$/,
11
+ "key": /[a-zA-Z0-9_-]+|(?=\[\])/g,
12
+ "push": /^$/,
13
+ "fixed": /^\d+$/,
14
+ "named": /^[a-zA-Z0-9_-]+$/
15
+ };
16
+
17
+ this.build = function( base, key, value ) {
18
+ base[ key ] = value;
19
+
20
+ return base;
21
+ };
22
+
23
+ this.push_counter = function( key ) {
24
+ if ( push_counters[ key ] === undefined ) {
25
+ push_counters[ key ] = 0;
26
+ }
27
+
28
+ return push_counters[ key ]++;
29
+ };
30
+
31
+ $.each( $( this ).serializeArray(), function() {
32
+ // skip invalid keys
33
+ if ( ! patterns.validate.test( this.name ) ) {
34
+ return;
35
+ }
36
+
37
+ var k,
38
+ keys = this.name.match( patterns.key ),
39
+ merge = this.value,
40
+ reverse_key = this.name;
41
+
42
+ while( ( k = keys.pop() ) !== undefined ) {
43
+
44
+ // adjust reverse_key
45
+ reverse_key = reverse_key.replace( new RegExp( "\\[" + k + "\\]$" ), '' );
46
+
47
+ // push
48
+ if ( k.match( patterns.push ) ) {
49
+ merge = self.build( [], self.push_counter( reverse_key ), merge );
50
+ }
51
+
52
+ // fixed
53
+ else if( k.match( patterns.fixed ) ) {
54
+ merge = self.build( [], k, merge );
55
+ }
56
+
57
+ // named
58
+ else if( k.match( patterns.named ) ) {
59
+ merge = self.build( {}, k, merge );
60
+ }
61
+ }
62
+
63
+ json = $.extend( true, json, merge );
64
+ });
65
+
66
+ return json;
67
+ };
68
+
69
+ }( jQuery ));
70
+
admin/assets/scss/admin-style.scss ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #cherry-projects-options-form{
2
+ margin: 30px 20px 0 0;
3
+ border: 1px solid #e5e5e5;
4
+ box-shadow: 0 1px 1px rgba(0,0,0,.04);
5
+ background-color: #fff;
6
+ border-radius: 8px;
7
+ padding: 30px;
8
+ .cherry-projects-options-page-wrapper{
9
+ background-color: #efefef;
10
+ border-radius: 6px;
11
+ padding: 30px;
12
+ box-shadow: 0 1px 1px rgba(0,0,0,.04);
13
+ }
14
+ .cherry-projects-options-list-wrapper{
15
+ max-height: 575px;
16
+ overflow-y: scroll;
17
+
18
+ &::-webkit-scrollbar {
19
+ width: 8px;
20
+ height: 8px;
21
+ }
22
+ &::-webkit-scrollbar-button {
23
+ width: 0px;
24
+ height: 0px;
25
+ }
26
+ &::-webkit-scrollbar-thumb {
27
+ background: #495159;
28
+ border: 0px none #ffffff;
29
+ border-radius: 4px;
30
+ }
31
+ &::-webkit-scrollbar-thumb:hover {
32
+ background: #48c569;
33
+ }
34
+ &::-webkit-scrollbar-thumb:active {
35
+ background: #48c569;
36
+ }
37
+ &::-webkit-scrollbar-track {
38
+ background-color: rgba(0, 0, 0, 0.1);
39
+ border: 0px none #495159;
40
+ border-radius: 4px;
41
+ }
42
+ &::-webkit-scrollbar-track:hover {
43
+ background: rgba(0, 0, 0, 0.2);
44
+ }
45
+ &::-webkit-scrollbar-track:active {
46
+ background: rgba(0, 0, 0, 0.2);
47
+ }
48
+ &::-webkit-scrollbar-corner {
49
+ background: transparent;
50
+ }
51
+
52
+ }
53
+ .cherry-projects-options-control-wrapper{
54
+ position: relative;
55
+ margin-top: 30px;
56
+ padding: 30px;
57
+ background-color: #fff;
58
+ border-radius: 4px;
59
+ box-shadow: 0px 5px 21px rgba(0, 0, 0, 0.1);
60
+ .custom-button{
61
+ padding: 16px 30px;
62
+ display: inline-block;
63
+ background-color: #C5C5C5;
64
+ font-weight: 900;
65
+ text-transform: uppercase;
66
+ color: #fff;
67
+ box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.2);
68
+ cursor: pointer;
69
+ border-radius: 4px;
70
+ margin-right: 20px;
71
+ &.save-button{
72
+ background-color: #48c569;
73
+ &:hover{
74
+ background-color: #3ba956;
75
+ }
76
+ }
77
+ &.define-as-default-button{
78
+ background-color: #495159;
79
+ &:hover{
80
+ background-color: #282D31;
81
+ }
82
+ }
83
+ &.restore-button{
84
+ background-color: #495159;
85
+ &:hover{
86
+ background-color: #282D31;
87
+ }
88
+ }
89
+ &:last-child{
90
+ margin-right: 0;
91
+ }
92
+ &:hover{
93
+ background-color: #3ba956;
94
+ }
95
+ }
96
+ }
97
+ }
98
+ .option-section{
99
+ display: flex;
100
+ flex-flow: row nowrap;
101
+ box-shadow: 0px 5px 21px rgba(0, 0, 0, 0.1);
102
+ padding: 20px 30px;
103
+ background-color: #fff;
104
+ border-bottom: 1px solid #e5e5e5;
105
+ &:first-child{
106
+ border-radius: 4px 4px 0 0;
107
+ }
108
+ &:last-child{
109
+ border-radius: 0 0 4px 4px;
110
+ }
111
+ .option-info-wrapper{
112
+ flex: 0 1 30%;
113
+ .option-title{
114
+
115
+ }
116
+ .option-description{
117
+ font-style: italic;
118
+ }
119
+ }
120
+ .option-ui-element-wrapper{
121
+ flex: 0 1 70%;
122
+ .cherry-ui-container{
123
+
124
+ }
125
+ }
126
+ }
127
+
128
+ .notice-box{
129
+ background: #23282d;
130
+ position: fixed;
131
+ margin: 5px 0;
132
+ box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
133
+ box-sizing: border-box;
134
+ padding: 8px 15px 8px 8px;
135
+ min-width: 200px;
136
+ overflow: hidden;
137
+ color: #fff;
138
+ z-index: 999;
139
+ border-radius: 2px;
140
+ -webkit-transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1);
141
+ transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1);
142
+ span.dashicons{
143
+ position: relative;
144
+ margin-right: 10px;
145
+ &:before{
146
+ position: absolute;
147
+ font-size: 30px;
148
+ left: -6px;
149
+ top: -4px;
150
+ }
151
+ }
152
+ &.success-notice{
153
+ span.dashicons{
154
+ color: #48c569;
155
+ &:before{
156
+ content: "\f147";
157
+ }
158
+ }
159
+ .inner{
160
+ b{
161
+ color: #48c569;
162
+ }
163
+ }
164
+ }
165
+ &.info-notice{
166
+ span.dashicons{
167
+ color: #faa730;
168
+ &:before{
169
+ content: "\f534";
170
+ }
171
+ }
172
+ .inner{
173
+ b{
174
+ color: #faa730;
175
+ }
176
+ }
177
+ }
178
+ &.error-notice{
179
+ span.dashicons{
180
+ color: #e54343;
181
+ &:before{
182
+ content: "\f158";
183
+ }
184
+ }
185
+ }
186
+ &.show-state{
187
+ -webkit-transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);
188
+ transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);
189
+ }
190
+ .inner{
191
+ display: inline-block;
192
+ }
193
+ }
194
+
195
+ .cherry-spinner-wordpress {
196
+ width: 50px;
197
+ height: 50px;
198
+ position: absolute;
199
+ top: 30px;
200
+ right: 30px;
201
+ display: none;
202
+ }
203
+
204
+ .double-bounce-1, .double-bounce-2 {
205
+ width: 100%;
206
+ height: 100%;
207
+ border-radius: 50%;
208
+ background-color: #48c569;
209
+ opacity: 0.6;
210
+ position: absolute;
211
+ top: 0;
212
+ left: 0;
213
+ animation: tm-bounce 2.0s infinite ease-in-out;
214
+ }
215
+
216
+ .double-bounce-2 {
217
+ animation-delay: -1.0s;
218
+ }
219
+
220
+ @keyframes tm-bounce {
221
+ 0%, 100% {
222
+ transform: scale(0.0);
223
+ } 50% {
224
+ transform: scale(1.0);
225
+ }
226
+ }
227
+
228
+ .cherry-ui-repeater-container{
229
+ .cheryr-ui-repeater-content-box{
230
+ display: flex;
231
+ flex-flow: row wrap;
232
+ .detail_label-wrap{
233
+ flex: 0 1 49%;
234
+ margin-right: 1%;
235
+ }
236
+ .detail_info-wrap{
237
+ flex: 0 1 49%;
238
+ margin-left: 1%;
239
+ }
240
+ .skill_label-wrap{
241
+ flex: 0 1 49%;
242
+ margin-right: 1%;
243
+ }
244
+ .skill_value-wrap{
245
+ flex: 0 1 49%;
246
+ margin-left: 1%;
247
+ }
248
+ .video_type-wrap{
249
+ flex: 0 1 100%;
250
+ margin-bottom: 20px;
251
+ }
252
+ .video_embed-wrap{
253
+ flex: 0 1 100%;
254
+ margin-bottom: 20px;
255
+ }
256
+ .video_src-wrap{
257
+ flex: 0 1 10%;
258
+ margin-right: 5px;
259
+ }
260
+ .poster_src-wrap{
261
+ flex: 0 1 10%;
262
+ margin-left: 5px;
263
+ }
264
+ }
265
+ }
admin/includes/class-projects-admin.php ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Sets up the admin functionality for the plugin.
4
+ *
5
+ * @package Cherry_Projects_Admin
6
+ * @author Cherry Team
7
+ * @license GPL-2.0+
8
+ * @link http://www.cherryframework.com/
9
+ * @copyright 2014 Cherry Team
10
+ */
11
+
12
+ class Cherry_Projects_Admin {
13
+
14
+ /**
15
+ * Holds the instances of this class.
16
+ *
17
+ * @since 1.0.0
18
+ * @var object
19
+ */
20
+ private static $instance = null;
21
+
22
+ /**
23
+ * Sets up needed actions/filters for the admin to initialize.
24
+ *
25
+ * @since 1.0.0
26
+ * @return void
27
+ */
28
+ public function __construct() {
29
+
30
+ // Only run our customization on the 'edit.php' page in the admin.
31
+ add_action( 'load-edit.php', array( $this, 'load_edit' ) );
32
+
33
+ // Modify the columns on the "Projects" screen.
34
+ add_filter( 'manage_edit-' . CHERRY_PROJECTS_NAME . '_columns', array( $this, 'edit_projects_columns' ) );
35
+ add_action( 'manage_' . CHERRY_PROJECTS_NAME . '_posts_custom_column', array( $this, 'manage_projects_columns' ), 10, 2 );
36
+
37
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
38
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) );
39
+
40
+ }
41
+
42
+ /**
43
+ * Adds a custom filter on 'request'
44
+ *
45
+ * @since 1.0.0
46
+ */
47
+ public function load_edit() {
48
+ $screen = get_current_screen();
49
+
50
+ if ( !empty( $screen->post_type ) && 'projects' === $screen->post_type ) {
51
+ add_action( 'admin_head', array( $this, 'print_styles' ) );
52
+ }
53
+ }
54
+
55
+ /**
56
+ * Style adjustments for the manage menu items screen.
57
+ *
58
+ * @since 1.0.0
59
+ */
60
+ public function print_styles() { ?>
61
+ <style type="text/css">
62
+ .edit-php .wp-list-table td.thumbnail.column-thumbnail,
63
+ .edit-php .wp-list-table th.manage-column.column-thumbnail,
64
+ .edit-php .wp-list-table td.author_name.column-author_name,
65
+ .edit-php .wp-list-table th.manage-column.column-author_name {
66
+ text-align: center;
67
+ }
68
+ </style>
69
+ <?php }
70
+
71
+ /**
72
+ * Filters the columns on the "Projects list" screen.
73
+ *
74
+ * @since 1.0.0
75
+ * @param array $post_columns
76
+ * @return array
77
+ */
78
+ public function edit_projects_columns( $post_columns ) {
79
+
80
+ // Add custom columns and overwrite the 'title' column.
81
+ $post_columns['title'] = esc_html__( 'Title', 'cherry-projects' );
82
+ $post_columns[ CHERRY_PROJECTS_NAME . '_category' ] = esc_html__( 'Projects category', 'cherry-projects' );
83
+ $post_columns[ CHERRY_PROJECTS_NAME . '_tag' ] = esc_html__( 'Projects tag', 'cherry-projects' );
84
+ $post_columns['date'] = esc_html__( 'Date', 'cherry-projects' );
85
+ $post_columns['preview'] = esc_html__( 'Preview', 'cherry-projects' );
86
+
87
+ // Return the columns.
88
+ return $post_columns;
89
+ }
90
+
91
+ /**
92
+ * Add output for custom columns on the "menu items" screen.
93
+ *
94
+ * @since 1.0.0
95
+ * @param string $column
96
+ * @param int $post_id
97
+ */
98
+ public function manage_projects_columns( $column, $post_id ) {
99
+
100
+ $post_terms = get_the_terms( $post_id, $column );
101
+
102
+ switch( $column ) {
103
+
104
+ case CHERRY_PROJECTS_NAME . '_category' :
105
+ if ( ! is_wp_error( $post_terms ) && $post_terms ) {
106
+ $category_name_list = '';
107
+ $count = 1;
108
+ foreach ( $post_terms as $category => $category_value ) {
109
+ $category_name_list .= $category_value->name;
110
+ ( $count < count( $post_terms ) ) ? $category_name_list .= ', ':'';
111
+ $count++;
112
+
113
+ }
114
+ echo $category_name_list;
115
+ }else{
116
+ echo esc_html__( 'Project has no categories', 'cherry-projects' );
117
+ }
118
+
119
+ break;
120
+
121
+ case CHERRY_PROJECTS_NAME . '_tag' :
122
+
123
+ if ( ! is_wp_error( $post_terms ) && $post_terms ) {
124
+ $tags_name_list = '';
125
+ $count = 1;
126
+ foreach ( $post_terms as $tag => $tag_value ) {
127
+ $tags_name_list .= $tag_value->name;
128
+ ( $count < count( $post_terms ) ) ? $tags_name_list .= ', ' : '';
129
+ $count++;
130
+
131
+ }
132
+ echo $tags_name_list;
133
+ }else{
134
+ echo esc_html__( 'Project has no tags', 'cherry-projects' );
135
+ }
136
+
137
+ break;
138
+
139
+ case 'preview' :
140
+
141
+ $thumb = get_the_post_thumbnail( $post_id, array( 75, 75 ) );
142
+ echo !empty( $thumb ) ? $thumb : '&mdash;';
143
+
144
+ break;
145
+ }
146
+ }
147
+
148
+ /**
149
+ * [enqueue_scripts description]
150
+ * @return [type] [description]
151
+ */
152
+ public function enqueue_scripts() {
153
+ $screen = get_current_screen();
154
+ if ( ! empty( $screen->post_type ) && 'projects' === $screen->post_type ) {
155
+
156
+ }
157
+ }
158
+
159
+ /**
160
+ * [enqueue_styles description]
161
+ * @return [type] [description]
162
+ */
163
+ public function enqueue_styles() {
164
+ $screen = get_current_screen();
165
+
166
+ if ( ! empty( $screen->post_type ) && 'projects' === $screen->post_type ) {
167
+ wp_enqueue_style( 'projects-admin-style', trailingslashit( CHERRY_PROJECTS_URI ) . 'admin/assets/css/admin-style.css', array(), CHERRY_PROJECTS_VERSION );
168
+ }
169
+ }
170
+
171
+ /**
172
+ * Returns the instance.
173
+ *
174
+ * @since 1.0.0
175
+ * @return object
176
+ */
177
+ public static function get_instance() {
178
+
179
+ // If the single instance hasn't been set, set it now.
180
+ if ( null == self::$instance ) {
181
+ self::$instance = new self;
182
+ }
183
+
184
+ return self::$instance;
185
+ }
186
+ }
187
+
188
+ /**
189
+ * Returns instanse of main theme configuration class.
190
+ *
191
+ * @since 1.0.0
192
+ * @return object
193
+ */
194
+ function cherry_projects_admin() {
195
+ return Cherry_Projects_Admin::get_instance();
196
+ }
197
+
198
+ cherry_projects_admin();
admin/includes/class-projects-meta-boxes.php ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Handles custom post meta boxes for the projects post type.
4
+ *
5
+ * @package Cherry_Projects
6
+ * @author Cherry Team
7
+ * @license GPL-2.0+
8
+ * @link http://www.cherryframework.com/
9
+ * @copyright 2014 Cherry Team
10
+ */
11
+
12
+ class Cherry_Projects_Meta_Boxes {
13
+
14
+ /**
15
+ * Holds the instances of this class.
16
+ *
17
+ * @since 1.0.0
18
+ * @var object
19
+ */
20
+ private static $instance = null;
21
+
22
+ /**
23
+ * [$metabox_format description]
24
+ * @var null
25
+ */
26
+ public $metabox_format = null;
27
+
28
+ /**
29
+ * Sets up the needed actions for adding and saving the meta boxes.
30
+ *
31
+ * @since 1.0.0
32
+ */
33
+ public function __construct() {
34
+ // Metaboxes rendering.
35
+ add_action( 'load-post.php', array( $this, 'init' ), 10 );
36
+ add_action( 'load-post-new.php', array( $this, 'init' ), 10 );
37
+ }
38
+
39
+ /**
40
+ * Run initialization of modules.
41
+ *
42
+ * @since 1.0.0
43
+ */
44
+ public function init() {
45
+ $prefix = CHERRY_PROJECTS_POSTMETA;
46
+
47
+ cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
48
+ 'id' => 'projects-settings',
49
+ 'title' => esc_html__( 'Projects settings', '__tm' ),
50
+ 'page' => array( CHERRY_PROJECTS_NAME ),
51
+ 'context' => 'normal',
52
+ 'priority' => 'high',
53
+ 'callback_args' => false,
54
+ 'fields' => array(
55
+ $prefix . '_external_link' => array(
56
+ 'type' => 'text',
57
+ 'label' => esc_html__( 'External link', 'cherry-projects' ),
58
+ 'value' => '#',
59
+ ),
60
+ $prefix . '_external_link_text' => array(
61
+ 'type' => 'text',
62
+ 'label' => esc_html__( 'External link text', 'cherry-projects' ),
63
+ 'value' => '',
64
+ ),
65
+ $prefix . '_external_link_target' => array(
66
+ 'type' => 'radio',
67
+ 'label' => esc_html__( 'External link target', 'cherry-projects' ),
68
+ 'value' => 'blank',
69
+ 'display-input' => true,
70
+ 'options' => array(
71
+ 'blank' => array(
72
+ 'label' => esc_html__( 'Blank', 'cherry-projects' ),
73
+ ),
74
+ 'self' => array(
75
+ 'label' => esc_html__( 'Self', 'cherry-projects' ),
76
+ ),
77
+ ),
78
+ ),
79
+ $prefix . '_details' => array(
80
+ 'type' => 'repeater',
81
+ 'label' => esc_html__( 'Projects Details', 'cherry-projects' ),
82
+ 'add_label' => esc_html__( 'Add Projects Details', 'cherry-projects' ),
83
+ 'title_field' => 'detail_label',
84
+ 'fields' => array(
85
+ 'detail_label' => array(
86
+ 'type' => 'text',
87
+ 'id' => 'detail_label',
88
+ 'name' => 'detail_label',
89
+ 'placeholder' => esc_html__( 'Enter label', 'cherry-projects' ),
90
+ 'label' => esc_html__( 'Detail Label', 'cherry-projects' ),
91
+ ),
92
+ 'detail_info' => array(
93
+ 'type' => 'text',
94
+ 'id' => 'detail_info',
95
+ 'name' => 'detail_info',
96
+ 'placeholder' => esc_html__( 'Enter info', 'cherry-projects' ),
97
+ 'label' => esc_html__( 'Detail Info', 'cherry-projects' ),
98
+ ),
99
+ ),
100
+ ),
101
+ $prefix . '_skills' => array(
102
+ 'type' => 'repeater',
103
+ 'label' => esc_html__( 'Projects skills', 'cherry-projects' ),
104
+ 'add_label' => esc_html__( 'Add Skill', 'cherry-projects' ),
105
+ 'title_field' => 'detail_label',
106
+ 'fields' => array(
107
+ 'skill_label' => array(
108
+ 'type' => 'text',
109
+ 'id' => 'skill_label',
110
+ 'name' => 'skill_label',
111
+ 'placeholder' => esc_html__( 'Skill label', 'cherry-projects' ),
112
+ 'label' => esc_html__( 'Skill Label', 'cherry-projects' ),
113
+ ),
114
+ 'skill_value' => array(
115
+ 'type' => 'slider',
116
+ 'id' => 'skill_value',
117
+ 'name' => 'skill_value',
118
+ 'label' => esc_html__( 'Skill Value', 'cherry-projects' ),
119
+ ),
120
+ ),
121
+ ),
122
+ ),
123
+ ) );
124
+
125
+ cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
126
+ 'id' => 'image-format-settings',
127
+ 'title' => esc_html__( 'Image Format Options', '__tm' ),
128
+ 'page' => array( CHERRY_PROJECTS_NAME ),
129
+ 'context' => 'normal',
130
+ 'priority' => 'high',
131
+ 'callback_args' => false,
132
+ 'fields' => array(
133
+ $prefix . '_image_attachments_ids' => array(
134
+ 'type' => 'media',
135
+ 'label' => esc_html__( 'Additional images', 'cherry-projects' ),
136
+ 'description' => esc_html__( 'Select attachments images', 'cherry-projects' ),
137
+ 'display_image' => true,
138
+ 'multi_upload' => true,
139
+ 'upload_button_text' => __( 'Add images', 'cherry-projects' ),
140
+ 'library_type' => 'image',
141
+ ),
142
+ $prefix . '_listing_layout' => array(
143
+ 'type' => 'radio',
144
+ 'label' => esc_html__( 'Image listing layout', 'cherry-projects' ),
145
+ 'value' => 'grid-layout',
146
+ 'class' => '',
147
+ 'display_input' => false,
148
+ 'options' => array(
149
+ 'grid-layout' => array(
150
+ 'label' => esc_html__( 'Grid', 'cherry-projects' ),
151
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-grid.svg',
152
+ 'slave' => 'projects-listing-layout-grid-layout',
153
+ ),
154
+ 'masonry-layout' => array(
155
+ 'label' => esc_html__( 'Masonry', 'cherry-projects' ),
156
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-masonry.svg',
157
+ 'slave' => 'projects-listing-layout-masonry-layout',
158
+ ),
159
+ ),
160
+ ),
161
+ $prefix . '_column_number' => array(
162
+ 'type' => 'slider',
163
+ 'label' => esc_html__( 'Column number', 'cherry-projects' ),
164
+ 'max_value' => 10,
165
+ 'min_value' => 1,
166
+ 'value' => 3,
167
+ ),
168
+ $prefix . '_image_margin' => array(
169
+ 'type' => 'slider',
170
+ 'label' => esc_html__( 'Image margin', 'cherry-projects' ),
171
+ 'max_value' => 30,
172
+ 'min_value' => 0,
173
+ 'value' => 10,
174
+ ),
175
+ ),
176
+ ) );
177
+
178
+ cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
179
+ 'id' => 'gallery-format-settings',
180
+ 'title' => esc_html__( 'Gallery Format Options', '__tm' ),
181
+ 'page' => array( CHERRY_PROJECTS_NAME ),
182
+ 'context' => 'normal',
183
+ 'priority' => 'high',
184
+ 'callback_args' => false,
185
+ 'fields' => array(
186
+ $prefix . '_slider_attachments_ids' => array(
187
+ 'type' => 'media',
188
+ 'label' => esc_html__( 'Gallery images', 'cherry-projects' ),
189
+ 'description' => esc_html__( 'Select gallery images', 'cherry-projects' ),
190
+ 'display_image' => true,
191
+ 'multi_upload' => true,
192
+ 'upload_button_text' => __( 'Add images', 'cherry-projects' ),
193
+ 'library_type' => 'image',
194
+ ),
195
+ $prefix . '_slider_navigation' => array(
196
+ 'type' => 'switcher',
197
+ 'value' => 'true',
198
+ 'label' => esc_html__( 'Use navigation?', 'cherry-projects' ),
199
+ ),
200
+ $prefix . '_slider_loop' => array(
201
+ 'type' => 'switcher',
202
+ 'value' => 'true',
203
+ 'label' => esc_html__( 'Use infinite scrolling?', 'cherry-projects' ),
204
+ ),
205
+ $prefix . '_slider_thumbnails_position' => array(
206
+ 'type' => 'radio',
207
+ 'label' => esc_html__( 'Thumbnails position', 'cherry-projects' ),
208
+ 'value' => 'bottom',
209
+ 'display-input' => true,
210
+ 'options' => array(
211
+ 'top' => array(
212
+ 'label' => esc_html__( 'Top', 'cherry-projects' ),
213
+ ),
214
+ 'bottom' => array(
215
+ 'label' => esc_html__( 'Bottom', 'cherry-projects' ),
216
+ ),
217
+ 'right' => array(
218
+ 'label' => esc_html__( 'Right', 'cherry-projects' ),
219
+ ),
220
+ 'left' => array(
221
+ 'label' => esc_html__( 'Left', 'cherry-projects' ),
222
+ ),
223
+ ),
224
+ ),
225
+ ),
226
+ ) );
227
+
228
+ cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
229
+ 'id' => 'audio-format-settings',
230
+ 'title' => esc_html__( 'Audio Format Options', '__tm' ),
231
+ 'page' => array( CHERRY_PROJECTS_NAME ),
232
+ 'context' => 'normal',
233
+ 'priority' => 'high',
234
+ 'callback_args' => false,
235
+ 'fields' => array(
236
+ $prefix . '_audio_attachments_ids' => array(
237
+ 'type' => 'media',
238
+ 'label' => esc_html__( 'Audio source', 'cherry-projects' ),
239
+ 'description' => esc_html__( 'Select audio source( mp3, m4a, ogg, wav, wma )', 'cherry-projects' ),
240
+ 'display_image' => true,
241
+ 'multi_upload' => true,
242
+ 'upload_button_text' => __( 'Add sound', 'cherry-projects' ),
243
+ 'library_type' => 'audio',
244
+ ),
245
+ ),
246
+ ) );
247
+
248
+ cherry_projects()->get_core()->init_module( 'cherry-post-meta', array(
249
+ 'id' => 'video-format-settings',
250
+ 'title' => esc_html__( 'Video Format Options', '__tm' ),
251
+ 'page' => array( CHERRY_PROJECTS_NAME ),
252
+ 'context' => 'normal',
253
+ 'priority' => 'high',
254
+ 'callback_args' => false,
255
+ 'fields' => array(
256
+ $prefix . '_video_list' => array(
257
+ 'type' => 'repeater',
258
+ 'label' => esc_html__( 'Video list', 'cherry-projects' ),
259
+ 'add_label' => esc_html__( 'Add New Video', 'cherry-projects' ),
260
+ 'title_field' => 'detail_label',
261
+ 'fields' => array(
262
+ 'video_type' => array(
263
+ 'type' => 'radio',
264
+ 'label' => esc_html__( 'Video source type', 'cherry-projects' ),
265
+ 'id' => 'video_type',
266
+ 'name' => 'video_type',
267
+ 'display-input' => true,
268
+ 'options' => array(
269
+ 'embed' => array(
270
+ 'label' => esc_html__( 'Embed video type', 'cherry-projects' ),
271
+ ),
272
+ 'html5' => array(
273
+ 'label' => esc_html__( 'HTML5 video type', 'cherry-projects' ),
274
+ ),
275
+ ),
276
+ ),
277
+ 'video_embed' => array(
278
+ 'type' => 'text',
279
+ 'id' => 'video_embed',
280
+ 'name' => 'video_embed',
281
+ 'placeholder' => esc_html__( 'Select embed url', 'cherry-projects' ),
282
+ 'label' => esc_html__( 'Video embed url', 'cherry-projects' ),
283
+ ),
284
+ 'video_src' => array(
285
+ 'type' => 'media',
286
+ 'id' => 'video_src',
287
+ 'name' => 'video_src',
288
+ 'label' => esc_html__( 'HTML5 Video source', 'cherry-projects' ),
289
+ 'display_image' => true,
290
+ 'multi_upload' => false,
291
+ 'upload_button_text' => esc_html__( 'Add Video', 'cherry-projects' ),
292
+ 'library_type' => 'video',
293
+ ),
294
+ 'poster_src' => array(
295
+ 'type' => 'media',
296
+ 'id' => 'poster_src',
297
+ 'name' => 'poster_src',
298
+ 'label' => esc_html__( 'HTML5 video poster', 'cherry-projects' ),
299
+ 'display_image' => true,
300
+ 'multi_upload' => false,
301
+ 'upload_button_text' => esc_html__( 'Add Poster', 'cherry-projects' ),
302
+ 'library_type' => 'image',
303
+ ),
304
+ ),
305
+ ),
306
+ ),
307
+ ) );
308
+ }
309
+
310
+ /**
311
+ * Returns the instance.
312
+ *
313
+ * @since 1.0.0
314
+ * @return object
315
+ */
316
+ public static function get_instance() {
317
+
318
+ // If the single instance hasn't been set, set it now.
319
+ if ( null == self::$instance ) {
320
+ self::$instance = new self;
321
+ }
322
+
323
+ return self::$instance;
324
+ }
325
+ }
326
+
327
+ Cherry_Projects_Meta_Boxes::get_instance();
admin/includes/class-projects-options-page.php ADDED
@@ -0,0 +1,701 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Projects options page
4
+ *
5
+ * @package Cherry_Projects_Options_Page
6
+ * @author Cherry Team
7
+ * @license GPL-2.0+
8
+ * @link http://www.cherryframework.com/
9
+ * @copyright 2014 Cherry Team
10
+ */
11
+
12
+ class Cherry_Projects_Options_Page {
13
+
14
+ /**
15
+ * Holds the instances of this class.
16
+ *
17
+ * @since 1.0.0
18
+ * @var object
19
+ */
20
+ private static $instance = null;
21
+
22
+ /**
23
+ * UI builder instance
24
+ *
25
+ * @var object
26
+ */
27
+ public $ui_builder = null;
28
+
29
+ /**
30
+ * Existing field types
31
+ *
32
+ * @var array
33
+ */
34
+ public $field_types = array();
35
+
36
+ /**
37
+ * Projects options
38
+ *
39
+ * @var array
40
+ */
41
+ public $projects_options = array();
42
+
43
+ /**
44
+ * [$utility description]
45
+ * @var null
46
+ */
47
+ public $utility = null;
48
+
49
+ /**
50
+ * Sets up needed actions/filters for the admin to initialize.
51
+ *
52
+ * @since 1.0.0
53
+ * @return void
54
+ */
55
+ public function __construct() {
56
+
57
+ add_action( 'admin_menu', array( $this, 'render_page' ) );
58
+
59
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) );
60
+
61
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
62
+
63
+ add_action( 'after_setup_theme', array( $this, 'init' ), 10 );
64
+
65
+ add_action( 'wp_ajax_cherry_projects_ajax_request', array( $this, 'cherry_projects_ajax_request' ) );
66
+
67
+ }
68
+
69
+ /**
70
+ * Run initialization of modules.
71
+ *
72
+ * @since 1.0.0
73
+ */
74
+ public function init() {
75
+ $this->utility = cherry_projects()->get_core()->modules['cherry-utility']->utility;
76
+
77
+ $this->projects_options = array(
78
+ 'listing-layout' => array(
79
+ 'type' => 'radio',
80
+ 'title' => esc_html__( 'Projects listing layout', 'cherry-projects' ),
81
+ 'description' => esc_html__( 'Choose projects listing view layout.', 'cherry-projects' ),
82
+ 'value' => 'grid-layout',
83
+ 'class' => '',
84
+ 'display_input' => false,
85
+ 'options' => array(
86
+ 'grid-layout' => array(
87
+ 'label' => esc_html__( 'Grid', 'cherry-projects' ),
88
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-grid.svg',
89
+ 'slave' => 'projects-listing-layout-grid-layout',
90
+ ),
91
+ 'masonry-layout' => array(
92
+ 'label' => esc_html__( 'Masonry', 'cherry-projects' ),
93
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-masonry.svg',
94
+ 'slave' => 'projects-listing-layout-masonry-layout',
95
+ ),
96
+ 'justified-layout' => array(
97
+ 'label' => esc_html__( 'Justified', 'cherry-projects' ),
98
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-justified.svg',
99
+ 'slave' => 'projects-listing-layout-justified-layout',
100
+ ),
101
+ 'cascading-grid-layout' => array(
102
+ 'label' => esc_html__( 'Cascading grid', 'cherry-projects' ),
103
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-cascading-grid.svg',
104
+ 'slave' => 'projects-listing-layout-cascading-grid-layout',
105
+ ),
106
+ 'list-layout' => array(
107
+ 'label' => esc_html__( 'List', 'cherry-projects' ),
108
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/list-layout-listing.svg',
109
+ 'slave' => 'projects-listing-layout-list-layout',
110
+ ),
111
+ ),
112
+ ),
113
+ 'loading-mode' => array(
114
+ 'type' => 'radio',
115
+ 'title' => esc_html__( 'Pagination mode', 'cherry-projects' ),
116
+ 'description' => esc_html__( 'Choose projects pagination mode', 'cherry-projects' ),
117
+ 'value' => 'ajax-pagination-mode',
118
+ 'class' => '',
119
+ 'display_input' => false,
120
+ 'options' => array(
121
+ 'ajax-pagination-mode' => array(
122
+ 'label' => esc_html__( 'Ajax pagination', 'cherry-projects' ),
123
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/loading-mode-ajax-pagination.svg',
124
+ ),
125
+ 'more-button-mode' => array(
126
+ 'label' => esc_html__( 'More button', 'cherry-projects' ),
127
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/loading-mode-ajax-more-button.svg',
128
+ ),
129
+ 'lazy-loading-mode' => array(
130
+ 'label' => esc_html__( 'Lazy loading', 'cherry-projects' ),
131
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/loading-mode-lazy-loading.svg',
132
+ ),
133
+ 'none-mode' => array(
134
+ 'label' => esc_html__( 'None', 'cherry-projects' ),
135
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/loading-mode-none.svg',
136
+ ),
137
+ ),
138
+ ),
139
+ 'loading-animation' => array(
140
+ 'type' => 'radio',
141
+ 'title' => esc_html__( 'Loading animation', 'cherry-projects' ),
142
+ 'description' => esc_html__( 'Choose posts loading animation', 'cherry-projects' ),
143
+ 'value' => 'loading-animation-move-up',
144
+ 'class' => '',
145
+ 'display_input' => false,
146
+ 'options' => array(
147
+ 'loading-animation-fade' => array(
148
+ 'label' => esc_html__( 'Fade animation', 'cherry-projects' ),
149
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-fade.svg',
150
+ ),
151
+ 'loading-animation-scale' => array(
152
+ 'label' => esc_html__( 'Scale animation', 'cherry-projects' ),
153
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-scale.svg',
154
+ ),
155
+ 'loading-animation-move-up' => array(
156
+ 'label' => esc_html__( 'Move Up animation', 'cherry-projects' ),
157
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-move-up.svg',
158
+ ),
159
+ 'loading-animation-flip' => array(
160
+ 'label' => esc_html__( 'Flip animation', 'cherry-projects' ),
161
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-flip.svg',
162
+ ),
163
+ 'loading-animation-helix' => array(
164
+ 'label' => esc_html__( 'Helix animation', 'cherry-projects' ),
165
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-helix.svg',
166
+ ),
167
+ 'loading-animation-fall-perspective' => array(
168
+ 'label' => esc_html__( 'Fall perspective animation', 'cherry-projects' ),
169
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/animation-fall-perspective.svg',
170
+ ),
171
+ ),
172
+ ),
173
+ 'hover-animation' => array(
174
+ 'type' => 'radio',
175
+ 'title' => esc_html__( 'Hover animation', 'cherry-projects' ),
176
+ 'description' => esc_html__( 'Choose posts images hover animation', 'cherry-projects' ),
177
+ 'value' => 'simple-scale',
178
+ 'class' => '',
179
+ 'display_input' => false,
180
+ 'options' => array(
181
+ 'simple-fade' => array(
182
+ 'label' => esc_html__( 'Fade', 'cherry-projects' ),
183
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/hover-fade.svg',
184
+ ),
185
+ 'simple-scale' => array(
186
+ 'label' => esc_html__( 'Scale', 'cherry-projects' ),
187
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/hover-scale.svg',
188
+ ),
189
+ 'custom' => array(
190
+ 'label' => esc_html__( 'Custom', 'cherry-projects' ),
191
+ 'img_src' => CHERRY_PROJECTS_URI . 'public/assets/images/svg/inherit.svg',
192
+ ),
193
+ ),
194
+ ),
195
+ 'filter-visible' => array(
196
+ 'type' => 'switcher',
197
+ 'title' => esc_html__( 'Filters', 'cherry-projects' ),
198
+ 'description' => esc_html__( 'Enable/disable listing filters', 'cherry-projects' ),
199
+ 'value' => 'true',
200
+ ),
201
+ 'filter-type' => array(
202
+ 'type' => 'radio',
203
+ 'title' => esc_html__( 'Filter type', 'cherry-projects' ),
204
+ 'description' => esc_html__( 'Select if you want to filter posts by tag or by category.', 'cherry-projects' ),
205
+ 'value' => 'category',
206
+ 'display-input' => true,
207
+ 'options' => array(
208
+ 'category' => array(
209
+ 'label' => esc_html__( 'Category', 'cherry-projects' ),
210
+ 'slave' => 'projects-filter-type-category',
211
+ ),
212
+ 'tag' => array(
213
+ 'label' => esc_html__( 'Tag', 'cherry-projects' ),
214
+ 'slave' => 'projects-filter-type-tag',
215
+ ),
216
+ ),
217
+ ),
218
+ 'category-list' => array(
219
+ 'type' => 'select',
220
+ 'title' => esc_html__( 'Projects filter categories list', 'cherry-projects' ),
221
+ 'label' => '',
222
+ 'description' => '',
223
+ 'multiple' => true,
224
+ 'value' => array(),
225
+ 'class' => 'cherry-multi-select',
226
+ 'options' => false,
227
+ 'options_callback' => array( $this->utility->satellite, 'get_terms_array', array( CHERRY_PROJECTS_NAME . '_category', 'slug' ) ),
228
+ 'master' => 'projects-filter-type-category',
229
+ ),
230
+ 'tags-list' => array(
231
+ 'type' => 'select',
232
+ 'title' => esc_html__( 'Projects filter tags list', 'cherry-projects' ),
233
+ 'label' => '',
234
+ 'description' => '',
235
+ 'multiple' => true,
236
+ 'value' => array(),
237
+ 'class' => 'cherry-multi-select',
238
+ 'options' => false,
239
+ 'options_callback' => array( $this->utility->satellite, 'get_terms_array', array( CHERRY_PROJECTS_NAME . '_tag', 'slug' ) ),
240
+ 'master' => 'projects-filter-type-tag',
241
+ ),
242
+ 'order-filter-visible' => array(
243
+ 'type' => 'switcher',
244
+ 'title' => esc_html__( 'Order filters', 'cherry-projects' ),
245
+ 'description' => esc_html__( 'Enable/disable order filters', 'cherry-projects' ),
246
+ 'value' => 'false',
247
+ 'toggle' => array(
248
+ 'true_toggle' => 'On',
249
+ 'false_toggle' => 'Off',
250
+ 'true_slave' => 'projects-order-filter-visible-true',
251
+ 'false_slave' => 'projects-order-filter-visible-false',
252
+ ),
253
+ ),
254
+ 'order-filter-default-value' => array(
255
+ 'type' => 'radio',
256
+ 'title' => esc_html__( 'Order filter default value', 'cherry-projects' ),
257
+ 'value' => 'desc',
258
+ 'display-input' => true,
259
+ 'options' => array(
260
+ 'desc' => array(
261
+ 'label' => esc_html__( 'DESC', 'cherry-projects' ),
262
+ ),
263
+ 'asc' => array(
264
+ 'label' => esc_html__( 'ASC', 'cherry-projects' ),
265
+ ),
266
+ ),
267
+ 'master' => 'projects-order-filter-visible-true',
268
+ ),
269
+ 'orderby-filter-default-value' => array(
270
+ 'type' => 'radio',
271
+ 'title' => esc_html__( 'Order by filter default value', 'cherry-projects' ),
272
+ 'value' => 'date',
273
+ 'display-input' => true,
274
+ 'options' => array(
275
+ 'date' => array(
276
+ 'label' => esc_html__( 'Date', 'cherry-projects' ),
277
+ ),
278
+ 'name' => array(
279
+ 'label' => esc_html__( 'Name', 'cherry-projects' ),
280
+ ),
281
+ 'modified' => array(
282
+ 'label' => esc_html__( 'Modified', 'cherry-projects' ),
283
+ ),
284
+ 'comment_count' => array(
285
+ 'label' => esc_html__( 'Comments', 'cherry-projects' ),
286
+ ),
287
+ ),
288
+ 'master' => 'projects-order-filter-visible-true',
289
+ ),
290
+ 'posts-format' => array(
291
+ 'type' => 'radio',
292
+ 'title' => esc_html__( 'Post Format', 'cherry-projects' ),
293
+ 'value' => 'post-format-all',
294
+ 'display-input' => true,
295
+ 'options' => array(
296
+ 'post-format-all' => array(
297
+ 'label' => esc_html__( 'All formats', 'cherry-projects' ),
298
+ ),
299
+ 'post-format-standard' => array(
300
+ 'label' => esc_html__( 'Standard', 'cherry-projects' ),
301
+ ),
302
+ 'post-format-image' => array(
303
+ 'label' => esc_html__( 'Image', 'cherry-projects' ),
304
+ ),
305
+ 'post-format-gallery' => array(
306
+ 'label' => esc_html__( 'Gallery', 'cherry-projects' ),
307
+ ),
308
+ 'post-format-audio' => array(
309
+ 'label' => esc_html__( 'Audio', 'cherry-projects' ),
310
+ ),
311
+ 'post-format-video' => array(
312
+ 'label' => esc_html__( 'Video', 'cherry-projects' ),
313
+ ),
314
+ ),
315
+ ),
316
+ 'column-number' => array(
317
+ 'type' => 'slider',
318
+ 'title' => esc_html__( 'Column number', 'cherry-projects' ),
319
+ 'description' => esc_html__( 'Select number of columns for masonry and grid projects layouts. (Min 2, max 6)', 'cherry-projects' ),
320
+ 'max_value' => 6,
321
+ 'min_value' => 2,
322
+ 'value' => 3,
323
+ ),
324
+ 'post-per-page' => array(
325
+ 'type' => 'slider',
326
+ 'title' => esc_html__( 'Posts per page', 'cherry-projects' ),
327
+ 'description' => esc_html__( 'Select how many posts per page do you want to display(-1 means that will show all projects)', 'cherry-projects' ),
328
+ 'max_value' => 50,
329
+ 'min_value' => -1,
330
+ 'value' => 9,
331
+ ),
332
+ 'item-margin' => array(
333
+ 'type' => 'slider',
334
+ 'title' => esc_html__( 'Item margin', 'cherry-projects' ),
335
+ 'description' => esc_html__( 'Select projects item margin (outer indent) value.', 'cherry-projects' ),
336
+ 'max_value' => 50,
337
+ 'min_value' => 0,
338
+ 'value' => 4,
339
+ ),
340
+ 'justified-fixed-height' => array(
341
+ 'type' => 'slider',
342
+ 'title' => esc_html__( 'Justified fixed height', 'cherry-projects' ),
343
+ 'description' => esc_html__( 'Select projects item justified height value.', 'cherry-projects' ),
344
+ 'max_value' => 1000,
345
+ 'min_value' => 50,
346
+ 'value' => 300,
347
+ 'master' => 'projects-listing-layout-justified-layout',
348
+ ),
349
+ 'grid-template' => array(
350
+ 'type' => 'text',
351
+ 'title' => esc_html__( 'Grid template', 'cherry-projects' ),
352
+ 'description' => esc_html__( 'Grid content template', 'cherry-projects' ),
353
+ 'value' => 'grid-default.tmpl',
354
+ 'master' => 'projects-listing-layout-grid-layout',
355
+ ),
356
+ 'masonry-template' => array(
357
+ 'type' => 'text',
358
+ 'title' => esc_html__( 'Masonry template', 'cherry-projects' ),
359
+ 'description' => esc_html__( 'Masonry content template', 'cherry-projects' ),
360
+ 'value' => 'masonry-default.tmpl',
361
+ 'master' => 'projects-listing-layout-masonry-layout',
362
+ ),
363
+ 'justified-template' => array(
364
+ 'type' => 'text',
365
+ 'title' => esc_html__( 'Justified template', 'cherry-projects' ),
366
+ 'description' => esc_html__( 'Justified content template', 'cherry-projects' ),
367
+ 'value' => 'justified-default.tmpl',
368
+ 'master' => 'projects-listing-layout-justified-layout',
369
+ ),
370
+ 'cascading-grid-template' => array(
371
+ 'type' => 'text',
372
+ 'title' => esc_html__( 'Cascading grid template', 'cherry-projects' ),
373
+ 'description' => esc_html__( 'Cascading grid template', 'cherry-projects' ),
374
+ 'value' => 'cascading-grid-default.tmpl',
375
+ 'master' => 'projects-listing-layout-cascading-grid-layout',
376
+ ),
377
+ 'list-template' => array(
378
+ 'type' => 'text',
379
+ 'title' => esc_html__( 'List template', 'cherry-projects' ),
380
+ 'description' => esc_html__( 'List content template', 'cherry-projects' ),
381
+ 'value' => 'list-default.tmpl',
382
+ 'master' => 'projects-listing-layout-list-layout',
383
+ ),
384
+ 'standard-post-template' => array(
385
+ 'type' => 'text',
386
+ 'title' => esc_html__( 'Standard post template', 'cherry-projects' ),
387
+ 'description' => esc_html__( 'Standard post template', 'cherry-projects' ),
388
+ 'value' => 'standard-post-template.tmpl',
389
+ ),
390
+ 'image-post-template' => array(
391
+ 'type' => 'text',
392
+ 'title' => esc_html__( 'Image post template', 'cherry-projects' ),
393
+ 'description' => esc_html__( 'Image post template', 'cherry-projects' ),
394
+ 'value' => 'image-post-template.tmpl',
395
+ ),
396
+ 'gallery-post-template' => array(
397
+ 'type' => 'text',
398
+ 'title' => esc_html__( 'Gallery post template', 'cherry-projects' ),
399
+ 'description' => esc_html__( 'Gallery post template', 'cherry-projects' ),
400
+ 'value' => 'gallery-post-template.tmpl',
401
+ ),
402
+ 'audio-post-template' => array(
403
+ 'type' => 'text',
404
+ 'title' => esc_html__( 'Audio post template', 'cherry-projects' ),
405
+ 'description' => esc_html__( 'Audio post template', 'cherry-projects' ),
406
+ 'value' => 'audio-post-template.tmpl',
407
+ ),
408
+ 'video-post-template' => array(
409
+ 'type' => 'text',
410
+ 'title' => esc_html__( 'Video post template', 'cherry-projects' ),
411
+ 'description' => esc_html__( 'Video post template', 'cherry-projects' ),
412
+ 'value' => 'video-post-template.tmpl',
413
+ ),
414
+ );
415
+
416
+ array_walk( $this->projects_options, array( $this, 'set_field_types' ) );
417
+
418
+ if ( in_array( 'slider', $this->field_types ) ) {
419
+ $this->field_types[] = 'stepper';
420
+ }
421
+
422
+
423
+ $this->ui_builder = cherry_projects()->get_core()->init_module( 'cherry-ui-elements', array( 'ui_elements' => $this->field_types ) );
424
+
425
+ return true;
426
+ }
427
+
428
+ /**
429
+ * Store field types used in this widget into class property
430
+ *
431
+ * @since 1.0.0
432
+ * @param array $field field data.
433
+ * @param [type] $id field key.
434
+ * @return bool
435
+ */
436
+ public function set_field_types( $field, $id ) {
437
+
438
+ if ( ! isset( $field['type'] ) ) {
439
+ return false;
440
+ }
441
+
442
+ if ( ! in_array( $field['type'], $this->field_types ) ) {
443
+ $this->field_types[] = $field['type'];
444
+ }
445
+
446
+ return true;
447
+ }
448
+
449
+ /**
450
+ * Register setting sub page
451
+ *
452
+ * @return void
453
+ */
454
+ public function render_page() {
455
+ add_submenu_page(
456
+ 'edit.php?post_type=projects',
457
+ esc_html__( 'Projects Options', 'cherry-projects' ),
458
+ esc_html__( 'Settings', 'cherry-projects' ),
459
+ 'edit_theme_options',
460
+ 'cherry-projects-options',
461
+ array( $this, 'projects_options_page' ),
462
+ '',
463
+ 63
464
+ );
465
+ }
466
+
467
+ /**
468
+ * Option page callback
469
+ *
470
+ * @return void
471
+ */
472
+ public function projects_options_page() {
473
+ $html = '';
474
+
475
+ $saved_options = get_option( OPTIONS_NAME );
476
+ $current_options = array_merge( cherry_projects()->default_options, $saved_options );
477
+
478
+ $settings = $this->get_fields( $current_options );
479
+
480
+ $html = Cherry_Toolkit::render_view(
481
+ CHERRY_PROJECTS_DIR . 'views/options-page.php',
482
+ array(
483
+ 'settings' => $settings,
484
+ )
485
+ );
486
+
487
+ echo $html;
488
+ }
489
+
490
+ /**
491
+ * Get registered control fields
492
+ *
493
+ * @since 1.0.0
494
+ * @return string
495
+ */
496
+ public function get_fields( $current_options ) {
497
+
498
+ $elements = array(
499
+ 'ui-settings' => array(),
500
+ 'labels' => array(
501
+ 'save-button-text' => esc_html__( 'Save', 'cherry-projects' ),
502
+ 'define-as-button-text' => esc_html__( 'Define as default', 'cherry-projects' ),
503
+ 'restore-button-text' => esc_html__( 'Restore', 'cherry-projects' ),
504
+ ),
505
+ );
506
+
507
+ foreach ( $this->projects_options as $key => $field ) {
508
+
509
+ $value = isset( $current_options[ $key ] ) ? $current_options[ $key ] : false;
510
+ $value = ( false !== $value ) ? $value : Cherry_Toolkit::get_arg( $field, 'value', '' );
511
+
512
+ if ( isset( $field['options_callback'] ) ) {
513
+ $callback = $this->get_callback_data( $field['options_callback'] );
514
+ $options = call_user_func_array( $callback['callback'], $callback['args'] );
515
+ } else {
516
+ $options = Cherry_Toolkit::get_arg( $field, 'options', array() );
517
+ }
518
+
519
+ $args = array(
520
+ 'type' => Cherry_Toolkit::get_arg( $field, 'type', 'text' ),
521
+ 'id' => $key,
522
+ 'name' => $key,
523
+ 'value' => $value,
524
+ 'label' => Cherry_Toolkit::get_arg( $field, 'label', '' ),
525
+ 'options' => $options,
526
+ 'multiple' => Cherry_Toolkit::get_arg( $field, 'multiple', false ),
527
+ 'filter' => Cherry_Toolkit::get_arg( $field, 'filter', false ),
528
+ 'size' => Cherry_Toolkit::get_arg( $field, 'size', 1 ),
529
+ 'null_option' => Cherry_Toolkit::get_arg( $field, 'null_option', 'None' ),
530
+ 'multi_upload' => Cherry_Toolkit::get_arg( $field, 'multi_upload', true ),
531
+ 'library_type' => Cherry_Toolkit::get_arg( $field, 'library_type', 'image' ),
532
+ 'upload_button_text' => Cherry_Toolkit::get_arg( $field, 'upload_button_text', 'Choose' ),
533
+ 'max_value' => Cherry_Toolkit::get_arg( $field, 'max_value', '100' ),
534
+ 'min_value' => Cherry_Toolkit::get_arg( $field, 'min_value', '0' ),
535
+ 'max' => Cherry_Toolkit::get_arg( $field, 'max', '100' ),
536
+ 'min' => Cherry_Toolkit::get_arg( $field, 'min', '0' ),
537
+ 'step_value' => Cherry_Toolkit::get_arg( $field, 'step_value', '1' ),
538
+ 'style' => Cherry_Toolkit::get_arg( $field, 'style', 'normal' ),
539
+ 'display_input' => Cherry_Toolkit::get_arg( $field, 'display_input', true ),
540
+ 'controls' => Cherry_Toolkit::get_arg( $field, 'controls', array() ),
541
+ 'toggle' => Cherry_Toolkit::get_arg( $field, 'toggle', array(
542
+ 'true_toggle' => 'On',
543
+ 'false_toggle' => 'Off',
544
+ 'true_slave' => '',
545
+ 'false_slave' => '',
546
+ ) ),
547
+ 'required' => Cherry_Toolkit::get_arg( $field, 'required', false ),
548
+ 'master' => Cherry_Toolkit::get_arg( $field, 'master', '' ),
549
+ 'icon_data' => Cherry_Toolkit::get_arg( $field, 'icon_data', array() ),
550
+ );
551
+
552
+ $current_element = $this->ui_builder->get_ui_element_instance( $args['type'], $args );
553
+ $elements['ui-settings'][] = array(
554
+ 'title' => Cherry_Toolkit::get_arg( $field, 'title', '' ),
555
+ 'description' => Cherry_Toolkit::get_arg( $field, 'description', '' ),
556
+ 'master' => Cherry_Toolkit::get_arg( $field, 'master', '' ),
557
+ 'ui-html' => $current_element->render(),
558
+ );
559
+
560
+ }
561
+
562
+ return $elements;
563
+ }
564
+
565
+ /**
566
+ * Parse callback data.
567
+ *
568
+ * @since 1.0.0
569
+ * @param array $options_callback Callback data.
570
+ * @return array
571
+ */
572
+ public function get_callback_data( $options_callback ) {
573
+
574
+ if ( 2 === count( $options_callback ) ) {
575
+
576
+ $callback = array(
577
+ 'callback' => $options_callback,
578
+ 'args' => array(),
579
+ );
580
+
581
+ return $callback;
582
+ }
583
+
584
+ $callback = array(
585
+ 'callback' => array_slice( $options_callback, 0, 2 ),
586
+ 'args' => $options_callback[2],
587
+ );
588
+
589
+ return $callback;
590
+ }
591
+
592
+ /**
593
+ * Ajax request
594
+ *
595
+ * @since 4.0.0
596
+ */
597
+ public function cherry_projects_ajax_request() {
598
+
599
+ if ( ! empty( $_POST ) && array_key_exists( 'post_array', $_POST ) && array_key_exists( 'nonce', $_POST ) && array_key_exists( 'type', $_POST ) ) {
600
+
601
+ $post_array = $_POST['post_array'];
602
+ $nonce = $_POST['nonce'];
603
+ $type = $_POST['type'];
604
+
605
+ if ( ! current_user_can( 'manage_options' ) ) {
606
+ $response = array(
607
+ 'message' => esc_html__( 'No right to preserve options', 'cherry-projects' ),
608
+ 'type' => 'error-notice'
609
+ );
610
+
611
+ wp_send_json( $response );
612
+ }
613
+
614
+ if ( wp_verify_nonce( $nonce, 'cherry_ajax_nonce' ) ) {
615
+
616
+ switch ( $type ) {
617
+ case 'save':
618
+ cherry_projects()->save_options( OPTIONS_NAME, $post_array );
619
+ $response = array(
620
+ 'message' => esc_html__( 'Options have been saved', 'cherry-projects' ),
621
+ 'type' => 'success-notice'
622
+ );
623
+
624
+ break;
625
+ case 'define_as_default':
626
+ cherry_projects()->save_options( OPTIONS_NAME . '_default', $post_array );
627
+ $response = array(
628
+ 'message' => esc_html__( 'Settings have been define as default', 'cherry-projects' ),
629
+ 'type' => 'success-notice'
630
+ );
631
+
632
+ break;
633
+ case 'restore':
634
+ $default_options = get_option( OPTIONS_NAME . '_default' );
635
+ cherry_projects()->save_options( OPTIONS_NAME, $default_options );
636
+
637
+ $response = array(
638
+ 'message' => esc_html__( 'Settings have been restored', 'cherry-projects' ),
639
+ 'type' => 'success-notice'
640
+ );
641
+
642
+ break;
643
+ }
644
+
645
+ wp_send_json( $response );
646
+ } else {
647
+ exit();
648
+ }
649
+
650
+ }
651
+ }
652
+
653
+ /**
654
+ * Enqueue admin styles function.
655
+ *
656
+ * @return void
657
+ */
658
+ public function enqueue_styles( $hook_suffix ) {
659
+ if ( 'projects_page_cherry-projects-options' == $hook_suffix ) {
660
+ wp_enqueue_style( 'projects-admin-style', trailingslashit( CHERRY_PROJECTS_URI ) . 'admin/assets/css/admin-style.css', array(), CHERRY_PROJECTS_VERSION );
661
+ }
662
+ }
663
+
664
+ /**
665
+ * Enqueue admin scripts function.
666
+ *
667
+ * @return void
668
+ */
669
+ public function enqueue_scripts( $hook_suffix ) {
670
+ if ( 'projects_page_cherry-projects-options' == $hook_suffix ) {
671
+ wp_enqueue_script( 'serialize-object', trailingslashit( CHERRY_PROJECTS_URI ) . 'admin/assets/js/serialize-object.js', array( 'jquery' ), CHERRY_PROJECTS_VERSION, true );
672
+ wp_enqueue_script( 'cherry-projects-admin-scripts', trailingslashit( CHERRY_PROJECTS_URI ) . 'admin/assets/js/cherry-projects-admin-scripts.js', array( 'jquery', 'cherry-js-core' ), CHERRY_PROJECTS_VERSION, true );
673
+
674
+ $options_page_settings = array(
675
+ 'please_wait_processing' => esc_html__( 'Please wait, processing the previous request', 'cherry-projects' ),
676
+ 'redirect_url' => menu_page_url( 'cherry-projects-options', false ),
677
+ );
678
+
679
+ wp_localize_script( 'cherry-projects-admin-scripts', 'cherryProjectsPluginSettings', $options_page_settings );
680
+ }
681
+ }
682
+
683
+
684
+ /**
685
+ * Returns the instance.
686
+ *
687
+ * @since 1.0.0
688
+ * @return object
689
+ */
690
+ public static function get_instance() {
691
+
692
+ // If the single instance hasn't been set, set it now.
693
+ if ( null == self::$instance ) {
694
+ self::$instance = new self;
695
+ }
696
+
697
+ return self::$instance;
698
+ }
699
+ }
700
+
701
+ Cherry_Projects_Options_Page::get_instance();
cherry-framework/cherry-core.php ADDED
@@ -0,0 +1,481 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class Cherry Core
4
+ * Version: 1.1.1
5
+ *
6
+ * @package Cherry_Framework
7
+ * @subpackage Class
8
+ * @author Cherry Team <cherryframework@gmail.com>
9
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
10
+ * @link http://www.cherryframework.com/
11
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-3.0.html
12
+ */
13
+
14
+ // If this file is called directly, abort.
15
+ if ( ! defined( 'WPINC' ) ) {
16
+ die;
17
+ }
18
+
19
+ if ( ! class_exists( 'Cherry_Core' ) ) {
20
+
21
+ /**
22
+ * Class Cherry Core.
23
+ */
24
+ class Cherry_Core {
25
+
26
+ /**
27
+ * A reference to an instance of this class.
28
+ *
29
+ * @since 1.0.0
30
+ * @var object
31
+ */
32
+ private static $instance = null;
33
+
34
+ /**
35
+ * Core settings.
36
+ *
37
+ * @since 1.0.0
38
+ * @var array
39
+ */
40
+ public $settings = array();
41
+
42
+ /**
43
+ * Holder for all registered modules for current core instance.
44
+ *
45
+ * @since 1.0.0
46
+ * @var array
47
+ */
48
+ public $modules = array();
49
+
50
+ /**
51
+ * Holder for all modules.
52
+ *
53
+ * @since 1.1.0
54
+ * @var array
55
+ */
56
+ public static $all_modules = array();
57
+
58
+ /**
59
+ * Constructor.
60
+ *
61
+ * @since 1.0.0
62
+ */
63
+ public function __construct( $settings = array() ) {
64
+ $base_dir = trailingslashit( __DIR__ );
65
+ $base_url = trailingslashit( $this->base_url( '', __FILE__ ) );
66
+
67
+ $defaults = array(
68
+ 'framework_path' => 'cherry-framework',
69
+ 'modules' => array(),
70
+ 'base_dir' => $base_dir,
71
+ 'base_url' => $base_url,
72
+ 'extra_base_dir' => '',
73
+ );
74
+
75
+ $this->settings = array_merge( $defaults, $settings );
76
+
77
+ $this->settings['extra_base_dir'] = trailingslashit( $this->settings['base_dir'] );
78
+ $this->settings['base_dir'] = $base_dir;
79
+ $this->settings['base_url'] = $base_url;
80
+
81
+ $this->run_collector();
82
+
83
+ /**
84
+ * In this hooks priority parameter are very important.
85
+ */
86
+ add_action( 'after_setup_theme', array( 'Cherry_Core', 'load_all_modules' ), 2 );
87
+ add_action( 'after_setup_theme', array( $this, 'init_required_modules' ), 2 );
88
+
89
+ // Init modules with autoload seted up into true.
90
+ add_action( 'after_setup_theme', array( $this, 'init_autoload_modules' ), 9999 );
91
+
92
+ // Backward compatibility for `cherry-widget-factory` module.
93
+ remove_all_filters( 'cherry_widget_factory_core', 10 );
94
+ add_filter( 'cherry_widget_factory_core', array( $this, 'pass_core_to_widgets' ), 11, 2 );
95
+ }
96
+
97
+ /**
98
+ * Fire collector for modules.
99
+ *
100
+ * @since 1.0.0
101
+ * @return bool
102
+ */
103
+ private function run_collector() {
104
+
105
+ if ( ! is_array( $this->settings['modules'] ) || empty( $this->settings['modules'] ) ) {
106
+ return false;
107
+ }
108
+
109
+ // Cherry_Toolkit module should be loaded by default.
110
+ if ( ! isset( $this->settings['modules']['cherry-toolkit'] ) ) {
111
+ $this->settings['modules']['cherry-toolkit'] = array(
112
+ 'autoload' => true,
113
+ );
114
+ }
115
+
116
+ foreach ( $this->settings['modules'] as $module => $settings ) {
117
+ $priority = $this->get_module_priority( $module );
118
+ $path = $this->get_module_path( $module );
119
+
120
+ if ( ! array_key_exists( $module, self::$all_modules ) ) {
121
+ self::$all_modules[ $module ] = array( $priority => $path );
122
+ } else {
123
+
124
+ $old_priority = array_keys( self::$all_modules[ $module ] );
125
+
126
+ if ( ! is_array( $old_priority ) || ! isset( $old_priority[0] ) ) {
127
+ continue;
128
+ }
129
+
130
+ $compare = version_compare( $old_priority[0], $priority, '<' );
131
+
132
+ if ( $compare ) {
133
+ continue;
134
+ }
135
+
136
+ self::$all_modules[ $module ] = array( $priority => $path );
137
+ }
138
+ }
139
+
140
+ /**
141
+ * Filter a holder for all modules.
142
+ *
143
+ * @since 1.1.0
144
+ * @var array
145
+ */
146
+ self::$all_modules = apply_filters( 'cherry_core_all_modules', self::$all_modules, $this );
147
+ }
148
+
149
+ /**
150
+ * Loaded all modules.
151
+ *
152
+ * @since 1.1.0
153
+ */
154
+ public static function load_all_modules() {
155
+
156
+ foreach ( self::$all_modules as $module => $data ) {
157
+
158
+ $path = current( $data );
159
+ $loaded = self::load_module( $module, $path );
160
+
161
+ if ( ! $loaded ) {
162
+ continue;
163
+ }
164
+ }
165
+ }
166
+
167
+ /**
168
+ * Init a required modules.
169
+ *
170
+ * @since 1.1.0
171
+ */
172
+ public function init_required_modules() {
173
+ $required_modules = apply_filters( 'cherry_core_required_modules', array(
174
+ 'cherry-toolkit',
175
+ 'cherry-widget-factory',
176
+ ), $this );
177
+
178
+ foreach ( $required_modules as $module ) {
179
+
180
+ if ( ! array_key_exists( $module, $this->settings['modules'] ) ) {
181
+ continue;
182
+ }
183
+
184
+ $settings = $this->settings['modules'][ $module ];
185
+ $args = ! empty( $settings['args'] ) ? $settings['args'] : array();
186
+
187
+ $this->init_module( $module, $args );
188
+ }
189
+ }
190
+
191
+ /**
192
+ * Init autoload modules.
193
+ *
194
+ * @since 1.1.0
195
+ */
196
+ public function init_autoload_modules() {
197
+
198
+ if ( empty( $this->modules ) ) {
199
+ return;
200
+ }
201
+
202
+ foreach ( $this->settings['modules'] as $module => $settings ) {
203
+
204
+ if ( ! $this->is_module_autoload( $module ) ) {
205
+ continue;
206
+ }
207
+
208
+ if ( ! empty( $this->modules[ $module ] ) ) {
209
+ continue;
210
+ }
211
+
212
+ $args = ! empty( $settings['args'] ) ? $settings['args'] : array();
213
+ $this->init_module( $module, $args );
214
+ }
215
+ }
216
+
217
+ /**
218
+ * Init single module.
219
+ *
220
+ * @since 1.0.0
221
+ * @param string $module Module slug.
222
+ * @param array $args Module arguments array.
223
+ * @return mixed
224
+ */
225
+ public function init_module( $module, $args = array() ) {
226
+ $this->modules[ $module ] = $this->get_module_instance( $module, $args );
227
+
228
+ /**
229
+ * Filter a single module after initialization.
230
+ *
231
+ * @since 1.1.0
232
+ */
233
+ return apply_filters( 'cherry_core_init_module', $this->modules[ $module ], $module, $args, $this );
234
+ }
235
+
236
+ /**
237
+ * Check module autoload.
238
+ *
239
+ * @since 1.0.0
240
+ * @param string $module Module slug.
241
+ * @return bool
242
+ */
243
+ public function is_module_autoload( $module ) {
244
+
245
+ if ( empty( $this->settings['modules'][ $module ]['autoload'] ) ) {
246
+ return false;
247
+ }
248
+
249
+ return $this->settings['modules'][ $module ]['autoload'];
250
+ }
251
+
252
+ /**
253
+ * Include module.
254
+ *
255
+ * @since 1.0.0
256
+ * @param string $module Module slug.
257
+ * @param string $path Module path.
258
+ * @return bool
259
+ */
260
+ public static function load_module( $module, $path ) {
261
+ $class_name = self::get_class_name( $module );
262
+
263
+ if ( class_exists( $class_name ) ) {
264
+ return true;
265
+ }
266
+
267
+ if ( ! $path ) {
268
+ return false;
269
+ }
270
+
271
+ require_once( $path );
272
+
273
+ return true;
274
+ }
275
+
276
+ /**
277
+ * Get module instance.
278
+ *
279
+ * @since 1.0.0
280
+ * @param string $module Module slug.
281
+ * @param array $args Module arguments.
282
+ * @return object
283
+ */
284
+ public function get_module_instance( $module, $args = array() ) {
285
+ $class_name = self::get_class_name( $module );
286
+
287
+ if ( ! class_exists( $class_name ) ) {
288
+ echo '<p>Class <b>' . $class_name . '</b> not exist!</p>';
289
+ return false;
290
+ }
291
+
292
+ return $this->modules[ $module ] = call_user_func( array( $class_name, 'get_instance' ), $this, $args );
293
+ }
294
+
295
+ /**
296
+ * Get class name by module slug.
297
+ *
298
+ * @since 1.0.0
299
+ * @param string $slug Module slug.
300
+ * @return string
301
+ */
302
+ public static function get_class_name( $slug = '' ) {
303
+ $slug = str_replace( '-', ' ', $slug );
304
+ $class = str_replace( ' ', '_', ucwords( $slug ) );
305
+
306
+ return $class;
307
+ }
308
+
309
+ /**
310
+ * Get path to main file for passed module.
311
+ *
312
+ * @since 1.0.1
313
+ * @param string $module Module slug.
314
+ * @return string
315
+ */
316
+ public function get_module_path( $module ) {
317
+ $abs_path = false;
318
+ $rel_path = 'modules/' . $module . '/' . $module . '.php';
319
+
320
+ if ( file_exists( $this->settings['extra_base_dir'] . $rel_path ) ) {
321
+ $abs_path = $this->settings['extra_base_dir'] . $rel_path;
322
+ } else if ( file_exists( $this->settings['base_dir'] . $rel_path ) ) {
323
+ $abs_path = $this->settings['base_dir'] . $rel_path;
324
+ }
325
+
326
+ return $abs_path;
327
+ }
328
+
329
+ /**
330
+ * Get module priority from it's version.
331
+ * Version information should be provided as a value stored in the header notation.
332
+ *
333
+ * @link https://developer.wordpress.org/reference/functions/get_file_data/
334
+ * @since 1.0.0
335
+ * @param string $module Module slug or path.
336
+ * @param bool $is_path Set this as true, if `$module` contains a path.
337
+ * @return int
338
+ */
339
+ public function get_module_priority( $module, $is_path = false ) {
340
+
341
+ // Default phpDoc headers.
342
+ $default_headers = array(
343
+ 'version' => 'Version',
344
+ );
345
+
346
+ // Maximum version number (major, minor, patch).
347
+ $max_version = array(
348
+ 99,
349
+ 99,
350
+ 999,
351
+ );
352
+
353
+ // If `$module` is a slug, get module path.
354
+ if ( ! $is_path ) {
355
+ $module = $this->get_module_path( $module );
356
+ }
357
+
358
+ $version = '1.0.0';
359
+
360
+ /* @TODO: Add smart check */
361
+ if ( ! $module ) {
362
+ return $version;
363
+ }
364
+
365
+ $data = get_file_data( $module , $default_headers );
366
+
367
+ // Check if version string has a valid value.
368
+ if ( isset( $data['version'] ) && false !== strpos( $data['version'], '.' ) ) {
369
+
370
+ // Clean the version string.
371
+ preg_match( '/[\d\.]+/', $data['version'], $version );
372
+ $version = $version[0];
373
+ }
374
+
375
+ // Convert version into integer.
376
+ $parts = explode( '.', $version );
377
+
378
+ // Calculate priority.
379
+ foreach ( $parts as $index => $part ) {
380
+ $parts[ $index ] = $max_version[ $index ] - (int) $part;
381
+ }
382
+
383
+ return (int) join( '', $parts );
384
+ }
385
+
386
+ /**
387
+ * Retrieves the absolute URL to the current file.
388
+ * Like a WordPress function `plugins_url`.
389
+ *
390
+ * @link https://codex.wordpress.org/Function_Reference/plugins_url
391
+ * @since 1.0.1
392
+ * @param string $file_path Optional. Extra path appended to the end of the URL.
393
+ * @param string $module_path A full path to the core or module file.
394
+ * @return string
395
+ */
396
+ public static function base_url( $file_path = '', $module_path ) {
397
+ $module_path = wp_normalize_path( $module_path );
398
+ $module_dir = dirname( $module_path );
399
+
400
+ $plugin_dir = wp_normalize_path( WP_PLUGIN_DIR );
401
+ $stylesheet = get_stylesheet();
402
+ $theme_root = get_raw_theme_root( $stylesheet );
403
+ $theme_dir = "$theme_root/$stylesheet";
404
+
405
+ if ( 0 === strpos( $module_path, $plugin_dir ) ) {
406
+ $url = plugin_dir_url( $module_path );
407
+ } else if ( false !== strpos( $module_path, $theme_dir ) ) {
408
+ $explode = explode( $theme_dir, $module_dir, 2 );
409
+ $url = get_stylesheet_directory_uri() . $explode[1];
410
+ } else {
411
+ $site_url = site_url();
412
+ $abs_path = wp_normalize_path( ABSPATH );
413
+ $url = str_replace( untrailingslashit( $abs_path ), $site_url, $module_dir );
414
+ }
415
+
416
+ if ( $file_path && is_string( $file_path ) ) {
417
+ $url = trailingslashit( $url );
418
+ $url .= ltrim( $file_path, '/' );
419
+ }
420
+
421
+ return apply_filters( 'cherry_core_base_url', $url, $file_path, $module_path );
422
+ }
423
+
424
+ /**
425
+ * Pass core instance into widget.
426
+ *
427
+ * @since 1.1.0
428
+ * @param mixed $core Current core object.
429
+ * @param string $path Abstract widget file path.
430
+ * @return mixed
431
+ */
432
+ public function pass_core_to_widgets( $core, $path ) {
433
+ $path = str_replace( '\\', '/', $path );
434
+ $current_core = str_replace( '\\', '/', $this->settings['extra_base_dir'] );
435
+
436
+ if ( false !== strpos( $path, $current_core ) ) {
437
+ return self::get_instance();
438
+ }
439
+
440
+ return $core;
441
+ }
442
+
443
+ /**
444
+ * Get path to the core directory.
445
+ *
446
+ * @since 1.0.0
447
+ * @deprecated 1.1.0 Use constant `__DIR__`
448
+ * @return string
449
+ */
450
+ public function get_core_dir() {
451
+ return trailingslashit( $this->settings['base_dir'] );
452
+ }
453
+
454
+ /**
455
+ * Get URI to the core directory.
456
+ *
457
+ * @since 1.0.0
458
+ * @deprecated 1.1.0 Use `base_url()` method
459
+ * @return string
460
+ */
461
+ public function get_core_url() {
462
+ return trailingslashit( $this->settings['base_url'] );
463
+ }
464
+
465
+ /**
466
+ * Returns the instance.
467
+ *
468
+ * @since 1.0.0
469
+ * @return object
470
+ */
471
+ public static function get_instance() {
472
+
473
+ // If the single instance hasn't been set, set it now.
474
+ if ( null == self::$instance ) {
475
+ self::$instance = new self;
476
+ }
477
+
478
+ return self::$instance;
479
+ }
480
+ }
481
+ }
cherry-framework/config.json ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name" : "Cherry Framework",
3
+ "version" : "1.1.1",
4
+ "description" : "",
5
+ "doc_link" : "",
6
+ "git_link" : "https://github.com/CherryFramework/cherry-framework",
7
+ "modules" : {
8
+ "cherry-breadcrumbs" : {
9
+ "name" : "Breadcrumb Trail",
10
+ "description" : "A breadcrumb menu script for WordPress.",
11
+ "doc_link" : "",
12
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-breadcrumbs",
13
+ "compatible" : ["theme", "plugin"],
14
+ "wordpress_org" : true,
15
+ "required" : false,
16
+ "dependencies" : []
17
+ },
18
+ "cherry-creator" : {
19
+ "name" : "Creator.",
20
+ "description" : "Creator.",
21
+ "doc_link" : "",
22
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-creator",
23
+ "compatible" : ["theme", "plugin"],
24
+ "wordpress_org" : true,
25
+ "required" : false,
26
+ "dependencies" : []
27
+ },
28
+ "cherry-customizer" : {
29
+ "name" : "Customizer",
30
+ "description" : "Customizer functionality.",
31
+ "doc_link" : "",
32
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-customizer",
33
+ "compatible" : ["theme", "plugin"],
34
+ "wordpress_org" : true,
35
+ "required" : false,
36
+ "dependencies" : []
37
+ },
38
+ "cherry-dynamic-css" : {
39
+ "name" : "Dynamic Css",
40
+ "description" : "Generate Css.",
41
+ "doc_link" : "",
42
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-dynamic-css",
43
+ "compatible" : ["theme", "plugin"],
44
+ "wordpress_org" : true,
45
+ "required" : false,
46
+ "dependencies" : []
47
+ },
48
+ "cherry-google-fonts-loader" : {
49
+ "name" : "Google Fonts Loader",
50
+ "description" : "Enqueue Google font.",
51
+ "doc_link" : "",
52
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-google-fonts-loader",
53
+ "compatible" : ["theme", "plugin"],
54
+ "wordpress_org" : true,
55
+ "required" : false,
56
+ "dependencies" : []
57
+ },
58
+ "cherry-js-core" : {
59
+ "name" : "JS Core",
60
+ "description" : "Initializes global JS object which provides additional plugin functionality.",
61
+ "doc_link" : "",
62
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-js-core",
63
+ "compatible" : ["theme", "plugin"],
64
+ "wordpress_org" : true,
65
+ "required" : false,
66
+ "dependencies" : []
67
+ },
68
+ "cherry-page-builder" : {
69
+ "name" : "Page Builder",
70
+ "description" : "Provides functionality for building custom options pages.",
71
+ "doc_link" : "",
72
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-page-builder",
73
+ "compatible" : ["plugin"],
74
+ "wordpress_org" : true,
75
+ "required" : false,
76
+ "dependencies" : []
77
+ },
78
+ "cherry-plugin-updater" : {
79
+ "name" : "Plugin Updater",
80
+ "description" : "Provides functionality for updating plugins.",
81
+ "doc_link" : "",
82
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-plugin-updater",
83
+ "compatible" : ["plugin"],
84
+ "wordpress_org" : false,
85
+ "required" : false,
86
+ "dependencies" : []
87
+ },
88
+ "cherry-post-formats-api" : {
89
+ "name" : "Post Formats API",
90
+ "description" : "API for post formats specific content.",
91
+ "doc_link" : "",
92
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-post-formats-api",
93
+ "compatible" : ["theme", "plugin"],
94
+ "wordpress_org" : true,
95
+ "required" : false,
96
+ "dependencies" : [ "cherry-js-core" ]
97
+ },
98
+ "cherry-post-meta" : {
99
+ "name" : "Post Meta",
100
+ "description" : "Manage post meta.",
101
+ "doc_link" : "",
102
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-post-meta",
103
+ "compatible" : ["theme", "plugin"],
104
+ "wordpress_org" : true,
105
+ "required" : false,
106
+ "dependencies" : [ "cherry-ui-elements" ]
107
+ },
108
+ "cherry-post-types" : {
109
+ "name" : "Post Types",
110
+ "description" : "Provides functionality for creating custom post types.",
111
+ "doc_link" : "",
112
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-post-types",
113
+ "compatible" : ["plugin"],
114
+ "wordpress_org" : true,
115
+ "required" : false,
116
+ "dependencies" : [ "cherry-ui-elements" ]
117
+ },
118
+ "cherry-taxonomies" : {
119
+ "name" : "Taxanomies",
120
+ "description" : "Provides functionality for creating custom taxanomies.",
121
+ "doc_link" : "",
122
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-taxonomies",
123
+ "compatible" : ["plugin"],
124
+ "wordpress_org" : true,
125
+ "required" : false,
126
+ "dependencies" : []
127
+ },
128
+ "cherry-term-meta" : {
129
+ "name" : "Term Meta",
130
+ "description" : "Manage term metadata.",
131
+ "doc_link" : "",
132
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-term-meta",
133
+ "compatible" : ["theme", "plugin"],
134
+ "wordpress_org" : true,
135
+ "required" : false,
136
+ "dependencies" : [ "cherry-ui-elements" ]
137
+ },
138
+ "cherry-theme-updater" : {
139
+ "name" : "Theme Updater",
140
+ "description" : "Provides functionality for updating themes.",
141
+ "doc_link" : "",
142
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-theme-updater",
143
+ "compatible" : ["theme"],
144
+ "wordpress_org" : false,
145
+ "required" : false,
146
+ "dependencies" : []
147
+ },
148
+ "cherry-ui-elements" : {
149
+ "name" : "UI Elements",
150
+ "description" : "UI Elements",
151
+ "doc_link" : "",
152
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-ui-elements",
153
+ "compatible" : ["theme", "plugin"],
154
+ "wordpress_org" : true,
155
+ "required" : false,
156
+ "dependencies" : [ "cherry-js-core" ]
157
+ },
158
+ "cherry-utility" : {
159
+ "name" : "Utility",
160
+ "description" : "Multiple utility functions.",
161
+ "doc_link" : "",
162
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-utility",
163
+ "compatible" : ["theme", "plugin"],
164
+ "wordpress_org" : true,
165
+ "required" : false,
166
+ "dependencies" : []
167
+ },
168
+ "cherry-widget-factory" : {
169
+ "name" : "Widget Factory.",
170
+ "description" : "Base widget class that simplifies creating of your own widgets.",
171
+ "doc_link" : "",
172
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-widget-factory",
173
+ "compatible" : ["theme", "plugin"],
174
+ "wordpress_org" : true,
175
+ "required" : false,
176
+ "dependencies" : [ "cherry-ui-elements" ]
177
+ },
178
+ "cherry-toolkit": {
179
+ "name": "Framework Toolkit",
180
+ "description": "Framework Toolkit contains various PHP utilities",
181
+ "doc_link": "",
182
+ "git_link": "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-toolkit",
183
+ "compatible": ["theme", "plugin"],
184
+ "wordpress_org": true,
185
+ "required": true,
186
+ "dependencies": []
187
+ }
188
+ }
189
+ }
cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php ADDED
@@ -0,0 +1,1565 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Breadcrumb Trail
4
+ * Description: A breadcrumb menu script for WordPress
5
+ * Version: 1.1.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * Breadcrumb Trail - A breadcrumb menu script for WordPress.
12
+ *
13
+ * Breadcrumb Trail is a script for showing a breadcrumb trail for any type of page. It tries to
14
+ * anticipate any type of structure and display the best possible trail that matches your site's
15
+ * permalink structure. While not perfect, it attempts to fill in the gaps left by many other
16
+ * breadcrumb scripts.
17
+ *
18
+ * @package Cherry_Framework
19
+ * @subpackage Modules
20
+ * @author Cherry Team <support@cherryframework.com>, Justin Tadlock <justin@justintadlock.com>
21
+ * @copyright Copyright (c) 2008 - 2014, Justin Tadlock
22
+ * @link http://themehybrid.com/plugins/breadcrumb-trail
23
+ * @link http://www.cherryframework.com
24
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
25
+ */
26
+
27
+ // If this file is called directly, abort.
28
+ if ( ! defined( 'WPINC' ) ) {
29
+ die;
30
+ }
31
+
32
+ if ( ! class_exists( 'Cherry_Breadcrumbs' ) ) {
33
+
34
+ /**
35
+ * Breadcrumbs builder class.
36
+ * Class is based on Breadcrumb Trail plugin by Justin Tadlock.
37
+ *
38
+ * @since 4.0.0
39
+ */
40
+ class Cherry_Breadcrumbs {
41
+
42
+ /**
43
+ * Module version.
44
+ *
45
+ * @since 1.0.0
46
+ * @var string
47
+ */
48
+ public $module_version = '1.1.0';
49
+
50
+ /**
51
+ * A reference to an instance of this class.
52
+ *
53
+ * @since 1.0.0
54
+ * @var object
55
+ */
56
+ private static $instance = null;
57
+
58
+ /**
59
+ * Core instance.
60
+ *
61
+ * @since 1.0.0
62
+ * @var object
63
+ */
64
+ public $core = null;
65
+
66
+ /**
67
+ * Indexed array of breadcrumb trail items.
68
+ *
69
+ * @since 1.0.0
70
+ * @var array
71
+ */
72
+ public $items = array();
73
+
74
+ /**
75
+ * Breadcrumb arguments.
76
+ *
77
+ * @since 1.0.0
78
+ * @var array
79
+ */
80
+ public $args = array();
81
+
82
+ /**
83
+ * Page title.
84
+ *
85
+ * @since 1.0.0
86
+ * @var array
87
+ */
88
+ public $page_title = null;
89
+
90
+ /**
91
+ * Breadcrumbs CSS.
92
+ *
93
+ * @since 1.0.0
94
+ * @var array
95
+ */
96
+ public $css = array(
97
+ 'module' => 'cherry-breadcrumbs',
98
+ 'content' => 'cherry-breadcrumbs_content',
99
+ 'wrap' => 'cherry-breadcrumbs_wrap',
100
+ 'browse' => 'cherry-breadcrumbs_browse',
101
+ 'item' => 'cherry-breadcrumbs_item',
102
+ 'separator' => 'cherry-breadcrumbs_item_sep',
103
+ 'link' => 'cherry-breadcrumbs_item_link',
104
+ 'target' => 'cherry-breadcrumbs_item_target',
105
+ );
106
+
107
+ /**
108
+ * Check if Breadcrumbs class was extended.
109
+ *
110
+ * @since 1.0.0
111
+ * @var boolean
112
+ */
113
+ public $is_extend = false;
114
+
115
+ /**
116
+ * Constructor of class.
117
+ */
118
+ function __construct( $core, $args = array() ) {
119
+
120
+ $this->core = $core;
121
+
122
+ $defaults = array(
123
+ 'separator' => '&#47;',
124
+ 'before' => '',
125
+ 'after' => '',
126
+ 'show_mobile' => true,
127
+ 'show_tablet' => true,
128
+ 'wrapper_format' => '<div>%1$s</div><div>%2$s</div>',
129
+ 'page_title_format' => '<h1 class="page-title">%s</h1>',
130
+ 'item_format' => '<div class="%2$s">%1$s</div>',
131
+ 'home_format' => '<a href="%4$s" class="%2$s is-home" rel="home" title="%3$s">%1$s</a>',
132
+ 'link_format' => '<a href="%4$s" class="%2$s" rel="tag" title="%3$s">%1$s</a>',
133
+ 'target_format' => '<span class="%2$s">%1$s</span>',
134
+ 'show_on_front' => true,
135
+ 'network' => false,
136
+ 'show_title' => true,
137
+ 'show_items' => true,
138
+ 'show_browse' => true,
139
+ 'echo' => true,
140
+ 'labels' => array(),
141
+ 'date_labels' => array(),
142
+ // Cherry team editing start
143
+ 'action' => 'cherry_breadcrumbs_render',
144
+ 'css_namespace' => array(),
145
+ 'path_type' => 'full',
146
+ // Cherry team editing end
147
+ 'post_taxonomy' => apply_filters(
148
+ 'cherry_breadcrumbs_trail_taxonomies',
149
+ array(
150
+ 'post' => 'category',
151
+ )
152
+ ),
153
+ );
154
+
155
+ $this->args = apply_filters( 'cherry_breadcrumb_args', wp_parse_args( $args, $defaults ) );
156
+
157
+ // Cherry team editing start
158
+ if ( isset( $this->args['css_namespace'] ) && ! empty( $this->args['css_namespace'] ) ) {
159
+ $this->css = wp_parse_args( $this->args['css_namespace'], $this->css );
160
+ }
161
+ // Cherry team editing end
162
+ if ( ! empty( $args['labels'] ) ) {
163
+ $this->args['labels'] = wp_parse_args( $args['labels'], $this->default_labels() );
164
+ } else {
165
+ $this->args['labels'] = $this->default_labels();
166
+ }
167
+
168
+ if ( ! empty( $args['date_labels'] ) ) {
169
+ $this->args['date_labels'] = wp_parse_args( $args['date_labels'], $this->default_date_labels() );
170
+ } else {
171
+ $this->args['date_labels'] = $this->default_date_labels();
172
+ }
173
+
174
+ if ( is_front_page() && false === $this->args['show_on_front'] ) {
175
+ return;
176
+ }
177
+
178
+ $this->build_trail();
179
+
180
+ if ( ! $this->is_extend ) {
181
+ add_action( $this->args['action'], array( $this, 'get_trail' ) );
182
+ }
183
+
184
+ }
185
+
186
+ /**
187
+ * Formats and outputs the breadcrumb trail.
188
+ *
189
+ * @since 1.0.0
190
+ */
191
+ public function get_trail() {
192
+
193
+ if ( is_front_page() && false === $this->args['show_on_front'] ) {
194
+ return;
195
+ }
196
+
197
+ $breadcrumb = $this->get_items();
198
+ $title = $this->get_title();
199
+
200
+ $wrapper_classes = array(
201
+ esc_attr( $this->css['module'] )
202
+ );
203
+
204
+ if ( false === $this->args['show_mobile'] ) {
205
+ $wrapper_classes[] = 'hidden-xs';
206
+ }
207
+
208
+ if ( false === $this->args['show_tablet'] ) {
209
+ $wrapper_classes[] = 'hidden-sm';
210
+ }
211
+
212
+ $wrapper_classes = apply_filters( 'cherry_breadcrumbs_wrapper_classes', $wrapper_classes );
213
+ $wrapper_classes = array_unique( $wrapper_classes );
214
+ $wrapper_classes = array_map( 'sanitize_html_class', $wrapper_classes );
215
+ $wrapper_css = implode( ' ', $wrapper_classes );
216
+
217
+ /* Open the breadcrumb trail containers. */
218
+ $result = "\n\t\t" . '<div class="' . $wrapper_css . '">';
219
+
220
+ $result .= sprintf( $this->args['wrapper_format'], $title, $breadcrumb );
221
+
222
+ /* Close the breadcrumb trail containers. */
223
+ $result .= "\n\t\t" . '</div>';
224
+
225
+ if ( true === $this->args['echo'] ) {
226
+ echo $result;
227
+ } else {
228
+ return $result;
229
+ }
230
+
231
+ }
232
+
233
+ /**
234
+ * Get breacrumbs list items.
235
+ *
236
+ * @since 1.0.0
237
+ */
238
+ public function get_items() {
239
+
240
+ if ( false == $this->args['show_items'] ) {
241
+ return;
242
+ }
243
+
244
+ $breadcrumb = '';
245
+
246
+ /* Connect the breadcrumb trail if there are items in the trail. */
247
+ if ( empty( $this->items ) && ! is_array( $this->items ) ) {
248
+ return;
249
+ }
250
+
251
+ if ( is_front_page() && false === $this->args['show_on_front'] ) {
252
+ return;
253
+ }
254
+
255
+ /* Make sure we have a unique array of items. */
256
+ $this->items = array_unique( $this->items );
257
+
258
+ if ( $this->args['before'] ) {
259
+ $breadcrumb .= $this->args['before'];
260
+ }
261
+
262
+ /* Open the breadcrumb trail containers. */
263
+ $breadcrumb .= "\n\t\t" . '<div class="' . esc_attr( $this->css['content'] ) . '">';
264
+
265
+ /* Add 'browse' label if it should be shown. */
266
+ if ( true === $this->args['show_browse'] && ! empty( $this->args['labels']['browse'] ) ) {
267
+ $browse = $this->prepare_label( $this->args['labels']['browse'] );
268
+ $breadcrumb .= "\n\t\t\t" . '<div class="' . esc_attr( $this->css['browse'] ) . '">' . $browse . '</div> ';
269
+ }
270
+
271
+ $breadcrumb .= "\n\t\t" . '<div class="' . esc_attr( $this->css['wrap'] ) . '">';
272
+
273
+ /* Format the separator. */
274
+ $separator = ! empty( $this->args['separator'] )
275
+ ? $this->args['separator']
276
+ : '/';
277
+
278
+ $separator = $this->prepare_label( $separator );
279
+ $separator = '<div class="' . esc_attr( $this->css['separator'] ) . '">' . $separator . '</div>';
280
+ $separator = sprintf( $this->args['item_format'], $separator, $this->css['item'] );
281
+
282
+ /* Join the individual trail items into a single string. */
283
+ $breadcrumb .= join( "\n\t\t\t {$separator} ", $this->items );
284
+
285
+ $breadcrumb .= "\n\t\t" . '</div>';
286
+
287
+ $breadcrumb .= "\n\t\t" . '</div>';
288
+
289
+ if ( $this->args['after'] ) {
290
+ $breadcrumb .= $this->args['after'];
291
+ }
292
+
293
+ /* Allow developers to filter the breadcrumb trail HTML and page title. */
294
+ $breadcrumb = apply_filters( 'cherry_breadcrumbs_trail', $breadcrumb, $this->args );
295
+
296
+ return $breadcrumb;
297
+
298
+ }
299
+
300
+ /**
301
+ * Get page title.
302
+ *
303
+ * @since 1.0.0
304
+ */
305
+ public function get_title() {
306
+
307
+ if ( false == $this->args['show_title'] || ! $this->page_title ) {
308
+ return;
309
+ }
310
+
311
+ $title = apply_filters(
312
+ 'cherry_page_title',
313
+ sprintf( $this->args['page_title_format'], $this->page_title ), $this->args
314
+ );
315
+
316
+ return $title;
317
+
318
+ }
319
+
320
+ /**
321
+ * Returns an array of the default labels.
322
+ *
323
+ * @since 1.0.0
324
+ */
325
+ public function default_date_labels() {
326
+ $labels = array(
327
+ 'archive_minute_hour' => 'g:i a', // minute and hour archives time format
328
+ 'archive_minute' => 'i', // minute archives time format
329
+ 'archive_hour' => 'g a', // hour archives time format
330
+ 'archive_year' => 'Y', // yearly archives date format
331
+ 'archive_month' => 'F', // monthly archives date format
332
+ 'archive_day' => 'j', // daily archives date format
333
+ 'archive_week' => 'W', // weekly archives date format
334
+ );
335
+
336
+ return $labels;
337
+ }
338
+
339
+ /**
340
+ * Returns an array of the default labels.
341
+ *
342
+ * @since 1.0.0
343
+ */
344
+ public function default_labels() {
345
+ $page_on_front_id = get_option( 'page_on_front' );
346
+ $use_custom_front_title = 'true';
347
+ $use_custom_front_title = ( 'true' == $use_custom_front_title ) ? true : false;
348
+
349
+ if ( $page_on_front_id ) {
350
+ $page_on_front_title = get_the_title( $page_on_front_id );
351
+ }
352
+
353
+ if ( $use_custom_front_title ) {
354
+ $default = 'Home';
355
+ $page_on_front_title = $default;
356
+ $page_on_front_title = $this->prepare_label( $page_on_front_title, $default );
357
+ }
358
+
359
+ $labels = array(
360
+ 'browse' => 'Browse:',
361
+ 'home' => $page_on_front_title,
362
+ 'error_404' => '404 Not Found',
363
+ 'archives' => 'Archives',
364
+ 'search' => 'Search results for &#8220;%s&#8221;',
365
+ 'paged' => 'Page %s',
366
+ 'archive_minute' => 'Minute %s',
367
+ 'archive_week' => 'Week %s',
368
+
369
+ /* "%s" is replaced with the translated date/time format. */
370
+ 'archive_minute_hour' => '%s',
371
+ 'archive_hour' => '%s',
372
+ 'archive_day' => '%s',
373
+ 'archive_month' => '%s',
374
+ 'archive_year' => '%s',
375
+ );
376
+
377
+ return $labels;
378
+ }
379
+
380
+ /**
381
+ * Build breadcrumbs trail items array.
382
+ *
383
+ * @since 1.0.0
384
+ */
385
+ public function build_trail() {
386
+
387
+ // Break trail building, if use custom trailing for this page
388
+ $custom_trail = apply_filters( 'cherry_breadcrumbs_custom_trail', false, $this->args );
389
+ if ( is_array( $custom_trail ) && ! empty( $custom_trail ) ) {
390
+ $this->items = $custom_trail['items'];
391
+ $this->page_title = $custom_trail['page_title'];
392
+ return;
393
+ }
394
+
395
+ if ( is_front_page() ) {
396
+
397
+ // if we on front page
398
+ $this->add_front_page();
399
+
400
+ } else {
401
+
402
+ // do this for all other pages
403
+ $this->add_network_home_link();
404
+ $this->add_site_home_link();
405
+
406
+ // add blog page related items
407
+ if ( is_home() ) {
408
+
409
+ $this->add_blog_page();
410
+
411
+ } elseif ( is_singular() ) {
412
+
413
+ // add single page/post items
414
+ $this->add_singular_items();
415
+
416
+ } elseif ( is_archive() ) {
417
+
418
+ // is is archive page
419
+ if ( is_post_type_archive() ) {
420
+ $this->add_post_type_archive_items();
421
+
422
+ } elseif ( is_category() || is_tag() || is_tax() ) {
423
+ $this->add_term_archive_items();
424
+
425
+ } elseif ( is_author() ) {
426
+ $this->add_user_archive_items();
427
+
428
+ } elseif ( get_query_var( 'minute' ) && get_query_var( 'hour' ) ) {
429
+ $this->add_minute_hour_archive_items();
430
+
431
+ } elseif ( get_query_var( 'minute' ) ) {
432
+ $this->add_minute_archive_items();
433
+
434
+ } elseif ( get_query_var( 'hour' ) ) {
435
+ $this->add_hour_archive_items();
436
+
437
+ } elseif ( is_day() ) {
438
+ $this->add_day_archive_items();
439
+
440
+ } elseif ( get_query_var( 'w' ) ) {
441
+ $this->add_week_archive_items();
442
+
443
+ } elseif ( is_month() ) {
444
+ $this->add_month_archive_items();
445
+
446
+ } elseif ( is_year() ) {
447
+ $this->add_year_archive_items();
448
+
449
+ } else {
450
+ $this->add_default_archive_items();
451
+
452
+ }
453
+ } elseif ( is_search() ) {
454
+ /* If viewing a search results page. */
455
+ $this->add_search_items();
456
+ } elseif ( is_404() ) {
457
+ /* If viewing the 404 page. */
458
+ $this->add_404_items();
459
+ }
460
+ }
461
+
462
+ /* Add paged items if they exist. */
463
+ $this->add_paged_items();
464
+
465
+ /**
466
+ * Filter final item array
467
+ *
468
+ * @since 1.0.0
469
+ * @var array
470
+ */
471
+ $this->items = apply_filters( 'cherry_breadcrumbs_items', $this->items, $this->args );
472
+
473
+ }
474
+
475
+ /**
476
+ * Add trail item int array.
477
+ *
478
+ * @since 1.0.0
479
+ *
480
+ * @param string $format Item format to add.
481
+ * @param string $label Item label.
482
+ * @param string $url Item URL.
483
+ * @param string $class Item CSS class.
484
+ */
485
+ public function _add_item( $format = 'link_format', $label, $url = '', $class = '' ) {
486
+
487
+ $title = esc_attr( wp_strip_all_tags( $label ) );
488
+ $css = ( 'target_format' == $format ) ? 'target' : 'link';
489
+
490
+ if ( $class ) {
491
+ $class .= ' ' . $this->css[ $css ];
492
+ } else {
493
+ $class = $this->css[ $css ];
494
+ }
495
+
496
+ $item = sprintf( $this->args[ $format ], $label, $class, $title, $url );
497
+
498
+ $this->items[] = sprintf( $this->args['item_format'], $item, esc_attr( $this->css['item'] ) );
499
+
500
+ if ( 'target_format' == $format ) {
501
+ $this->page_title = $label;
502
+ }
503
+
504
+ }
505
+
506
+ /**
507
+ * Add front items based on $wp_rewrite->front.
508
+ *
509
+ * @since 1.0.0
510
+ */
511
+ public function add_rewrite_front_items() {
512
+
513
+ global $wp_rewrite;
514
+
515
+ if ( $wp_rewrite->front ) {
516
+ $this->add_path_parents( $wp_rewrite->front );
517
+ }
518
+ }
519
+
520
+ /**
521
+ * Adds the page/paged number to the items array.
522
+ *
523
+ * @since 1.0.0
524
+ * @return void
525
+ */
526
+ public function add_paged_items() {
527
+
528
+ /* If viewing a paged singular post. */
529
+ if ( is_singular() && 1 < get_query_var( 'page' ) ) {
530
+ $label = sprintf(
531
+ $this->args['labels']['paged'],
532
+ number_format_i18n( absint( get_query_var( 'page' ) ) )
533
+ );
534
+ $this->_add_item( 'target_format', $label );
535
+ } elseif ( is_paged() ) {
536
+ /* If viewing a paged archive-type page. */
537
+ $label = sprintf(
538
+ $this->args['labels']['paged'],
539
+ number_format_i18n( absint( get_query_var( 'paged' ) ) )
540
+ );
541
+ $this->_add_item( 'target_format', $label );
542
+ }
543
+
544
+ }
545
+
546
+ /**
547
+ * Get parent posts by path. Currently, this method only supports getting parents of the 'page'
548
+ * post type. The goal of this function is to create a clear path back to home given what would
549
+ * normally be a "ghost" directory. If any page matches the given path, it'll be added.
550
+ *
551
+ * @since 1.0.0
552
+ *
553
+ * @param string $path The path (slug) to search for posts by.
554
+ */
555
+ function add_path_parents( $path ) {
556
+
557
+ /* Trim '/' off $path in case we just got a simple '/' instead of a real path. */
558
+ $path = trim( $path, '/' );
559
+
560
+ /* If there's no path, return. */
561
+ if ( empty( $path ) ) {
562
+ return;
563
+ }
564
+
565
+ // process default Cherry permalinks by own way
566
+ if ( in_array( $path, array( 'tag', 'category' ) ) ) {
567
+ return;
568
+ }
569
+
570
+ /* Get parent post by the path. */
571
+ $post = get_page_by_path( $path );
572
+
573
+ if ( ! empty( $post ) ) {
574
+ $this->add_post_parents( $post->ID );
575
+ } elseif ( is_null( $post ) ) {
576
+
577
+ /* Separate post names into separate paths by '/'. */
578
+ $path = trim( $path, '/' );
579
+ preg_match_all( '/\/.*?\z/', $path, $matches );
580
+
581
+ /* If matches are found for the path. */
582
+ if ( isset( $matches ) ) {
583
+
584
+ /* Reverse the array of matches to search for posts in the proper order. */
585
+ $matches = array_reverse( $matches );
586
+
587
+ /* Loop through each of the path matches. */
588
+ foreach ( $matches as $match ) {
589
+
590
+ /* If a match is found. */
591
+ if ( isset( $match[0] ) ) {
592
+
593
+ /* Get the parent post by the given path. */
594
+ $path = str_replace( $match[0], '', $path );
595
+ $post = get_page_by_path( trim( $path, '/' ) );
596
+
597
+ /* If a parent post is found, set the $post_id and break out of the loop. */
598
+ if ( ! empty( $post ) && 0 < $post->ID ) {
599
+ $this->add_post_parents( $post->ID );
600
+ break;
601
+ }
602
+ }
603
+ }
604
+ }
605
+ }
606
+ }
607
+
608
+ /**
609
+ * Build front page breadcrumb items.
610
+ *
611
+ * @since 1.0.0
612
+ */
613
+ public function add_front_page() {
614
+
615
+ // do nothing if 'show_on_front' arg not true
616
+ if ( true !== $this->args['show_on_front'] ) {
617
+ return;
618
+ }
619
+
620
+ // always add network home link (if is multisite)
621
+ $this->add_network_home_link();
622
+
623
+ // if is paged front page - add home link
624
+ if ( is_paged() || ( is_singular() && 1 < get_query_var( 'page' ) ) ) {
625
+
626
+ $this->add_site_home_link();
627
+
628
+ } else {
629
+
630
+ $label = ( is_multisite() && true === $this->args['network'] )
631
+ ? get_bloginfo( 'name' )
632
+ : $this->args['labels']['home'];
633
+
634
+ $this->_add_item( 'target_format', $label );
635
+ }
636
+
637
+ }
638
+
639
+ /**
640
+ * Add network home link for multisite.
641
+ * Check if is multisite and add link to parent site to breadcrumb items.
642
+ *
643
+ * @since 1.0.0
644
+ */
645
+ public function add_network_home_link() {
646
+
647
+ // do nothing if network support diasabled in args
648
+ if ( true !== $this->args['network'] ) {
649
+ return;
650
+ }
651
+
652
+ if ( ! is_multisite() ) {
653
+ return;
654
+ }
655
+
656
+ if ( ! is_main_site() ) {
657
+ return;
658
+ }
659
+
660
+ $url = network_home_url();
661
+ $label = $this->args['labels']['home'];
662
+
663
+ $this->_add_item( 'home_format', $label, $url );
664
+
665
+ }
666
+
667
+ /**
668
+ * Add site home link.
669
+ * Add site home link if is paged front page.
670
+ *
671
+ * @since 1.0.0
672
+ */
673
+ public function add_site_home_link() {
674
+
675
+ $format = ( is_multisite() && ! is_main_site() && true === $this->args['network'] )
676
+ ? 'link_format'
677
+ : 'home_format';
678
+
679
+ $url = home_url( '/' );
680
+ $label = ( is_multisite() && ! is_main_site() && true === $this->args['network'] )
681
+ ? get_bloginfo( 'name' )
682
+ : $this->args['labels']['home'];
683
+
684
+ $this->_add_item( $format, $label, $url );
685
+ }
686
+
687
+ /**
688
+ * Add blog page breadcrumbs item.
689
+ *
690
+ * @since 1.0.0
691
+ */
692
+ public function add_blog_page() {
693
+
694
+ // Get the post ID and post.
695
+ $post_id = get_queried_object_id();
696
+ $post = get_page( $post_id );
697
+
698
+ // If the post has parents, add them to the trail.
699
+ if ( 0 < $post->post_parent ) {
700
+ $this->add_post_parents( $post->post_parent );
701
+ }
702
+
703
+ $url = get_permalink( $post_id );
704
+ $label = get_the_title( $post_id );
705
+
706
+ if ( is_paged() ) {
707
+ $this->_add_item( 'link_format', $label, $url );
708
+ } elseif ( $label ) {
709
+ $this->_add_item( 'target_format', $label );
710
+ }
711
+
712
+ }
713
+
714
+ /**
715
+ * Adds singular post items to the items array.
716
+ *
717
+ * @since 1.0.0
718
+ */
719
+ public function add_singular_items() {
720
+
721
+ /* Get the queried post. */
722
+ $post = get_queried_object();
723
+ $post_id = get_queried_object_id();
724
+
725
+ /* If the post has a parent, follow the parent trail. */
726
+ if ( 0 < $post->post_parent ) {
727
+ $this->add_post_parents( $post->post_parent );
728
+ } else {
729
+ /* If the post doesn't have a parent, get its hierarchy based off the post type. */
730
+ $this->add_post_hierarchy( $post_id );
731
+ }
732
+
733
+ /* Display terms for specific post type taxonomy if requested. */
734
+ $this->add_post_terms( $post_id );
735
+
736
+ /* End with the post title. */
737
+ if ( $post_title = single_post_title( '', false ) ) {
738
+
739
+ if ( 1 < get_query_var( 'page' ) ) {
740
+
741
+ $url = get_permalink( $post_id );
742
+ $label = $post_title;
743
+
744
+ $this->_add_item( 'link_format', $label, $url );
745
+
746
+ }
747
+
748
+ $label = $post_title;
749
+ $this->_add_item( 'target_format', $label );
750
+
751
+ }
752
+ }
753
+
754
+ /**
755
+ * Adds a post's terms from a specific taxonomy to the items array.
756
+ *
757
+ * @since 1.0.0
758
+ *
759
+ * @param int $post_id The ID of the post to get the terms for.
760
+ */
761
+ public function add_post_terms( $post_id ) {
762
+
763
+ if ( 'minified' == $this->args['path_type'] ) {
764
+ return;
765
+ }
766
+
767
+ /* Get the post type. */
768
+ $post_type = get_post_type( $post_id );
769
+
770
+ /* Add the terms of the taxonomy for this post. */
771
+ if ( ! empty( $this->args['post_taxonomy'][ $post_type ] ) ) {
772
+
773
+ $post_terms = wp_get_post_terms( $post_id, $this->args['post_taxonomy'][ $post_type ] );
774
+
775
+ if ( is_array( $post_terms ) && isset( $post_terms[0] ) && is_object( $post_terms[0] ) ) {
776
+ $term_id = $post_terms[0]->term_id;
777
+ $this->add_term_parents( $term_id, $this->args['post_taxonomy'][ $post_type ] );
778
+ }
779
+ }
780
+ }
781
+
782
+ /**
783
+ * Gets post types by slug. This is needed because the get_post_types() function doesn't exactly
784
+ * match the 'has_archive' argument when it's set as a string instead of a boolean.
785
+ *
786
+ * @since 1.0.0
787
+ *
788
+ * @param int $slug The post type archive slug to search for.
789
+ */
790
+ public function get_post_types_by_slug( $slug ) {
791
+
792
+ $return = array();
793
+
794
+ $post_types = get_post_types( array(), 'objects' );
795
+
796
+ foreach ( $post_types as $type ) {
797
+
798
+ if ( $slug === $type->has_archive || ( true === $type->has_archive && $slug === $type->rewrite['slug'] ) ) {
799
+ $return[] = $type;
800
+ }
801
+ }
802
+
803
+ return $return;
804
+ }
805
+
806
+ /**
807
+ * Adds the items to the trail items array for taxonomy term archives.
808
+ *
809
+ * @since 1.0.0
810
+ */
811
+ public function add_term_archive_items() {
812
+
813
+ global $wp_rewrite;
814
+
815
+ /* Get some taxonomy and term variables. */
816
+ $term = get_queried_object();
817
+ $taxonomy = get_taxonomy( $term->taxonomy );
818
+
819
+ /* If there are rewrite rules for the taxonomy. */
820
+ if ( false !== $taxonomy->rewrite ) {
821
+
822
+ $post_type_catched = false;
823
+
824
+ /* If 'with_front' is true, dd $wp_rewrite->front to the trail. */
825
+ if ( $taxonomy->rewrite['with_front'] && $wp_rewrite->front ) {
826
+ $this->add_rewrite_front_items();
827
+ }
828
+
829
+ /* Get parent pages by path if they exist. */
830
+ $this->add_path_parents( $taxonomy->rewrite['slug'] );
831
+
832
+ /* Add post type archive if its 'has_archive' matches the taxonomy rewrite 'slug'. */
833
+ if ( $taxonomy->rewrite['slug'] ) {
834
+
835
+ $slug = trim( $taxonomy->rewrite['slug'], '/' );
836
+
837
+ /**
838
+ * Deals with the situation if the slug has a '/' between multiple strings. For
839
+ * example, "movies/genres" where "movies" is the post type archive.
840
+ */
841
+ $matches = explode( '/', $slug );
842
+
843
+ /* If matches are found for the path. */
844
+ if ( isset( $matches ) ) {
845
+
846
+ /* Reverse the array of matches to search for posts in the proper order. */
847
+ $matches = array_reverse( $matches );
848
+
849
+ /* Loop through each of the path matches. */
850
+ foreach ( $matches as $match ) {
851
+
852
+ /* If a match is found. */
853
+ $slug = $match;
854
+
855
+ /* Get public post types that match the rewrite slug. */
856
+ $post_types = $this->get_post_types_by_slug( $match );
857
+
858
+ if ( ! empty( $post_types ) ) {
859
+
860
+ $post_type_object = $post_types[0];
861
+
862
+ $url = get_post_type_archive_link( $post_type_object->name );
863
+ /* Add support for a non-standard label of 'archive_title' (special use case). */
864
+ $label = ! empty( $post_type_object->labels->archive_title )
865
+ ? $post_type_object->labels->archive_title
866
+ : $post_type_object->labels->name;
867
+
868
+ /* Add the post type archive link to the trail. */
869
+ $this->_add_item( 'link_format', $label, $url );
870
+
871
+ $post_type_catched = true;
872
+ /* Break out of the loop. */
873
+ break;
874
+ }
875
+ }
876
+ }
877
+ }
878
+
879
+ /* Add the post type archive link to the trail for custom post types */
880
+ if ( ! $post_type_catched ) {
881
+ $post_type = isset( $taxonomy->object_type[0] ) ? $taxonomy->object_type[0] : false;
882
+
883
+ if ( $post_type && 'post' != $post_type ) {
884
+ $post_type_object = get_post_type_object( $post_type );
885
+
886
+ $url = get_post_type_archive_link( $post_type_object->name );
887
+ /* Add support for a non-standard label of 'archive_title' (special use case). */
888
+ $label = ! empty( $post_type_object->labels->archive_title )
889
+ ? $post_type_object->labels->archive_title
890
+ : $post_type_object->labels->name;
891
+
892
+ $this->_add_item( 'link_format', $label, $url );
893
+
894
+ }
895
+ }
896
+ }
897
+
898
+ /* If the taxonomy is hierarchical, list its parent terms. */
899
+ if ( is_taxonomy_hierarchical( $term->taxonomy ) && $term->parent ) {
900
+ $this->add_term_parents( $term->parent, $term->taxonomy );
901
+ }
902
+
903
+ $label = single_term_title( '', false );
904
+
905
+ /* Add the term name to the trail end. */
906
+ if ( is_paged() ) {
907
+
908
+ $url = esc_url( get_term_link( $term, $term->taxonomy ) );
909
+ $this->_add_item( 'link_format', $label, $url );
910
+
911
+ }
912
+
913
+ $this->_add_item( 'target_format', $label );
914
+
915
+ }
916
+
917
+ /**
918
+ * Adds the items to the trail items array for post type archives.
919
+ *
920
+ * @since 1.0.0
921
+ */
922
+ public function add_post_type_archive_items() {
923
+
924
+ /* Get the post type object. */
925
+ $post_type_object = get_post_type_object( get_query_var( 'post_type' ) );
926
+
927
+ if ( false !== $post_type_object->rewrite ) {
928
+
929
+ /* If 'with_front' is true, add $wp_rewrite->front to the trail. */
930
+ if ( $post_type_object->rewrite['with_front'] ) {
931
+ $this->add_rewrite_front_items();
932
+ }
933
+ }
934
+
935
+ /* Add the post type [plural] name to the trail end. */
936
+ if ( is_paged() ) {
937
+
938
+ $url = esc_url( get_post_type_archive_link( $post_type_object->name ) );
939
+ $label = post_type_archive_title( '', false );
940
+
941
+ $this->_add_item( 'link_format', $label, $url );
942
+
943
+ }
944
+
945
+ $label = post_type_archive_title( '', false );
946
+ $this->_add_item( 'target_format', $label );
947
+
948
+ }
949
+
950
+ /**
951
+ * Adds the items to the trail items array for user (author) archives.
952
+ *
953
+ * @since 1.0.0
954
+ */
955
+ public function add_user_archive_items() {
956
+ global $wp_rewrite;
957
+
958
+ /* Add $wp_rewrite->front to the trail. */
959
+ $this->add_rewrite_front_items();
960
+
961
+ /* Get the user ID. */
962
+ $user_id = get_query_var( 'author' );
963
+
964
+ /* If $author_base exists, check for parent pages. */
965
+ if ( ! empty( $wp_rewrite->author_base ) ) {
966
+ $this->add_path_parents( $wp_rewrite->author_base );
967
+ }
968
+
969
+ $label = get_the_author_meta( 'display_name', $user_id );
970
+
971
+ /* Add the author's display name to the trail end. */
972
+ if ( is_paged() ) {
973
+
974
+ $url = esc_url( get_author_posts_url( $user_id ) );
975
+ $this->_add_item( 'link_format', $label, $url );
976
+
977
+ }
978
+
979
+ $this->_add_item( 'target_format', $label );
980
+
981
+ }
982
+
983
+ /**
984
+ * Adds the items to the trail items array for minute + hour archives.
985
+ *
986
+ * @since 1.0.0
987
+ */
988
+ public function add_minute_hour_archive_items() {
989
+
990
+ /* Add $wp_rewrite->front to the trail. */
991
+ $this->add_rewrite_front_items();
992
+
993
+ /* Add the minute + hour item. */
994
+ $label = sprintf(
995
+ $this->args['labels']['archive_minute_hour'],
996
+ get_the_time( $this->args['date_labels']['archive_minute_hour'] )
997
+ );
998
+ $this->_add_item( 'target_format', $label );
999
+
1000
+ }
1001
+
1002
+ /**
1003
+ * Adds the items to the trail items array for minute archives.
1004
+ *
1005
+ * @since 1.0.0
1006
+ */
1007
+ public function add_minute_archive_items() {
1008
+
1009
+ /* Add $wp_rewrite->front to the trail. */
1010
+ $this->add_rewrite_front_items();
1011
+
1012
+ /* Add the minute item. */
1013
+ $label = sprintf(
1014
+ $this->args['labels']['archive_minute'],
1015
+ get_the_time( $this->args['date_labels']['archive_minute'] )
1016
+ );
1017
+
1018
+ $this->_add_item( 'target_format', $label );
1019
+
1020
+ }
1021
+
1022
+ /**
1023
+ * Adds the items to the trail items array for hour archives.
1024
+ *
1025
+ * @since 1.0.0
1026
+ */
1027
+ public function add_hour_archive_items() {
1028
+
1029
+ /* Add $wp_rewrite->front to the trail. */
1030
+ $this->add_rewrite_front_items();
1031
+
1032
+ /* Add the hour item. */
1033
+ $label = sprintf(
1034
+ $this->args['labels']['archive_hour'],
1035
+ get_the_time( $this->args['date_labels']['archive_hour'] )
1036
+ );
1037
+ $this->_add_item( 'target_format', $label );
1038
+
1039
+ }
1040
+
1041
+ /**
1042
+ * Adds the items to the trail items array for day archives.
1043
+ *
1044
+ * @since 1.0.0
1045
+ */
1046
+ public function add_day_archive_items() {
1047
+
1048
+ /* Add $wp_rewrite->front to the trail. */
1049
+ $this->add_rewrite_front_items();
1050
+
1051
+ /* Get year, month, and day. */
1052
+ $year = sprintf(
1053
+ $this->args['labels']['archive_year'],
1054
+ get_the_time( $this->args['date_labels']['archive_year'] )
1055
+ );
1056
+
1057
+ $month = sprintf(
1058
+ $this->args['labels']['archive_month'],
1059
+ get_the_time( $this->args['date_labels']['archive_month'] )
1060
+ );
1061
+
1062
+ $day = sprintf(
1063
+ $this->args['labels']['archive_day'],
1064
+ get_the_time( $this->args['date_labels']['archive_day'] )
1065
+ );
1066
+
1067
+ /* Add the year and month items. */
1068
+ $this->_add_item(
1069
+ 'link_format',
1070
+ $year,
1071
+ get_year_link( get_the_time( 'Y' ) )
1072
+ );
1073
+
1074
+ $this->_add_item(
1075
+ 'link_format',
1076
+ $month,
1077
+ get_month_link( get_the_time( 'Y' ), get_the_time( 'm' ) )
1078
+ );
1079
+
1080
+ /* Add the day item. */
1081
+ if ( is_paged() ) {
1082
+
1083
+ $this->_add_item(
1084
+ 'link_format',
1085
+ $day,
1086
+ get_day_link( get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' ) )
1087
+ );
1088
+
1089
+ }
1090
+
1091
+ $this->_add_item( 'target_format', $day );
1092
+
1093
+ }
1094
+
1095
+ /**
1096
+ * Adds the items to the trail items array for week archives.
1097
+ *
1098
+ * @since 1.0.0
1099
+ */
1100
+ public function add_week_archive_items() {
1101
+
1102
+ /* Add $wp_rewrite->front to the trail. */
1103
+ $this->add_rewrite_front_items();
1104
+
1105
+ /* Get the year and week. */
1106
+ $year = sprintf(
1107
+ $this->args['labels']['archive_year'],
1108
+ get_the_time( $this->args['date_labels']['archive_year'] )
1109
+ );
1110
+ $week = sprintf(
1111
+ $this->args['labels']['archive_week'],
1112
+ get_the_time( $this->args['date_labels']['archive_week'] )
1113
+ );
1114
+
1115
+ /* Add the year item. */
1116
+ $this->_add_item(
1117
+ 'link_format',
1118
+ $year,
1119
+ get_year_link( get_the_time( 'Y' ) )
1120
+ );
1121
+
1122
+ /* Add the week item. */
1123
+ if ( is_paged() ) {
1124
+
1125
+ $this->_add_item(
1126
+ 'link_format',
1127
+ $week,
1128
+ add_query_arg( array( 'm' => get_the_time( 'Y' ), 'w' => get_the_time( 'W' ) ), home_url( '/' ) )
1129
+ );
1130
+
1131
+ }
1132
+
1133
+ $this->_add_item( 'target_format', $week );
1134
+
1135
+ }
1136
+
1137
+ /**
1138
+ * Adds the items to the trail items array for month archives.
1139
+ *
1140
+ * @since 1.0.0
1141
+ */
1142
+ public function add_month_archive_items() {
1143
+
1144
+ /* Add $wp_rewrite->front to the trail. */
1145
+ $this->add_rewrite_front_items();
1146
+
1147
+ /* Get the year and month. */
1148
+ $year = sprintf(
1149
+ $this->args['labels']['archive_year'],
1150
+ get_the_time( $this->args['date_labels']['archive_year'] )
1151
+ );
1152
+ $month = sprintf(
1153
+ $this->args['labels']['archive_month'],
1154
+ get_the_time( $this->args['date_labels']['archive_month'] )
1155
+ );
1156
+
1157
+ /* Add the year item. */
1158
+ $this->_add_item(
1159
+ 'link_format',
1160
+ $year,
1161
+ get_year_link( get_the_time( 'Y' ) )
1162
+ );
1163
+
1164
+ /* Add the month item. */
1165
+ if ( is_paged() ) {
1166
+ $this->_add_item(
1167
+ 'link_format',
1168
+ $month,
1169
+ get_month_link( get_the_time( 'Y' ), get_the_time( 'm' ) )
1170
+ );
1171
+
1172
+ }
1173
+
1174
+ $this->_add_item( 'target_format', $month );
1175
+ }
1176
+
1177
+ /**
1178
+ * Adds the items to the trail items array for year archives.
1179
+ *
1180
+ * @since 1.0.0
1181
+ */
1182
+ public function add_year_archive_items() {
1183
+
1184
+ /* Add $wp_rewrite->front to the trail. */
1185
+ $this->add_rewrite_front_items();
1186
+
1187
+ /* Get the year. */
1188
+ $year = sprintf(
1189
+ $this->args['labels']['archive_year'],
1190
+ get_the_time( $this->args['date_labels']['archive_year'] )
1191
+ );
1192
+
1193
+ /* Add the year item. */
1194
+ if ( is_paged() ) {
1195
+ $this->_add_item(
1196
+ 'link_format',
1197
+ $year,
1198
+ get_year_link( get_the_time( 'Y' ) )
1199
+ );
1200
+ }
1201
+
1202
+ $this->_add_item( 'target_format', $year );
1203
+
1204
+ }
1205
+
1206
+ /**
1207
+ * Adds the items to the trail items array for archives that don't have a more specific method
1208
+ * defined in this class.
1209
+ *
1210
+ * @since 1.0.0
1211
+ */
1212
+ public function add_default_archive_items() {
1213
+
1214
+ /* If this is a date-/time-based archive, add $wp_rewrite->front to the trail. */
1215
+ if ( is_date() || is_time() ) {
1216
+ $this->add_rewrite_front_items();
1217
+ }
1218
+
1219
+ $this->_add_item( 'target_format', $this->args['labels']['archives'] );
1220
+
1221
+ }
1222
+
1223
+ /**
1224
+ * Adds the items to the trail items array for search results.
1225
+ *
1226
+ * @since 1.0.0
1227
+ */
1228
+ public function add_search_items() {
1229
+
1230
+ $label = sprintf( $this->args['labels']['search'], get_search_query() );
1231
+
1232
+ if ( is_paged() ) {
1233
+ $url = get_search_link();
1234
+ $this->_add_item( 'link_format', $label, $url );
1235
+
1236
+ }
1237
+
1238
+ $this->_add_item( 'target_format', $label );
1239
+ }
1240
+
1241
+ /**
1242
+ * Adds the items to the trail items array for 404 pages.
1243
+ *
1244
+ * @since 1.0.0
1245
+ * @return void
1246
+ */
1247
+ public function add_404_items() {
1248
+
1249
+ $this->_add_item( 'target_format', $this->args['labels']['error_404'] );
1250
+
1251
+ }
1252
+
1253
+ /**
1254
+ * Add post parents link to breadcrumbs items
1255
+ *
1256
+ * @since 1.0.0
1257
+ *
1258
+ * @param int $post_id first parent post ID.
1259
+ */
1260
+ public function add_post_parents( $post_id ) {
1261
+
1262
+ $parents = array();
1263
+
1264
+ while ( $post_id ) {
1265
+
1266
+ $url = get_permalink( $post_id );
1267
+ $label = get_the_title( $post_id );
1268
+ $title = esc_attr( $label );
1269
+
1270
+ $item = sprintf(
1271
+ $this->args['link_format'],
1272
+ $label, $this->css['link'], $title, $url
1273
+ );
1274
+
1275
+ $parents[] = sprintf( $this->args['item_format'], $item, esc_attr( $this->css['item'] ) );
1276
+
1277
+ $post = get_post( $post_id );
1278
+ // If there's no longer a post parent, break out of the loop.
1279
+ if ( 0 >= $post->post_parent ) {
1280
+ break;
1281
+ }
1282
+
1283
+ // Change the post ID to the parent post to continue looping.
1284
+ $post_id = $post->post_parent;
1285
+ }
1286
+
1287
+ // Get the post hierarchy based off the final parent post.
1288
+ $this->add_post_hierarchy( $post_id );
1289
+ $this->add_post_terms( $post_id );
1290
+
1291
+ // Merge the parent items into the items array.
1292
+ $this->items = array_merge( $this->items, array_reverse( $parents ) );
1293
+ }
1294
+
1295
+ /**
1296
+ * Adds a specific post's hierarchy to the items array.
1297
+ * The hierarchy is determined by post type's
1298
+ * rewrite arguments and whether it has an archive page.
1299
+ *
1300
+ * @since 1.0.0
1301
+ *
1302
+ * @param int $post_id The ID of the post to get the hierarchy for.
1303
+ * @return void
1304
+ */
1305
+ public function add_post_hierarchy( $post_id ) {
1306
+
1307
+ if ( 'minified' == $this->args['path_type'] ) {
1308
+ return;
1309
+ }
1310
+
1311
+ // Get the post type.
1312
+ $post_type = get_post_type( $post_id );
1313
+ $post_type_object = get_post_type_object( $post_type );
1314
+
1315
+ // If this is the 'post' post type, get the rewrite front items and map the rewrite tags.
1316
+ if ( 'post' === $post_type ) {
1317
+ // Get permalink specific breadcrumb items
1318
+ $this->add_rewrite_front_items();
1319
+ $this->map_rewrite_tags( $post_id, get_option( 'permalink_structure' ) );
1320
+ } elseif ( false !== $post_type_object->rewrite ) {
1321
+ // Add post type specific items
1322
+ if ( isset( $post_type_object->rewrite['with_front'] ) && $post_type_object->rewrite['with_front'] ) {
1323
+ $this->add_rewrite_front_items();
1324
+ }
1325
+ }
1326
+
1327
+ /* If there's an archive page, add it to the trail. */
1328
+ if ( ! empty( $post_type_object->has_archive ) ) {
1329
+
1330
+ $url = get_post_type_archive_link( $post_type );
1331
+ /* Add support for a non-standard label of 'archive_title' (special use case). */
1332
+ $label = ! empty( $post_type_object->labels->archive_title )
1333
+ ? $post_type_object->labels->archive_title
1334
+ : $post_type_object->labels->name;
1335
+
1336
+ $this->_add_item( 'link_format', $label, $url );
1337
+ }
1338
+ }
1339
+
1340
+ /**
1341
+ * Searches for term parents of hierarchical taxonomies.
1342
+ * This function is similar to the WordPress function get_category_parents() but handles any type of taxonomy.
1343
+ *
1344
+ * @since 1.0.0
1345
+ *
1346
+ * @param int $term_id ID of the term to get the parents of.
1347
+ * @param string $taxonomy Name of the taxonomy for the given term.
1348
+ */
1349
+ function add_term_parents( $term_id, $taxonomy ) {
1350
+
1351
+ if ( 'minified' == $this->args['path_type'] ) {
1352
+ return;
1353
+ }
1354
+
1355
+ /* Set up some default arrays. */
1356
+ $parents = array();
1357
+
1358
+ /* While there is a parent ID, add the parent term link to the $parents array. */
1359
+ while ( $term_id ) {
1360
+
1361
+ /* Get the parent term. */
1362
+ $term = get_term( $term_id, $taxonomy );
1363
+
1364
+ $url = get_term_link( $term_id, $taxonomy );
1365
+ $label = $term->name;
1366
+ $title = esc_attr( $label );
1367
+
1368
+ $item = sprintf(
1369
+ $this->args['link_format'],
1370
+ $label, $this->css['link'], $title, $url
1371
+ );
1372
+
1373
+ $parents[] = sprintf( $this->args['item_format'], $item, esc_attr( $this->css['item'] ) );
1374
+
1375
+ /* Set the parent term's parent as the parent ID. */
1376
+ $term_id = $term->parent;
1377
+ }
1378
+
1379
+ /* If we have parent terms, reverse the array to put them in the proper order for the trail. */
1380
+ if ( ! empty( $parents ) ) {
1381
+ $this->items = array_merge( $this->items, array_reverse( $parents ) );
1382
+ }
1383
+ }
1384
+
1385
+ /**
1386
+ * Service function to process single tag item.
1387
+ *
1388
+ * @param string $tag Single tag.
1389
+ * @param int $post_id Processed post ID.
1390
+ */
1391
+ function _process_single_tag( $tag, $post_id ) {
1392
+
1393
+ global $post;
1394
+
1395
+ /* Trim any '/' from the $tag. */
1396
+ $tag = trim( $tag, '/' );
1397
+
1398
+ /* If using the %year% tag, add a link to the yearly archive. */
1399
+ if ( '%year%' == $tag ) {
1400
+
1401
+ $url = get_year_link( get_the_time( 'Y', $post_id ) );
1402
+ $label = sprintf(
1403
+ $this->args['labels']['archive_year'],
1404
+ get_the_time( $this->args['date_labels']['archive_year'] )
1405
+ );
1406
+
1407
+ $this->_add_item( 'link_format', $label, $url );
1408
+
1409
+ /* If using the %monthnum% tag, add a link to the monthly archive. */
1410
+ } elseif ( '%monthnum%' == $tag ) {
1411
+
1412
+ $url = get_month_link( get_the_time( 'Y', $post_id ), get_the_time( 'm', $post_id ) );
1413
+ $label = sprintf(
1414
+ $this->args['labels']['archive_month'],
1415
+ get_the_time( $this->args['date_labels']['archive_month'] )
1416
+ );
1417
+
1418
+ $this->_add_item( 'link_format', $label, $url );
1419
+
1420
+ /* If using the %day% tag, add a link to the daily archive. */
1421
+ } elseif ( '%day%' == $tag ) {
1422
+
1423
+ $url = get_day_link(
1424
+ get_the_time( 'Y', $post_id ), get_the_time( 'm', $post_id ), get_the_time( 'd', $post_id )
1425
+ );
1426
+ $label = sprintf(
1427
+ $this->args['labels']['archive_day'],
1428
+ get_the_time( $this->args['date_labels']['archive_day'] )
1429
+ );
1430
+
1431
+ $this->_add_item( 'link_format', $label, $url );
1432
+
1433
+ /* If using the %author% tag, add a link to the post author archive. */
1434
+ } elseif ( '%author%' == $tag ) {
1435
+
1436
+ $url = get_author_posts_url( $post->post_author );
1437
+ $label = get_the_author_meta( 'display_name', $post->post_author );
1438
+
1439
+ $this->_add_item( 'link_format', $label, $url );
1440
+
1441
+ /* If using the %category% tag, add a link to the first category archive to match permalinks. */
1442
+ } elseif ( '%category%' == $tag ) {
1443
+
1444
+ /* Force override terms in this post type. */
1445
+ $this->args['post_taxonomy'][ $post->post_type ] = false;
1446
+
1447
+ /* Get the post categories. */
1448
+ $terms = get_the_category( $post_id );
1449
+
1450
+ /* Check that categories were returned. */
1451
+ if ( $terms ) {
1452
+
1453
+ /* Sort the terms by ID and get the first category. */
1454
+ usort( $terms, '_usort_terms_by_ID' );
1455
+ $term = get_term( $terms[0], 'category' );
1456
+
1457
+ /* If the category has a parent, add the hierarchy to the trail. */
1458
+ if ( 0 < $term->parent ) {
1459
+ $this->add_term_parents( $term->parent, 'category' );
1460
+ }
1461
+
1462
+ $url = get_term_link( $term, 'category' );
1463
+ $label = $term->name;
1464
+
1465
+ $this->_add_item( 'link_format', $label, $url );
1466
+ }
1467
+ }
1468
+ }
1469
+
1470
+
1471
+ /**
1472
+ * Turns %tag% from permalink structures into usable links for the breadcrumb trail.
1473
+ * This feels kind of hackish for now because we're checking for specific %tag% examples and only doing
1474
+ * it for the 'post' post type. In the future, maybe it'll handle a wider variety of possibilities,
1475
+ * especially for custom post types.
1476
+ *
1477
+ * @since 1.0.0
1478
+ *
1479
+ * @param int $post_id ID of the post whose parents we want.
1480
+ * @param string $path Path of a potential parent page.
1481
+ */
1482
+ public function map_rewrite_tags( $post_id, $path ) {
1483
+
1484
+ /* Get the post based on the post ID. */
1485
+ $post = get_post( $post_id );
1486
+
1487
+ /* If no post is returned, an error is returned, or the post does not have a 'post' post type, return. */
1488
+ if ( empty( $post ) || is_wp_error( $post ) || 'post' !== $post->post_type ) {
1489
+ return;
1490
+ }
1491
+
1492
+ /* Trim '/' from both sides of the $path. */
1493
+ $path = trim( $path, '/' );
1494
+
1495
+ /* Split the $path into an array of strings. */
1496
+ $matches = explode( '/', $path );
1497
+
1498
+ /* If matches are found for the path. */
1499
+ if ( ! is_array( $matches ) ) {
1500
+ return;
1501
+ }
1502
+
1503
+ /* Loop through each of the matches, adding each to the $trail array. */
1504
+ foreach ( $matches as $match ) {
1505
+ $this->_process_single_tag( $match, $post_id );
1506
+ }
1507
+ }
1508
+
1509
+ /**
1510
+ * Try to escape font icon from passed label and return it if found, or return label
1511
+ *
1512
+ * @since 1.0.0
1513
+ * @param string $label Passed label.
1514
+ * @param bool|string $fallback Optional fallback text to add inside icon tag.
1515
+ * @return string
1516
+ */
1517
+ public function prepare_label( $label, $fallback = false ) {
1518
+
1519
+ $prefix = 'icon:';
1520
+
1521
+ // Return simple text label if icon not found
1522
+ if ( false === strpos( $label, $prefix ) ) {
1523
+ return $label;
1524
+ }
1525
+
1526
+ $label = str_replace( $prefix, '', $label );
1527
+ $label = str_replace( '.', '', $label );
1528
+
1529
+ if ( false !== $fallback ) {
1530
+ $fallback = sprintf(
1531
+ apply_filters( 'cherry_breadcrumbs_icon_fallback', '<span class="hidden">%s</span>', $fallback ),
1532
+ esc_attr( $fallback )
1533
+ );
1534
+ }
1535
+
1536
+ // Check if is Font Awesome icon
1537
+ if ( 0 === strpos( $label, 'fa-' ) ) {
1538
+ return sprintf( '<i class="fa %1$s">%2$s</i>', esc_attr( $label ), $fallback );
1539
+ }
1540
+
1541
+ // Return default icon
1542
+ return sprintf(
1543
+ apply_filters( 'cherry_breadcrumbs_default_icon_format', '<span class="%1$s">%2$s</span>', $label, $fallback ),
1544
+ esc_attr( $label ), $fallback
1545
+ );
1546
+
1547
+ }
1548
+
1549
+ /**
1550
+ * Returns the instance.
1551
+ *
1552
+ * @since 1.0.0
1553
+ * @return object
1554
+ */
1555
+ public static function get_instance( $core, $args ) {
1556
+
1557
+ // If the single instance hasn't been set, set it now.
1558
+ if ( null == self::$instance ) {
1559
+ self::$instance = new self( $core, $args );
1560
+ }
1561
+
1562
+ return self::$instance;
1563
+ }
1564
+ }
1565
+ }
cherry-framework/modules/cherry-creator/cherry-creator.php ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Creator
4
+ *
5
+ * Module Name: Creator
6
+ * Description: Creator
7
+ * Version: 1.1.0
8
+ * Author: Cherry Team
9
+ * Author URI: http://www.cherryframework.com/
10
+ * License: GPLv3
11
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
+ *
13
+ * @package Cherry_Framework
14
+ * @subpackage Modules
15
+ * @version 1.1.0
16
+ * @author Cherry Team <cherryframework@gmail.com>
17
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
18
+ * @link http://www.cherryframework.com/
19
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
20
+ */
21
+
22
+ // If this file is called directly, abort.
23
+ if ( ! defined( 'WPINC' ) ) {
24
+ die;
25
+ }
26
+
27
+ if ( ! class_exists( 'Cherry_Creator' ) ) {
28
+
29
+ /**
30
+ * Cherry post types class
31
+ */
32
+ class Cherry_Creator {
33
+
34
+ /**
35
+ * Module version
36
+ *
37
+ * @var string
38
+ */
39
+ public $module_version = '1.1.0';
40
+
41
+ /**
42
+ * Module slug
43
+ *
44
+ * @var string
45
+ */
46
+ public $module_slug = 'cherry-creator';
47
+
48
+ /**
49
+ * Default post type arguments
50
+ *
51
+ * @var null
52
+ */
53
+ private $defaults = null;
54
+
55
+ /**
56
+ * Module directory
57
+ *
58
+ * @since 1.0.0
59
+ * @var string
60
+ */
61
+ private $module_directory = '';
62
+
63
+ /**
64
+ * Cherry_Post_Type class constructor
65
+ */
66
+ public function __construct( $core, $args = array() ) {
67
+ $this->defaults = $args;
68
+ $this->module_directory = $core->settings['base_dir'] . '/modules/' . $this->module_slug;
69
+
70
+ // Load Creator Term
71
+ if ( ! class_exists( 'Cherry_Creator_Term' ) ) {
72
+ require_once( $this->module_directory . '/inc/cherry-creator-term.php' );
73
+ }
74
+ }
75
+
76
+ /**
77
+ * Create Chery_Creator_Term object
78
+ *
79
+ * @param [type] $title term.
80
+ * @param [string] $tax taxonomy.
81
+ * @param array $args arguments.
82
+ * @return Chery_Creator_Term
83
+ */
84
+ public static function term( $title, $tax = 'category', $args = array() ) {
85
+ // Load Creator Term
86
+ if ( ! class_exists( 'Cherry_Creator_Term' ) ) {
87
+ require_once( 'cherry-creator-term.php' );
88
+ }
89
+ return new Cherry_Creator_Term( $title, $tax, $args );
90
+ }
91
+
92
+ /**
93
+ * New / Update post
94
+ *
95
+ * @param array $properties new or update post properties.
96
+ * @return post id or 0.
97
+ */
98
+ public static function post( $properties = array(), $unique = false ) {
99
+ if ( $unique && array_key_exists( 'post_title', $properties ) ) {
100
+ $post_type = 'page';
101
+ if ( array_key_exists( 'post_type', $properties ) ) {
102
+ $post_type = $properties['post_type'];
103
+ }
104
+ $post = get_page_by_path( sanitize_title( $properties['post_title'] ), OBJECT, $post_type );
105
+ if ( null !== $post ) {
106
+ $properties['ID'] = $post->ID;
107
+ }
108
+ }
109
+ return wp_insert_post( $properties );
110
+ }
111
+
112
+ /**
113
+ * Returns the instance.
114
+ *
115
+ * @since 1.0.0
116
+ * @return object
117
+ */
118
+ public static function get_instance( $core, $args ) {
119
+ return new self( $core, $args );
120
+ }
121
+ }
122
+ }
cherry-framework/modules/cherry-creator/inc/cherry-creator-term.php ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Creator term
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ /**
14
+ * Cherry_Creator_Term class
15
+ */
16
+ class Cherry_Creator_Term {
17
+
18
+ /**
19
+ * Term title
20
+ *
21
+ * @var string
22
+ */
23
+ private $title;
24
+
25
+ /**
26
+ * Term taxonomy
27
+ *
28
+ * @var string
29
+ */
30
+ private $taxonomy = 'category';
31
+
32
+ /**
33
+ * Term arguments
34
+ *
35
+ * @var array
36
+ */
37
+ private $arguments = array();
38
+
39
+ /**
40
+ * Inserted term
41
+ *
42
+ * @var null
43
+ */
44
+ private $inserted = null;
45
+
46
+ /**
47
+ * Cherry_Creator_Term
48
+ *
49
+ * @param [type] $title term title.
50
+ * @param [string] $tax taxonomy.
51
+ * @param array $args arguments.
52
+ */
53
+ public function __construct( $title, $tax = 'category', $args = array() ) {
54
+ $this->title = $title;
55
+ $this->taxonomy = $tax;
56
+ $this->arguments = $args;
57
+ }
58
+
59
+ /**
60
+ * Insert term
61
+ *
62
+ * @return Cherry_Creator_Term
63
+ */
64
+ public function insert( $unique = false ) {
65
+ if ( ! is_array( $this->inserted ) ) {
66
+ if ( $unique ) {
67
+ if ( ! term_exists( $this->get_term_slug(), $this->taxonomy ) ) {
68
+ $this->_insert();
69
+ }
70
+ } else {
71
+ $this->_insert();
72
+ }
73
+ }
74
+ return $this;
75
+ }
76
+
77
+ /**
78
+ * Insert term without checking
79
+ *
80
+ * @return Cherry_Creator_Term
81
+ */
82
+ private function _insert() {
83
+ $this->inserted = wp_insert_term(
84
+ $this->title,
85
+ $this->taxonomy,
86
+ $this->arguments
87
+ );
88
+ return $this;
89
+ }
90
+
91
+ /**
92
+ * Set parent by slug
93
+ *
94
+ * @param [type] $parent_slug parent.
95
+ */
96
+ public function set_parent_by_slug( $parent_slug = null ) {
97
+ if ( null !== $parent_slug ) {
98
+ $term = get_term_by( 'slug', $parent_slug, $this->taxonomy );
99
+ if ( $term ) {
100
+ $this->arguments['parent'] = $term->term_id;
101
+ }
102
+ }
103
+ return $this;
104
+ }
105
+
106
+ /**
107
+ * Get inserted object
108
+ *
109
+ * @return mixed.
110
+ */
111
+ public function get_inserted() {
112
+ return $this->inserted;
113
+ }
114
+
115
+ /**
116
+ * Get term slug
117
+ *
118
+ * @return [type] term slug.
119
+ */
120
+ public function get_term_slug() {
121
+ if ( array_key_exists( 'slug', $this->arguments ) ) {
122
+ return $this->arguments['slug'];
123
+ }
124
+ return sanitize_title( $this->title );
125
+ }
126
+ }
cherry-framework/modules/cherry-customizer/assets/fonts/google.json ADDED
@@ -0,0 +1,13772 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "kind": "webfonts#webfontList",
3
+ "items": [
4
+ {
5
+ "kind": "webfonts#webfont",
6
+ "family": "ABeeZee",
7
+ "category": "sans-serif",
8
+ "variants": [
9
+ "regular",
10
+ "italic"
11
+ ],
12
+ "subsets": [
13
+ "latin"
14
+ ],
15
+ "version": "v9",
16
+ "lastModified": "2016-04-25",
17
+ "files": {
18
+ "regular": "http://fonts.gstatic.com/s/abeezee/v9/mE5BOuZKGln_Ex0uYKpIaw.ttf",
19
+ "italic": "http://fonts.gstatic.com/s/abeezee/v9/kpplLynmYgP0YtlJA3atRw.ttf"
20
+ }
21
+ },
22
+ {
23
+ "kind": "webfonts#webfont",
24
+ "family": "Abel",
25
+ "category": "sans-serif",
26
+ "variants": [
27
+ "regular"
28
+ ],
29
+ "subsets": [
30
+ "latin"
31
+ ],
32
+ "version": "v6",
33
+ "lastModified": "2016-04-25",
34
+ "files": {
35
+ "regular": "http://fonts.gstatic.com/s/abel/v6/RpUKfqNxoyNe_ka23bzQ2A.ttf"
36
+ }
37
+ },
38
+ {
39
+ "kind": "webfonts#webfont",
40
+ "family": "Abril Fatface",
41
+ "category": "display",
42
+ "variants": [
43
+ "regular"
44
+ ],
45
+ "subsets": [
46
+ "latin",
47
+ "latin-ext"
48
+ ],
49
+ "version": "v8",
50
+ "lastModified": "2016-04-25",
51
+ "files": {
52
+ "regular": "http://fonts.gstatic.com/s/abrilfatface/v8/X1g_KwGeBV3ajZIXQ9VnDojjx0o0jr6fNXxPgYh_a8Q.ttf"
53
+ }
54
+ },
55
+ {
56
+ "kind": "webfonts#webfont",
57
+ "family": "Aclonica",
58
+ "category": "sans-serif",
59
+ "variants": [
60
+ "regular"
61
+ ],
62
+ "subsets": [
63
+ "latin"
64
+ ],
65
+ "version": "v6",
66
+ "lastModified": "2016-04-25",
67
+ "files": {
68
+ "regular": "http://fonts.gstatic.com/s/aclonica/v6/M6pHZMPwK3DiBSlo3jwAKQ.ttf"
69
+ }
70
+ },
71
+ {
72
+ "kind": "webfonts#webfont",
73
+ "family": "Acme",
74
+ "category": "sans-serif",
75
+ "variants": [
76
+ "regular"
77
+ ],
78
+ "subsets": [
79
+ "latin"
80
+ ],
81
+ "version": "v5",
82
+ "lastModified": "2016-04-25",
83
+ "files": {
84
+ "regular": "http://fonts.gstatic.com/s/acme/v5/-J6XNtAHPZBEbsifCdBt-g.ttf"
85
+ }
86
+ },
87
+ {
88
+ "kind": "webfonts#webfont",
89
+ "family": "Actor",
90
+ "category": "sans-serif",
91
+ "variants": [
92
+ "regular"
93
+ ],
94
+ "subsets": [
95
+ "latin"
96
+ ],
97
+ "version": "v6",
98
+ "lastModified": "2016-04-25",
99
+ "files": {
100
+ "regular": "http://fonts.gstatic.com/s/actor/v6/ugMf40CrRK6Jf6Yz_xNSmQ.ttf"
101
+ }
102
+ },
103
+ {
104
+ "kind": "webfonts#webfont",
105
+ "family": "Adamina",
106
+ "category": "serif",
107
+ "variants": [
108
+ "regular"
109
+ ],
110
+ "subsets": [
111
+ "latin"
112
+ ],
113
+ "version": "v8",
114
+ "lastModified": "2016-04-25",
115
+ "files": {
116
+ "regular": "http://fonts.gstatic.com/s/adamina/v8/RUQfOodOMiVVYqFZcSlT9w.ttf"
117
+ }
118
+ },
119
+ {
120
+ "kind": "webfonts#webfont",
121
+ "family": "Advent Pro",
122
+ "category": "sans-serif",
123
+ "variants": [
124
+ "100",
125
+ "200",
126
+ "300",
127
+ "regular",
128
+ "500",
129
+ "600",
130
+ "700"
131
+ ],
132
+ "subsets": [
133
+ "latin",
134
+ "greek",
135
+ "latin-ext"
136
+ ],
137
+ "version": "v4",
138
+ "lastModified": "2016-04-25",
139
+ "files": {
140
+ "100": "http://fonts.gstatic.com/s/adventpro/v4/87-JOpSUecTG50PBYK4ysi3USBnSvpkopQaUR-2r7iU.ttf",
141
+ "200": "http://fonts.gstatic.com/s/adventpro/v4/URTSSjIp0Wr-GrjxFdFWnGeudeTO44zf-ht3k-KNzwg.ttf",
142
+ "300": "http://fonts.gstatic.com/s/adventpro/v4/sJaBfJYSFgoB80OL1_66m0eOrDcLawS7-ssYqLr2Xp4.ttf",
143
+ "regular": "http://fonts.gstatic.com/s/adventpro/v4/1NxMBeKVcNNH2H46AUR3wfesZW2xOQ-xsNqO47m55DA.ttf",
144
+ "500": "http://fonts.gstatic.com/s/adventpro/v4/7kBth2-rT8tP40RmMMXMLJp-63r6doWhTEbsfBIRJ7A.ttf",
145
+ "600": "http://fonts.gstatic.com/s/adventpro/v4/3Jo-2maCzv2QLzQBzaKHV_pTEJqju4Hz1txDWij77d4.ttf",
146
+ "700": "http://fonts.gstatic.com/s/adventpro/v4/M4I6QiICt-ey_wZTpR2gKwJKKGfqHaYFsRG-T3ceEVo.ttf"
147
+ }
148
+ },
149
+ {
150
+ "kind": "webfonts#webfont",
151
+ "family": "Aguafina Script",
152
+ "category": "handwriting",
153
+ "variants": [
154
+ "regular"
155
+ ],
156
+ "subsets": [
157
+ "latin",
158
+ "latin-ext"
159
+ ],
160
+ "version": "v5",
161
+ "lastModified": "2016-04-25",
162
+ "files": {
163
+ "regular": "http://fonts.gstatic.com/s/aguafinascript/v5/65g7cgMtMGnNlNyq_Z6CvMxLhO8OSNnfAp53LK1_iRs.ttf"
164
+ }
165
+ },
166
+ {
167
+ "kind": "webfonts#webfont",
168
+ "family": "Akronim",
169
+ "category": "display",
170
+ "variants": [
171
+ "regular"
172
+ ],
173
+ "subsets": [
174
+ "latin",
175
+ "latin-ext"
176
+ ],
177
+ "version": "v5",
178
+ "lastModified": "2016-04-25",
179
+ "files": {
180
+ "regular": "http://fonts.gstatic.com/s/akronim/v5/qA0L2CSArk3tuOWE1AR1DA.ttf"
181
+ }
182
+ },
183
+ {
184
+ "kind": "webfonts#webfont",
185
+ "family": "Aladin",
186
+ "category": "handwriting",
187
+ "variants": [
188
+ "regular"
189
+ ],
190
+ "subsets": [
191
+ "latin",
192
+ "latin-ext"
193
+ ],
194
+ "version": "v5",
195
+ "lastModified": "2016-04-25",
196
+ "files": {
197
+ "regular": "http://fonts.gstatic.com/s/aladin/v5/PyuJ5cVHkduO0j5fAMKvAA.ttf"
198
+ }
199
+ },
200
+ {
201
+ "kind": "webfonts#webfont",
202
+ "family": "Aldrich",
203
+ "category": "sans-serif",
204
+ "variants": [
205
+ "regular"
206
+ ],
207
+ "subsets": [
208
+ "latin"
209
+ ],
210
+ "version": "v6",
211
+ "lastModified": "2016-04-25",
212
+ "files": {
213
+ "regular": "http://fonts.gstatic.com/s/aldrich/v6/kMMW1S56gFx7RP_mW1g-Eg.ttf"
214
+ }
215
+ },
216
+ {
217
+ "kind": "webfonts#webfont",
218
+ "family": "Alef",
219
+ "category": "sans-serif",
220
+ "variants": [
221
+ "regular",
222
+ "700"
223
+ ],
224
+ "subsets": [
225
+ "latin",
226
+ "hebrew"
227
+ ],
228
+ "version": "v6",
229
+ "lastModified": "2016-04-25",
230
+ "files": {
231
+ "regular": "http://fonts.gstatic.com/s/alef/v6/ENvZ_P0HBDQxNZYCQO0lUA.ttf",
232
+ "700": "http://fonts.gstatic.com/s/alef/v6/VDgZJhEwudtOzOFQpZ8MEA.ttf"
233
+ }
234
+ },
235
+ {
236
+ "kind": "webfonts#webfont",
237
+ "family": "Alegreya",
238
+ "category": "serif",
239
+ "variants": [
240
+ "regular",
241
+ "italic",
242
+ "700",
243
+ "700italic",
244
+ "900",
245
+ "900italic"
246
+ ],
247
+ "subsets": [
248
+ "latin",
249
+ "latin-ext"
250
+ ],
251
+ "version": "v7",
252
+ "lastModified": "2016-04-25",
253
+ "files": {
254
+ "regular": "http://fonts.gstatic.com/s/alegreya/v7/62J3atXd6bvMU4qO_ca-eA.ttf",
255
+ "italic": "http://fonts.gstatic.com/s/alegreya/v7/cbshnQGxwmlHBjUil7DaIfesZW2xOQ-xsNqO47m55DA.ttf",
256
+ "700": "http://fonts.gstatic.com/s/alegreya/v7/5oZtdI5-wQwgAFrd9erCsaCWcynf_cDxXwCLxiixG1c.ttf",
257
+ "700italic": "http://fonts.gstatic.com/s/alegreya/v7/IWi8e5bpnqhMRsZKTcTUWgJKKGfqHaYFsRG-T3ceEVo.ttf",
258
+ "900": "http://fonts.gstatic.com/s/alegreya/v7/oQeMxX-vxGImzDgX6nxA7KCWcynf_cDxXwCLxiixG1c.ttf",
259
+ "900italic": "http://fonts.gstatic.com/s/alegreya/v7/-L71QLH_XqgYWaI1GbOVhp0EAVxt0G0biEntp43Qt6E.ttf"
260
+ }
261
+ },
262
+ {
263
+ "kind": "webfonts#webfont",
264
+ "family": "Alegreya SC",
265
+ "category": "serif",
266
+ "variants": [
267
+ "regular",
268
+ "italic",
269
+ "700",
270
+ "700italic",
271
+ "900",
272
+ "900italic"
273
+ ],
274
+ "subsets": [
275
+ "latin",
276
+ "latin-ext"
277
+ ],
278
+ "version": "v6",
279
+ "lastModified": "2016-04-25",
280
+ "files": {
281
+ "regular": "http://fonts.gstatic.com/s/alegreyasc/v6/3ozeFnTbygMK6PfHh8B-iqCWcynf_cDxXwCLxiixG1c.ttf",
282
+ "italic": "http://fonts.gstatic.com/s/alegreyasc/v6/GOqmv3FLsJ2r6ZALMZVBmkeOrDcLawS7-ssYqLr2Xp4.ttf",
283
+ "700": "http://fonts.gstatic.com/s/alegreyasc/v6/M9OIREoxDkvynwTpBAYUq3e1Pd76Vl7zRpE7NLJQ7XU.ttf",
284
+ "700italic": "http://fonts.gstatic.com/s/alegreyasc/v6/5PCoU7IUfCicpKBJtBmP6c_zJjSACmk0BRPxQqhnNLU.ttf",
285
+ "900": "http://fonts.gstatic.com/s/alegreyasc/v6/M9OIREoxDkvynwTpBAYUqyenaqEuufTBk9XMKnKmgDA.ttf",
286
+ "900italic": "http://fonts.gstatic.com/s/alegreyasc/v6/5PCoU7IUfCicpKBJtBmP6U_yTOUGsoC54csJe1b-IRw.ttf"
287
+ }
288
+ },
289
+ {
290
+ "kind": "webfonts#webfont",
291
+ "family": "Alegreya Sans",
292
+ "category": "sans-serif",
293
+ "variants": [
294
+ "100",
295
+ "100italic",
296
+ "300",
297
+ "300italic",
298
+ "regular",
299
+ "italic",
300
+ "500",
301
+ "500italic",
302
+ "700",
303
+ "700italic",
304
+ "800",
305
+ "800italic",
306
+ "900",
307
+ "900italic"
308
+ ],
309
+ "subsets": [
310
+ "latin",
311
+ "latin-ext",
312
+ "vietnamese"
313
+ ],
314
+ "version": "v3",
315
+ "lastModified": "2016-04-25",
316
+ "files": {
317
+ "100": "http://fonts.gstatic.com/s/alegreyasans/v3/TKyx_-JJ6MdpQruNk-t-PJFGFO4uyVFMfB6LZsii7kI.ttf",
318
+ "100italic": "http://fonts.gstatic.com/s/alegreyasans/v3/gRkSP2lBpqoMTVxg7DmVn2cDnjsrnI9_xJ-5gnBaHsE.ttf",
319
+ "300": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9acB1LjARzAvdqa1uQC32v70.ttf",
320
+ "300italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9CnfqlVoxTUFFx1C8tBqmbcg.ttf",
321
+ "regular": "http://fonts.gstatic.com/s/alegreyasans/v3/KYNzioYhDai7mTMnx_gDgn8f0n03UdmQgF_CLvNR2vg.ttf",
322
+ "italic": "http://fonts.gstatic.com/s/alegreyasans/v3/TKyx_-JJ6MdpQruNk-t-PD4G9C9ttb0Oz5Cvf0qOitE.ttf",
323
+ "500": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9aQqQmZ7VjhwksfpNVG0pqGc.ttf",
324
+ "500italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9Cs7DCVO6wo6i5LKIyZDzK40.ttf",
325
+ "700": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9aVCbmAUID8LN-q3pJpOk3Ys.ttf",
326
+ "700italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9CpF66r9C4AnxxlBlGd7xY4g.ttf",
327
+ "800": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9acxnD5BewVtRRHHljCwR2bM.ttf",
328
+ "800italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9CicOAJ_9MkLPbDmrtXDPbIU.ttf",
329
+ "900": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9aW42xlVP-j5dagE7-AU2zwg.ttf",
330
+ "900italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9ChRaDUI9aE8-k7PrIG2iiuo.ttf"
331
+ }
332
+ },
333
+ {
334
+ "kind": "webfonts#webfont",
335
+ "family": "Alegreya Sans SC",
336
+ "category": "sans-serif",
337
+ "variants": [
338
+ "100",
339
+ "100italic",
340
+ "300",
341
+ "300italic",
342
+ "regular",
343
+ "italic",
344
+ "500",
345
+ "500italic",
346
+ "700",
347
+ "700italic",
348
+ "800",
349
+ "800italic",
350
+ "900",
351
+ "900italic"
352
+ ],
353
+ "subsets": [
354
+ "latin",
355
+ "latin-ext",
356
+ "vietnamese"
357
+ ],
358
+ "version": "v3",
359
+ "lastModified": "2016-04-25",
360
+ "files": {
361
+ "100": "http://fonts.gstatic.com/s/alegreyasanssc/v3/trwFkDJLOJf6hqM93944kVnzStfdnFU-MXbO84aBs_M.ttf",
362
+ "100italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/qG3gA9iy5RpXMH4crZboqqakMVR0XlJhO7VdJ8yYvA4.ttf",
363
+ "300": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR46-1IqtfxJspFjzJp0SaQRcI.ttf",
364
+ "300italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0CnTKaH808trtzttbEg4yVA.ttf",
365
+ "regular": "http://fonts.gstatic.com/s/alegreyasanssc/v3/6kgb6ZvOagoVIRZyl8XV-EklWX-XdLVn1WTiuGuvKIU.ttf",
366
+ "italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/trwFkDJLOJf6hqM93944kTfqo69HNOlCNZvbwAmUtiA.ttf",
367
+ "500": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR46_hHTluI57wqxl55RvSYo3s.ttf",
368
+ "500italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0NqVvxKdFVwqwzilqfVd39U.ttf",
369
+ "700": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR4600aId5t1FC-xZ8nmpa_XLk.ttf",
370
+ "700italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0IBYn3VD6xMEnodOh8pnFw4.ttf",
371
+ "800": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR46wQgSHD3Lo1Mif2Wkk5swWA.ttf",
372
+ "800italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0HStmCm6Rs90XeztCALm0H8.ttf",
373
+ "900": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR461Rf9EWUSEX_PR1d_gLKfpM.ttf",
374
+ "900italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0IvtwEfTCJoOJugANj-jWDI.ttf"
375
+ }
376
+ },
377
+ {
378
+ "kind": "webfonts#webfont",
379
+ "family": "Alex Brush",
380
+ "category": "handwriting",
381
+ "variants": [
382
+ "regular"
383
+ ],
384
+ "subsets": [
385
+ "latin",
386
+ "latin-ext"
387
+ ],
388
+ "version": "v6",
389
+ "lastModified": "2016-04-25",
390
+ "files": {
391
+ "regular": "http://fonts.gstatic.com/s/alexbrush/v6/ooh3KJFbKJSUoIRWfiu8o_esZW2xOQ-xsNqO47m55DA.ttf"
392
+ }
393
+ },
394
+ {
395
+ "kind": "webfonts#webfont",
396
+ "family": "Alfa Slab One",
397
+ "category": "display",
398
+ "variants": [
399
+ "regular"
400
+ ],
401
+ "subsets": [
402
+ "latin"
403
+ ],
404
+ "version": "v5",
405
+ "lastModified": "2016-04-25",
406
+ "files": {
407
+ "regular": "http://fonts.gstatic.com/s/alfaslabone/v5/Qx6FPcitRwTC_k88tLPc-Yjjx0o0jr6fNXxPgYh_a8Q.ttf"
408
+ }
409
+ },
410
+ {
411
+ "kind": "webfonts#webfont",
412
+ "family": "Alice",
413
+ "category": "serif",
414
+ "variants": [
415
+ "regular"
416
+ ],
417
+ "subsets": [
418
+ "latin"
419
+ ],
420
+ "version": "v7",
421
+ "lastModified": "2016-04-25",
422
+ "files": {
423
+ "regular": "http://fonts.gstatic.com/s/alice/v7/wZTAfivekBqIg-rk63nFvQ.ttf"
424
+ }
425
+ },
426
+ {
427
+ "kind": "webfonts#webfont",
428
+ "family": "Alike",
429
+ "category": "serif",
430
+ "variants": [
431
+ "regular"
432
+ ],
433
+ "subsets": [
434
+ "latin"
435
+ ],
436
+ "version": "v8",
437
+ "lastModified": "2016-04-25",
438
+ "files": {
439
+ "regular": "http://fonts.gstatic.com/s/alike/v8/Ho8YpRKNk_202fwDiGNIyw.ttf"
440
+ }
441
+ },
442
+ {
443
+ "kind": "webfonts#webfont",
444
+ "family": "Alike Angular",
445
+ "category": "serif",
446
+ "variants": [
447
+ "regular"
448
+ ],
449
+ "subsets": [
450
+ "latin"
451
+ ],
452
+ "version": "v6",
453
+ "lastModified": "2016-04-25",
454
+ "files": {
455
+ "regular": "http://fonts.gstatic.com/s/alikeangular/v6/OpeCu4xxI3qO1C7CZcJtPT3XH2uEnVI__ynTBvNyki8.ttf"
456
+ }
457
+ },
458
+ {
459
+ "kind": "webfonts#webfont",
460
+ "family": "Allan",
461
+ "category": "display",
462
+ "variants": [
463
+ "regular",
464
+ "700"
465
+ ],
466
+ "subsets": [
467
+ "latin",
468
+ "latin-ext"
469
+ ],
470
+ "version": "v7",
471
+ "lastModified": "2016-04-25",
472
+ "files": {
473
+ "regular": "http://fonts.gstatic.com/s/allan/v7/T3lemhgZmLQkQI2Qc2bQHA.ttf",
474
+ "700": "http://fonts.gstatic.com/s/allan/v7/zSxQiwo7wgnr7KkMXhSiag.ttf"
475
+ }
476
+ },
477
+ {
478
+ "kind": "webfonts#webfont",
479
+ "family": "Allerta",
480
+ "category": "sans-serif",
481
+ "variants": [
482
+ "regular"
483
+ ],
484
+ "subsets": [
485
+ "latin"
486
+ ],
487
+ "version": "v7",
488
+ "lastModified": "2016-04-25",
489
+ "files": {
490
+ "regular": "http://fonts.gstatic.com/s/allerta/v7/s9FOEuiJFTNbMe06ifzV8g.ttf"
491
+ }
492
+ },
493
+ {
494
+ "kind": "webfonts#webfont",
495
+ "family": "Allerta Stencil",
496
+ "category": "sans-serif",
497
+ "variants": [
498
+ "regular"
499
+ ],
500
+ "subsets": [
501
+ "latin"
502
+ ],
503
+ "version": "v7",
504
+ "lastModified": "2016-04-25",
505
+ "files": {
506
+ "regular": "http://fonts.gstatic.com/s/allertastencil/v7/CdSZfRtHbQrBohqmzSdDYFf2eT4jUldwg_9fgfY_tHc.ttf"
507
+ }
508
+ },
509
+ {
510
+ "kind": "webfonts#webfont",
511
+ "family": "Allura",
512
+ "category": "handwriting",
513
+ "variants": [
514
+ "regular"
515
+ ],
516
+ "subsets": [
517
+ "latin",
518
+ "latin-ext"
519
+ ],
520
+ "version": "v4",
521
+ "lastModified": "2016-04-25",
522
+ "files": {
523
+ "regular": "http://fonts.gstatic.com/s/allura/v4/4hcqgZanyuJ2gMYWffIR6A.ttf"
524
+ }
525
+ },
526
+ {
527
+ "kind": "webfonts#webfont",
528
+ "family": "Almendra",
529
+ "category": "serif",
530
+ "variants": [
531
+ "regular",
532
+ "italic",
533
+ "700",
534
+ "700italic"
535
+ ],
536
+ "subsets": [
537
+ "latin",
538
+ "latin-ext"
539
+ ],
540
+ "version": "v8",
541
+ "lastModified": "2016-04-25",
542
+ "files": {
543
+ "regular": "http://fonts.gstatic.com/s/almendra/v8/PDpbB-ZF7deXAAEYPkQOeg.ttf",
544
+ "italic": "http://fonts.gstatic.com/s/almendra/v8/CNWLyiDucqVKVgr4EMidi_esZW2xOQ-xsNqO47m55DA.ttf",
545
+ "700": "http://fonts.gstatic.com/s/almendra/v8/ZpLdQMj7Q2AFio4nNO6A76CWcynf_cDxXwCLxiixG1c.ttf",
546
+ "700italic": "http://fonts.gstatic.com/s/almendra/v8/-tXHKMcnn6FqrhJV3l1e3QJKKGfqHaYFsRG-T3ceEVo.ttf"
547
+ }
548
+ },
549
+ {
550
+ "kind": "webfonts#webfont",
551
+ "family": "Almendra Display",
552
+ "category": "display",
553
+ "variants": [
554
+ "regular"
555
+ ],
556
+ "subsets": [
557
+ "latin",
558
+ "latin-ext"
559
+ ],
560
+ "version": "v6",
561
+ "lastModified": "2016-04-25",
562
+ "files": {
563
+ "regular": "http://fonts.gstatic.com/s/almendradisplay/v6/2Zuu97WJ_ez-87yz5Ai8fF6uyC_qD11hrFQ6EGgTJWI.ttf"
564
+ }
565
+ },
566
+ {
567
+ "kind": "webfonts#webfont",
568
+ "family": "Almendra SC",
569
+ "category": "serif",
570
+ "variants": [
571
+ "regular"
572
+ ],
573
+ "subsets": [
574
+ "latin"
575
+ ],
576
+ "version": "v6",
577
+ "lastModified": "2016-04-25",
578
+ "files": {
579
+ "regular": "http://fonts.gstatic.com/s/almendrasc/v6/IuiLd8Fm9I6raSalxMoWeaCWcynf_cDxXwCLxiixG1c.ttf"
580
+ }
581
+ },
582
+ {
583
+ "kind": "webfonts#webfont",
584
+ "family": "Amarante",
585
+ "category": "display",
586
+ "variants": [
587
+ "regular"
588
+ ],
589
+ "subsets": [
590
+ "latin",
591
+ "latin-ext"
592
+ ],
593
+ "version": "v4",
594
+ "lastModified": "2016-04-25",
595
+ "files": {
596
+ "regular": "http://fonts.gstatic.com/s/amarante/v4/2dQHjIBWSpydit5zkJZnOw.ttf"
597
+ }
598
+ },
599
+ {
600
+ "kind": "webfonts#webfont",
601
+ "family": "Amaranth",
602
+ "category": "sans-serif",
603
+ "variants": [
604
+ "regular",
605
+ "italic",
606
+ "700",
607
+ "700italic"
608
+ ],
609
+ "subsets": [
610
+ "latin"
611
+ ],
612
+ "version": "v6",
613
+ "lastModified": "2016-04-25",
614
+ "files": {
615
+ "regular": "http://fonts.gstatic.com/s/amaranth/v6/7VcBog22JBHsHXHdnnycTA.ttf",
616
+ "italic": "http://fonts.gstatic.com/s/amaranth/v6/UrJlRY9LcVERJSvggsdBqPesZW2xOQ-xsNqO47m55DA.ttf",
617
+ "700": "http://fonts.gstatic.com/s/amaranth/v6/j5OFHqadfxyLnQRxFeox6qCWcynf_cDxXwCLxiixG1c.ttf",
618
+ "700italic": "http://fonts.gstatic.com/s/amaranth/v6/BHyuYFj9nqLFNvOvGh0xTwJKKGfqHaYFsRG-T3ceEVo.ttf"
619
+ }
620
+ },
621
+ {
622
+ "kind": "webfonts#webfont",
623
+ "family": "Amatic SC",
624
+ "category": "handwriting",
625
+ "variants": [
626
+ "regular",
627
+ "700"
628
+ ],
629
+ "subsets": [
630
+ "latin",
631
+ "latin-ext"
632
+ ],
633
+ "version": "v8",
634
+ "lastModified": "2016-04-25",
635
+ "files": {
636
+ "regular": "http://fonts.gstatic.com/s/amaticsc/v8/MldbRWLFytvqxU1y81xSVg.ttf",
637
+ "700": "http://fonts.gstatic.com/s/amaticsc/v8/IDnkRTPGcrSVo50UyYNK7y3USBnSvpkopQaUR-2r7iU.ttf"
638
+ }
639
+ },
640
+ {
641
+ "kind": "webfonts#webfont",
642
+ "family": "Amethysta",
643
+ "category": "serif",
644
+ "variants": [
645
+ "regular"
646
+ ],
647
+ "subsets": [
648
+ "latin"
649
+ ],
650
+ "version": "v4",
651
+ "lastModified": "2016-04-25",
652
+ "files": {
653
+ "regular": "http://fonts.gstatic.com/s/amethysta/v4/1jEo9tOFIJDolAUpBnWbnA.ttf"
654
+ }
655
+ },
656
+ {
657
+ "kind": "webfonts#webfont",
658
+ "family": "Amiri",
659
+ "category": "serif",
660
+ "variants": [
661
+ "regular",
662
+ "italic",
663
+ "700",
664
+ "700italic"
665
+ ],
666
+ "subsets": [
667
+ "latin",
668
+ "arabic"
669
+ ],
670
+ "version": "v7",
671
+ "lastModified": "2016-04-25",
672
+ "files": {
673
+ "regular": "http://fonts.gstatic.com/s/amiri/v7/ATARrPmSew75SlpOw2YABQ.ttf",
674
+ "italic": "http://fonts.gstatic.com/s/amiri/v7/3t1yTQlLUXBw8htrqlXBrw.ttf",
675
+ "700": "http://fonts.gstatic.com/s/amiri/v7/WQsR_moz-FNqVwGYgptqiA.ttf",
676
+ "700italic": "http://fonts.gstatic.com/s/amiri/v7/uF8aNEyD0bxMeTBg9bFDSPesZW2xOQ-xsNqO47m55DA.ttf"
677
+ }
678
+ },
679
+ {
680
+ "kind": "webfonts#webfont",
681
+ "family": "Amita",
682
+ "category": "handwriting",
683
+ "variants": [
684
+ "regular",
685
+ "700"
686
+ ],
687
+ "subsets": [
688
+ "latin",
689
+ "devanagari",
690
+ "latin-ext"
691
+ ],
692
+ "version": "v1",
693
+ "lastModified": "2016-04-25",
694
+ "files": {
695
+ "regular": "http://fonts.gstatic.com/s/amita/v1/RhdhGBXSJqkHo6g7miTEcQ.ttf",
696
+ "700": "http://fonts.gstatic.com/s/amita/v1/cIYA2Lzp7l2pcGsqpUidBg.ttf"
697
+ }
698
+ },
699
+ {
700
+ "kind": "webfonts#webfont",
701
+ "family": "Anaheim",
702
+ "category": "sans-serif",
703
+ "variants": [
704
+ "regular"
705
+ ],
706
+ "subsets": [
707
+ "latin",
708
+ "latin-ext"
709
+ ],
710
+ "version": "v4",
711
+ "lastModified": "2016-04-25",
712
+ "files": {
713
+ "regular": "http://fonts.gstatic.com/s/anaheim/v4/t-z8aXHMpgI2gjN_rIflKA.ttf"
714
+ }
715
+ },
716
+ {
717
+ "kind": "webfonts#webfont",
718
+ "family": "Andada",
719
+ "category": "serif",
720
+ "variants": [
721
+ "regular"
722
+ ],
723
+ "subsets": [
724
+ "latin",
725
+ "latin-ext"
726
+ ],
727
+ "version": "v7",
728
+ "lastModified": "2016-04-25",
729
+ "files": {
730
+ "regular": "http://fonts.gstatic.com/s/andada/v7/rSFaDqNNQBRw3y19MB5Y4w.ttf"
731
+ }
732
+ },
733
+ {
734
+ "kind": "webfonts#webfont",
735
+ "family": "Andika",
736
+ "category": "sans-serif",
737
+ "variants": [
738
+ "regular"
739
+ ],
740
+ "subsets": [
741
+ "latin",
742
+ "latin-ext",
743
+ "cyrillic-ext",
744
+ "vietnamese",
745
+ "cyrillic"
746
+ ],
747
+ "version": "v7",
748
+ "lastModified": "2016-04-25",
749
+ "files": {
750
+ "regular": "http://fonts.gstatic.com/s/andika/v7/oe-ag1G0lcqZ3IXfeEgaGg.ttf"
751
+ }
752
+ },
753
+ {
754
+ "kind": "webfonts#webfont",
755
+ "family": "Angkor",
756
+ "category": "display",
757
+ "variants": [
758
+ "regular"
759
+ ],
760
+ "subsets": [
761
+ "khmer"
762
+ ],
763
+ "version": "v8",
764
+ "lastModified": "2016-04-25",
765
+ "files": {
766
+ "regular": "http://fonts.gstatic.com/s/angkor/v8/DLpLgIS-8F10ecwKqCm95Q.ttf"
767
+ }
768
+ },
769
+ {
770
+ "kind": "webfonts#webfont",
771
+ "family": "Annie Use Your Telescope",
772
+ "category": "handwriting",
773
+ "variants": [
774
+ "regular"
775
+ ],
776
+ "subsets": [
777
+ "latin"
778
+ ],
779
+ "version": "v6",
780
+ "lastModified": "2016-04-25",
781
+ "files": {
782
+ "regular": "http://fonts.gstatic.com/s/annieuseyourtelescope/v6/2cuiO5VmaR09C8SLGEQjGqbp7mtG8sPlcZvOaO8HBak.ttf"
783
+ }
784
+ },
785
+ {
786
+ "kind": "webfonts#webfont",
787
+ "family": "Anonymous Pro",
788
+ "category": "monospace",
789
+ "variants": [
790
+ "regular",
791
+ "italic",
792
+ "700",
793
+ "700italic"
794
+ ],
795
+ "subsets": [
796
+ "latin",
797
+ "greek",
798
+ "latin-ext",
799
+ "cyrillic"
800
+ ],
801
+ "version": "v8",
802
+ "lastModified": "2016-04-25",
803
+ "files": {
804
+ "regular": "http://fonts.gstatic.com/s/anonymouspro/v8/Zhfjj_gat3waL4JSju74E-V_5zh5b-_HiooIRUBwn1A.ttf",
805
+ "italic": "http://fonts.gstatic.com/s/anonymouspro/v8/q0u6LFHwttnT_69euiDbWKwIsuKDCXG0NQm7BvAgx-c.ttf",
806
+ "700": "http://fonts.gstatic.com/s/anonymouspro/v8/WDf5lZYgdmmKhO8E1AQud--Cz_5MeePnXDAcLNWyBME.ttf",
807
+ "700italic": "http://fonts.gstatic.com/s/anonymouspro/v8/_fVr_XGln-cetWSUc-JpfA1LL9bfs7wyIp6F8OC9RxA.ttf"
808
+ }
809
+ },
810
+ {
811
+ "kind": "webfonts#webfont",
812
+ "family": "Antic",
813
+ "category": "sans-serif",
814
+ "variants": [
815
+ "regular"
816
+ ],
817
+ "subsets": [
818
+ "latin"
819
+ ],
820
+ "version": "v7",
821
+ "lastModified": "2016-04-25",
822
+ "files": {
823
+ "regular": "http://fonts.gstatic.com/s/antic/v7/hEa8XCNM7tXGzD0Uk0AipA.ttf"
824
+ }
825
+ },
826
+ {
827
+ "kind": "webfonts#webfont",
828
+ "family": "Antic Didone",
829
+ "category": "serif",
830
+ "variants": [
831
+ "regular"
832
+ ],
833
+ "subsets": [
834
+ "latin"
835
+ ],
836
+ "version": "v4",
837
+ "lastModified": "2016-04-25",
838
+ "files": {
839
+ "regular": "http://fonts.gstatic.com/s/anticdidone/v4/r3nJcTDuOluOL6LGDV1vRy3USBnSvpkopQaUR-2r7iU.ttf"
840
+ }
841
+ },
842
+ {
843
+ "kind": "webfonts#webfont",
844
+ "family": "Antic Slab",
845
+ "category": "serif",
846
+ "variants": [
847
+ "regular"
848
+ ],
849
+ "subsets": [
850
+ "latin"
851
+ ],
852
+ "version": "v4",
853
+ "lastModified": "2016-04-25",
854
+ "files": {
855
+ "regular": "http://fonts.gstatic.com/s/anticslab/v4/PSbJCTKkAS7skPdkd7AKEvesZW2xOQ-xsNqO47m55DA.ttf"
856
+ }
857
+ },
858
+ {
859
+ "kind": "webfonts#webfont",
860
+ "family": "Anton",
861
+ "category": "sans-serif",
862
+ "variants": [
863
+ "regular"
864
+ ],
865
+ "subsets": [
866
+ "latin",
867
+ "latin-ext"
868
+ ],
869
+ "version": "v7",
870
+ "lastModified": "2016-04-25",
871
+ "files": {
872
+ "regular": "http://fonts.gstatic.com/s/anton/v7/XIbCenm-W0IRHWYIh7CGUQ.ttf"
873
+ }
874
+ },
875
+ {
876
+ "kind": "webfonts#webfont",
877
+ "family": "Arapey",
878
+ "category": "serif",
879
+ "variants": [
880
+ "regular",
881
+ "italic"
882
+ ],
883
+ "subsets": [
884
+ "latin"
885
+ ],
886
+ "version": "v5",
887
+ "lastModified": "2016-04-25",
888
+ "files": {
889
+ "regular": "http://fonts.gstatic.com/s/arapey/v5/dqu823lrSYn8T2gApTdslA.ttf",
890
+ "italic": "http://fonts.gstatic.com/s/arapey/v5/pY-Xi5JNBpaWxy2tZhEm5A.ttf"
891
+ }
892
+ },
893
+ {
894
+ "kind": "webfonts#webfont",
895
+ "family": "Arbutus",
896
+ "category": "display",
897
+ "variants": [
898
+ "regular"
899
+ ],
900
+ "subsets": [
901
+ "latin",
902
+ "latin-ext"
903
+ ],
904
+ "version": "v5",
905
+ "lastModified": "2016-04-25",
906
+ "files": {
907
+ "regular": "http://fonts.gstatic.com/s/arbutus/v5/Go_hurxoUsn5MnqNVQgodQ.ttf"
908
+ }
909
+ },
910
+ {
911
+ "kind": "webfonts#webfont",
912
+ "family": "Arbutus Slab",
913
+ "category": "serif",
914
+ "variants": [
915
+ "regular"
916
+ ],
917
+ "subsets": [
918
+ "latin",
919
+ "latin-ext"
920
+ ],
921
+ "version": "v4",
922
+ "lastModified": "2016-04-25",
923
+ "files": {
924
+ "regular": "http://fonts.gstatic.com/s/arbutusslab/v4/6k3Yp6iS9l4jRIpynA8qMy3USBnSvpkopQaUR-2r7iU.ttf"
925
+ }
926
+ },
927
+ {
928
+ "kind": "webfonts#webfont",
929
+ "family": "Architects Daughter",
930
+ "category": "handwriting",
931
+ "variants": [
932
+ "regular"
933
+ ],
934
+ "subsets": [
935
+ "latin"
936
+ ],
937
+ "version": "v6",
938
+ "lastModified": "2016-04-25",
939
+ "files": {
940
+ "regular": "http://fonts.gstatic.com/s/architectsdaughter/v6/RXTgOOQ9AAtaVOHxx0IUBMCy0EhZjHzu-y0e6uLf4Fg.ttf"
941
+ }
942
+ },
943
+ {
944
+ "kind": "webfonts#webfont",
945
+ "family": "Archivo Black",
946
+ "category": "sans-serif",
947
+ "variants": [
948
+ "regular"
949
+ ],
950
+ "subsets": [
951
+ "latin",
952
+ "latin-ext"
953
+ ],
954
+ "version": "v4",
955
+ "lastModified": "2016-04-25",
956
+ "files": {
957
+ "regular": "http://fonts.gstatic.com/s/archivoblack/v4/WoAoVT7K3k7hHfxKbvB6B51XQG8isOYYJhPIYAyrESQ.ttf"
958
+ }
959
+ },
960
+ {
961
+ "kind": "webfonts#webfont",
962
+ "family": "Archivo Narrow",
963
+ "category": "sans-serif",
964
+ "variants": [
965
+ "regular",
966
+ "italic",
967
+ "700",
968
+ "700italic"
969
+ ],
970
+ "subsets": [
971
+ "latin",
972
+ "latin-ext"
973
+ ],
974
+ "version": "v5",
975
+ "lastModified": "2016-04-25",
976
+ "files": {
977
+ "regular": "http://fonts.gstatic.com/s/archivonarrow/v5/DsLzC9scoPnrGiwYYMQXppTvAuddT2xDMbdz0mdLyZY.ttf",
978
+ "italic": "http://fonts.gstatic.com/s/archivonarrow/v5/vqsrtPCpTU3tJlKfuXP5zUpmlyBQEFfdE6dERLXdQGQ.ttf",
979
+ "700": "http://fonts.gstatic.com/s/archivonarrow/v5/M__Wu4PAmHf4YZvQM8tWsMLtdzs3iyjn_YuT226ZsLU.ttf",
980
+ "700italic": "http://fonts.gstatic.com/s/archivonarrow/v5/wG6O733y5zHl4EKCOh8rSTg5KB8MNJ4uPAETq9naQO8.ttf"
981
+ }
982
+ },
983
+ {
984
+ "kind": "webfonts#webfont",
985
+ "family": "Arimo",
986
+ "category": "sans-serif",
987
+ "variants": [
988
+ "regular",
989
+ "italic",
990
+ "700",
991
+ "700italic"
992
+ ],
993
+ "subsets": [
994
+ "latin",
995
+ "greek",
996
+ "hebrew",
997
+ "latin-ext",
998
+ "cyrillic-ext",
999
+ "greek-ext",
1000
+ "vietnamese",
1001
+ "cyrillic"
1002
+ ],
1003
+ "version": "v9",
1004
+ "lastModified": "2016-04-25",
1005
+ "files": {
1006
+ "regular": "http://fonts.gstatic.com/s/arimo/v9/Gpeo80g-5ji2CcyXWnzh7g.ttf",
1007
+ "italic": "http://fonts.gstatic.com/s/arimo/v9/_OdGbnX2-qQ96C4OjhyuPw.ttf",
1008
+ "700": "http://fonts.gstatic.com/s/arimo/v9/ZItXugREyvV9LnbY_gxAmw.ttf",
1009
+ "700italic": "http://fonts.gstatic.com/s/arimo/v9/__nOLWqmeXdhfr0g7GaFePesZW2xOQ-xsNqO47m55DA.ttf"
1010
+ }
1011
+ },
1012
+ {
1013
+ "kind": "webfonts#webfont",
1014
+ "family": "Arizonia",
1015
+ "category": "handwriting",
1016
+ "variants": [
1017
+ "regular"
1018
+ ],
1019
+ "subsets": [
1020
+ "latin",
1021
+ "latin-ext"
1022
+ ],
1023
+ "version": "v6",
1024
+ "lastModified": "2016-04-25",
1025
+ "files": {
1026
+ "regular": "http://fonts.gstatic.com/s/arizonia/v6/yzJqkHZqryZBTM7RKYV9Wg.ttf"
1027
+ }
1028
+ },
1029
+ {
1030
+ "kind": "webfonts#webfont",
1031
+ "family": "Armata",
1032
+ "category": "sans-serif",
1033
+ "variants": [
1034
+ "regular"
1035
+ ],
1036
+ "subsets": [
1037
+ "latin",
1038
+ "latin-ext"
1039
+ ],
1040
+ "version": "v6",
1041
+ "lastModified": "2016-04-25",
1042
+ "files": {
1043
+ "regular": "http://fonts.gstatic.com/s/armata/v6/1H8FwGgIRrbYtxSfXhOHlQ.ttf"
1044
+ }
1045
+ },
1046
+ {
1047
+ "kind": "webfonts#webfont",
1048
+ "family": "Artifika",
1049
+ "category": "serif",
1050
+ "variants": [
1051
+ "regular"
1052
+ ],
1053
+ "subsets": [
1054
+ "latin"
1055
+ ],
1056
+ "version": "v6",
1057
+ "lastModified": "2016-04-25",
1058
+ "files": {
1059
+ "regular": "http://fonts.gstatic.com/s/artifika/v6/Ekfp4H4QG7D-WsABDOyj8g.ttf"
1060
+ }
1061
+ },
1062
+ {
1063
+ "kind": "webfonts#webfont",
1064
+ "family": "Arvo",
1065
+ "category": "serif",
1066
+ "variants": [
1067
+ "regular",
1068
+ "italic",
1069
+ "700",
1070
+ "700italic"
1071
+ ],
1072
+ "subsets": [
1073
+ "latin"
1074
+ ],
1075
+ "version": "v9",
1076
+ "lastModified": "2016-04-25",
1077
+ "files": {
1078
+ "regular": "http://fonts.gstatic.com/s/arvo/v9/vvWPwz-PlZEwjOOIKqoZzA.ttf",
1079
+ "italic": "http://fonts.gstatic.com/s/arvo/v9/id5a4BCjbenl5Gkqonw_Rw.ttf",
1080
+ "700": "http://fonts.gstatic.com/s/arvo/v9/OB3FDST7U38u3OjPK_vvRQ.ttf",
1081
+ "700italic": "http://fonts.gstatic.com/s/arvo/v9/Hvl2MuWoXLaCy2v6MD4Yvw.ttf"
1082
+ }
1083
+ },
1084
+ {
1085
+ "kind": "webfonts#webfont",
1086
+ "family": "Arya",
1087
+ "category": "sans-serif",
1088
+ "variants": [
1089
+ "regular",
1090
+ "700"
1091
+ ],
1092
+ "subsets": [
1093
+ "latin",
1094
+ "devanagari",
1095
+ "latin-ext"
1096
+ ],
1097
+ "version": "v1",
1098
+ "lastModified": "2016-04-25",
1099
+ "files": {
1100
+ "regular": "http://fonts.gstatic.com/s/arya/v1/xEVqtU3v8QLospHKpDaYEw.ttf",
1101
+ "700": "http://fonts.gstatic.com/s/arya/v1/N13tgOvG7VTXawiI-fJiQA.ttf"
1102
+ }
1103
+ },
1104
+ {
1105
+ "kind": "webfonts#webfont",
1106
+ "family": "Asap",
1107
+ "category": "sans-serif",
1108
+ "variants": [
1109
+ "regular",
1110
+ "italic",
1111
+ "700",
1112
+ "700italic"
1113
+ ],
1114
+ "subsets": [
1115
+ "latin",
1116
+ "latin-ext"
1117
+ ],
1118
+ "version": "v4",
1119
+ "lastModified": "2016-04-25",
1120
+ "files": {
1121
+ "regular": "http://fonts.gstatic.com/s/asap/v4/2lf-1MDR8tsTpEtvJmr2hA.ttf",
1122
+ "italic": "http://fonts.gstatic.com/s/asap/v4/mwxNHf8QS8gNWCAMwkJNIg.ttf",
1123
+ "700": "http://fonts.gstatic.com/s/asap/v4/o5RUA7SsJ80M8oDFBnrDbg.ttf",
1124
+ "700italic": "http://fonts.gstatic.com/s/asap/v4/_rZz9y2oXc09jT5T6BexLQ.ttf"
1125
+ }
1126
+ },
1127
+ {
1128
+ "kind": "webfonts#webfont",
1129
+ "family": "Asar",
1130
+ "category": "serif",
1131
+ "variants": [
1132
+ "regular"
1133
+ ],
1134
+ "subsets": [
1135
+ "latin",
1136
+ "devanagari",
1137
+ "latin-ext"
1138
+ ],
1139
+ "version": "v1",
1140
+ "lastModified": "2016-04-25",
1141
+ "files": {
1142
+ "regular": "http://fonts.gstatic.com/s/asar/v1/mSmn3H5CcMA84CZ586X7WQ.ttf"
1143
+ }
1144
+ },
1145
+ {
1146
+ "kind": "webfonts#webfont",
1147
+ "family": "Asset",
1148
+ "category": "display",
1149
+ "variants": [
1150
+ "regular"
1151
+ ],
1152
+ "subsets": [
1153
+ "latin"
1154
+ ],
1155
+ "version": "v6",
1156
+ "lastModified": "2016-04-25",
1157
+ "files": {
1158
+ "regular": "http://fonts.gstatic.com/s/asset/v6/hfPmqY-JzuR1lULlQf9iTg.ttf"
1159
+ }
1160
+ },
1161
+ {
1162
+ "kind": "webfonts#webfont",
1163
+ "family": "Astloch",
1164
+ "category": "display",
1165
+ "variants": [
1166
+ "regular",
1167
+ "700"
1168
+ ],
1169
+ "subsets": [
1170
+ "latin"
1171
+ ],
1172
+ "version": "v6",
1173
+ "lastModified": "2016-04-25",
1174
+ "files": {
1175
+ "regular": "http://fonts.gstatic.com/s/astloch/v6/fmbitVmHYLQP7MGPuFgpag.ttf",
1176
+ "700": "http://fonts.gstatic.com/s/astloch/v6/aPkhM2tL-tz1jX6aX2rvo_esZW2xOQ-xsNqO47m55DA.ttf"
1177
+ }
1178
+ },
1179
+ {
1180
+ "kind": "webfonts#webfont",
1181
+ "family": "Asul",
1182
+ "category": "sans-serif",
1183
+ "variants": [
1184
+ "regular",
1185
+ "700"
1186
+ ],
1187
+ "subsets": [
1188
+ "latin"
1189
+ ],
1190
+ "version": "v5",
1191
+ "lastModified": "2016-04-25",
1192
+ "files": {
1193
+ "regular": "http://fonts.gstatic.com/s/asul/v5/9qpsNR_OOwyOYyo2N0IbBw.ttf",
1194
+ "700": "http://fonts.gstatic.com/s/asul/v5/uO8uNmxaq87-DdPmkEg5Gg.ttf"
1195
+ }
1196
+ },
1197
+ {
1198
+ "kind": "webfonts#webfont",
1199
+ "family": "Atomic Age",
1200
+ "category": "display",
1201
+ "variants": [
1202
+ "regular"
1203
+ ],
1204
+ "subsets": [
1205
+ "latin"
1206
+ ],
1207
+ "version": "v7",
1208
+ "lastModified": "2016-04-25",
1209
+ "files": {
1210
+ "regular": "http://fonts.gstatic.com/s/atomicage/v7/WvBMe4FxANIKpo6Oi0mVJ_esZW2xOQ-xsNqO47m55DA.ttf"
1211
+ }
1212
+ },
1213
+ {
1214
+ "kind": "webfonts#webfont",
1215
+ "family": "Aubrey",
1216
+ "category": "display",
1217
+ "variants": [
1218
+ "regular"
1219
+ ],
1220
+ "subsets": [
1221
+ "latin"
1222
+ ],
1223
+ "version": "v8",
1224
+ "lastModified": "2016-04-25",
1225
+ "files": {
1226
+ "regular": "http://fonts.gstatic.com/s/aubrey/v8/zo9w8klO8bmOQIMajQ2aTA.ttf"
1227
+ }
1228
+ },
1229
+ {
1230
+ "kind": "webfonts#webfont",
1231
+ "family": "Audiowide",
1232
+ "category": "display",
1233
+ "variants": [
1234
+ "regular"
1235
+ ],
1236
+ "subsets": [
1237
+ "latin",
1238
+ "latin-ext"
1239
+ ],
1240
+ "version": "v4",
1241
+ "lastModified": "2016-04-25",
1242
+ "files": {
1243
+ "regular": "http://fonts.gstatic.com/s/audiowide/v4/yGcwRZB6VmoYhPUYT-mEow.ttf"
1244
+ }
1245
+ },
1246
+ {
1247
+ "kind": "webfonts#webfont",
1248
+ "family": "Autour One",
1249
+ "category": "display",
1250
+ "variants": [
1251
+ "regular"
1252
+ ],
1253
+ "subsets": [
1254
+ "latin",
1255
+ "latin-ext"
1256
+ ],
1257
+ "version": "v4",
1258
+ "lastModified": "2016-04-25",
1259
+ "files": {
1260
+ "regular": "http://fonts.gstatic.com/s/autourone/v4/2xmQBcg7FN72jaQRFZPIDvesZW2xOQ-xsNqO47m55DA.ttf"
1261
+ }
1262
+ },
1263
+ {
1264
+ "kind": "webfonts#webfont",
1265
+ "family": "Average",
1266
+ "category": "serif",
1267
+ "variants": [
1268
+ "regular"
1269
+ ],
1270
+ "subsets": [
1271
+ "latin",
1272
+ "latin-ext"
1273
+ ],
1274
+ "version": "v4",
1275
+ "lastModified": "2016-04-25",
1276
+ "files": {
1277
+ "regular": "http://fonts.gstatic.com/s/average/v4/aHUibBqdDbVYl5FM48pxyQ.ttf"
1278
+ }
1279
+ },
1280
+ {
1281
+ "kind": "webfonts#webfont",
1282
+ "family": "Average Sans",
1283
+ "category": "sans-serif",
1284
+ "variants": [
1285
+ "regular"
1286
+ ],
1287
+ "subsets": [
1288
+ "latin",
1289
+ "latin-ext"
1290
+ ],
1291
+ "version": "v4",
1292
+ "lastModified": "2016-04-25",
1293
+ "files": {
1294
+ "regular": "http://fonts.gstatic.com/s/averagesans/v4/dnU3R-5A_43y5bIyLztPsS3USBnSvpkopQaUR-2r7iU.ttf"
1295
+ }
1296
+ },
1297
+ {
1298
+ "kind": "webfonts#webfont",
1299
+ "family": "Averia Gruesa Libre",
1300
+ "category": "display",
1301
+ "variants": [
1302
+ "regular"
1303
+ ],
1304
+ "subsets": [
1305
+ "latin",
1306
+ "latin-ext"
1307
+ ],
1308
+ "version": "v4",
1309
+ "lastModified": "2016-04-25",
1310
+ "files": {
1311
+ "regular": "http://fonts.gstatic.com/s/averiagruesalibre/v4/10vbZTOoN6T8D-nvDzwRFyXcKHuZXlCN8VkWHpkUzKM.ttf"
1312
+ }
1313
+ },
1314
+ {
1315
+ "kind": "webfonts#webfont",
1316
+ "family": "Averia Libre",
1317
+ "category": "display",
1318
+ "variants": [
1319
+ "300",
1320
+ "300italic",
1321
+ "regular",
1322
+ "italic",
1323
+ "700",
1324
+ "700italic"
1325
+ ],
1326
+ "subsets": [
1327
+ "latin"
1328
+ ],
1329
+ "version": "v4",
1330
+ "lastModified": "2016-04-25",
1331
+ "files": {
1332
+ "300": "http://fonts.gstatic.com/s/averialibre/v4/r6hGL8sSLm4dTzOPXgx5XacQoVhARpoaILP7amxE_8g.ttf",
1333
+ "300italic": "http://fonts.gstatic.com/s/averialibre/v4/I6wAYuAvOgT7el2ePj2nkina0FLWfcB-J_SAYmcAXaI.ttf",
1334
+ "regular": "http://fonts.gstatic.com/s/averialibre/v4/rYVgHZZQICWnhjguGsBspC3USBnSvpkopQaUR-2r7iU.ttf",
1335
+ "italic": "http://fonts.gstatic.com/s/averialibre/v4/1etzuoNxVHR8F533EkD1WfMZXuCXbOrAvx5R0IT5Oyo.ttf",
1336
+ "700": "http://fonts.gstatic.com/s/averialibre/v4/r6hGL8sSLm4dTzOPXgx5XUD2ttfZwueP-QU272T9-k4.ttf",
1337
+ "700italic": "http://fonts.gstatic.com/s/averialibre/v4/I6wAYuAvOgT7el2ePj2nkvAs9-1nE9qOqhChW0m4nDE.ttf"
1338
+ }
1339
+ },
1340
+ {
1341
+ "kind": "webfonts#webfont",
1342
+ "family": "Averia Sans Libre",
1343
+ "category": "display",
1344
+ "variants": [
1345
+ "300",
1346
+ "300italic",
1347
+ "regular",
1348
+ "italic",
1349
+ "700",
1350
+ "700italic"
1351
+ ],
1352
+ "subsets": [
1353
+ "latin"
1354
+ ],
1355
+ "version": "v4",
1356
+ "lastModified": "2016-04-25",
1357
+ "files": {
1358
+ "300": "http://fonts.gstatic.com/s/averiasanslibre/v4/_9-jTfQjaBsWAF_yp5z-V4CP_KG_g80s1KXiBtJHoNc.ttf",
1359
+ "300italic": "http://fonts.gstatic.com/s/averiasanslibre/v4/o7BEIK-fG3Ykc5Rzteh88YuyGu4JqttndUh4gRKxic0.ttf",
1360
+ "regular": "http://fonts.gstatic.com/s/averiasanslibre/v4/yRJpjT39KxACO9F31mj_LqV8_KRn4epKAjTFK1s1fsg.ttf",
1361
+ "italic": "http://fonts.gstatic.com/s/averiasanslibre/v4/COEzR_NPBSUOl3pFwPbPoCZU2HnUZT1xVKaIrHDioao.ttf",
1362
+ "700": "http://fonts.gstatic.com/s/averiasanslibre/v4/_9-jTfQjaBsWAF_yp5z-V8QwVOrz1y5GihpZmtKLhlI.ttf",
1363
+ "700italic": "http://fonts.gstatic.com/s/averiasanslibre/v4/o7BEIK-fG3Ykc5Rzteh88bXy1DXgmJcVtKjM5UWamMs.ttf"
1364
+ }
1365
+ },
1366
+ {
1367
+ "kind": "webfonts#webfont",
1368
+ "family": "Averia Serif Libre",
1369
+ "category": "display",
1370
+ "variants": [
1371
+ "300",
1372
+ "300italic",
1373
+ "regular",
1374
+ "italic",
1375
+ "700",
1376
+ "700italic"
1377
+ ],
1378
+ "subsets": [
1379
+ "latin"
1380
+ ],
1381
+ "version": "v5",
1382
+ "lastModified": "2016-04-25",
1383
+ "files": {
1384
+ "300": "http://fonts.gstatic.com/s/averiaseriflibre/v5/yvITAdr5D1nlsdFswJAb8SmC4gFJ2PHmfdVKEd_5S9M.ttf",
1385
+ "300italic": "http://fonts.gstatic.com/s/averiaseriflibre/v5/YOLFXyye4sZt6AZk1QybCG2okl0bU63CauowU4iApig.ttf",
1386
+ "regular": "http://fonts.gstatic.com/s/averiaseriflibre/v5/fdtF30xa_Erw0zAzOoG4BZqY66i8AUyI16fGqw0iAew.ttf",
1387
+ "italic": "http://fonts.gstatic.com/s/averiaseriflibre/v5/o9qhvK9iT5iDWfyhQUe-6Ru_b0bTq5iipbJ9hhgHJ6U.ttf",
1388
+ "700": "http://fonts.gstatic.com/s/averiaseriflibre/v5/yvITAdr5D1nlsdFswJAb8Q50KV5TaOVolur4zV2iZsg.ttf",
1389
+ "700italic": "http://fonts.gstatic.com/s/averiaseriflibre/v5/YOLFXyye4sZt6AZk1QybCNxohRXP4tNDqG3X4Hqn21k.ttf"
1390
+ }
1391
+ },
1392
+ {
1393
+ "kind": "webfonts#webfont",
1394
+ "family": "Bad Script",
1395
+ "category": "handwriting",
1396
+ "variants": [
1397
+ "regular"
1398
+ ],
1399
+ "subsets": [
1400
+ "latin",
1401
+ "cyrillic"
1402
+ ],
1403
+ "version": "v5",
1404
+ "lastModified": "2016-04-25",
1405
+ "files": {
1406
+ "regular": "http://fonts.gstatic.com/s/badscript/v5/cRyUs0nJ2eMQFHwBsZNRXfesZW2xOQ-xsNqO47m55DA.ttf"
1407
+ }
1408
+ },
1409
+ {
1410
+ "kind": "webfonts#webfont",
1411
+ "family": "Balthazar",
1412
+ "category": "serif",
1413
+ "variants": [
1414
+ "regular"
1415
+ ],
1416
+ "subsets": [
1417
+ "latin"
1418
+ ],
1419
+ "version": "v5",
1420
+ "lastModified": "2016-04-25",
1421
+ "files": {
1422
+ "regular": "http://fonts.gstatic.com/s/balthazar/v5/WgbaSIs6dJAGXJ0qbz2xlw.ttf"
1423
+ }
1424
+ },
1425
+ {
1426
+ "kind": "webfonts#webfont",
1427
+ "family": "Bangers",
1428
+ "category": "display",
1429
+ "variants": [
1430
+ "regular"
1431
+ ],
1432
+ "subsets": [
1433
+ "latin"
1434
+ ],
1435
+ "version": "v8",
1436
+ "lastModified": "2016-04-25",
1437
+ "files": {
1438
+ "regular": "http://fonts.gstatic.com/s/bangers/v8/WAffdge5w99Xif-DLeqmcA.ttf"
1439
+ }
1440
+ },
1441
+ {
1442
+ "kind": "webfonts#webfont",
1443
+ "family": "Basic",
1444
+ "category": "sans-serif",
1445
+ "variants": [
1446
+ "regular"
1447
+ ],
1448
+ "subsets": [
1449
+ "latin",
1450
+ "latin-ext"
1451
+ ],
1452
+ "version": "v6",
1453
+ "lastModified": "2016-04-25",
1454
+ "files": {
1455
+ "regular": "http://fonts.gstatic.com/s/basic/v6/hNII2mS5Dxw5C0u_m3mXgA.ttf"
1456
+ }
1457
+ },
1458
+ {
1459
+ "kind": "webfonts#webfont",
1460
+ "family": "Battambang",
1461
+ "category": "display",
1462
+ "variants": [
1463
+ "regular",
1464
+ "700"
1465
+ ],
1466
+ "subsets": [
1467
+ "khmer"
1468
+ ],
1469
+ "version": "v9",
1470
+ "lastModified": "2016-04-25",
1471
+ "files": {
1472
+ "regular": "http://fonts.gstatic.com/s/battambang/v9/MzrUfQLefYum5vVGM3EZVPesZW2xOQ-xsNqO47m55DA.ttf",
1473
+ "700": "http://fonts.gstatic.com/s/battambang/v9/dezbRtMzfzAA99DmrCYRMgJKKGfqHaYFsRG-T3ceEVo.ttf"
1474
+ }
1475
+ },
1476
+ {
1477
+ "kind": "webfonts#webfont",
1478
+ "family": "Baumans",
1479
+ "category": "display",
1480
+ "variants": [
1481
+ "regular"
1482
+ ],
1483
+ "subsets": [
1484
+ "latin"
1485
+ ],
1486
+ "version": "v5",
1487
+ "lastModified": "2016-04-25",
1488
+ "files": {
1489
+ "regular": "http://fonts.gstatic.com/s/baumans/v5/o0bFdPW1H5kd5saqqOcoVg.ttf"
1490
+ }
1491
+ },
1492
+ {
1493
+ "kind": "webfonts#webfont",
1494
+ "family": "Bayon",
1495
+ "category": "display",
1496
+ "variants": [
1497
+ "regular"
1498
+ ],
1499
+ "subsets": [
1500
+ "khmer"
1501
+ ],
1502
+ "version": "v8",
1503
+ "lastModified": "2016-04-25",
1504
+ "files": {
1505
+ "regular": "http://fonts.gstatic.com/s/bayon/v8/yTubusjTnpNRZwA4_50iVw.ttf"
1506
+ }
1507
+ },
1508
+ {
1509
+ "kind": "webfonts#webfont",
1510
+ "family": "Belgrano",
1511
+ "category": "serif",
1512
+ "variants": [
1513
+ "regular"
1514
+ ],
1515
+ "subsets": [
1516
+ "latin"
1517
+ ],
1518
+ "version": "v6",
1519
+ "lastModified": "2016-04-25",
1520
+ "files": {
1521
+ "regular": "http://fonts.gstatic.com/s/belgrano/v6/iq8DUa2s7g6WRCeMiFrmtQ.ttf"
1522
+ }
1523
+ },
1524
+ {
1525
+ "kind": "webfonts#webfont",
1526
+ "family": "Belleza",
1527
+ "category": "sans-serif",
1528
+ "variants": [
1529
+ "regular"
1530
+ ],
1531
+ "subsets": [
1532
+ "latin",
1533
+ "latin-ext"
1534
+ ],
1535
+ "version": "v4",
1536
+ "lastModified": "2016-04-25",
1537
+ "files": {
1538
+ "regular": "http://fonts.gstatic.com/s/belleza/v4/wchA3BWJlVqvIcSeNZyXew.ttf"
1539
+ }
1540
+ },
1541
+ {
1542
+ "kind": "webfonts#webfont",
1543
+ "family": "BenchNine",
1544
+ "category": "sans-serif",
1545
+ "variants": [
1546
+ "300",
1547
+ "regular",
1548
+ "700"
1549
+ ],
1550
+ "subsets": [
1551
+ "latin",
1552
+ "latin-ext"
1553
+ ],
1554
+ "version": "v4",
1555
+ "lastModified": "2016-04-25",
1556
+ "files": {
1557
+ "300": "http://fonts.gstatic.com/s/benchnine/v4/ah9xtUy9wLQ3qnWa2p-piS3USBnSvpkopQaUR-2r7iU.ttf",
1558
+ "regular": "http://fonts.gstatic.com/s/benchnine/v4/h3OAlYqU3aOeNkuXgH2Q2w.ttf",
1559
+ "700": "http://fonts.gstatic.com/s/benchnine/v4/qZpi6ZVZg3L2RL_xoBLxWS3USBnSvpkopQaUR-2r7iU.ttf"
1560
+ }
1561
+ },
1562
+ {
1563
+ "kind": "webfonts#webfont",
1564
+ "family": "Bentham",
1565
+ "category": "serif",
1566
+ "variants": [
1567
+ "regular"
1568
+ ],
1569
+ "subsets": [
1570
+ "latin"
1571
+ ],
1572
+ "version": "v6",
1573
+ "lastModified": "2016-04-25",
1574
+ "files": {
1575
+ "regular": "http://fonts.gstatic.com/s/bentham/v6/5-Mo8Fe7yg5tzV0GlQIuzQ.ttf"
1576
+ }
1577
+ },
1578
+ {
1579
+ "kind": "webfonts#webfont",
1580
+ "family": "Berkshire Swash",
1581
+ "category": "handwriting",
1582
+ "variants": [
1583
+ "regular"
1584
+ ],
1585
+ "subsets": [
1586
+ "latin",
1587
+ "latin-ext"
1588
+ ],
1589
+ "version": "v4",
1590
+ "lastModified": "2016-04-25",
1591
+ "files": {
1592
+ "regular": "http://fonts.gstatic.com/s/berkshireswash/v4/4RZJjVRPjYnC2939hKCAimKfbtsIjCZP_edQljX9gR0.ttf"
1593
+ }
1594
+ },
1595
+ {
1596
+ "kind": "webfonts#webfont",
1597
+ "family": "Bevan",
1598
+ "category": "display",
1599
+ "variants": [
1600
+ "regular"
1601
+ ],
1602
+ "subsets": [
1603
+ "latin"
1604
+ ],
1605
+ "version": "v7",
1606
+ "lastModified": "2016-04-25",
1607
+ "files": {
1608
+ "regular": "http://fonts.gstatic.com/s/bevan/v7/Rtg3zDsCeQiaJ_Qno22OJA.ttf"
1609
+ }
1610
+ },
1611
+ {
1612
+ "kind": "webfonts#webfont",
1613
+ "family": "Bigelow Rules",
1614
+ "category": "display",
1615
+ "variants": [
1616
+ "regular"
1617
+ ],
1618
+ "subsets": [
1619
+ "latin",
1620
+ "latin-ext"
1621
+ ],
1622
+ "version": "v4",
1623
+ "lastModified": "2016-04-25",
1624
+ "files": {
1625
+ "regular": "http://fonts.gstatic.com/s/bigelowrules/v4/FEJCPLwo07FS-6SK6Al50X8f0n03UdmQgF_CLvNR2vg.ttf"
1626
+ }
1627
+ },
1628
+ {
1629
+ "kind": "webfonts#webfont",
1630
+ "family": "Bigshot One",
1631
+ "category": "display",
1632
+ "variants": [
1633
+ "regular"
1634
+ ],
1635
+ "subsets": [
1636
+ "latin"
1637
+ ],
1638
+ "version": "v6",
1639
+ "lastModified": "2016-04-25",
1640
+ "files": {
1641
+ "regular": "http://fonts.gstatic.com/s/bigshotone/v6/wSyZjBNTWDQHnvWE2jt6j6CWcynf_cDxXwCLxiixG1c.ttf"
1642
+ }
1643
+ },
1644
+ {
1645
+ "kind": "webfonts#webfont",
1646
+ "family": "Bilbo",
1647
+ "category": "handwriting",
1648
+ "variants": [
1649
+ "regular"
1650
+ ],
1651
+ "subsets": [
1652
+ "latin",
1653
+ "latin-ext"
1654
+ ],
1655
+ "version": "v6",
1656
+ "lastModified": "2016-04-25",
1657
+ "files": {
1658
+ "regular": "http://fonts.gstatic.com/s/bilbo/v6/-ty-lPs5H7OIucWbnpFrkA.ttf"
1659
+ }
1660
+ },
1661
+ {
1662
+ "kind": "webfonts#webfont",
1663
+ "family": "Bilbo Swash Caps",
1664
+ "category": "handwriting",
1665
+ "variants": [
1666
+ "regular"
1667
+ ],
1668
+ "subsets": [
1669
+ "latin",
1670
+ "latin-ext"
1671
+ ],
1672
+ "version": "v7",
1673
+ "lastModified": "2016-04-25",
1674
+ "files": {
1675
+ "regular": "http://fonts.gstatic.com/s/bilboswashcaps/v7/UB_-crLvhx-PwGKW1oosDmYeFSdnSpRYv5h9gpdlD1g.ttf"
1676
+ }
1677
+ },
1678
+ {
1679
+ "kind": "webfonts#webfont",
1680
+ "family": "Biryani",
1681
+ "category": "sans-serif",
1682
+ "variants": [
1683
+ "200",
1684
+ "300",
1685
+ "regular",
1686
+ "600",
1687
+ "700",
1688
+ "800",
1689
+ "900"
1690
+ ],
1691
+ "subsets": [
1692
+ "latin",
1693
+ "devanagari",
1694
+ "latin-ext"
1695
+ ],
1696
+ "version": "v1",
1697
+ "lastModified": "2016-04-25",
1698
+ "files": {
1699
+ "200": "http://fonts.gstatic.com/s/biryani/v1/Xx38YzyTFF8n6mRS1Yd88vesZW2xOQ-xsNqO47m55DA.ttf",
1700
+ "300": "http://fonts.gstatic.com/s/biryani/v1/u-bneRbizmFMd0VQp5Ze6vesZW2xOQ-xsNqO47m55DA.ttf",
1701
+ "regular": "http://fonts.gstatic.com/s/biryani/v1/W7bfR8-IY76Xz0QoB8L2xw.ttf",
1702
+ "600": "http://fonts.gstatic.com/s/biryani/v1/1EdcPCVxBR2txgjrza6_YPesZW2xOQ-xsNqO47m55DA.ttf",
1703
+ "700": "http://fonts.gstatic.com/s/biryani/v1/qN2MTZ0j1sKSCtfXLB2dR_esZW2xOQ-xsNqO47m55DA.ttf",
1704
+ "800": "http://fonts.gstatic.com/s/biryani/v1/DJyziS7FEy441v22InYdevesZW2xOQ-xsNqO47m55DA.ttf",
1705
+ "900": "http://fonts.gstatic.com/s/biryani/v1/trcLkrIut0lM_PPSyQfAMPesZW2xOQ-xsNqO47m55DA.ttf"
1706
+ }
1707
+ },
1708
+ {
1709
+ "kind": "webfonts#webfont",
1710
+ "family": "Bitter",
1711
+ "category": "serif",
1712
+ "variants": [
1713
+ "regular",
1714
+ "italic",
1715
+ "700"
1716
+ ],
1717
+ "subsets": [
1718
+ "latin",
1719
+ "latin-ext"
1720
+ ],
1721
+ "version": "v7",
1722
+ "lastModified": "2016-04-25",
1723
+ "files": {
1724
+ "regular": "http://fonts.gstatic.com/s/bitter/v7/w_BNdJvVZDRmqy5aSfB2kQ.ttf",
1725
+ "italic": "http://fonts.gstatic.com/s/bitter/v7/TC0FZEVzXQIGgzmRfKPZbA.ttf",
1726
+ "700": "http://fonts.gstatic.com/s/bitter/v7/4dUtr_4BvHuoRU35suyOAg.ttf"
1727
+ }
1728
+ },
1729
+ {
1730
+ "kind": "webfonts#webfont",
1731
+ "family": "Black Ops One",
1732
+ "category": "display",
1733
+ "variants": [
1734
+ "regular"
1735
+ ],
1736
+ "subsets": [
1737
+ "latin",
1738
+ "latin-ext"
1739
+ ],
1740
+ "version": "v7",
1741
+ "lastModified": "2016-04-25",
1742
+ "files": {
1743
+ "regular": "http://fonts.gstatic.com/s/blackopsone/v7/2XW-DmDsGbDLE372KrMW1Yjjx0o0jr6fNXxPgYh_a8Q.ttf"
1744
+ }
1745
+ },
1746
+ {
1747
+ "kind": "webfonts#webfont",
1748
+ "family": "Bokor",
1749
+ "category": "display",
1750
+ "variants": [
1751
+ "regular"
1752
+ ],
1753
+ "subsets": [
1754
+ "khmer"
1755
+ ],
1756
+ "version": "v8",
1757
+ "lastModified": "2016-04-25",
1758
+ "files": {
1759
+ "regular": "http://fonts.gstatic.com/s/bokor/v8/uAKdo0A85WW23Gs6mcbw7A.ttf"
1760
+ }
1761
+ },
1762
+ {
1763
+ "kind": "webfonts#webfont",
1764
+ "family": "Bonbon",
1765
+ "category": "handwriting",
1766
+ "variants": [
1767
+ "regular"
1768
+ ],
1769
+ "subsets": [
1770
+ "latin"
1771
+ ],
1772
+ "version": "v7",
1773
+ "lastModified": "2016-04-25",
1774
+ "files": {
1775
+ "regular": "http://fonts.gstatic.com/s/bonbon/v7/IW3u1yzG1knyW5oz0s9_6Q.ttf"
1776
+ }
1777
+ },
1778
+ {
1779
+ "kind": "webfonts#webfont",
1780
+ "family": "Boogaloo",
1781
+ "category": "display",
1782
+ "variants": [
1783
+ "regular"
1784
+ ],
1785
+ "subsets": [
1786
+ "latin"
1787
+ ],
1788
+ "version": "v6",
1789
+ "lastModified": "2016-04-25",
1790
+ "files": {
1791
+ "regular": "http://fonts.gstatic.com/s/boogaloo/v6/4Wu1tvFMoB80fSu8qLgQfQ.ttf"
1792
+ }
1793
+ },
1794
+ {
1795
+ "kind": "webfonts#webfont",
1796
+ "family": "Bowlby One",
1797
+ "category": "display",
1798
+ "variants": [
1799
+ "regular"
1800
+ ],
1801
+ "subsets": [
1802
+ "latin"
1803
+ ],
1804
+ "version": "v7",
1805
+ "lastModified": "2016-04-25",
1806
+ "files": {
1807
+ "regular": "http://fonts.gstatic.com/s/bowlbyone/v7/eKpHjHfjoxM2bX36YNucefesZW2xOQ-xsNqO47m55DA.ttf"
1808
+ }
1809
+ },
1810
+ {
1811
+ "kind": "webfonts#webfont",
1812
+ "family": "Bowlby One SC",
1813
+ "category": "display",
1814
+ "variants": [
1815
+ "regular"
1816
+ ],
1817
+ "subsets": [
1818
+ "latin",
1819
+ "latin-ext"
1820
+ ],
1821
+ "version": "v8",
1822
+ "lastModified": "2016-04-25",
1823
+ "files": {
1824
+ "regular": "http://fonts.gstatic.com/s/bowlbyonesc/v8/8ZkeXftTuzKBtmxOYXoRedDkZCMxWJecxjvKm2f8MJw.ttf"
1825
+ }
1826
+ },
1827
+ {
1828
+ "kind": "webfonts#webfont",
1829
+ "family": "Brawler",
1830
+ "category": "serif",
1831
+ "variants": [
1832
+ "regular"
1833
+ ],
1834
+ "subsets": [
1835
+ "latin"
1836
+ ],
1837
+ "version": "v6",
1838
+ "lastModified": "2016-04-25",
1839
+ "files": {
1840
+ "regular": "http://fonts.gstatic.com/s/brawler/v6/3gfSw6imxQnQxweVITqUrg.ttf"
1841
+ }
1842
+ },
1843
+ {
1844
+ "kind": "webfonts#webfont",
1845
+ "family": "Bree Serif",
1846
+ "category": "serif",
1847
+ "variants": [
1848
+ "regular"
1849
+ ],
1850
+ "subsets": [
1851
+ "latin",
1852
+ "latin-ext"
1853
+ ],
1854
+ "version": "v5",
1855
+ "lastModified": "2016-04-25",
1856
+ "files": {
1857
+ "regular": "http://fonts.gstatic.com/s/breeserif/v5/5h9crBVIrvZqgf34FHcnEfesZW2xOQ-xsNqO47m55DA.ttf"
1858
+ }
1859
+ },
1860
+ {
1861
+ "kind": "webfonts#webfont",
1862
+ "family": "Bubblegum Sans",
1863
+ "category": "display",
1864
+ "variants": [
1865
+ "regular"
1866
+ ],
1867
+ "subsets": [
1868
+ "latin",
1869
+ "latin-ext"
1870
+ ],
1871
+ "version": "v5",
1872
+ "lastModified": "2016-04-25",
1873
+ "files": {
1874
+ "regular": "http://fonts.gstatic.com/s/bubblegumsans/v5/Y9iTUUNz6lbl6TrvV4iwsytnKWgpfO2iSkLzTz-AABg.ttf"
1875
+ }
1876
+ },
1877
+ {
1878
+ "kind": "webfonts#webfont",
1879
+ "family": "Bubbler One",
1880
+ "category": "sans-serif",
1881
+ "variants": [
1882
+ "regular"
1883
+ ],
1884
+ "subsets": [
1885
+ "latin",
1886
+ "latin-ext"
1887
+ ],
1888
+ "version": "v4",
1889
+ "lastModified": "2016-04-25",
1890
+ "files": {
1891
+ "regular": "http://fonts.gstatic.com/s/bubblerone/v4/e8S0qevkZAFaBybtt_SU4qCWcynf_cDxXwCLxiixG1c.ttf"
1892
+ }
1893
+ },
1894
+ {
1895
+ "kind": "webfonts#webfont",
1896
+ "family": "Buda",
1897
+ "category": "display",
1898
+ "variants": [
1899
+ "300"
1900
+ ],
1901
+ "subsets": [
1902
+ "latin"
1903
+ ],
1904
+ "version": "v6",
1905
+ "lastModified": "2016-04-25",
1906
+ "files": {
1907
+ "300": "http://fonts.gstatic.com/s/buda/v6/hLtAmNUmEMJH2yx7NGUjnA.ttf"
1908
+ }
1909
+ },
1910
+ {
1911
+ "kind": "webfonts#webfont",
1912
+ "family": "Buenard",
1913
+ "category": "serif",
1914
+ "variants": [
1915
+ "regular",
1916
+ "700"
1917
+ ],
1918
+ "subsets": [
1919
+ "latin",
1920
+ "latin-ext"
1921
+ ],
1922
+ "version": "v7",
1923
+ "lastModified": "2016-04-25",
1924
+ "files": {
1925
+ "regular": "http://fonts.gstatic.com/s/buenard/v7/NSpMPGKAUgrLrlstYVvIXQ.ttf",
1926
+ "700": "http://fonts.gstatic.com/s/buenard/v7/yUlGE115dGr7O9w9FlP3UvesZW2xOQ-xsNqO47m55DA.ttf"
1927
+ }
1928
+ },
1929
+ {
1930
+ "kind": "webfonts#webfont",
1931
+ "family": "Butcherman",
1932
+ "category": "display",
1933
+ "variants": [
1934
+ "regular"
1935
+ ],
1936
+ "subsets": [
1937
+ "latin",
1938
+ "latin-ext"
1939
+ ],
1940
+ "version": "v7",
1941
+ "lastModified": "2016-04-25",
1942
+ "files": {
1943
+ "regular": "http://fonts.gstatic.com/s/butcherman/v7/bxiJmD567sPBVpJsT0XR0vesZW2xOQ-xsNqO47m55DA.ttf"
1944
+ }
1945
+ },
1946
+ {
1947
+ "kind": "webfonts#webfont",
1948
+ "family": "Butterfly Kids",
1949
+ "category": "handwriting",
1950
+ "variants": [
1951
+ "regular"
1952
+ ],
1953
+ "subsets": [
1954
+ "latin",
1955
+ "latin-ext"
1956
+ ],
1957
+ "version": "v4",
1958
+ "lastModified": "2016-04-25",
1959
+ "files": {
1960
+ "regular": "http://fonts.gstatic.com/s/butterflykids/v4/J4NTF5M25htqeTffYImtlUZaDk62iwTBnbnvwSjZciA.ttf"
1961
+ }
1962
+ },
1963
+ {
1964
+ "kind": "webfonts#webfont",
1965
+ "family": "Cabin",
1966
+ "category": "sans-serif",
1967
+ "variants": [
1968
+ "regular",
1969
+ "italic",
1970
+ "500",
1971
+ "500italic",
1972
+ "600",
1973
+ "600italic",
1974
+ "700",
1975
+ "700italic"
1976
+ ],
1977
+ "subsets": [
1978
+ "latin"
1979
+ ],
1980
+ "version": "v8",
1981
+ "lastModified": "2016-04-25",
1982
+ "files": {
1983
+ "regular": "http://fonts.gstatic.com/s/cabin/v8/XeuAFYo2xAPHxZGBbQtHhA.ttf",
1984
+ "italic": "http://fonts.gstatic.com/s/cabin/v8/0tJ9k3DI5xC4GBgs1E_Jxw.ttf",
1985
+ "500": "http://fonts.gstatic.com/s/cabin/v8/HgsCQ-k3_Z_uQ86aFolNBg.ttf",
1986
+ "500italic": "http://fonts.gstatic.com/s/cabin/v8/50sjhrGE0njyO-7mGDhGP_esZW2xOQ-xsNqO47m55DA.ttf",
1987
+ "600": "http://fonts.gstatic.com/s/cabin/v8/eUDAvKhBtmTCkeVBsFk34A.ttf",
1988
+ "600italic": "http://fonts.gstatic.com/s/cabin/v8/sFQpQDBd3G2om0Nl5dD2CvesZW2xOQ-xsNqO47m55DA.ttf",
1989
+ "700": "http://fonts.gstatic.com/s/cabin/v8/4EKhProuY1hq_WCAomq9Dg.ttf",
1990
+ "700italic": "http://fonts.gstatic.com/s/cabin/v8/K83QKi8MOKLEqj6bgZ7LrfesZW2xOQ-xsNqO47m55DA.ttf"
1991
+ }
1992
+ },
1993
+ {
1994
+ "kind": "webfonts#webfont",
1995
+ "family": "Cabin Condensed",
1996
+ "category": "sans-serif",
1997
+ "variants": [
1998
+ "regular",
1999
+ "500",
2000
+ "600",
2001
+ "700"
2002
+ ],
2003
+ "subsets": [
2004
+ "latin"
2005
+ ],
2006
+ "version": "v7",
2007
+ "lastModified": "2016-04-25",
2008
+ "files": {
2009
+ "regular": "http://fonts.gstatic.com/s/cabincondensed/v7/B0txb0blf2N29WdYPJjMSiQPsWWoiv__AzYJ9Zzn9II.ttf",
2010
+ "500": "http://fonts.gstatic.com/s/cabincondensed/v7/Ez4zJbsGr2BgXcNUWBVgEARL_-ABKXdjsJSPT0lc2Bk.ttf",
2011
+ "600": "http://fonts.gstatic.com/s/cabincondensed/v7/Ez4zJbsGr2BgXcNUWBVgELS5sSASxc8z4EQTQj7DCAI.ttf",
2012
+ "700": "http://fonts.gstatic.com/s/cabincondensed/v7/Ez4zJbsGr2BgXcNUWBVgEMAWgzcA047xWLixhLCofl8.ttf"
2013
+ }
2014
+ },
2015
+ {
2016
+ "kind": "webfonts#webfont",
2017
+ "family": "Cabin Sketch",
2018
+ "category": "display",
2019
+ "variants": [
2020
+ "regular",
2021
+ "700"
2022
+ ],
2023
+ "subsets": [
2024
+ "latin"
2025
+ ],
2026
+ "version": "v8",
2027
+ "lastModified": "2016-04-25",
2028
+ "files": {
2029
+ "regular": "http://fonts.gstatic.com/s/cabinsketch/v8/d9fijO34zQajqQvl3YHRCS3USBnSvpkopQaUR-2r7iU.ttf",
2030
+ "700": "http://fonts.gstatic.com/s/cabinsketch/v8/ki3SSN5HMOO0-IOLOj069ED2ttfZwueP-QU272T9-k4.ttf"
2031
+ }
2032
+ },
2033
+ {
2034
+ "kind": "webfonts#webfont",
2035
+ "family": "Caesar Dressing",
2036
+ "category": "display",
2037
+ "variants": [
2038
+ "regular"
2039
+ ],
2040
+ "subsets": [
2041
+ "latin"
2042
+ ],
2043
+ "version": "v5",
2044
+ "lastModified": "2016-04-25",
2045
+ "files": {
2046
+ "regular": "http://fonts.gstatic.com/s/caesardressing/v5/2T_WzBgE2Xz3FsyJMq34T9gR43u4FvCuJwIfF5Zxl6Y.ttf"
2047
+ }
2048
+ },
2049
+ {
2050
+ "kind": "webfonts#webfont",
2051
+ "family": "Cagliostro",
2052
+ "category": "sans-serif",
2053
+ "variants": [
2054
+ "regular"
2055
+ ],
2056
+ "subsets": [
2057
+ "latin"
2058
+ ],
2059
+ "version": "v5",
2060
+ "lastModified": "2016-04-25",
2061
+ "files": {
2062
+ "regular": "http://fonts.gstatic.com/s/cagliostro/v5/i85oXbtdSatNEzss99bpj_esZW2xOQ-xsNqO47m55DA.ttf"
2063
+ }
2064
+ },
2065
+ {
2066
+ "kind": "webfonts#webfont",
2067
+ "family": "Calligraffitti",
2068
+ "category": "handwriting",
2069
+ "variants": [
2070
+ "regular"
2071
+ ],
2072
+ "subsets": [
2073
+ "latin"
2074
+ ],
2075
+ "version": "v7",
2076
+ "lastModified": "2016-04-25",
2077
+ "files": {
2078
+ "regular": "http://fonts.gstatic.com/s/calligraffitti/v7/vLVN2Y-z65rVu1R7lWdvyDXz_orj3gX0_NzfmYulrko.ttf"
2079
+ }
2080
+ },
2081
+ {
2082
+ "kind": "webfonts#webfont",
2083
+ "family": "Cambay",
2084
+ "category": "sans-serif",
2085
+ "variants": [
2086
+ "regular",
2087
+ "italic",
2088
+ "700",
2089
+ "700italic"
2090
+ ],
2091
+ "subsets": [
2092
+ "latin",
2093
+ "devanagari",
2094
+ "latin-ext"
2095
+ ],
2096
+ "version": "v1",
2097
+ "lastModified": "2016-04-25",
2098
+ "files": {
2099
+ "regular": "http://fonts.gstatic.com/s/cambay/v1/etU9Bab4VuhzS-OKsb1VXg.ttf",
2100
+ "italic": "http://fonts.gstatic.com/s/cambay/v1/ZEz9yNqpEOgejaw1rBhugQ.ttf",
2101
+ "700": "http://fonts.gstatic.com/s/cambay/v1/jw9niBxa04eEhnSwTWCEgw.ttf",
2102
+ "700italic": "http://fonts.gstatic.com/s/cambay/v1/j-5v_uUr0NXTumWN0siOiaCWcynf_cDxXwCLxiixG1c.ttf"
2103
+ }
2104
+ },
2105
+ {
2106
+ "kind": "webfonts#webfont",
2107
+ "family": "Cambo",
2108
+ "category": "serif",
2109
+ "variants": [
2110
+ "regular"
2111
+ ],
2112
+ "subsets": [
2113
+ "latin"
2114
+ ],
2115
+ "version": "v5",
2116
+ "lastModified": "2016-04-25",
2117
+ "files": {
2118
+ "regular": "http://fonts.gstatic.com/s/cambo/v5/PnwpRuTdkYCf8qk4ajmNRA.ttf"
2119
+ }
2120
+ },
2121
+ {
2122
+ "kind": "webfonts#webfont",
2123
+ "family": "Candal",
2124
+ "category": "sans-serif",
2125
+ "variants": [
2126
+ "regular"
2127
+ ],
2128
+ "subsets": [
2129
+ "latin"
2130
+ ],
2131
+ "version": "v6",
2132
+ "lastModified": "2016-04-25",
2133
+ "files": {
2134
+ "regular": "http://fonts.gstatic.com/s/candal/v6/x44dDW28zK7GR1gGDBmj9g.ttf"
2135
+ }
2136
+ },
2137
+ {
2138
+ "kind": "webfonts#webfont",
2139
+ "family": "Cantarell",
2140
+ "category": "sans-serif",
2141
+ "variants": [
2142
+ "regular",
2143
+ "italic",
2144
+ "700",
2145
+ "700italic"
2146
+ ],
2147
+ "subsets": [
2148
+ "latin"
2149
+ ],
2150
+ "version": "v6",
2151
+ "lastModified": "2016-04-25",
2152
+ "files": {
2153
+ "regular": "http://fonts.gstatic.com/s/cantarell/v6/p5ydP_uWQ5lsFzcP_XVMEw.ttf",
2154
+ "italic": "http://fonts.gstatic.com/s/cantarell/v6/DTCLtOSqP-7dgM-V_xKUjqCWcynf_cDxXwCLxiixG1c.ttf",
2155
+ "700": "http://fonts.gstatic.com/s/cantarell/v6/Yir4ZDsCn4g1kWopdg-ehC3USBnSvpkopQaUR-2r7iU.ttf",
2156
+ "700italic": "http://fonts.gstatic.com/s/cantarell/v6/weehrwMeZBXb0QyrWnRwFXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
2157
+ }
2158
+ },
2159
+ {
2160
+ "kind": "webfonts#webfont",
2161
+ "family": "Cantata One",
2162
+ "category": "serif",
2163
+ "variants": [
2164
+ "regular"
2165
+ ],
2166
+ "subsets": [
2167
+ "latin",
2168
+ "latin-ext"
2169
+ ],
2170
+ "version": "v6",
2171
+ "lastModified": "2016-04-25",
2172
+ "files": {
2173
+ "regular": "http://fonts.gstatic.com/s/cantataone/v6/-a5FDvnBqaBMDaGgZYnEfqCWcynf_cDxXwCLxiixG1c.ttf"
2174
+ }
2175
+ },
2176
+ {
2177
+ "kind": "webfonts#webfont",
2178
+ "family": "Cantora One",
2179
+ "category": "sans-serif",
2180
+ "variants": [
2181
+ "regular"
2182
+ ],
2183
+ "subsets": [
2184
+ "latin",
2185
+ "latin-ext"
2186
+ ],
2187
+ "version": "v5",
2188
+ "lastModified": "2016-04-25",
2189
+ "files": {
2190
+ "regular": "http://fonts.gstatic.com/s/cantoraone/v5/oI-DS62RbHI8ZREjp73ehqCWcynf_cDxXwCLxiixG1c.ttf"
2191
+ }
2192
+ },
2193
+ {
2194
+ "kind": "webfonts#webfont",
2195
+ "family": "Capriola",
2196
+ "category": "sans-serif",
2197
+ "variants": [
2198
+ "regular"
2199
+ ],
2200
+ "subsets": [
2201
+ "latin",
2202
+ "latin-ext"
2203
+ ],
2204
+ "version": "v4",
2205
+ "lastModified": "2016-04-25",
2206
+ "files": {
2207
+ "regular": "http://fonts.gstatic.com/s/capriola/v4/JxXPlkdzWwF9Cwelbvi9jA.ttf"
2208
+ }
2209
+ },
2210
+ {
2211
+ "kind": "webfonts#webfont",
2212
+ "family": "Cardo",
2213
+ "category": "serif",
2214
+ "variants": [
2215
+ "regular",
2216
+ "italic",
2217
+ "700"
2218
+ ],
2219
+ "subsets": [
2220
+ "latin",
2221
+ "greek",
2222
+ "latin-ext",
2223
+ "greek-ext"
2224
+ ],
2225
+ "version": "v8",
2226
+ "lastModified": "2016-04-25",
2227
+ "files": {
2228
+ "regular": "http://fonts.gstatic.com/s/cardo/v8/jbkF2_R0FKUEZTq5dwSknQ.ttf",
2229
+ "italic": "http://fonts.gstatic.com/s/cardo/v8/pcv4Np9tUkq0YREYUcEEJQ.ttf",
2230
+ "700": "http://fonts.gstatic.com/s/cardo/v8/lQN30weILimrKvp8rZhF1w.ttf"
2231
+ }
2232
+ },
2233
+ {
2234
+ "kind": "webfonts#webfont",
2235
+ "family": "Carme",
2236
+ "category": "sans-serif",
2237
+ "variants": [
2238
+ "regular"
2239
+ ],
2240
+ "subsets": [
2241
+ "latin"
2242
+ ],
2243
+ "version": "v7",
2244
+ "lastModified": "2016-04-25",
2245
+ "files": {
2246
+ "regular": "http://fonts.gstatic.com/s/carme/v7/08E0NP1eRBEyFRUadmMfgA.ttf"
2247
+ }
2248
+ },
2249
+ {
2250
+ "kind": "webfonts#webfont",
2251
+ "family": "Carrois Gothic",
2252
+ "category": "sans-serif",
2253
+ "variants": [
2254
+ "regular"
2255
+ ],
2256
+ "subsets": [
2257
+ "latin"
2258
+ ],
2259
+ "version": "v4",
2260
+ "lastModified": "2016-04-25",
2261
+ "files": {
2262
+ "regular": "http://fonts.gstatic.com/s/carroisgothic/v4/GCgb7bssGpwp7V5ynxmWy2x3d0cwUleGuRTmCYfCUaM.ttf"
2263
+ }
2264
+ },
2265
+ {
2266
+ "kind": "webfonts#webfont",
2267
+ "family": "Carrois Gothic SC",
2268
+ "category": "sans-serif",
2269
+ "variants": [
2270
+ "regular"
2271
+ ],
2272
+ "subsets": [
2273
+ "latin"
2274
+ ],
2275
+ "version": "v4",
2276
+ "lastModified": "2016-04-25",
2277
+ "files": {
2278
+ "regular": "http://fonts.gstatic.com/s/carroisgothicsc/v4/bVp4nhwFIXU-r3LqUR8DSJTdPW1ioadGi2uRiKgJVCY.ttf"
2279
+ }
2280
+ },
2281
+ {
2282
+ "kind": "webfonts#webfont",
2283
+ "family": "Carter One",
2284
+ "category": "display",
2285
+ "variants": [
2286
+ "regular"
2287
+ ],
2288
+ "subsets": [
2289
+ "latin"
2290
+ ],
2291
+ "version": "v8",
2292
+ "lastModified": "2016-04-25",
2293
+ "files": {
2294
+ "regular": "http://fonts.gstatic.com/s/carterone/v8/5X_LFvdbcB7OBG7hBgZ7fPesZW2xOQ-xsNqO47m55DA.ttf"
2295
+ }
2296
+ },
2297
+ {
2298
+ "kind": "webfonts#webfont",
2299
+ "family": "Catamaran",
2300
+ "category": "sans-serif",
2301
+ "variants": [
2302
+ "100",
2303
+ "200",
2304
+ "300",
2305
+ "regular",
2306
+ "500",
2307
+ "600",
2308
+ "700",
2309
+ "800",
2310
+ "900"
2311
+ ],
2312
+ "subsets": [
2313
+ "latin",
2314
+ "tamil",
2315
+ "latin-ext"
2316
+ ],
2317
+ "version": "v1",
2318
+ "lastModified": "2016-04-25",
2319
+ "files": {
2320
+ "100": "http://fonts.gstatic.com/s/catamaran/v1/ilWHBiy0krUPdlmYxDuqC6CWcynf_cDxXwCLxiixG1c.ttf",
2321
+ "200": "http://fonts.gstatic.com/s/catamaran/v1/hFc-HKSsGk6M-psujei1MC3USBnSvpkopQaUR-2r7iU.ttf",
2322
+ "300": "http://fonts.gstatic.com/s/catamaran/v1/Aaag4ccR7Oh_4eai-jbrYC3USBnSvpkopQaUR-2r7iU.ttf",
2323
+ "regular": "http://fonts.gstatic.com/s/catamaran/v1/MdNkM-DU8f6R-25Nxpr_XA.ttf",
2324
+ "500": "http://fonts.gstatic.com/s/catamaran/v1/83WSX3F86qsvj1Z4EI0tQi3USBnSvpkopQaUR-2r7iU.ttf",
2325
+ "600": "http://fonts.gstatic.com/s/catamaran/v1/a9PlHHnuBWiGGk0TwuFKTi3USBnSvpkopQaUR-2r7iU.ttf",
2326
+ "700": "http://fonts.gstatic.com/s/catamaran/v1/PpgVtUHUdnBZYNpnzGbScy3USBnSvpkopQaUR-2r7iU.ttf",
2327
+ "800": "http://fonts.gstatic.com/s/catamaran/v1/6VjB_uSfn3DZ93IQv58CmC3USBnSvpkopQaUR-2r7iU.ttf",
2328
+ "900": "http://fonts.gstatic.com/s/catamaran/v1/5ys9TqpQc9Q6gHqbSox6py3USBnSvpkopQaUR-2r7iU.ttf"
2329
+ }
2330
+ },
2331
+ {
2332
+ "kind": "webfonts#webfont",
2333
+ "family": "Caudex",
2334
+ "category": "serif",
2335
+ "variants": [
2336
+ "regular",
2337
+ "italic",
2338
+ "700",
2339
+ "700italic"
2340
+ ],
2341
+ "subsets": [
2342
+ "latin",
2343
+ "greek",
2344
+ "latin-ext",
2345
+ "greek-ext"
2346
+ ],
2347
+ "version": "v6",
2348
+ "lastModified": "2016-04-25",
2349
+ "files": {
2350
+ "regular": "http://fonts.gstatic.com/s/caudex/v6/PWEexiHLDmQbn2b1OPZWfg.ttf",
2351
+ "italic": "http://fonts.gstatic.com/s/caudex/v6/XjMZF6XCisvV3qapD4oJdw.ttf",
2352
+ "700": "http://fonts.gstatic.com/s/caudex/v6/PetCI4GyQ5Q3LiOzUu_mMg.ttf",
2353
+ "700italic": "http://fonts.gstatic.com/s/caudex/v6/yT8YeHLjaJvQXlUEYOA8gqCWcynf_cDxXwCLxiixG1c.ttf"
2354
+ }
2355
+ },
2356
+ {
2357
+ "kind": "webfonts#webfont",
2358
+ "family": "Caveat",
2359
+ "category": "handwriting",
2360
+ "variants": [
2361
+ "regular",
2362
+ "700"
2363
+ ],
2364
+ "subsets": [
2365
+ "latin",
2366
+ "latin-ext"
2367
+ ],
2368
+ "version": "v1",
2369
+ "lastModified": "2016-04-25",
2370
+ "files": {
2371
+ "regular": "http://fonts.gstatic.com/s/caveat/v1/8I23b6N-6rRVbh-C_Vx3yA.ttf",
2372
+ "700": "http://fonts.gstatic.com/s/caveat/v1/LkaFtQENGJry2eUMwGRTeA.ttf"
2373
+ }
2374
+ },
2375
+ {
2376
+ "kind": "webfonts#webfont",
2377
+ "family": "Caveat Brush",
2378
+ "category": "handwriting",
2379
+ "variants": [
2380
+ "regular"
2381
+ ],
2382
+ "subsets": [
2383
+ "latin",
2384
+ "latin-ext"
2385
+ ],
2386
+ "version": "v1",
2387
+ "lastModified": "2016-04-25",
2388
+ "files": {
2389
+ "regular": "http://fonts.gstatic.com/s/caveatbrush/v1/_d7bgsk3hfC4DXnUEeYKsy3USBnSvpkopQaUR-2r7iU.ttf"
2390
+ }
2391
+ },
2392
+ {
2393
+ "kind": "webfonts#webfont",
2394
+ "family": "Cedarville Cursive",
2395
+ "category": "handwriting",
2396
+ "variants": [
2397
+ "regular"
2398
+ ],
2399
+ "subsets": [
2400
+ "latin"
2401
+ ],
2402
+ "version": "v7",
2403
+ "lastModified": "2016-04-25",
2404
+ "files": {
2405
+ "regular": "http://fonts.gstatic.com/s/cedarvillecursive/v7/cuCe6HrkcqrWTWTUE7dw-41zwq9-z_Lf44CzRAA0d0Y.ttf"
2406
+ }
2407
+ },
2408
+ {
2409
+ "kind": "webfonts#webfont",
2410
+ "family": "Ceviche One",
2411
+ "category": "display",
2412
+ "variants": [
2413
+ "regular"
2414
+ ],
2415
+ "subsets": [
2416
+ "latin",
2417
+ "latin-ext"
2418
+ ],
2419
+ "version": "v7",
2420
+ "lastModified": "2016-04-25",
2421
+ "files": {
2422
+ "regular": "http://fonts.gstatic.com/s/cevicheone/v7/WOaXIMBD4VYMy39MsobJhKCWcynf_cDxXwCLxiixG1c.ttf"
2423
+ }
2424
+ },
2425
+ {
2426
+ "kind": "webfonts#webfont",
2427
+ "family": "Changa One",
2428
+ "category": "display",
2429
+ "variants": [
2430
+ "regular",
2431
+ "italic"
2432
+ ],
2433
+ "subsets": [
2434
+ "latin"
2435
+ ],
2436
+ "version": "v9",
2437
+ "lastModified": "2016-04-25",
2438
+ "files": {
2439
+ "regular": "http://fonts.gstatic.com/s/changaone/v9/dr4qjce4W3kxFrZRkVD87fesZW2xOQ-xsNqO47m55DA.ttf",
2440
+ "italic": "http://fonts.gstatic.com/s/changaone/v9/wJVQlUs1lAZel-WdTo2U9y3USBnSvpkopQaUR-2r7iU.ttf"
2441
+ }
2442
+ },
2443
+ {
2444
+ "kind": "webfonts#webfont",
2445
+ "family": "Chango",
2446
+ "category": "display",
2447
+ "variants": [
2448
+ "regular"
2449
+ ],
2450
+ "subsets": [
2451
+ "latin",
2452
+ "latin-ext"
2453
+ ],
2454
+ "version": "v5",
2455
+ "lastModified": "2016-04-25",
2456
+ "files": {
2457
+ "regular": "http://fonts.gstatic.com/s/chango/v5/3W3AeMMtRTH08t5qLOjBmg.ttf"
2458
+ }
2459
+ },
2460
+ {
2461
+ "kind": "webfonts#webfont",
2462
+ "family": "Chau Philomene One",
2463
+ "category": "sans-serif",
2464
+ "variants": [
2465
+ "regular",
2466
+ "italic"
2467
+ ],
2468
+ "subsets": [
2469
+ "latin",
2470
+ "latin-ext"
2471
+ ],
2472
+ "version": "v4",
2473
+ "lastModified": "2016-04-25",
2474
+ "files": {
2475
+ "regular": "http://fonts.gstatic.com/s/chauphilomeneone/v4/KKc5egCL-a2fFVoOA2x6tBFi5dxgSTdxqnMJgWkBJcg.ttf",
2476
+ "italic": "http://fonts.gstatic.com/s/chauphilomeneone/v4/eJj1PY_iN4KiIuyOvtMHJP6uyLkxyiC4WcYA74sfquE.ttf"
2477
+ }
2478
+ },
2479
+ {
2480
+ "kind": "webfonts#webfont",
2481
+ "family": "Chela One",
2482
+ "category": "display",
2483
+ "variants": [
2484
+ "regular"
2485
+ ],
2486
+ "subsets": [
2487
+ "latin",
2488
+ "latin-ext"
2489
+ ],
2490
+ "version": "v5",
2491
+ "lastModified": "2016-04-25",
2492
+ "files": {
2493
+ "regular": "http://fonts.gstatic.com/s/chelaone/v5/h5O0dEnpnIq6jQnWxZybrA.ttf"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "webfonts#webfont",
2498
+ "family": "Chelsea Market",
2499
+ "category": "display",
2500
+ "variants": [
2501
+ "regular"
2502
+ ],
2503
+ "subsets": [
2504
+ "latin",
2505
+ "latin-ext"
2506
+ ],
2507
+ "version": "v4",
2508
+ "lastModified": "2016-04-25",
2509
+ "files": {
2510
+ "regular": "http://fonts.gstatic.com/s/chelseamarket/v4/qSdzwh2A4BbNemy78sJLfAAI1i8fIftCBXsBF2v9UMI.ttf"
2511
+ }
2512
+ },
2513
+ {
2514
+ "kind": "webfonts#webfont",
2515
+ "family": "Chenla",
2516
+ "category": "display",
2517
+ "variants": [
2518
+ "regular"
2519
+ ],
2520
+ "subsets": [
2521
+ "khmer"
2522
+ ],
2523
+ "version": "v9",
2524
+ "lastModified": "2016-04-25",
2525
+ "files": {
2526
+ "regular": "http://fonts.gstatic.com/s/chenla/v9/aLNpdAUDq2MZbWz2U1a16g.ttf"
2527
+ }
2528
+ },
2529
+ {
2530
+ "kind": "webfonts#webfont",
2531
+ "family": "Cherry Cream Soda",
2532
+ "category": "display",
2533
+ "variants": [
2534
+ "regular"
2535
+ ],
2536
+ "subsets": [
2537
+ "latin"
2538
+ ],
2539
+ "version": "v6",
2540
+ "lastModified": "2016-04-25",
2541
+ "files": {
2542
+ "regular": "http://fonts.gstatic.com/s/cherrycreamsoda/v6/OrD-AUnFcZeeKa6F_c0_WxOiHiuAPYA9ry3O1RG2XIU.ttf"
2543
+ }
2544
+ },
2545
+ {
2546
+ "kind": "webfonts#webfont",
2547
+ "family": "Cherry Swash",
2548
+ "category": "display",
2549
+ "variants": [
2550
+ "regular",
2551
+ "700"
2552
+ ],
2553
+ "subsets": [
2554
+ "latin",
2555
+ "latin-ext"
2556
+ ],
2557
+ "version": "v4",
2558
+ "lastModified": "2016-04-25",
2559
+ "files": {
2560
+ "regular": "http://fonts.gstatic.com/s/cherryswash/v4/HqOk7C7J1TZ5i3L-ejF0vi3USBnSvpkopQaUR-2r7iU.ttf",
2561
+ "700": "http://fonts.gstatic.com/s/cherryswash/v4/-CfyMyQqfucZPQNB0nvYyED2ttfZwueP-QU272T9-k4.ttf"
2562
+ }
2563
+ },
2564
+ {
2565
+ "kind": "webfonts#webfont",
2566
+ "family": "Chewy",
2567
+ "category": "display",
2568
+ "variants": [
2569
+ "regular"
2570
+ ],
2571
+ "subsets": [
2572
+ "latin"
2573
+ ],
2574
+ "version": "v7",
2575
+ "lastModified": "2016-04-25",
2576
+ "files": {
2577
+ "regular": "http://fonts.gstatic.com/s/chewy/v7/hcDN5cvQdIu6Bx4mg_TSyw.ttf"
2578
+ }
2579
+ },
2580
+ {
2581
+ "kind": "webfonts#webfont",
2582
+ "family": "Chicle",
2583
+ "category": "display",
2584
+ "variants": [
2585
+ "regular"
2586
+ ],
2587
+ "subsets": [
2588
+ "latin",
2589
+ "latin-ext"
2590
+ ],
2591
+ "version": "v5",
2592
+ "lastModified": "2016-04-25",
2593
+ "files": {
2594
+ "regular": "http://fonts.gstatic.com/s/chicle/v5/xg4q57Ut9ZmyFwLp51JLgg.ttf"
2595
+ }
2596
+ },
2597
+ {
2598
+ "kind": "webfonts#webfont",
2599
+ "family": "Chivo",
2600
+ "category": "sans-serif",
2601
+ "variants": [
2602
+ "regular",
2603
+ "italic",
2604
+ "900",
2605
+ "900italic"
2606
+ ],
2607
+ "subsets": [
2608
+ "latin"
2609
+ ],
2610
+ "version": "v7",
2611
+ "lastModified": "2016-04-25",
2612
+ "files": {
2613
+ "regular": "http://fonts.gstatic.com/s/chivo/v7/L88PEuzS9eRfHRZhAPhZyw.ttf",
2614
+ "italic": "http://fonts.gstatic.com/s/chivo/v7/Oe3-Q-a2kBzPnhHck_baMg.ttf",
2615
+ "900": "http://fonts.gstatic.com/s/chivo/v7/JAdkiWd46QCW4vOsj3dzTA.ttf",
2616
+ "900italic": "http://fonts.gstatic.com/s/chivo/v7/LoszYnE86q2wJEOjCigBQ_esZW2xOQ-xsNqO47m55DA.ttf"
2617
+ }
2618
+ },
2619
+ {
2620
+ "kind": "webfonts#webfont",
2621
+ "family": "Chonburi",
2622
+ "category": "display",
2623
+ "variants": [
2624
+ "regular"
2625
+ ],
2626
+ "subsets": [
2627
+ "latin",
2628
+ "thai",
2629
+ "latin-ext",
2630
+ "vietnamese"
2631
+ ],
2632
+ "version": "v1",
2633
+ "lastModified": "2016-04-25",
2634
+ "files": {
2635
+ "regular": "http://fonts.gstatic.com/s/chonburi/v1/jd9PfbW0x_8Myt_XeUxvSQ.ttf"
2636
+ }
2637
+ },
2638
+ {
2639
+ "kind": "webfonts#webfont",
2640
+ "family": "Cinzel",
2641
+ "category": "serif",
2642
+ "variants": [
2643
+ "regular",
2644
+ "700",
2645
+ "900"
2646
+ ],
2647
+ "subsets": [
2648
+ "latin"
2649
+ ],
2650
+ "version": "v4",
2651
+ "lastModified": "2016-04-25",
2652
+ "files": {
2653
+ "regular": "http://fonts.gstatic.com/s/cinzel/v4/GF7dy_Nc-a6EaHYSyGd-EA.ttf",
2654
+ "700": "http://fonts.gstatic.com/s/cinzel/v4/nYcFQ6_3pf_6YDrOFjBR8Q.ttf",
2655
+ "900": "http://fonts.gstatic.com/s/cinzel/v4/FTBj72ozM2cEOSxiVsRb3A.ttf"
2656
+ }
2657
+ },
2658
+ {
2659
+ "kind": "webfonts#webfont",
2660
+ "family": "Cinzel Decorative",
2661
+ "category": "display",
2662
+ "variants": [
2663
+ "regular",
2664
+ "700",
2665
+ "900"
2666
+ ],
2667
+ "subsets": [
2668
+ "latin"
2669
+ ],
2670
+ "version": "v4",
2671
+ "lastModified": "2016-04-25",
2672
+ "files": {
2673
+ "regular": "http://fonts.gstatic.com/s/cinzeldecorative/v4/fmgK7oaJJIXAkhd9798yQgT5USbJx2F82lQbogPy2bY.ttf",
2674
+ "700": "http://fonts.gstatic.com/s/cinzeldecorative/v4/pXhIVnhFtL_B9Vb1wq2F95-YYVDmZkJErg0zgx9XuZI.ttf",
2675
+ "900": "http://fonts.gstatic.com/s/cinzeldecorative/v4/pXhIVnhFtL_B9Vb1wq2F97Khqbv0zQZa0g-9HOXAalU.ttf"
2676
+ }
2677
+ },
2678
+ {
2679
+ "kind": "webfonts#webfont",
2680
+ "family": "Clicker Script",
2681
+ "category": "handwriting",
2682
+ "variants": [
2683
+ "regular"
2684
+ ],
2685
+ "subsets": [
2686
+ "latin",
2687
+ "latin-ext"
2688
+ ],
2689
+ "version": "v4",
2690
+ "lastModified": "2016-04-25",
2691
+ "files": {
2692
+ "regular": "http://fonts.gstatic.com/s/clickerscript/v4/Zupmk8XwADjufGxWB9KThBnpV0hQCek3EmWnCPrvGRM.ttf"
2693
+ }
2694
+ },
2695
+ {
2696
+ "kind": "webfonts#webfont",
2697
+ "family": "Coda",
2698
+ "category": "display",
2699
+ "variants": [
2700
+ "regular",
2701
+ "800"
2702
+ ],
2703
+ "subsets": [
2704
+ "latin",
2705
+ "latin-ext"
2706
+ ],
2707
+ "version": "v11",
2708
+ "lastModified": "2016-04-25",
2709
+ "files": {
2710
+ "regular": "http://fonts.gstatic.com/s/coda/v11/yHDvulhg-P-p2KRgRrnUYw.ttf",
2711
+ "800": "http://fonts.gstatic.com/s/coda/v11/6ZIw0sbALY0KTMWllZB3hQ.ttf"
2712
+ }
2713
+ },
2714
+ {
2715
+ "kind": "webfonts#webfont",
2716
+ "family": "Coda Caption",
2717
+ "category": "sans-serif",
2718
+ "variants": [
2719
+ "800"
2720
+ ],
2721
+ "subsets": [
2722
+ "latin",
2723
+ "latin-ext"
2724
+ ],
2725
+ "version": "v9",
2726
+ "lastModified": "2016-04-25",
2727
+ "files": {
2728
+ "800": "http://fonts.gstatic.com/s/codacaption/v9/YDl6urZh-DUFhiMBTgAnz_qsay_1ZmRGmC8pVRdIfAg.ttf"
2729
+ }
2730
+ },
2731
+ {
2732
+ "kind": "webfonts#webfont",
2733
+ "family": "Codystar",
2734
+ "category": "display",
2735
+ "variants": [
2736
+ "300",
2737
+ "regular"
2738
+ ],
2739
+ "subsets": [
2740
+ "latin",
2741
+ "latin-ext"
2742
+ ],
2743
+ "version": "v4",
2744
+ "lastModified": "2016-04-25",
2745
+ "files": {
2746
+ "300": "http://fonts.gstatic.com/s/codystar/v4/EVaUzfJkcb8Zqx9kzQLXqqCWcynf_cDxXwCLxiixG1c.ttf",
2747
+ "regular": "http://fonts.gstatic.com/s/codystar/v4/EN-CPFKYowSI7SuR7-0cZA.ttf"
2748
+ }
2749
+ },
2750
+ {
2751
+ "kind": "webfonts#webfont",
2752
+ "family": "Combo",
2753
+ "category": "display",
2754
+ "variants": [
2755
+ "regular"
2756
+ ],
2757
+ "subsets": [
2758
+ "latin",
2759
+ "latin-ext"
2760
+ ],
2761
+ "version": "v5",
2762
+ "lastModified": "2016-04-25",
2763
+ "files": {
2764
+ "regular": "http://fonts.gstatic.com/s/combo/v5/Nab98KjR3JZSSPGtzLyXNw.ttf"
2765
+ }
2766
+ },
2767
+ {
2768
+ "kind": "webfonts#webfont",
2769
+ "family": "Comfortaa",
2770
+ "category": "display",
2771
+ "variants": [
2772
+ "300",
2773
+ "regular",
2774
+ "700"
2775
+ ],
2776
+ "subsets": [
2777
+ "latin",
2778
+ "greek",
2779
+ "latin-ext",
2780
+ "cyrillic-ext",
2781
+ "cyrillic"
2782
+ ],
2783
+ "version": "v7",
2784
+ "lastModified": "2016-04-25",
2785
+ "files": {
2786
+ "300": "http://fonts.gstatic.com/s/comfortaa/v7/r_tUZNl0G8xCoOmp_JkSCi3USBnSvpkopQaUR-2r7iU.ttf",
2787
+ "regular": "http://fonts.gstatic.com/s/comfortaa/v7/lZx6C1VViPgSOhCBUP7hXA.ttf",
2788
+ "700": "http://fonts.gstatic.com/s/comfortaa/v7/fND5XPYKrF2tQDwwfWZJIy3USBnSvpkopQaUR-2r7iU.ttf"
2789
+ }
2790
+ },
2791
+ {
2792
+ "kind": "webfonts#webfont",
2793
+ "family": "Coming Soon",
2794
+ "category": "handwriting",
2795
+ "variants": [
2796
+ "regular"
2797
+ ],
2798
+ "subsets": [
2799
+ "latin"
2800
+ ],
2801
+ "version": "v6",
2802
+ "lastModified": "2016-04-25",
2803
+ "files": {
2804
+ "regular": "http://fonts.gstatic.com/s/comingsoon/v6/Yz2z3IAe2HSQAOWsSG8COKCWcynf_cDxXwCLxiixG1c.ttf"
2805
+ }
2806
+ },
2807
+ {
2808
+ "kind": "webfonts#webfont",
2809
+ "family": "Concert One",
2810
+ "category": "display",
2811
+ "variants": [
2812
+ "regular"
2813
+ ],
2814
+ "subsets": [
2815
+ "latin",
2816
+ "latin-ext"
2817
+ ],
2818
+ "version": "v7",
2819
+ "lastModified": "2016-04-25",
2820
+ "files": {
2821
+ "regular": "http://fonts.gstatic.com/s/concertone/v7/N5IWCIGhUNdPZn_efTxKN6CWcynf_cDxXwCLxiixG1c.ttf"
2822
+ }
2823
+ },
2824
+ {
2825
+ "kind": "webfonts#webfont",
2826
+ "family": "Condiment",
2827
+ "category": "handwriting",
2828
+ "variants": [
2829
+ "regular"
2830
+ ],
2831
+ "subsets": [
2832
+ "latin",
2833
+ "latin-ext"
2834
+ ],
2835
+ "version": "v4",
2836
+ "lastModified": "2016-04-25",
2837
+ "files": {
2838
+ "regular": "http://fonts.gstatic.com/s/condiment/v4/CstmdiPpgFSV0FUNL5LrJA.ttf"
2839
+ }
2840
+ },
2841
+ {
2842
+ "kind": "webfonts#webfont",
2843
+ "family": "Content",
2844
+ "category": "display",
2845
+ "variants": [
2846
+ "regular",
2847
+ "700"
2848
+ ],
2849
+ "subsets": [
2850
+ "khmer"
2851
+ ],
2852
+ "version": "v8",
2853
+ "lastModified": "2016-04-25",
2854
+ "files": {
2855
+ "regular": "http://fonts.gstatic.com/s/content/v8/l8qaLjygvOkDEU2G6-cjfQ.ttf",
2856
+ "700": "http://fonts.gstatic.com/s/content/v8/7PivP8Zvs2qn6F6aNbSQe_esZW2xOQ-xsNqO47m55DA.ttf"
2857
+ }
2858
+ },
2859
+ {
2860
+ "kind": "webfonts#webfont",
2861
+ "family": "Contrail One",
2862
+ "category": "display",
2863
+ "variants": [
2864
+ "regular"
2865
+ ],
2866
+ "subsets": [
2867
+ "latin"
2868
+ ],
2869
+ "version": "v6",
2870
+ "lastModified": "2016-04-25",
2871
+ "files": {
2872
+ "regular": "http://fonts.gstatic.com/s/contrailone/v6/b41KxjgiyqX-hkggANDU6C3USBnSvpkopQaUR-2r7iU.ttf"
2873
+ }
2874
+ },
2875
+ {
2876
+ "kind": "webfonts#webfont",
2877
+ "family": "Convergence",
2878
+ "category": "sans-serif",
2879
+ "variants": [
2880
+ "regular"
2881
+ ],
2882
+ "subsets": [
2883
+ "latin"
2884
+ ],
2885
+ "version": "v5",
2886
+ "lastModified": "2016-04-25",
2887
+ "files": {
2888
+ "regular": "http://fonts.gstatic.com/s/convergence/v5/eykrGz1NN_YpQmkAZjW-qKCWcynf_cDxXwCLxiixG1c.ttf"
2889
+ }
2890
+ },
2891
+ {
2892
+ "kind": "webfonts#webfont",
2893
+ "family": "Cookie",
2894
+ "category": "handwriting",
2895
+ "variants": [
2896
+ "regular"
2897
+ ],
2898
+ "subsets": [
2899
+ "latin"
2900
+ ],
2901
+ "version": "v7",
2902
+ "lastModified": "2016-04-25",
2903
+ "files": {
2904
+ "regular": "http://fonts.gstatic.com/s/cookie/v7/HxeUC62y_YdDbiFlze357A.ttf"
2905
+ }
2906
+ },
2907
+ {
2908
+ "kind": "webfonts#webfont",
2909
+ "family": "Copse",
2910
+ "category": "serif",
2911
+ "variants": [
2912
+ "regular"
2913
+ ],
2914
+ "subsets": [
2915
+ "latin"
2916
+ ],
2917
+ "version": "v6",
2918
+ "lastModified": "2016-04-25",
2919
+ "files": {
2920
+ "regular": "http://fonts.gstatic.com/s/copse/v6/wikLrtPGjZDvZ5w2i5HLWg.ttf"
2921
+ }
2922
+ },
2923
+ {
2924
+ "kind": "webfonts#webfont",
2925
+ "family": "Corben",
2926
+ "category": "display",
2927
+ "variants": [
2928
+ "regular",
2929
+ "700"
2930
+ ],
2931
+ "subsets": [
2932
+ "latin",
2933
+ "latin-ext"
2934
+ ],
2935
+ "version": "v9",
2936
+ "lastModified": "2016-04-25",
2937
+ "files": {
2938
+ "regular": "http://fonts.gstatic.com/s/corben/v9/tTysMZkt-j8Y5yhkgsoajQ.ttf",
2939
+ "700": "http://fonts.gstatic.com/s/corben/v9/lirJaFSQWdGQuV--fksg5g.ttf"
2940
+ }
2941
+ },
2942
+ {
2943
+ "kind": "webfonts#webfont",
2944
+ "family": "Courgette",
2945
+ "category": "handwriting",
2946
+ "variants": [
2947
+ "regular"
2948
+ ],
2949
+ "subsets": [
2950
+ "latin",
2951
+ "latin-ext"
2952
+ ],
2953
+ "version": "v4",
2954
+ "lastModified": "2016-04-25",
2955
+ "files": {
2956
+ "regular": "http://fonts.gstatic.com/s/courgette/v4/2YO0EYtyE9HUPLZprahpZA.ttf"
2957
+ }
2958
+ },
2959
+ {
2960
+ "kind": "webfonts#webfont",
2961
+ "family": "Cousine",
2962
+ "category": "monospace",
2963
+ "variants": [
2964
+ "regular",
2965
+ "italic",
2966
+ "700",
2967
+ "700italic"
2968
+ ],
2969
+ "subsets": [
2970
+ "latin",
2971
+ "greek",
2972
+ "hebrew",
2973
+ "latin-ext",
2974
+ "cyrillic-ext",
2975
+ "greek-ext",
2976
+ "vietnamese",
2977
+ "cyrillic"
2978
+ ],
2979
+ "version": "v10",
2980
+ "lastModified": "2016-04-25",
2981
+ "files": {
2982
+ "regular": "http://fonts.gstatic.com/s/cousine/v10/GYX4bPXObJNJo63QJEUnLg.ttf",
2983
+ "italic": "http://fonts.gstatic.com/s/cousine/v10/1WtIuajLoo8vjVwsrZ3eOg.ttf",
2984
+ "700": "http://fonts.gstatic.com/s/cousine/v10/FXEOnNUcCzhdtoBxiq-lovesZW2xOQ-xsNqO47m55DA.ttf",
2985
+ "700italic": "http://fonts.gstatic.com/s/cousine/v10/y_AZ5Sz-FwL1lux2xLSTZS3USBnSvpkopQaUR-2r7iU.ttf"
2986
+ }
2987
+ },
2988
+ {
2989
+ "kind": "webfonts#webfont",
2990
+ "family": "Coustard",
2991
+ "category": "serif",
2992
+ "variants": [
2993
+ "regular",
2994
+ "900"
2995
+ ],
2996
+ "subsets": [
2997
+ "latin"
2998
+ ],
2999
+ "version": "v6",
3000
+ "lastModified": "2016-04-25",
3001
+ "files": {
3002
+ "regular": "http://fonts.gstatic.com/s/coustard/v6/iO2Rs5PmqAEAXoU3SkMVBg.ttf",
3003
+ "900": "http://fonts.gstatic.com/s/coustard/v6/W02OCWO6OfMUHz6aVyegQ6CWcynf_cDxXwCLxiixG1c.ttf"
3004
+ }
3005
+ },
3006
+ {
3007
+ "kind": "webfonts#webfont",
3008
+ "family": "Covered By Your Grace",
3009
+ "category": "handwriting",
3010
+ "variants": [
3011
+ "regular"
3012
+ ],
3013
+ "subsets": [
3014
+ "latin"
3015
+ ],
3016
+ "version": "v6",
3017
+ "lastModified": "2016-04-25",
3018
+ "files": {
3019
+ "regular": "http://fonts.gstatic.com/s/coveredbyyourgrace/v6/6ozZp4BPlrbDRWPe3EBGA6CVUMdvnk-GcAiZQrX9Gek.ttf"
3020
+ }
3021
+ },
3022
+ {
3023
+ "kind": "webfonts#webfont",
3024
+ "family": "Crafty Girls",
3025
+ "category": "handwriting",
3026
+ "variants": [
3027
+ "regular"
3028
+ ],
3029
+ "subsets": [
3030
+ "latin"
3031
+ ],
3032
+ "version": "v5",
3033
+ "lastModified": "2016-04-25",
3034
+ "files": {
3035
+ "regular": "http://fonts.gstatic.com/s/craftygirls/v5/0Sv8UWFFdhQmesHL32H8oy3USBnSvpkopQaUR-2r7iU.ttf"
3036
+ }
3037
+ },
3038
+ {
3039
+ "kind": "webfonts#webfont",
3040
+ "family": "Creepster",
3041
+ "category": "display",
3042
+ "variants": [
3043
+ "regular"
3044
+ ],
3045
+ "subsets": [
3046
+ "latin"
3047
+ ],
3048
+ "version": "v5",
3049
+ "lastModified": "2016-04-25",
3050
+ "files": {
3051
+ "regular": "http://fonts.gstatic.com/s/creepster/v5/0vdr5kWJ6aJlOg5JvxnXzQ.ttf"
3052
+ }
3053
+ },
3054
+ {
3055
+ "kind": "webfonts#webfont",
3056
+ "family": "Crete Round",
3057
+ "category": "serif",
3058
+ "variants": [
3059
+ "regular",
3060
+ "italic"
3061
+ ],
3062
+ "subsets": [
3063
+ "latin",
3064
+ "latin-ext"
3065
+ ],
3066
+ "version": "v5",
3067
+ "lastModified": "2016-04-25",
3068
+ "files": {
3069
+ "regular": "http://fonts.gstatic.com/s/creteround/v5/B8EwN421qqOCCT8vOH4wJ6CWcynf_cDxXwCLxiixG1c.ttf",
3070
+ "italic": "http://fonts.gstatic.com/s/creteround/v5/5xAt7XK2vkUdjhGtt98unUeOrDcLawS7-ssYqLr2Xp4.ttf"
3071
+ }
3072
+ },
3073
+ {
3074
+ "kind": "webfonts#webfont",
3075
+ "family": "Crimson Text",
3076
+ "category": "serif",
3077
+ "variants": [
3078
+ "regular",
3079
+ "italic",
3080
+ "600",
3081
+ "600italic",
3082
+ "700",
3083
+ "700italic"
3084
+ ],
3085
+ "subsets": [
3086
+ "latin"
3087
+ ],
3088
+ "version": "v6",
3089
+ "lastModified": "2016-04-25",
3090
+ "files": {
3091
+ "regular": "http://fonts.gstatic.com/s/crimsontext/v6/3IFMwfRa07i-auYR-B-zNS3USBnSvpkopQaUR-2r7iU.ttf",
3092
+ "italic": "http://fonts.gstatic.com/s/crimsontext/v6/a5QZnvmn5amyNI-t2BMkWPMZXuCXbOrAvx5R0IT5Oyo.ttf",
3093
+ "600": "http://fonts.gstatic.com/s/crimsontext/v6/rEy5tGc5HdXy56Xvd4f3I2v8CylhIUtwUiYO7Z2wXbE.ttf",
3094
+ "600italic": "http://fonts.gstatic.com/s/crimsontext/v6/4j4TR-EfnvCt43InYpUNDIR-5-urNOGAobhAyctHvW8.ttf",
3095
+ "700": "http://fonts.gstatic.com/s/crimsontext/v6/rEy5tGc5HdXy56Xvd4f3I0D2ttfZwueP-QU272T9-k4.ttf",
3096
+ "700italic": "http://fonts.gstatic.com/s/crimsontext/v6/4j4TR-EfnvCt43InYpUNDPAs9-1nE9qOqhChW0m4nDE.ttf"
3097
+ }
3098
+ },
3099
+ {
3100
+ "kind": "webfonts#webfont",
3101
+ "family": "Croissant One",
3102
+ "category": "display",
3103
+ "variants": [
3104
+ "regular"
3105
+ ],
3106
+ "subsets": [
3107
+ "latin",
3108
+ "latin-ext"
3109
+ ],
3110
+ "version": "v4",
3111
+ "lastModified": "2016-04-25",
3112
+ "files": {
3113
+ "regular": "http://fonts.gstatic.com/s/croissantone/v4/mPjsOObnC77fp1cvZlOfIYjjx0o0jr6fNXxPgYh_a8Q.ttf"
3114
+ }
3115
+ },
3116
+ {
3117
+ "kind": "webfonts#webfont",
3118
+ "family": "Crushed",
3119
+ "category": "display",
3120
+ "variants": [
3121
+ "regular"
3122
+ ],
3123
+ "subsets": [
3124
+ "latin"
3125
+ ],
3126
+ "version": "v6",
3127
+ "lastModified": "2016-04-25",
3128
+ "files": {
3129
+ "regular": "http://fonts.gstatic.com/s/crushed/v6/aHwSejs3Kt0Lg95u7j32jA.ttf"
3130
+ }
3131
+ },
3132
+ {
3133
+ "kind": "webfonts#webfont",
3134
+ "family": "Cuprum",
3135
+ "category": "sans-serif",
3136
+ "variants": [
3137
+ "regular",
3138
+ "italic",
3139
+ "700",
3140
+ "700italic"
3141
+ ],
3142
+ "subsets": [
3143
+ "latin",
3144
+ "latin-ext",
3145
+ "cyrillic"
3146
+ ],
3147
+ "version": "v7",
3148
+ "lastModified": "2016-04-25",
3149
+ "files": {
3150
+ "regular": "http://fonts.gstatic.com/s/cuprum/v7/JgXs0F_UiaEdAS74msmFNg.ttf",
3151
+ "italic": "http://fonts.gstatic.com/s/cuprum/v7/cLEz0KV6OxInnktSzpk58g.ttf",
3152
+ "700": "http://fonts.gstatic.com/s/cuprum/v7/6tl3_FkDeXSD72oEHuJh4w.ttf",
3153
+ "700italic": "http://fonts.gstatic.com/s/cuprum/v7/bnkXaBfoYvaJ75axRPSwVKCWcynf_cDxXwCLxiixG1c.ttf"
3154
+ }
3155
+ },
3156
+ {
3157
+ "kind": "webfonts#webfont",
3158
+ "family": "Cutive",
3159
+ "category": "serif",
3160
+ "variants": [
3161
+ "regular"
3162
+ ],
3163
+ "subsets": [
3164
+ "latin",
3165
+ "latin-ext"
3166
+ ],
3167
+ "version": "v8",
3168
+ "lastModified": "2016-04-25",
3169
+ "files": {
3170
+ "regular": "http://fonts.gstatic.com/s/cutive/v8/G2bW-ImyOCwKxBkLyz39YQ.ttf"
3171
+ }
3172
+ },
3173
+ {
3174
+ "kind": "webfonts#webfont",
3175
+ "family": "Cutive Mono",
3176
+ "category": "monospace",
3177
+ "variants": [
3178
+ "regular"
3179
+ ],
3180
+ "subsets": [
3181
+ "latin",
3182
+ "latin-ext"
3183
+ ],
3184
+ "version": "v4",
3185
+ "lastModified": "2016-04-25",
3186
+ "files": {
3187
+ "regular": "http://fonts.gstatic.com/s/cutivemono/v4/ncWQtFVKcSs8OW798v30k6CWcynf_cDxXwCLxiixG1c.ttf"
3188
+ }
3189
+ },
3190
+ {
3191
+ "kind": "webfonts#webfont",
3192
+ "family": "Damion",
3193
+ "category": "handwriting",
3194
+ "variants": [
3195
+ "regular"
3196
+ ],
3197
+ "subsets": [
3198
+ "latin"
3199
+ ],
3200
+ "version": "v6",
3201
+ "lastModified": "2016-04-25",
3202
+ "files": {
3203
+ "regular": "http://fonts.gstatic.com/s/damion/v6/13XtECwKxhD_VrOqXL4SiA.ttf"
3204
+ }
3205
+ },
3206
+ {
3207
+ "kind": "webfonts#webfont",
3208
+ "family": "Dancing Script",
3209
+ "category": "handwriting",
3210
+ "variants": [
3211
+ "regular",
3212
+ "700"
3213
+ ],
3214
+ "subsets": [
3215
+ "latin"
3216
+ ],
3217
+ "version": "v6",
3218
+ "lastModified": "2016-04-25",
3219
+ "files": {
3220
+ "regular": "http://fonts.gstatic.com/s/dancingscript/v6/DK0eTGXiZjN6yA8zAEyM2RnpV0hQCek3EmWnCPrvGRM.ttf",
3221
+ "700": "http://fonts.gstatic.com/s/dancingscript/v6/KGBfwabt0ZRLA5W1ywjowb_dAmXiKjTPGCuO6G2MbfA.ttf"
3222
+ }
3223
+ },
3224
+ {
3225
+ "kind": "webfonts#webfont",
3226
+ "family": "Dangrek",
3227
+ "category": "display",
3228
+ "variants": [
3229
+ "regular"
3230
+ ],
3231
+ "subsets": [
3232
+ "khmer"
3233
+ ],
3234
+ "version": "v8",
3235
+ "lastModified": "2016-04-25",
3236
+ "files": {
3237
+ "regular": "http://fonts.gstatic.com/s/dangrek/v8/LOaFhBT-EHNxZjV8DAW_ew.ttf"
3238
+ }
3239
+ },
3240
+ {
3241
+ "kind": "webfonts#webfont",
3242
+ "family": "Dawning of a New Day",
3243
+ "category": "handwriting",
3244
+ "variants": [
3245
+ "regular"
3246
+ ],
3247
+ "subsets": [
3248
+ "latin"
3249
+ ],
3250
+ "version": "v7",
3251
+ "lastModified": "2016-04-25",
3252
+ "files": {
3253
+ "regular": "http://fonts.gstatic.com/s/dawningofanewday/v7/JiDsRhiKZt8uz3NJ5xA06gXLnohmOYWQZqo_sW8GLTk.ttf"
3254
+ }
3255
+ },
3256
+ {
3257
+ "kind": "webfonts#webfont",
3258
+ "family": "Days One",
3259
+ "category": "sans-serif",
3260
+ "variants": [
3261
+ "regular"
3262
+ ],
3263
+ "subsets": [
3264
+ "latin"
3265
+ ],
3266
+ "version": "v6",
3267
+ "lastModified": "2016-04-25",
3268
+ "files": {
3269
+ "regular": "http://fonts.gstatic.com/s/daysone/v6/kzwZjNhc1iabMsrc_hKBIA.ttf"
3270
+ }
3271
+ },
3272
+ {
3273
+ "kind": "webfonts#webfont",
3274
+ "family": "Dekko",
3275
+ "category": "handwriting",
3276
+ "variants": [
3277
+ "regular"
3278
+ ],
3279
+ "subsets": [
3280
+ "latin",
3281
+ "devanagari",
3282
+ "latin-ext"
3283
+ ],
3284
+ "version": "v2",
3285
+ "lastModified": "2016-04-25",
3286
+ "files": {
3287
+ "regular": "http://fonts.gstatic.com/s/dekko/v2/AKtgABKC1rUxgIgS-bpojw.ttf"
3288
+ }
3289
+ },
3290
+ {
3291
+ "kind": "webfonts#webfont",
3292
+ "family": "Delius",
3293
+ "category": "handwriting",
3294
+ "variants": [
3295
+ "regular"
3296
+ ],
3297
+ "subsets": [
3298
+ "latin"
3299
+ ],
3300
+ "version": "v6",
3301
+ "lastModified": "2016-04-25",
3302
+ "files": {
3303
+ "regular": "http://fonts.gstatic.com/s/delius/v6/TQA163qafki2-gV-B6F_ag.ttf"
3304
+ }
3305
+ },
3306
+ {
3307
+ "kind": "webfonts#webfont",
3308
+ "family": "Delius Swash Caps",
3309
+ "category": "handwriting",
3310
+ "variants": [
3311
+ "regular"
3312
+ ],
3313
+ "subsets": [
3314
+ "latin"
3315
+ ],
3316
+ "version": "v8",
3317
+ "lastModified": "2016-04-25",
3318
+ "files": {
3319
+ "regular": "http://fonts.gstatic.com/s/deliusswashcaps/v8/uXyrEUnoWApxIOICunRq7yIrxb5zDVgU2N3VzXm7zq4.ttf"
3320
+ }
3321
+ },
3322
+ {
3323
+ "kind": "webfonts#webfont",
3324
+ "family": "Delius Unicase",
3325
+ "category": "handwriting",
3326
+ "variants": [
3327
+ "regular",
3328
+ "700"
3329
+ ],
3330
+ "subsets": [
3331
+ "latin"
3332
+ ],
3333
+ "version": "v9",
3334
+ "lastModified": "2016-04-25",
3335
+ "files": {
3336
+ "regular": "http://fonts.gstatic.com/s/deliusunicase/v9/b2sKujV3Q48RV2PQ0k1vqu6rPKfVZo7L2bERcf0BDns.ttf",
3337
+ "700": "http://fonts.gstatic.com/s/deliusunicase/v9/7FTMTITcb4dxUp99FAdTqNy5weKXdcrx-wE0cgECMq8.ttf"
3338
+ }
3339
+ },
3340
+ {
3341
+ "kind": "webfonts#webfont",
3342
+ "family": "Della Respira",
3343
+ "category": "serif",
3344
+ "variants": [
3345
+ "regular"
3346
+ ],
3347
+ "subsets": [
3348
+ "latin"
3349
+ ],
3350
+ "version": "v4",
3351
+ "lastModified": "2016-04-25",
3352
+ "files": {
3353
+ "regular": "http://fonts.gstatic.com/s/dellarespira/v4/F4E6Lo_IZ6L9AJCcbqtDVeDcg5akpSnIcsPhLOFv7l8.ttf"
3354
+ }
3355
+ },
3356
+ {
3357
+ "kind": "webfonts#webfont",
3358
+ "family": "Denk One",
3359
+ "category": "sans-serif",
3360
+ "variants": [
3361
+ "regular"
3362
+ ],
3363
+ "subsets": [
3364
+ "latin",
3365
+ "latin-ext"
3366
+ ],
3367
+ "version": "v4",
3368
+ "lastModified": "2016-04-25",
3369
+ "files": {
3370
+ "regular": "http://fonts.gstatic.com/s/denkone/v4/TdXOeA4eA_hEx4W8Sh9wPw.ttf"
3371
+ }
3372
+ },
3373
+ {
3374
+ "kind": "webfonts#webfont",
3375
+ "family": "Devonshire",
3376
+ "category": "handwriting",
3377
+ "variants": [
3378
+ "regular"
3379
+ ],
3380
+ "subsets": [
3381
+ "latin",
3382
+ "latin-ext"
3383
+ ],
3384
+ "version": "v5",
3385
+ "lastModified": "2016-04-25",
3386
+ "files": {
3387
+ "regular": "http://fonts.gstatic.com/s/devonshire/v5/I3ct_2t12SYizP8ZC-KFi_esZW2xOQ-xsNqO47m55DA.ttf"
3388
+ }
3389
+ },
3390
+ {
3391
+ "kind": "webfonts#webfont",
3392
+ "family": "Dhurjati",
3393
+ "category": "sans-serif",
3394
+ "variants": [
3395
+ "regular"
3396
+ ],
3397
+ "subsets": [
3398
+ "latin",
3399
+ "telugu"
3400
+ ],
3401
+ "version": "v4",
3402
+ "lastModified": "2016-04-25",
3403
+ "files": {
3404
+ "regular": "http://fonts.gstatic.com/s/dhurjati/v4/uV6jO5e2iFMbGB0z79Cy5g.ttf"
3405
+ }
3406
+ },
3407
+ {
3408
+ "kind": "webfonts#webfont",
3409
+ "family": "Didact Gothic",
3410
+ "category": "sans-serif",
3411
+ "variants": [
3412
+ "regular"
3413
+ ],
3414
+ "subsets": [
3415
+ "latin",
3416
+ "greek",
3417
+ "latin-ext",
3418
+ "cyrillic-ext",
3419
+ "greek-ext",
3420
+ "cyrillic"
3421
+ ],
3422
+ "version": "v7",
3423
+ "lastModified": "2016-04-25",
3424
+ "files": {
3425
+ "regular": "http://fonts.gstatic.com/s/didactgothic/v7/v8_72sD3DYMKyM0dn3LtWotBLojGU5Qdl8-5NL4v70w.ttf"
3426
+ }
3427
+ },
3428
+ {
3429
+ "kind": "webfonts#webfont",
3430
+ "family": "Diplomata",
3431
+ "category": "display",
3432
+ "variants": [
3433
+ "regular"
3434
+ ],
3435
+ "subsets": [
3436
+ "latin",
3437
+ "latin-ext"
3438
+ ],
3439
+ "version": "v8",
3440
+ "lastModified": "2016-04-25",
3441
+ "files": {
3442
+ "regular": "http://fonts.gstatic.com/s/diplomata/v8/u-ByBiKgN6rTMA36H3kcKg.ttf"
3443
+ }
3444
+ },
3445
+ {
3446
+ "kind": "webfonts#webfont",
3447
+ "family": "Diplomata SC",
3448
+ "category": "display",
3449
+ "variants": [
3450
+ "regular"
3451
+ ],
3452
+ "subsets": [
3453
+ "latin",
3454
+ "latin-ext"
3455
+ ],
3456
+ "version": "v5",
3457
+ "lastModified": "2016-04-25",
3458
+ "files": {
3459
+ "regular": "http://fonts.gstatic.com/s/diplomatasc/v5/JdVwAwfE1a_pahXjk5qpNi3USBnSvpkopQaUR-2r7iU.ttf"
3460
+ }
3461
+ },
3462
+ {
3463
+ "kind": "webfonts#webfont",
3464
+ "family": "Domine",
3465
+ "category": "serif",
3466
+ "variants": [
3467
+ "regular",
3468
+ "700"
3469
+ ],
3470
+ "subsets": [
3471
+ "latin",
3472
+ "latin-ext"
3473
+ ],
3474
+ "version": "v4",
3475
+ "lastModified": "2016-04-25",
3476
+ "files": {
3477
+ "regular": "http://fonts.gstatic.com/s/domine/v4/wfVIgamVFjMNQAEWurCiHA.ttf",
3478
+ "700": "http://fonts.gstatic.com/s/domine/v4/phBcG1ZbQFxUIt18hPVxnw.ttf"
3479
+ }
3480
+ },
3481
+ {
3482
+ "kind": "webfonts#webfont",
3483
+ "family": "Donegal One",
3484
+ "category": "serif",
3485
+ "variants": [
3486
+ "regular"
3487
+ ],
3488
+ "subsets": [
3489
+ "latin",
3490
+ "latin-ext"
3491
+ ],
3492
+ "version": "v4",
3493
+ "lastModified": "2016-04-25",
3494
+ "files": {
3495
+ "regular": "http://fonts.gstatic.com/s/donegalone/v4/6kN4-fDxz7T9s5U61HwfF6CWcynf_cDxXwCLxiixG1c.ttf"
3496
+ }
3497
+ },
3498
+ {
3499
+ "kind": "webfonts#webfont",
3500
+ "family": "Doppio One",
3501
+ "category": "sans-serif",
3502
+ "variants": [
3503
+ "regular"
3504
+ ],
3505
+ "subsets": [
3506
+ "latin",
3507
+ "latin-ext"
3508
+ ],
3509
+ "version": "v4",
3510
+ "lastModified": "2016-04-25",
3511
+ "files": {
3512
+ "regular": "http://fonts.gstatic.com/s/doppioone/v4/WHZ3HJQotpk_4aSMNBo_t_esZW2xOQ-xsNqO47m55DA.ttf"
3513
+ }
3514
+ },
3515
+ {
3516
+ "kind": "webfonts#webfont",
3517
+ "family": "Dorsa",
3518
+ "category": "sans-serif",
3519
+ "variants": [
3520
+ "regular"
3521
+ ],
3522
+ "subsets": [
3523
+ "latin"
3524
+ ],
3525
+ "version": "v7",
3526
+ "lastModified": "2016-04-25",
3527
+ "files": {
3528
+ "regular": "http://fonts.gstatic.com/s/dorsa/v7/wCc3cUe6XrmG2LQE6GlIrw.ttf"
3529
+ }
3530
+ },
3531
+ {
3532
+ "kind": "webfonts#webfont",
3533
+ "family": "Dosis",
3534
+ "category": "sans-serif",
3535
+ "variants": [
3536
+ "200",
3537
+ "300",
3538
+ "regular",
3539
+ "500",
3540
+ "600",
3541
+ "700",
3542
+ "800"
3543
+ ],
3544
+ "subsets": [
3545
+ "latin",
3546
+ "latin-ext"
3547
+ ],
3548
+ "version": "v4",
3549
+ "lastModified": "2016-04-25",
3550
+ "files": {
3551
+ "200": "http://fonts.gstatic.com/s/dosis/v4/ztftab0r6hcd7AeurUGrSQ.ttf",
3552
+ "300": "http://fonts.gstatic.com/s/dosis/v4/awIB6L0h5mb0plIKorXmuA.ttf",
3553
+ "regular": "http://fonts.gstatic.com/s/dosis/v4/rJRlixu-w0JZ1MyhJpao_Q.ttf",
3554
+ "500": "http://fonts.gstatic.com/s/dosis/v4/ruEXDOFMxDPGnjCBKRqdAQ.ttf",
3555
+ "600": "http://fonts.gstatic.com/s/dosis/v4/KNAswRNwm3tfONddYyidxg.ttf",
3556
+ "700": "http://fonts.gstatic.com/s/dosis/v4/AEEAj0ONidK8NQQMBBlSig.ttf",
3557
+ "800": "http://fonts.gstatic.com/s/dosis/v4/nlrKd8E69vvUU39XGsvR7Q.ttf"
3558
+ }
3559
+ },
3560
+ {
3561
+ "kind": "webfonts#webfont",
3562
+ "family": "Dr Sugiyama",
3563
+ "category": "handwriting",
3564
+ "variants": [
3565
+ "regular"
3566
+ ],
3567
+ "subsets": [
3568
+ "latin",
3569
+ "latin-ext"
3570
+ ],
3571
+ "version": "v5",
3572
+ "lastModified": "2016-04-25",
3573
+ "files": {
3574
+ "regular": "http://fonts.gstatic.com/s/drsugiyama/v5/S5Yx3MIckgoyHhhS4C9Tv6CWcynf_cDxXwCLxiixG1c.ttf"
3575
+ }
3576
+ },
3577
+ {
3578
+ "kind": "webfonts#webfont",
3579
+ "family": "Droid Sans",
3580
+ "category": "sans-serif",
3581
+ "variants": [
3582
+ "regular",
3583
+ "700"
3584
+ ],
3585
+ "subsets": [
3586
+ "latin"
3587
+ ],
3588
+ "version": "v6",
3589
+ "lastModified": "2016-04-25",
3590
+ "files": {
3591
+ "regular": "http://fonts.gstatic.com/s/droidsans/v6/rS9BT6-asrfjpkcV3DXf__esZW2xOQ-xsNqO47m55DA.ttf",
3592
+ "700": "http://fonts.gstatic.com/s/droidsans/v6/EFpQQyG9GqCrobXxL-KRMQJKKGfqHaYFsRG-T3ceEVo.ttf"
3593
+ }
3594
+ },
3595
+ {
3596
+ "kind": "webfonts#webfont",
3597
+ "family": "Droid Sans Mono",
3598
+ "category": "monospace",
3599
+ "variants": [
3600
+ "regular"
3601
+ ],
3602
+ "subsets": [
3603
+ "latin"
3604
+ ],
3605
+ "version": "v7",
3606
+ "lastModified": "2016-04-25",
3607
+ "files": {
3608
+ "regular": "http://fonts.gstatic.com/s/droidsansmono/v7/ns-m2xQYezAtqh7ai59hJcwD6PD0c3_abh9zHKQtbGU.ttf"
3609
+ }
3610
+ },
3611
+ {
3612
+ "kind": "webfonts#webfont",
3613
+ "family": "Droid Serif",
3614
+ "category": "serif",
3615
+ "variants": [
3616
+ "regular",
3617
+ "italic",
3618
+ "700",
3619
+ "700italic"
3620
+ ],
3621
+ "subsets": [
3622
+ "latin"
3623
+ ],
3624
+ "version": "v6",
3625
+ "lastModified": "2016-04-25",
3626
+ "files": {
3627
+ "regular": "http://fonts.gstatic.com/s/droidserif/v6/DgAtPy6rIVa2Zx3Xh9KaNaCWcynf_cDxXwCLxiixG1c.ttf",
3628
+ "italic": "http://fonts.gstatic.com/s/droidserif/v6/cj2hUnSRBhwmSPr9kS5890eOrDcLawS7-ssYqLr2Xp4.ttf",
3629
+ "700": "http://fonts.gstatic.com/s/droidserif/v6/QQt14e8dY39u-eYBZmppwXe1Pd76Vl7zRpE7NLJQ7XU.ttf",
3630
+ "700italic": "http://fonts.gstatic.com/s/droidserif/v6/c92rD_x0V1LslSFt3-QEps_zJjSACmk0BRPxQqhnNLU.ttf"
3631
+ }
3632
+ },
3633
+ {
3634
+ "kind": "webfonts#webfont",
3635
+ "family": "Duru Sans",
3636
+ "category": "sans-serif",
3637
+ "variants": [
3638
+ "regular"
3639
+ ],
3640
+ "subsets": [
3641
+ "latin",
3642
+ "latin-ext"
3643
+ ],
3644
+ "version": "v9",
3645
+ "lastModified": "2016-04-25",
3646
+ "files": {
3647
+ "regular": "http://fonts.gstatic.com/s/durusans/v9/xn7iYH8xwmSyTvEV_HOxTw.ttf"
3648
+ }
3649
+ },
3650
+ {
3651
+ "kind": "webfonts#webfont",
3652
+ "family": "Dynalight",
3653
+ "category": "display",
3654
+ "variants": [
3655
+ "regular"
3656
+ ],
3657
+ "subsets": [
3658
+ "latin",
3659
+ "latin-ext"
3660
+ ],
3661
+ "version": "v5",
3662
+ "lastModified": "2016-04-25",
3663
+ "files": {
3664
+ "regular": "http://fonts.gstatic.com/s/dynalight/v5/-CWsIe8OUDWTIHjSAh41kA.ttf"
3665
+ }
3666
+ },
3667
+ {
3668
+ "kind": "webfonts#webfont",
3669
+ "family": "EB Garamond",
3670
+ "category": "serif",
3671
+ "variants": [
3672
+ "regular"
3673
+ ],
3674
+ "subsets": [
3675
+ "latin",
3676
+ "latin-ext",
3677
+ "cyrillic-ext",
3678
+ "vietnamese",
3679
+ "cyrillic"
3680
+ ],
3681
+ "version": "v7",
3682
+ "lastModified": "2016-04-25",
3683
+ "files": {
3684
+ "regular": "http://fonts.gstatic.com/s/ebgaramond/v7/CDR0kuiFK7I1OZ2hSdR7G6CWcynf_cDxXwCLxiixG1c.ttf"
3685
+ }
3686
+ },
3687
+ {
3688
+ "kind": "webfonts#webfont",
3689
+ "family": "Eagle Lake",
3690
+ "category": "handwriting",
3691
+ "variants": [
3692
+ "regular"
3693
+ ],
3694
+ "subsets": [
3695
+ "latin",
3696
+ "latin-ext"
3697
+ ],
3698
+ "version": "v4",
3699
+ "lastModified": "2016-04-25",
3700
+ "files": {
3701
+ "regular": "http://fonts.gstatic.com/s/eaglelake/v4/ZKlYin7caemhx9eSg6RvPfesZW2xOQ-xsNqO47m55DA.ttf"
3702
+ }
3703
+ },
3704
+ {
3705
+ "kind": "webfonts#webfont",
3706
+ "family": "Eater",
3707
+ "category": "display",
3708
+ "variants": [
3709
+ "regular"
3710
+ ],
3711
+ "subsets": [
3712
+ "latin",
3713
+ "latin-ext"
3714
+ ],
3715
+ "version": "v5",
3716
+ "lastModified": "2016-04-25",
3717
+ "files": {
3718
+ "regular": "http://fonts.gstatic.com/s/eater/v5/gm6f3OmYEdbs3lPQtUfBkA.ttf"
3719
+ }
3720
+ },
3721
+ {
3722
+ "kind": "webfonts#webfont",
3723
+ "family": "Economica",
3724
+ "category": "sans-serif",
3725
+ "variants": [
3726
+ "regular",
3727
+ "italic",
3728
+ "700",
3729
+ "700italic"
3730
+ ],
3731
+ "subsets": [
3732
+ "latin",
3733
+ "latin-ext"
3734
+ ],
3735
+ "version": "v4",
3736
+ "lastModified": "2016-04-25",
3737
+ "files": {
3738
+ "regular": "http://fonts.gstatic.com/s/economica/v4/G4rJRujzZbq9Nxngu9l3hg.ttf",
3739
+ "italic": "http://fonts.gstatic.com/s/economica/v4/p5O9AVeUqx_n35xQRinNYaCWcynf_cDxXwCLxiixG1c.ttf",
3740
+ "700": "http://fonts.gstatic.com/s/economica/v4/UK4l2VEpwjv3gdcwbwXE9C3USBnSvpkopQaUR-2r7iU.ttf",
3741
+ "700italic": "http://fonts.gstatic.com/s/economica/v4/ac5dlUsedQ03RqGOeay-3Xe1Pd76Vl7zRpE7NLJQ7XU.ttf"
3742
+ }
3743
+ },
3744
+ {
3745
+ "kind": "webfonts#webfont",
3746
+ "family": "Eczar",
3747
+ "category": "serif",
3748
+ "variants": [
3749
+ "regular",
3750
+ "500",
3751
+ "600",
3752
+ "700",
3753
+ "800"
3754
+ ],
3755
+ "subsets": [
3756
+ "latin",
3757
+ "devanagari",
3758
+ "latin-ext"
3759
+ ],
3760
+ "version": "v4",
3761
+ "lastModified": "2016-04-25",
3762
+ "files": {
3763
+ "regular": "http://fonts.gstatic.com/s/eczar/v4/uKZcAQ5JBBs1UbeXFRbBRg.ttf",
3764
+ "500": "http://fonts.gstatic.com/s/eczar/v4/Ooe4KaPp2594tF8TbMfdlQ.ttf",
3765
+ "600": "http://fonts.gstatic.com/s/eczar/v4/IjQsWW0bmgkZ6lnN72cnTQ.ttf",
3766
+ "700": "http://fonts.gstatic.com/s/eczar/v4/ELC8RVXfBMb3VuuHtMwBOA.ttf",
3767
+ "800": "http://fonts.gstatic.com/s/eczar/v4/9Uyt6nTZLx_Qj5_WRah-iQ.ttf"
3768
+ }
3769
+ },
3770
+ {
3771
+ "kind": "webfonts#webfont",
3772
+ "family": "Ek Mukta",
3773
+ "category": "sans-serif",
3774
+ "variants": [
3775
+ "200",
3776
+ "300",
3777
+ "regular",
3778
+ "500",
3779
+ "600",
3780
+ "700",
3781
+ "800"
3782
+ ],
3783
+ "subsets": [
3784
+ "latin",
3785
+ "devanagari",
3786
+ "latin-ext"
3787
+ ],
3788
+ "version": "v7",
3789
+ "lastModified": "2016-04-25",
3790
+ "files": {
3791
+ "200": "http://fonts.gstatic.com/s/ekmukta/v7/crtkNHh5JcM3VJKG0E-B36CWcynf_cDxXwCLxiixG1c.ttf",
3792
+ "300": "http://fonts.gstatic.com/s/ekmukta/v7/mpaAv7CIyk0VnZlqSneVxKCWcynf_cDxXwCLxiixG1c.ttf",
3793
+ "regular": "http://fonts.gstatic.com/s/ekmukta/v7/aFcjXdC5jyJ1p8w54wIIrg.ttf",
3794
+ "500": "http://fonts.gstatic.com/s/ekmukta/v7/PZ1y2MstFczWvBlFSgzMyaCWcynf_cDxXwCLxiixG1c.ttf",
3795
+ "600": "http://fonts.gstatic.com/s/ekmukta/v7/Z5Mfzeu6M3emakcJO2QeTqCWcynf_cDxXwCLxiixG1c.ttf",
3796
+ "700": "http://fonts.gstatic.com/s/ekmukta/v7/4ugcOGR28Jn-oBIn0-qLYaCWcynf_cDxXwCLxiixG1c.ttf",
3797
+ "800": "http://fonts.gstatic.com/s/ekmukta/v7/O68TH5OjEhVmn9_gIrcfS6CWcynf_cDxXwCLxiixG1c.ttf"
3798
+ }
3799
+ },
3800
+ {
3801
+ "kind": "webfonts#webfont",
3802
+ "family": "Electrolize",
3803
+ "category": "sans-serif",
3804
+ "variants": [
3805
+ "regular"
3806
+ ],
3807
+ "subsets": [
3808
+ "latin"
3809
+ ],
3810
+ "version": "v5",
3811
+ "lastModified": "2016-04-25",
3812
+ "files": {
3813
+ "regular": "http://fonts.gstatic.com/s/electrolize/v5/yFVu5iokC-nt4B1Cyfxb9aCWcynf_cDxXwCLxiixG1c.ttf"
3814
+ }
3815
+ },
3816
+ {
3817
+ "kind": "webfonts#webfont",
3818
+ "family": "Elsie",
3819
+ "category": "display",
3820
+ "variants": [
3821
+ "regular",
3822
+ "900"
3823
+ ],
3824
+ "subsets": [
3825
+ "latin",
3826
+ "latin-ext"
3827
+ ],
3828
+ "version": "v5",
3829
+ "lastModified": "2016-04-25",
3830
+ "files": {
3831
+ "regular": "http://fonts.gstatic.com/s/elsie/v5/gwspePauE45BJu6Ok1QrfQ.ttf",
3832
+ "900": "http://fonts.gstatic.com/s/elsie/v5/1t-9f0N2NFYwAgN7oaISqg.ttf"
3833
+ }
3834
+ },
3835
+ {
3836
+ "kind": "webfonts#webfont",
3837
+ "family": "Elsie Swash Caps",
3838
+ "category": "display",
3839
+ "variants": [
3840
+ "regular",
3841
+ "900"
3842
+ ],
3843
+ "subsets": [
3844
+ "latin",
3845
+ "latin-ext"
3846
+ ],
3847
+ "version": "v4",
3848
+ "lastModified": "2016-04-25",
3849
+ "files": {
3850
+ "regular": "http://fonts.gstatic.com/s/elsieswashcaps/v4/9L3hIJMPCf6sxCltnxd6X2YeFSdnSpRYv5h9gpdlD1g.ttf",
3851
+ "900": "http://fonts.gstatic.com/s/elsieswashcaps/v4/iZnus9qif0tR5pGaDv5zdKoKBWBozTtxi30NfZDOXXU.ttf"
3852
+ }
3853
+ },
3854
+ {
3855
+ "kind": "webfonts#webfont",
3856
+ "family": "Emblema One",
3857
+ "category": "display",
3858
+ "variants": [
3859
+ "regular"
3860
+ ],
3861
+ "subsets": [
3862
+ "latin",
3863
+ "latin-ext"
3864
+ ],
3865
+ "version": "v5",
3866
+ "lastModified": "2016-04-25",
3867
+ "files": {
3868
+ "regular": "http://fonts.gstatic.com/s/emblemaone/v5/7IlBUjBWPIiw7cr_O2IfSaCWcynf_cDxXwCLxiixG1c.ttf"
3869
+ }
3870
+ },
3871
+ {
3872
+ "kind": "webfonts#webfont",
3873
+ "family": "Emilys Candy",
3874
+ "category": "display",
3875
+ "variants": [
3876
+ "regular"
3877
+ ],
3878
+ "subsets": [
3879
+ "latin",
3880
+ "latin-ext"
3881
+ ],
3882
+ "version": "v4",
3883
+ "lastModified": "2016-04-25",
3884
+ "files": {
3885
+ "regular": "http://fonts.gstatic.com/s/emilyscandy/v4/PofLVm6v1SwZGOzC8s-I3S3USBnSvpkopQaUR-2r7iU.ttf"
3886
+ }
3887
+ },
3888
+ {
3889
+ "kind": "webfonts#webfont",
3890
+ "family": "Engagement",
3891
+ "category": "handwriting",
3892
+ "variants": [
3893
+ "regular"
3894
+ ],
3895
+ "subsets": [
3896
+ "latin"
3897
+ ],
3898
+ "version": "v5",
3899
+ "lastModified": "2016-04-25",
3900
+ "files": {
3901
+ "regular": "http://fonts.gstatic.com/s/engagement/v5/4Uz0Jii7oVPcaFRYmbpU6vesZW2xOQ-xsNqO47m55DA.ttf"
3902
+ }
3903
+ },
3904
+ {
3905
+ "kind": "webfonts#webfont",
3906
+ "family": "Englebert",
3907
+ "category": "sans-serif",
3908
+ "variants": [
3909
+ "regular"
3910
+ ],
3911
+ "subsets": [
3912
+ "latin",
3913
+ "latin-ext"
3914
+ ],
3915
+ "version": "v4",
3916
+ "lastModified": "2016-04-25",
3917
+ "files": {
3918
+ "regular": "http://fonts.gstatic.com/s/englebert/v4/sll38iOvOuarDTYBchlP3Q.ttf"
3919
+ }
3920
+ },
3921
+ {
3922
+ "kind": "webfonts#webfont",
3923
+ "family": "Enriqueta",
3924
+ "category": "serif",
3925
+ "variants": [
3926
+ "regular",
3927
+ "700"
3928
+ ],
3929
+ "subsets": [
3930
+ "latin",
3931
+ "latin-ext"
3932
+ ],
3933
+ "version": "v5",
3934
+ "lastModified": "2016-04-25",
3935
+ "files": {
3936
+ "regular": "http://fonts.gstatic.com/s/enriqueta/v5/_p90TrIwR1SC-vDKtmrv6A.ttf",
3937
+ "700": "http://fonts.gstatic.com/s/enriqueta/v5/I27Pb-wEGH2ajLYP0QrtSC3USBnSvpkopQaUR-2r7iU.ttf"
3938
+ }
3939
+ },
3940
+ {
3941
+ "kind": "webfonts#webfont",
3942
+ "family": "Erica One",
3943
+ "category": "display",
3944
+ "variants": [
3945
+ "regular"
3946
+ ],
3947
+ "subsets": [
3948
+ "latin",
3949
+ "latin-ext"
3950
+ ],
3951
+ "version": "v7",
3952
+ "lastModified": "2016-04-25",
3953
+ "files": {
3954
+ "regular": "http://fonts.gstatic.com/s/ericaone/v7/cIBnH2VAqQMIGYAcE4ufvQ.ttf"
3955
+ }
3956
+ },
3957
+ {
3958
+ "kind": "webfonts#webfont",
3959
+ "family": "Esteban",
3960
+ "category": "serif",
3961
+ "variants": [
3962
+ "regular"
3963
+ ],
3964
+ "subsets": [
3965
+ "latin",
3966
+ "latin-ext"
3967
+ ],
3968
+ "version": "v4",
3969
+ "lastModified": "2016-04-25",
3970
+ "files": {
3971
+ "regular": "http://fonts.gstatic.com/s/esteban/v4/ESyhLgqDDyK5JcFPp2svDw.ttf"
3972
+ }
3973
+ },
3974
+ {
3975
+ "kind": "webfonts#webfont",
3976
+ "family": "Euphoria Script",
3977
+ "category": "handwriting",
3978
+ "variants": [
3979
+ "regular"
3980
+ ],
3981
+ "subsets": [
3982
+ "latin",
3983
+ "latin-ext"
3984
+ ],
3985
+ "version": "v4",
3986
+ "lastModified": "2016-04-25",
3987
+ "files": {
3988
+ "regular": "http://fonts.gstatic.com/s/euphoriascript/v4/c4XB4Iijj_NvSsCF4I0O2MxLhO8OSNnfAp53LK1_iRs.ttf"
3989
+ }
3990
+ },
3991
+ {
3992
+ "kind": "webfonts#webfont",
3993
+ "family": "Ewert",
3994
+ "category": "display",
3995
+ "variants": [
3996
+ "regular"
3997
+ ],
3998
+ "subsets": [
3999
+ "latin",
4000
+ "latin-ext"
4001
+ ],
4002
+ "version": "v4",
4003
+ "lastModified": "2016-04-25",
4004
+ "files": {
4005
+ "regular": "http://fonts.gstatic.com/s/ewert/v4/Em8hrzuzSbfHcTVqMjbAQg.ttf"
4006
+ }
4007
+ },
4008
+ {
4009
+ "kind": "webfonts#webfont",
4010
+ "family": "Exo",
4011
+ "category": "sans-serif",
4012
+ "variants": [
4013
+ "100",
4014
+ "100italic",
4015
+ "200",
4016
+ "200italic",
4017
+ "300",
4018
+ "300italic",
4019
+ "regular",
4020
+ "italic",
4021
+ "500",
4022
+ "500italic",
4023
+ "600",
4024
+ "600italic",
4025
+ "700",
4026
+ "700italic",
4027
+ "800",
4028
+ "800italic",
4029
+ "900",
4030
+ "900italic"
4031
+ ],
4032
+ "subsets": [
4033
+ "latin",
4034
+ "latin-ext"
4035
+ ],
4036
+ "version": "v4",
4037
+ "lastModified": "2016-04-25",
4038
+ "files": {
4039
+ "100": "http://fonts.gstatic.com/s/exo/v4/RI7A9uwjRmPbVp0n8e-Jvg.ttf",
4040
+ "100italic": "http://fonts.gstatic.com/s/exo/v4/qtGyZZlWb2EEvby3ZPosxw.ttf",
4041
+ "200": "http://fonts.gstatic.com/s/exo/v4/F8OfC_swrRRxpFt-tlXZQg.ttf",
4042
+ "200italic": "http://fonts.gstatic.com/s/exo/v4/fr4HBfXHYiIngW2_bhlgRw.ttf",
4043
+ "300": "http://fonts.gstatic.com/s/exo/v4/SBrN7TKUqgGUvfxqHqsnNw.ttf",
4044
+ "300italic": "http://fonts.gstatic.com/s/exo/v4/3gmiLjBegIfcDLISjTGA1g.ttf",
4045
+ "regular": "http://fonts.gstatic.com/s/exo/v4/eUEzTFueNXRVhbt4PEB8kQ.ttf",
4046
+ "italic": "http://fonts.gstatic.com/s/exo/v4/cfgolWisMSURhpQeVHl_NA.ttf",
4047
+ "500": "http://fonts.gstatic.com/s/exo/v4/jCg6DmGGXt_OVyp5ofQHPw.ttf",
4048
+ "500italic": "http://fonts.gstatic.com/s/exo/v4/lo5eTdCNJZQVN08p8RnzAQ.ttf",
4049
+ "600": "http://fonts.gstatic.com/s/exo/v4/q_SG5kXUmOcIvFpgtdZnlw.ttf",
4050
+ "600italic": "http://fonts.gstatic.com/s/exo/v4/0cExa8K_pxS2lTuMr68XUA.ttf",
4051
+ "700": "http://fonts.gstatic.com/s/exo/v4/3_jwsL4v9uHjl5Q37G57mw.ttf",
4052
+ "700italic": "http://fonts.gstatic.com/s/exo/v4/0me55yJIxd5vyQ9bF7SsiA.ttf",
4053
+ "800": "http://fonts.gstatic.com/s/exo/v4/yLPuxBuV0lzqibRJyooOJg.ttf",
4054
+ "800italic": "http://fonts.gstatic.com/s/exo/v4/n3LejeKVj_8gtZq5fIgNYw.ttf",
4055
+ "900": "http://fonts.gstatic.com/s/exo/v4/97d0nd6Yv4-SA_X92xAuZA.ttf",
4056
+ "900italic": "http://fonts.gstatic.com/s/exo/v4/JHTkQVhzyLtkY13Ye95TJQ.ttf"
4057
+ }
4058
+ },
4059
+ {
4060
+ "kind": "webfonts#webfont",
4061
+ "family": "Exo 2",
4062
+ "category": "sans-serif",
4063
+ "variants": [
4064
+ "100",
4065
+ "100italic",
4066
+ "200",
4067
+ "200italic",
4068
+ "300",
4069
+ "300italic",
4070
+ "regular",
4071
+ "italic",
4072
+ "500",
4073
+ "500italic",
4074
+ "600",
4075
+ "600italic",
4076
+ "700",
4077
+ "700italic",
4078
+ "800",
4079
+ "800italic",
4080
+ "900",
4081
+ "900italic"
4082
+ ],
4083
+ "subsets": [
4084
+ "latin",
4085
+ "latin-ext",
4086
+ "cyrillic"
4087
+ ],
4088
+ "version": "v3",
4089
+ "lastModified": "2016-04-25",
4090
+ "files": {
4091
+ "100": "http://fonts.gstatic.com/s/exo2/v3/oVOtQy53isv97g4UhBUDqg.ttf",
4092
+ "100italic": "http://fonts.gstatic.com/s/exo2/v3/LNYVgsJcaCxoKFHmd4AZcg.ttf",
4093
+ "200": "http://fonts.gstatic.com/s/exo2/v3/qa-Ci2pBwJdCxciE1ErifQ.ttf",
4094
+ "200italic": "http://fonts.gstatic.com/s/exo2/v3/DCrVxDVvS69n50O-5erZVvesZW2xOQ-xsNqO47m55DA.ttf",
4095
+ "300": "http://fonts.gstatic.com/s/exo2/v3/nLUBdz_lHHoVIPor05Byhw.ttf",
4096
+ "300italic": "http://fonts.gstatic.com/s/exo2/v3/iSy9VTeUTiqiurQg2ywtu_esZW2xOQ-xsNqO47m55DA.ttf",
4097
+ "regular": "http://fonts.gstatic.com/s/exo2/v3/Pf_kZuIH5c5WKVkQUaeSWQ.ttf",
4098
+ "italic": "http://fonts.gstatic.com/s/exo2/v3/xxA5ZscX9sTU6U0lZJUlYA.ttf",
4099
+ "500": "http://fonts.gstatic.com/s/exo2/v3/oM0rzUuPqVJpW-VEIpuW5w.ttf",
4100
+ "500italic": "http://fonts.gstatic.com/s/exo2/v3/amzRVCB-gipwdihZZ2LtT_esZW2xOQ-xsNqO47m55DA.ttf",
4101
+ "600": "http://fonts.gstatic.com/s/exo2/v3/YnSn3HsyvyI1feGSdRMYqA.ttf",
4102
+ "600italic": "http://fonts.gstatic.com/s/exo2/v3/Vmo58BiptGwfVFb0teU5gPesZW2xOQ-xsNqO47m55DA.ttf",
4103
+ "700": "http://fonts.gstatic.com/s/exo2/v3/2DiK4XkdTckfTk6we73-bQ.ttf",
4104
+ "700italic": "http://fonts.gstatic.com/s/exo2/v3/Sdo-zW-4_--pDkTg6bYrY_esZW2xOQ-xsNqO47m55DA.ttf",
4105
+ "800": "http://fonts.gstatic.com/s/exo2/v3/IVYl_7dJruOg8zKRpC8Hrw.ttf",
4106
+ "800italic": "http://fonts.gstatic.com/s/exo2/v3/p0TA6KeOz1o4rySEbvUxI_esZW2xOQ-xsNqO47m55DA.ttf",
4107
+ "900": "http://fonts.gstatic.com/s/exo2/v3/e8csG8Wnu87AF6uCndkFRQ.ttf",
4108
+ "900italic": "http://fonts.gstatic.com/s/exo2/v3/KPhsGCoT2-7Uj6pMlRscH_esZW2xOQ-xsNqO47m55DA.ttf"
4109
+ }
4110
+ },
4111
+ {
4112
+ "kind": "webfonts#webfont",
4113
+ "family": "Expletus Sans",
4114
+ "category": "display",
4115
+ "variants": [
4116
+ "regular",
4117
+ "italic",
4118
+ "500",
4119
+ "500italic",
4120
+ "600",
4121
+ "600italic",
4122
+ "700",
4123
+ "700italic"
4124
+ ],
4125
+ "subsets": [
4126
+ "latin"
4127
+ ],
4128
+ "version": "v9",
4129
+ "lastModified": "2016-04-25",
4130
+ "files": {
4131
+ "regular": "http://fonts.gstatic.com/s/expletussans/v9/gegTSDBDs5le3g6uxU1ZsX8f0n03UdmQgF_CLvNR2vg.ttf",
4132
+ "italic": "http://fonts.gstatic.com/s/expletussans/v9/Y-erXmY0b6DU_i2Qu0hTJj4G9C9ttb0Oz5Cvf0qOitE.ttf",
4133
+ "500": "http://fonts.gstatic.com/s/expletussans/v9/cl6rhMY77Ilk8lB_uYRRwAqQmZ7VjhwksfpNVG0pqGc.ttf",
4134
+ "500italic": "http://fonts.gstatic.com/s/expletussans/v9/sRBNtc46w65uJE451UYmW87DCVO6wo6i5LKIyZDzK40.ttf",
4135
+ "600": "http://fonts.gstatic.com/s/expletussans/v9/cl6rhMY77Ilk8lB_uYRRwCvj1tU7IJMS3CS9kCx2B3U.ttf",
4136
+ "600italic": "http://fonts.gstatic.com/s/expletussans/v9/sRBNtc46w65uJE451UYmW8yKH23ZS6zCKOFHG0e_4JE.ttf",
4137
+ "700": "http://fonts.gstatic.com/s/expletussans/v9/cl6rhMY77Ilk8lB_uYRRwFCbmAUID8LN-q3pJpOk3Ys.ttf",
4138
+ "700italic": "http://fonts.gstatic.com/s/expletussans/v9/sRBNtc46w65uJE451UYmW5F66r9C4AnxxlBlGd7xY4g.ttf"
4139
+ }
4140
+ },
4141
+ {
4142
+ "kind": "webfonts#webfont",
4143
+ "family": "Fanwood Text",
4144
+ "category": "serif",
4145
+ "variants": [
4146
+ "regular",
4147
+ "italic"
4148
+ ],
4149
+ "subsets": [
4150
+ "latin"
4151
+ ],
4152
+ "version": "v6",
4153
+ "lastModified": "2016-04-25",
4154
+ "files": {
4155
+ "regular": "http://fonts.gstatic.com/s/fanwoodtext/v6/hDNDHUlsSb8bgnEmDp4T_i3USBnSvpkopQaUR-2r7iU.ttf",
4156
+ "italic": "http://fonts.gstatic.com/s/fanwoodtext/v6/0J3SBbkMZqBV-3iGxs5E9_MZXuCXbOrAvx5R0IT5Oyo.ttf"
4157
+ }
4158
+ },
4159
+ {
4160
+ "kind": "webfonts#webfont",
4161
+ "family": "Fascinate",
4162
+ "category": "display",
4163
+ "variants": [
4164
+ "regular"
4165
+ ],
4166
+ "subsets": [
4167
+ "latin"
4168
+ ],
4169
+ "version": "v5",
4170
+ "lastModified": "2016-04-25",
4171
+ "files": {
4172
+ "regular": "http://fonts.gstatic.com/s/fascinate/v5/ZE0637WWkBPKt1AmFaqD3Q.ttf"
4173
+ }
4174
+ },
4175
+ {
4176
+ "kind": "webfonts#webfont",
4177
+ "family": "Fascinate Inline",
4178
+ "category": "display",
4179
+ "variants": [
4180
+ "regular"
4181
+ ],
4182
+ "subsets": [
4183
+ "latin"
4184
+ ],
4185
+ "version": "v6",
4186
+ "lastModified": "2016-04-25",
4187
+ "files": {
4188
+ "regular": "http://fonts.gstatic.com/s/fascinateinline/v6/lRguYfMfWArflkm5aOQ5QJmp8DTZ6iHear7UV05iykg.ttf"
4189
+ }
4190
+ },
4191
+ {
4192
+ "kind": "webfonts#webfont",
4193
+ "family": "Faster One",
4194
+ "category": "display",
4195
+ "variants": [
4196
+ "regular"
4197
+ ],
4198
+ "subsets": [
4199
+ "latin"
4200
+ ],
4201
+ "version": "v6",
4202
+ "lastModified": "2016-04-25",
4203
+ "files": {
4204
+ "regular": "http://fonts.gstatic.com/s/fasterone/v6/YxTOW2sf56uxD1T7byP5K_esZW2xOQ-xsNqO47m55DA.ttf"
4205
+ }
4206
+ },
4207
+ {
4208
+ "kind": "webfonts#webfont",
4209
+ "family": "Fasthand",
4210
+ "category": "serif",
4211
+ "variants": [
4212
+ "regular"
4213
+ ],
4214
+ "subsets": [
4215
+ "khmer"
4216
+ ],
4217
+ "version": "v7",
4218
+ "lastModified": "2016-04-25",
4219
+ "files": {
4220
+ "regular": "http://fonts.gstatic.com/s/fasthand/v7/6XAagHH_KmpZL67wTvsETQ.ttf"
4221
+ }
4222
+ },
4223
+ {
4224
+ "kind": "webfonts#webfont",
4225
+ "family": "Fauna One",
4226
+ "category": "serif",
4227
+ "variants": [
4228
+ "regular"
4229
+ ],
4230
+ "subsets": [
4231
+ "latin",
4232
+ "latin-ext"
4233
+ ],
4234
+ "version": "v4",
4235
+ "lastModified": "2016-04-25",
4236
+ "files": {
4237
+ "regular": "http://fonts.gstatic.com/s/faunaone/v4/8kL-wpAPofcAMELI_5NRnQ.ttf"
4238
+ }
4239
+ },
4240
+ {
4241
+ "kind": "webfonts#webfont",
4242
+ "family": "Federant",
4243
+ "category": "display",
4244
+ "variants": [
4245
+ "regular"
4246
+ ],
4247
+ "subsets": [
4248
+ "latin"
4249
+ ],
4250
+ "version": "v8",
4251
+ "lastModified": "2016-04-25",
4252
+ "files": {
4253
+ "regular": "http://fonts.gstatic.com/s/federant/v8/tddZFSiGvxICNOGra0i5aA.ttf"
4254
+ }
4255
+ },
4256
+ {
4257
+ "kind": "webfonts#webfont",
4258
+ "family": "Federo",
4259
+ "category": "sans-serif",
4260
+ "variants": [
4261
+ "regular"
4262
+ ],
4263
+ "subsets": [
4264
+ "latin"
4265
+ ],
4266
+ "version": "v8",
4267
+ "lastModified": "2016-04-25",
4268
+ "files": {
4269
+ "regular": "http://fonts.gstatic.com/s/federo/v8/JPhe1S2tujeyaR79gXBLeQ.ttf"
4270
+ }
4271
+ },
4272
+ {
4273
+ "kind": "webfonts#webfont",
4274
+ "family": "Felipa",
4275
+ "category": "handwriting",
4276
+ "variants": [
4277
+ "regular"
4278
+ ],
4279
+ "subsets": [
4280
+ "latin",
4281
+ "latin-ext"
4282
+ ],
4283
+ "version": "v4",
4284
+ "lastModified": "2016-04-25",
4285
+ "files": {
4286
+ "regular": "http://fonts.gstatic.com/s/felipa/v4/SeyfyFZY7abAQXGrOIYnYg.ttf"
4287
+ }
4288
+ },
4289
+ {
4290
+ "kind": "webfonts#webfont",
4291
+ "family": "Fenix",
4292
+ "category": "serif",
4293
+ "variants": [
4294
+ "regular"
4295
+ ],
4296
+ "subsets": [
4297
+ "latin",
4298
+ "latin-ext"
4299
+ ],
4300
+ "version": "v4",
4301
+ "lastModified": "2016-04-25",
4302
+ "files": {
4303
+ "regular": "http://fonts.gstatic.com/s/fenix/v4/Ak8wR3VSlAN7VN_eMeJj7Q.ttf"
4304
+ }
4305
+ },
4306
+ {
4307
+ "kind": "webfonts#webfont",
4308
+ "family": "Finger Paint",
4309
+ "category": "display",
4310
+ "variants": [
4311
+ "regular"
4312
+ ],
4313
+ "subsets": [
4314
+ "latin"
4315
+ ],
4316
+ "version": "v4",
4317
+ "lastModified": "2016-04-25",
4318
+ "files": {
4319
+ "regular": "http://fonts.gstatic.com/s/fingerpaint/v4/m_ZRbiY-aPb13R3DWPBGXy3USBnSvpkopQaUR-2r7iU.ttf"
4320
+ }
4321
+ },
4322
+ {
4323
+ "kind": "webfonts#webfont",
4324
+ "family": "Fira Mono",
4325
+ "category": "monospace",
4326
+ "variants": [
4327
+ "regular",
4328
+ "700"
4329
+ ],
4330
+ "subsets": [
4331
+ "latin",
4332
+ "greek",
4333
+ "latin-ext",
4334
+ "cyrillic-ext",
4335
+ "cyrillic"
4336
+ ],
4337
+ "version": "v3",
4338
+ "lastModified": "2016-04-25",
4339
+ "files": {
4340
+ "regular": "http://fonts.gstatic.com/s/firamono/v3/WQOm1D4RO-yvA9q9trJc8g.ttf",
4341
+ "700": "http://fonts.gstatic.com/s/firamono/v3/l24Wph3FsyKAbJ8dfExTZy3USBnSvpkopQaUR-2r7iU.ttf"
4342
+ }
4343
+ },
4344
+ {
4345
+ "kind": "webfonts#webfont",
4346
+ "family": "Fira Sans",
4347
+ "category": "sans-serif",
4348
+ "variants": [
4349
+ "300",
4350
+ "300italic",
4351
+ "regular",
4352
+ "italic",
4353
+ "500",
4354
+ "500italic",
4355
+ "700",
4356
+ "700italic"
4357
+ ],
4358
+ "subsets": [
4359
+ "latin",
4360
+ "greek",
4361
+ "latin-ext",
4362
+ "cyrillic-ext",
4363
+ "cyrillic"
4364
+ ],
4365
+ "version": "v5",
4366
+ "lastModified": "2016-04-25",
4367
+ "files": {
4368
+ "300": "http://fonts.gstatic.com/s/firasans/v5/VTBnrK42EiOBncVyQXZ7jy3USBnSvpkopQaUR-2r7iU.ttf",
4369
+ "300italic": "http://fonts.gstatic.com/s/firasans/v5/6s0YCA9oCTF6hM60YM-qTS9-WlPSxbfiI49GsXo3q0g.ttf",
4370
+ "regular": "http://fonts.gstatic.com/s/firasans/v5/nsT0isDy56OkSX99sFQbXw.ttf",
4371
+ "italic": "http://fonts.gstatic.com/s/firasans/v5/cPT_2ddmoxsUuMtQqa8zGqCWcynf_cDxXwCLxiixG1c.ttf",
4372
+ "500": "http://fonts.gstatic.com/s/firasans/v5/zM2u8V3CuPVwAAXFQcDi4C3USBnSvpkopQaUR-2r7iU.ttf",
4373
+ "500italic": "http://fonts.gstatic.com/s/firasans/v5/6s0YCA9oCTF6hM60YM-qTcCNfqCYlB_eIx7H1TVXe60.ttf",
4374
+ "700": "http://fonts.gstatic.com/s/firasans/v5/DugPdSljmOTocZOR2CItOi3USBnSvpkopQaUR-2r7iU.ttf",
4375
+ "700italic": "http://fonts.gstatic.com/s/firasans/v5/6s0YCA9oCTF6hM60YM-qTXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
4376
+ }
4377
+ },
4378
+ {
4379
+ "kind": "webfonts#webfont",
4380
+ "family": "Fjalla One",
4381
+ "category": "sans-serif",
4382
+ "variants": [
4383
+ "regular"
4384
+ ],
4385
+ "subsets": [
4386
+ "latin",
4387
+ "latin-ext"
4388
+ ],
4389
+ "version": "v4",
4390
+ "lastModified": "2016-04-25",
4391
+ "files": {
4392
+ "regular": "http://fonts.gstatic.com/s/fjallaone/v4/3b7vWCfOZsU53vMa8LWsf_esZW2xOQ-xsNqO47m55DA.ttf"
4393
+ }
4394
+ },
4395
+ {
4396
+ "kind": "webfonts#webfont",
4397
+ "family": "Fjord One",
4398
+ "category": "serif",
4399
+ "variants": [
4400
+ "regular"
4401
+ ],
4402
+ "subsets": [
4403
+ "latin"
4404
+ ],
4405
+ "version": "v5",
4406
+ "lastModified": "2016-04-25",
4407
+ "files": {
4408
+ "regular": "http://fonts.gstatic.com/s/fjordone/v5/R_YHK8au2uFPw5tNu5N7zw.ttf"
4409
+ }
4410
+ },
4411
+ {
4412
+ "kind": "webfonts#webfont",
4413
+ "family": "Flamenco",
4414
+ "category": "display",
4415
+ "variants": [
4416
+ "300",
4417
+ "regular"
4418
+ ],
4419
+ "subsets": [
4420
+ "latin"
4421
+ ],
4422
+ "version": "v6",
4423
+ "lastModified": "2016-04-25",
4424
+ "files": {
4425
+ "300": "http://fonts.gstatic.com/s/flamenco/v6/x9iI5CogvuZVCGoRHwXuo6CWcynf_cDxXwCLxiixG1c.ttf",
4426
+ "regular": "http://fonts.gstatic.com/s/flamenco/v6/HC0ugfLLgt26I5_BWD1PZA.ttf"
4427
+ }
4428
+ },
4429
+ {
4430
+ "kind": "webfonts#webfont",
4431
+ "family": "Flavors",
4432
+ "category": "display",
4433
+ "variants": [
4434
+ "regular"
4435
+ ],
4436
+ "subsets": [
4437
+ "latin"
4438
+ ],
4439
+ "version": "v5",
4440
+ "lastModified": "2016-04-25",
4441
+ "files": {
4442
+ "regular": "http://fonts.gstatic.com/s/flavors/v5/SPJi5QclATvon8ExcKGRvQ.ttf"
4443
+ }
4444
+ },
4445
+ {
4446
+ "kind": "webfonts#webfont",
4447
+ "family": "Fondamento",
4448
+ "category": "handwriting",
4449
+ "variants": [
4450
+ "regular",
4451
+ "italic"
4452
+ ],
4453
+ "subsets": [
4454
+ "latin",
4455
+ "latin-ext"
4456
+ ],
4457
+ "version": "v5",
4458
+ "lastModified": "2016-04-25",
4459
+ "files": {
4460
+ "regular": "http://fonts.gstatic.com/s/fondamento/v5/6LWXcjT1B7bnWluAOSNfMPesZW2xOQ-xsNqO47m55DA.ttf",
4461
+ "italic": "http://fonts.gstatic.com/s/fondamento/v5/y6TmwhSbZ8rYq7OTFyo7OS3USBnSvpkopQaUR-2r7iU.ttf"
4462
+ }
4463
+ },
4464
+ {
4465
+ "kind": "webfonts#webfont",
4466
+ "family": "Fontdiner Swanky",
4467
+ "category": "display",
4468
+ "variants": [
4469
+ "regular"
4470
+ ],
4471
+ "subsets": [
4472
+ "latin"
4473
+ ],
4474
+ "version": "v6",
4475
+ "lastModified": "2016-04-25",
4476
+ "files": {
4477
+ "regular": "http://fonts.gstatic.com/s/fontdinerswanky/v6/8_GxIO5ixMtn5P6COsF3TlBjMPLzPAFJwRBn-s1U7kA.ttf"
4478
+ }
4479
+ },
4480
+ {
4481
+ "kind": "webfonts#webfont",
4482
+ "family": "Forum",
4483
+ "category": "display",
4484
+ "variants": [
4485
+ "regular"
4486
+ ],
4487
+ "subsets": [
4488
+ "latin",
4489
+ "latin-ext",
4490
+ "cyrillic-ext",
4491
+ "cyrillic"
4492
+ ],
4493
+ "version": "v7",
4494
+ "lastModified": "2016-04-25",
4495
+ "files": {
4496
+ "regular": "http://fonts.gstatic.com/s/forum/v7/MZUpsq1VfLrqv8eSDcbrrQ.ttf"
4497
+ }
4498
+ },
4499
+ {
4500
+ "kind": "webfonts#webfont",
4501
+ "family": "Francois One",
4502
+ "category": "sans-serif",
4503
+ "variants": [
4504
+ "regular"
4505
+ ],
4506
+ "subsets": [
4507
+ "latin",
4508
+ "latin-ext"
4509
+ ],
4510
+ "version": "v9",
4511
+ "lastModified": "2016-04-25",
4512
+ "files": {
4513
+ "regular": "http://fonts.gstatic.com/s/francoisone/v9/bYbkq2nU2TSx4SwFbz5sCC3USBnSvpkopQaUR-2r7iU.ttf"
4514
+ }
4515
+ },
4516
+ {
4517
+ "kind": "webfonts#webfont",
4518
+ "family": "Freckle Face",
4519
+ "category": "display",
4520
+ "variants": [
4521
+ "regular"
4522
+ ],
4523
+ "subsets": [
4524
+ "latin",
4525
+ "latin-ext"
4526
+ ],
4527
+ "version": "v4",
4528
+ "lastModified": "2016-04-25",
4529
+ "files": {
4530
+ "regular": "http://fonts.gstatic.com/s/freckleface/v4/7-B8j9BPJgazdHIGqPNv8y3USBnSvpkopQaUR-2r7iU.ttf"
4531
+ }
4532
+ },
4533
+ {
4534
+ "kind": "webfonts#webfont",
4535
+ "family": "Fredericka the Great",
4536
+ "category": "display",
4537
+ "variants": [
4538
+ "regular"
4539
+ ],
4540
+ "subsets": [
4541
+ "latin"
4542
+ ],
4543
+ "version": "v5",
4544
+ "lastModified": "2016-04-25",
4545
+ "files": {
4546
+ "regular": "http://fonts.gstatic.com/s/frederickathegreat/v5/7Es8Lxoku-e5eOZWpxw18nrnet6gXN1McwdQxS1dVrI.ttf"
4547
+ }
4548
+ },
4549
+ {
4550
+ "kind": "webfonts#webfont",
4551
+ "family": "Fredoka One",
4552
+ "category": "display",
4553
+ "variants": [
4554
+ "regular"
4555
+ ],
4556
+ "subsets": [
4557
+ "latin"
4558
+ ],
4559
+ "version": "v4",
4560
+ "lastModified": "2016-04-25",
4561
+ "files": {
4562
+ "regular": "http://fonts.gstatic.com/s/fredokaone/v4/QKfwXi-z-KtJAlnO2ethYqCWcynf_cDxXwCLxiixG1c.ttf"
4563
+ }
4564
+ },
4565
+ {
4566
+ "kind": "webfonts#webfont",
4567
+ "family": "Freehand",
4568
+ "category": "display",
4569
+ "variants": [
4570
+ "regular"
4571
+ ],
4572
+ "subsets": [
4573
+ "khmer"
4574
+ ],
4575
+ "version": "v8",
4576
+ "lastModified": "2016-04-25",
4577
+ "files": {
4578
+ "regular": "http://fonts.gstatic.com/s/freehand/v8/uEBQxvA0lnn_BrD6krlxMw.ttf"
4579
+ }
4580
+ },
4581
+ {
4582
+ "kind": "webfonts#webfont",
4583
+ "family": "Fresca",
4584
+ "category": "sans-serif",
4585
+ "variants": [
4586
+ "regular"
4587
+ ],
4588
+ "subsets": [
4589
+ "latin",
4590
+ "latin-ext"
4591
+ ],
4592
+ "version": "v5",
4593
+ "lastModified": "2016-04-25",
4594
+ "files": {
4595
+ "regular": "http://fonts.gstatic.com/s/fresca/v5/2q7Qm9sCo1tWvVgSDVWNIw.ttf"
4596
+ }
4597
+ },
4598
+ {
4599
+ "kind": "webfonts#webfont",
4600
+ "family": "Frijole",
4601
+ "category": "display",
4602
+ "variants": [
4603
+ "regular"
4604
+ ],
4605
+ "subsets": [
4606
+ "latin"
4607
+ ],
4608
+ "version": "v5",
4609
+ "lastModified": "2016-04-25",
4610
+ "files": {
4611
+ "regular": "http://fonts.gstatic.com/s/frijole/v5/L2MfZse-2gCascuD-nLhWg.ttf"
4612
+ }
4613
+ },
4614
+ {
4615
+ "kind": "webfonts#webfont",
4616
+ "family": "Fruktur",
4617
+ "category": "display",
4618
+ "variants": [
4619
+ "regular"
4620
+ ],
4621
+ "subsets": [
4622
+ "latin",
4623
+ "latin-ext"
4624
+ ],
4625
+ "version": "v8",
4626
+ "lastModified": "2016-04-25",
4627
+ "files": {
4628
+ "regular": "http://fonts.gstatic.com/s/fruktur/v8/PnQvfEi1LssAvhJsCwH__w.ttf"
4629
+ }
4630
+ },
4631
+ {
4632
+ "kind": "webfonts#webfont",
4633
+ "family": "Fugaz One",
4634
+ "category": "display",
4635
+ "variants": [
4636
+ "regular"
4637
+ ],
4638
+ "subsets": [
4639
+ "latin"
4640
+ ],
4641
+ "version": "v6",
4642
+ "lastModified": "2016-04-25",
4643
+ "files": {
4644
+ "regular": "http://fonts.gstatic.com/s/fugazone/v6/5tteVDCwxsr8-5RuSiRWOw.ttf"
4645
+ }
4646
+ },
4647
+ {
4648
+ "kind": "webfonts#webfont",
4649
+ "family": "GFS Didot",
4650
+ "category": "serif",
4651
+ "variants": [
4652
+ "regular"
4653
+ ],
4654
+ "subsets": [
4655
+ "greek"
4656
+ ],
4657
+ "version": "v6",
4658
+ "lastModified": "2016-04-25",
4659
+ "files": {
4660
+ "regular": "http://fonts.gstatic.com/s/gfsdidot/v6/jQKxZy2RU-h9tkPZcRVluA.ttf"
4661
+ }
4662
+ },
4663
+ {
4664
+ "kind": "webfonts#webfont",
4665
+ "family": "GFS Neohellenic",
4666
+ "category": "sans-serif",
4667
+ "variants": [
4668
+ "regular",
4669
+ "italic",
4670
+ "700",
4671
+ "700italic"
4672
+ ],
4673
+ "subsets": [
4674
+ "greek"
4675
+ ],
4676
+ "version": "v7",
4677
+ "lastModified": "2016-04-25",
4678
+ "files": {
4679
+ "regular": "http://fonts.gstatic.com/s/gfsneohellenic/v7/B4xRqbn-tANVqVgamMsSDiayCZa0z7CpFzlkqoCHztc.ttf",
4680
+ "italic": "http://fonts.gstatic.com/s/gfsneohellenic/v7/KnaWrO4awITAqigQIIYXKkCTdomiyJpIzPbEbIES3rU.ttf",
4681
+ "700": "http://fonts.gstatic.com/s/gfsneohellenic/v7/7HwjPQa7qNiOsnUce2h4448_BwCLZY3eDSV6kppAwI8.ttf",
4682
+ "700italic": "http://fonts.gstatic.com/s/gfsneohellenic/v7/FwWjoX6XqT-szJFyqsu_GYFF0fM4h-krcpQk7emtCpE.ttf"
4683
+ }
4684
+ },
4685
+ {
4686
+ "kind": "webfonts#webfont",
4687
+ "family": "Gabriela",
4688
+ "category": "serif",
4689
+ "variants": [
4690
+ "regular"
4691
+ ],
4692
+ "subsets": [
4693
+ "latin",
4694
+ "latin-ext"
4695
+ ],
4696
+ "version": "v4",
4697
+ "lastModified": "2016-04-25",
4698
+ "files": {
4699
+ "regular": "http://fonts.gstatic.com/s/gabriela/v4/B-2ZfbAO3HDrxqV6lR5tdA.ttf"
4700
+ }
4701
+ },
4702
+ {
4703
+ "kind": "webfonts#webfont",
4704
+ "family": "Gafata",
4705
+ "category": "sans-serif",
4706
+ "variants": [
4707
+ "regular"
4708
+ ],
4709
+ "subsets": [
4710
+ "latin",
4711
+ "latin-ext"
4712
+ ],
4713
+ "version": "v5",
4714
+ "lastModified": "2016-04-25",
4715
+ "files": {
4716
+ "regular": "http://fonts.gstatic.com/s/gafata/v5/aTFqlki_3Dc3geo-FxHTvQ.ttf"
4717
+ }
4718
+ },
4719
+ {
4720
+ "kind": "webfonts#webfont",
4721
+ "family": "Galdeano",
4722
+ "category": "sans-serif",
4723
+ "variants": [
4724
+ "regular"
4725
+ ],
4726
+ "subsets": [
4727
+ "latin"
4728
+ ],
4729
+ "version": "v6",
4730
+ "lastModified": "2016-04-25",
4731
+ "files": {
4732
+ "regular": "http://fonts.gstatic.com/s/galdeano/v6/ZKFMQI6HxEG1jOT0UGSZUg.ttf"
4733
+ }
4734
+ },
4735
+ {
4736
+ "kind": "webfonts#webfont",
4737
+ "family": "Galindo",
4738
+ "category": "display",
4739
+ "variants": [
4740
+ "regular"
4741
+ ],
4742
+ "subsets": [
4743
+ "latin",
4744
+ "latin-ext"
4745
+ ],
4746
+ "version": "v4",
4747
+ "lastModified": "2016-04-25",
4748
+ "files": {
4749
+ "regular": "http://fonts.gstatic.com/s/galindo/v4/2lafAS_ZEfB33OJryhXDUg.ttf"
4750
+ }
4751
+ },
4752
+ {
4753
+ "kind": "webfonts#webfont",
4754
+ "family": "Gentium Basic",
4755
+ "category": "serif",
4756
+ "variants": [
4757
+ "regular",
4758
+ "italic",
4759
+ "700",
4760
+ "700italic"
4761
+ ],
4762
+ "subsets": [
4763
+ "latin",
4764
+ "latin-ext"
4765
+ ],
4766
+ "version": "v8",
4767
+ "lastModified": "2016-04-25",
4768
+ "files": {
4769
+ "regular": "http://fonts.gstatic.com/s/gentiumbasic/v8/KCktj43blvLkhOTolFn-MYtBLojGU5Qdl8-5NL4v70w.ttf",
4770
+ "italic": "http://fonts.gstatic.com/s/gentiumbasic/v8/qoFz4NSMaYC2UmsMAG3lyTj3mvXnCeAk09uTtmkJGRc.ttf",
4771
+ "700": "http://fonts.gstatic.com/s/gentiumbasic/v8/2qL6yulgGf0wwgOp-UqGyLNuTeOOLg3nUymsEEGmdO0.ttf",
4772
+ "700italic": "http://fonts.gstatic.com/s/gentiumbasic/v8/8N9-c_aQDJ8LbI1NGVMrwtswO1vWwP9exiF8s0wqW10.ttf"
4773
+ }
4774
+ },
4775
+ {
4776
+ "kind": "webfonts#webfont",
4777
+ "family": "Gentium Book Basic",
4778
+ "category": "serif",
4779
+ "variants": [
4780
+ "regular",
4781
+ "italic",
4782
+ "700",
4783
+ "700italic"
4784
+ ],
4785
+ "subsets": [
4786
+ "latin",
4787
+ "latin-ext"
4788
+ ],
4789
+ "version": "v7",
4790
+ "lastModified": "2016-04-25",
4791
+ "files": {
4792
+ "regular": "http://fonts.gstatic.com/s/gentiumbookbasic/v7/IRFxB2matTxrjZt6a3FUnrWDjKAyldGEr6eEi2MBNeY.ttf",
4793
+ "italic": "http://fonts.gstatic.com/s/gentiumbookbasic/v7/qHqW2lwKO8-uTfIkh8FsUfXfjMwrYnmPVsQth2IcAPY.ttf",
4794
+ "700": "http://fonts.gstatic.com/s/gentiumbookbasic/v7/T2vUYmWzlqUtgLYdlemGnaWESMHIjnSjm9UUxYtEOko.ttf",
4795
+ "700italic": "http://fonts.gstatic.com/s/gentiumbookbasic/v7/632u7TMIoFDWQYUaHFUp5PA2A9KyRZEkn4TZVuhsWRM.ttf"
4796
+ }
4797
+ },
4798
+ {
4799
+ "kind": "webfonts#webfont",
4800
+ "family": "Geo",
4801
+ "category": "sans-serif",
4802
+ "variants": [
4803
+ "regular",
4804
+ "italic"
4805
+ ],
4806
+ "subsets": [
4807
+ "latin"
4808
+ ],
4809
+ "version": "v8",
4810
+ "lastModified": "2016-04-25",
4811
+ "files": {
4812
+ "regular": "http://fonts.gstatic.com/s/geo/v8/mJuJYk5Pww84B4uHAQ1XaA.ttf",
4813
+ "italic": "http://fonts.gstatic.com/s/geo/v8/8_r1wToF7nPdDuX1qxel6Q.ttf"
4814
+ }
4815
+ },
4816
+ {
4817
+ "kind": "webfonts#webfont",
4818
+ "family": "Geostar",
4819
+ "category": "display",
4820
+ "variants": [
4821
+ "regular"
4822
+ ],
4823
+ "subsets": [
4824
+ "latin"
4825
+ ],
4826
+ "version": "v6",
4827
+ "lastModified": "2016-04-25",
4828
+ "files": {
4829
+ "regular": "http://fonts.gstatic.com/s/geostar/v6/A8WQbhQbpYx3GWWaShJ9GA.ttf"
4830
+ }
4831
+ },
4832
+ {
4833
+ "kind": "webfonts#webfont",
4834
+ "family": "Geostar Fill",
4835
+ "category": "display",
4836
+ "variants": [
4837
+ "regular"
4838
+ ],
4839
+ "subsets": [
4840
+ "latin"
4841
+ ],
4842
+ "version": "v6",
4843
+ "lastModified": "2016-04-25",
4844
+ "files": {
4845
+ "regular": "http://fonts.gstatic.com/s/geostarfill/v6/Y5ovXPPOHYTfQzK2aM-hui3USBnSvpkopQaUR-2r7iU.ttf"
4846
+ }
4847
+ },
4848
+ {
4849
+ "kind": "webfonts#webfont",
4850
+ "family": "Germania One",
4851
+ "category": "display",
4852
+ "variants": [
4853
+ "regular"
4854
+ ],
4855
+ "subsets": [
4856
+ "latin"
4857
+ ],
4858
+ "version": "v4",
4859
+ "lastModified": "2016-04-25",
4860
+ "files": {
4861
+ "regular": "http://fonts.gstatic.com/s/germaniaone/v4/3_6AyUql_-FbDi1e68jHdC3USBnSvpkopQaUR-2r7iU.ttf"
4862
+ }
4863
+ },
4864
+ {
4865
+ "kind": "webfonts#webfont",
4866
+ "family": "Gidugu",
4867
+ "category": "sans-serif",
4868
+ "variants": [
4869
+ "regular"
4870
+ ],
4871
+ "subsets": [
4872
+ "latin",
4873
+ "telugu"
4874
+ ],
4875
+ "version": "v3",
4876
+ "lastModified": "2016-04-25",
4877
+ "files": {
4878
+ "regular": "http://fonts.gstatic.com/s/gidugu/v3/Ey6Eq3hrT6MM58iFItFcgw.ttf"
4879
+ }
4880
+ },
4881
+ {
4882
+ "kind": "webfonts#webfont",
4883
+ "family": "Gilda Display",
4884
+ "category": "serif",
4885
+ "variants": [
4886
+ "regular"
4887
+ ],
4888
+ "subsets": [
4889
+ "latin",
4890
+ "latin-ext"
4891
+ ],
4892
+ "version": "v4",
4893
+ "lastModified": "2016-04-25",
4894
+ "files": {
4895
+ "regular": "http://fonts.gstatic.com/s/gildadisplay/v4/8yAVUZLLZ3wb7dSsjix0CADHmap7fRWINAsw8-RaxNg.ttf"
4896
+ }
4897
+ },
4898
+ {
4899
+ "kind": "webfonts#webfont",
4900
+ "family": "Give You Glory",
4901
+ "category": "handwriting",
4902
+ "variants": [
4903
+ "regular"
4904
+ ],
4905
+ "subsets": [
4906
+ "latin"
4907
+ ],
4908
+ "version": "v6",
4909
+ "lastModified": "2016-04-25",
4910
+ "files": {
4911
+ "regular": "http://fonts.gstatic.com/s/giveyouglory/v6/DFEWZFgGmfseyIdGRJAxuBwwkpSPZdvjnMtysdqprfI.ttf"
4912
+ }
4913
+ },
4914
+ {
4915
+ "kind": "webfonts#webfont",
4916
+ "family": "Glass Antiqua",
4917
+ "category": "display",
4918
+ "variants": [
4919
+ "regular"
4920
+ ],
4921
+ "subsets": [
4922
+ "latin",
4923
+ "latin-ext"
4924
+ ],
4925
+ "version": "v4",
4926
+ "lastModified": "2016-04-25",
4927
+ "files": {
4928
+ "regular": "http://fonts.gstatic.com/s/glassantiqua/v4/0yLrXKplgdUDIMz5TnCHNODcg5akpSnIcsPhLOFv7l8.ttf"
4929
+ }
4930
+ },
4931
+ {
4932
+ "kind": "webfonts#webfont",
4933
+ "family": "Glegoo",
4934
+ "category": "serif",
4935
+ "variants": [
4936
+ "regular",
4937
+ "700"
4938
+ ],
4939
+ "subsets": [
4940
+ "latin",
4941
+ "devanagari",
4942
+ "latin-ext"
4943
+ ],
4944
+ "version": "v5",
4945
+ "lastModified": "2016-04-25",
4946
+ "files": {
4947
+ "regular": "http://fonts.gstatic.com/s/glegoo/v5/2tf-h3n2A_SNYXEO0C8bKw.ttf",
4948
+ "700": "http://fonts.gstatic.com/s/glegoo/v5/TlLolbauH0-0Aiz1LUH5og.ttf"
4949
+ }
4950
+ },
4951
+ {
4952
+ "kind": "webfonts#webfont",
4953
+ "family": "Gloria Hallelujah",
4954
+ "category": "handwriting",
4955
+ "variants": [
4956
+ "regular"
4957
+ ],
4958
+ "subsets": [
4959
+ "latin"
4960
+ ],
4961
+ "version": "v8",
4962
+ "lastModified": "2016-04-25",
4963
+ "files": {
4964
+ "regular": "http://fonts.gstatic.com/s/gloriahallelujah/v8/CA1k7SlXcY5kvI81M_R28Q3RdPdyebSUyJECJouPsvA.ttf"
4965
+ }
4966
+ },
4967
+ {
4968
+ "kind": "webfonts#webfont",
4969
+ "family": "Goblin One",
4970
+ "category": "display",
4971
+ "variants": [
4972
+ "regular"
4973
+ ],
4974
+ "subsets": [
4975
+ "latin"
4976
+ ],
4977
+ "version": "v6",
4978
+ "lastModified": "2016-04-25",
4979
+ "files": {
4980
+ "regular": "http://fonts.gstatic.com/s/goblinone/v6/331XtzoXgpVEvNTVcBJ_C_esZW2xOQ-xsNqO47m55DA.ttf"
4981
+ }
4982
+ },
4983
+ {
4984
+ "kind": "webfonts#webfont",
4985
+ "family": "Gochi Hand",
4986
+ "category": "handwriting",
4987
+ "variants": [
4988
+ "regular"
4989
+ ],
4990
+ "subsets": [
4991
+ "latin"
4992
+ ],
4993
+ "version": "v7",
4994
+ "lastModified": "2016-04-25",
4995
+ "files": {
4996
+ "regular": "http://fonts.gstatic.com/s/gochihand/v7/KT1-WxgHsittJ34_20IfAPesZW2xOQ-xsNqO47m55DA.ttf"
4997
+ }
4998
+ },
4999
+ {
5000
+ "kind": "webfonts#webfont",
5001
+ "family": "Gorditas",
5002
+ "category": "display",
5003
+ "variants": [
5004
+ "regular",
5005
+ "700"
5006
+ ],
5007
+ "subsets": [
5008
+ "latin"
5009
+ ],
5010
+ "version": "v4",
5011
+ "lastModified": "2016-04-25",
5012
+ "files": {
5013
+ "regular": "http://fonts.gstatic.com/s/gorditas/v4/uMgZhXUyH6qNGF3QsjQT5Q.ttf",
5014
+ "700": "http://fonts.gstatic.com/s/gorditas/v4/6-XCeknmxaon8AUqVkMnHaCWcynf_cDxXwCLxiixG1c.ttf"
5015
+ }
5016
+ },
5017
+ {
5018
+ "kind": "webfonts#webfont",
5019
+ "family": "Goudy Bookletter 1911",
5020
+ "category": "serif",
5021
+ "variants": [
5022
+ "regular"
5023
+ ],
5024
+ "subsets": [
5025
+ "latin"
5026
+ ],
5027
+ "version": "v6",
5028
+ "lastModified": "2016-04-25",
5029
+ "files": {
5030
+ "regular": "http://fonts.gstatic.com/s/goudybookletter1911/v6/l5lwlGTN3pEY5Bf-rQEuIIjNDsyURsIKu4GSfvSE4mA.ttf"
5031
+ }
5032
+ },
5033
+ {
5034
+ "kind": "webfonts#webfont",
5035
+ "family": "Graduate",
5036
+ "category": "display",
5037
+ "variants": [
5038
+ "regular"
5039
+ ],
5040
+ "subsets": [
5041
+ "latin"
5042
+ ],
5043
+ "version": "v4",
5044
+ "lastModified": "2016-04-25",
5045
+ "files": {
5046
+ "regular": "http://fonts.gstatic.com/s/graduate/v4/JpAmYLHqcIh9_Ff35HHwiA.ttf"
5047
+ }
5048
+ },
5049
+ {
5050
+ "kind": "webfonts#webfont",
5051
+ "family": "Grand Hotel",
5052
+ "category": "handwriting",
5053
+ "variants": [
5054
+ "regular"
5055
+ ],
5056
+ "subsets": [
5057
+ "latin",
5058
+ "latin-ext"
5059
+ ],
5060
+ "version": "v4",
5061
+ "lastModified": "2016-04-25",
5062
+ "files": {
5063
+ "regular": "http://fonts.gstatic.com/s/grandhotel/v4/C_A8HiFZjXPpnMt38XnK7qCWcynf_cDxXwCLxiixG1c.ttf"
5064
+ }
5065
+ },
5066
+ {
5067
+ "kind": "webfonts#webfont",
5068
+ "family": "Gravitas One",
5069
+ "category": "display",
5070
+ "variants": [
5071
+ "regular"
5072
+ ],
5073
+ "subsets": [
5074
+ "latin"
5075
+ ],
5076
+ "version": "v6",
5077
+ "lastModified": "2016-04-25",
5078
+ "files": {
5079
+ "regular": "http://fonts.gstatic.com/s/gravitasone/v6/nBHdBv6zVNU8MtP6w9FwTS3USBnSvpkopQaUR-2r7iU.ttf"
5080
+ }
5081
+ },
5082
+ {
5083
+ "kind": "webfonts#webfont",
5084
+ "family": "Great Vibes",
5085
+ "category": "handwriting",
5086
+ "variants": [
5087
+ "regular"
5088
+ ],
5089
+ "subsets": [
5090
+ "latin",
5091
+ "latin-ext"
5092
+ ],
5093
+ "version": "v4",
5094
+ "lastModified": "2016-04-25",
5095
+ "files": {
5096
+ "regular": "http://fonts.gstatic.com/s/greatvibes/v4/4Mi5RG_9LjQYrTU55GN_L6CWcynf_cDxXwCLxiixG1c.ttf"
5097
+ }
5098
+ },
5099
+ {
5100
+ "kind": "webfonts#webfont",
5101
+ "family": "Griffy",
5102
+ "category": "display",
5103
+ "variants": [
5104
+ "regular"
5105
+ ],
5106
+ "subsets": [
5107
+ "latin",
5108
+ "latin-ext"
5109
+ ],
5110
+ "version": "v4",
5111
+ "lastModified": "2016-04-25",
5112
+ "files": {
5113
+ "regular": "http://fonts.gstatic.com/s/griffy/v4/vWkyYGBSyE5xjnShNtJtzw.ttf"
5114
+ }
5115
+ },
5116
+ {
5117
+ "kind": "webfonts#webfont",
5118
+ "family": "Gruppo",
5119
+ "category": "display",
5120
+ "variants": [
5121
+ "regular"
5122
+ ],
5123
+ "subsets": [
5124
+ "latin",
5125
+ "latin-ext"
5126
+ ],
5127
+ "version": "v7",
5128
+ "lastModified": "2016-04-25",
5129
+ "files": {
5130
+ "regular": "http://fonts.gstatic.com/s/gruppo/v7/pS_JM0cK_piBZve-lfUq9w.ttf"
5131
+ }
5132
+ },
5133
+ {
5134
+ "kind": "webfonts#webfont",
5135
+ "family": "Gudea",
5136
+ "category": "sans-serif",
5137
+ "variants": [
5138
+ "regular",
5139
+ "italic",
5140
+ "700"
5141
+ ],
5142
+ "subsets": [
5143
+ "latin",
5144
+ "latin-ext"
5145
+ ],
5146
+ "version": "v4",
5147
+ "lastModified": "2016-04-25",
5148
+ "files": {
5149
+ "regular": "http://fonts.gstatic.com/s/gudea/v4/S-4QqBlkMPiiA3jNeCR5yw.ttf",
5150
+ "italic": "http://fonts.gstatic.com/s/gudea/v4/7mNgsGw_vfS-uUgRVXNDSw.ttf",
5151
+ "700": "http://fonts.gstatic.com/s/gudea/v4/lsip4aiWhJ9bx172Y9FN_w.ttf"
5152
+ }
5153
+ },
5154
+ {
5155
+ "kind": "webfonts#webfont",
5156
+ "family": "Gurajada",
5157
+ "category": "serif",
5158
+ "variants": [
5159
+ "regular"
5160
+ ],
5161
+ "subsets": [
5162
+ "latin",
5163
+ "telugu"
5164
+ ],
5165
+ "version": "v4",
5166
+ "lastModified": "2016-04-25",
5167
+ "files": {
5168
+ "regular": "http://fonts.gstatic.com/s/gurajada/v4/6Adfkl4PCRyq6XTENACEyA.ttf"
5169
+ }
5170
+ },
5171
+ {
5172
+ "kind": "webfonts#webfont",
5173
+ "family": "Habibi",
5174
+ "category": "serif",
5175
+ "variants": [
5176
+ "regular"
5177
+ ],
5178
+ "subsets": [
5179
+ "latin",
5180
+ "latin-ext"
5181
+ ],
5182
+ "version": "v5",
5183
+ "lastModified": "2016-04-25",
5184
+ "files": {
5185
+ "regular": "http://fonts.gstatic.com/s/habibi/v5/YYyqXF6pWpL7kmKgS_2iUA.ttf"
5186
+ }
5187
+ },
5188
+ {
5189
+ "kind": "webfonts#webfont",
5190
+ "family": "Halant",
5191
+ "category": "serif",
5192
+ "variants": [
5193
+ "300",
5194
+ "regular",
5195
+ "500",
5196
+ "600",
5197
+ "700"
5198
+ ],
5199
+ "subsets": [
5200
+ "latin",
5201
+ "devanagari",
5202
+ "latin-ext"
5203
+ ],
5204
+ "version": "v2",
5205
+ "lastModified": "2016-04-25",
5206
+ "files": {
5207
+ "300": "http://fonts.gstatic.com/s/halant/v2/dM3ItAOWNNod_Cf3MnLlEg.ttf",
5208
+ "regular": "http://fonts.gstatic.com/s/halant/v2/rEs7Jk3SVyt3cTx6DoTu1w.ttf",
5209
+ "500": "http://fonts.gstatic.com/s/halant/v2/tlsNj3K-hJKtiirTDtUbkQ.ttf",
5210
+ "600": "http://fonts.gstatic.com/s/halant/v2/zNR2WvI_V8o652vIZp3X4Q.ttf",
5211
+ "700": "http://fonts.gstatic.com/s/halant/v2/D9FN7OH89AuCmZDLHbPQfA.ttf"
5212
+ }
5213
+ },
5214
+ {
5215
+ "kind": "webfonts#webfont",
5216
+ "family": "Hammersmith One",
5217
+ "category": "sans-serif",
5218
+ "variants": [
5219
+ "regular"
5220
+ ],
5221
+ "subsets": [
5222
+ "latin",
5223
+ "latin-ext"
5224
+ ],
5225
+ "version": "v7",
5226
+ "lastModified": "2016-04-25",
5227
+ "files": {
5228
+ "regular": "http://fonts.gstatic.com/s/hammersmithone/v7/FWNn6ITYqL6or7ZTmBxRhjjVlsJB_M_Q_LtZxsoxvlw.ttf"
5229
+ }
5230
+ },
5231
+ {
5232
+ "kind": "webfonts#webfont",
5233
+ "family": "Hanalei",
5234
+ "category": "display",
5235
+ "variants": [
5236
+ "regular"
5237
+ ],
5238
+ "subsets": [
5239
+ "latin",
5240
+ "latin-ext"
5241
+ ],
5242
+ "version": "v6",
5243
+ "lastModified": "2016-04-25",
5244
+ "files": {
5245
+ "regular": "http://fonts.gstatic.com/s/hanalei/v6/Sx8vVMBnXSQyK6Cn0CBJ3A.ttf"
5246
+ }
5247
+ },
5248
+ {
5249
+ "kind": "webfonts#webfont",
5250
+ "family": "Hanalei Fill",
5251
+ "category": "display",
5252
+ "variants": [
5253
+ "regular"
5254
+ ],
5255
+ "subsets": [
5256
+ "latin",
5257
+ "latin-ext"
5258
+ ],
5259
+ "version": "v5",
5260
+ "lastModified": "2016-04-25",
5261
+ "files": {
5262
+ "regular": "http://fonts.gstatic.com/s/hanaleifill/v5/5uPeWLnaDdtm4UBG26Ds6C3USBnSvpkopQaUR-2r7iU.ttf"
5263
+ }
5264
+ },
5265
+ {
5266
+ "kind": "webfonts#webfont",
5267
+ "family": "Handlee",
5268
+ "category": "handwriting",
5269
+ "variants": [
5270
+ "regular"
5271
+ ],
5272
+ "subsets": [
5273
+ "latin"
5274
+ ],
5275
+ "version": "v5",
5276
+ "lastModified": "2016-04-25",
5277
+ "files": {
5278
+ "regular": "http://fonts.gstatic.com/s/handlee/v5/6OfkXkyC0E5NZN80ED8u3A.ttf"
5279
+ }
5280
+ },
5281
+ {
5282
+ "kind": "webfonts#webfont",
5283
+ "family": "Hanuman",
5284
+ "category": "serif",
5285
+ "variants": [
5286
+ "regular",
5287
+ "700"
5288
+ ],
5289
+ "subsets": [
5290
+ "khmer"
5291
+ ],
5292
+ "version": "v9",
5293
+ "lastModified": "2016-04-25",
5294
+ "files": {
5295
+ "regular": "http://fonts.gstatic.com/s/hanuman/v9/hRhwOGGmElJSl6KSPvEnOQ.ttf",
5296
+ "700": "http://fonts.gstatic.com/s/hanuman/v9/lzzXZ2l84x88giDrbfq76vesZW2xOQ-xsNqO47m55DA.ttf"
5297
+ }
5298
+ },
5299
+ {
5300
+ "kind": "webfonts#webfont",
5301
+ "family": "Happy Monkey",
5302
+ "category": "display",
5303
+ "variants": [
5304
+ "regular"
5305
+ ],
5306
+ "subsets": [
5307
+ "latin",
5308
+ "latin-ext"
5309
+ ],
5310
+ "version": "v5",
5311
+ "lastModified": "2016-04-25",
5312
+ "files": {
5313
+ "regular": "http://fonts.gstatic.com/s/happymonkey/v5/c2o0ps8nkBmaOYctqBq1rS3USBnSvpkopQaUR-2r7iU.ttf"
5314
+ }
5315
+ },
5316
+ {
5317
+ "kind": "webfonts#webfont",
5318
+ "family": "Headland One",
5319
+ "category": "serif",
5320
+ "variants": [
5321
+ "regular"
5322
+ ],
5323
+ "subsets": [
5324
+ "latin",
5325
+ "latin-ext"
5326
+ ],
5327
+ "version": "v4",
5328
+ "lastModified": "2016-04-25",
5329
+ "files": {
5330
+ "regular": "http://fonts.gstatic.com/s/headlandone/v4/iGmBeOvQGfq9DSbjJ8jDVy3USBnSvpkopQaUR-2r7iU.ttf"
5331
+ }
5332
+ },
5333
+ {
5334
+ "kind": "webfonts#webfont",
5335
+ "family": "Henny Penny",
5336
+ "category": "display",
5337
+ "variants": [
5338
+ "regular"
5339
+ ],
5340
+ "subsets": [
5341
+ "latin"
5342
+ ],
5343
+ "version": "v4",
5344
+ "lastModified": "2016-04-25",
5345
+ "files": {
5346
+ "regular": "http://fonts.gstatic.com/s/hennypenny/v4/XRgo3ogXyi3tpsFfjImRF6CWcynf_cDxXwCLxiixG1c.ttf"
5347
+ }
5348
+ },
5349
+ {
5350
+ "kind": "webfonts#webfont",
5351
+ "family": "Herr Von Muellerhoff",
5352
+ "category": "handwriting",
5353
+ "variants": [
5354
+ "regular"
5355
+ ],
5356
+ "subsets": [
5357
+ "latin",
5358
+ "latin-ext"
5359
+ ],
5360
+ "version": "v6",
5361
+ "lastModified": "2016-04-25",
5362
+ "files": {
5363
+ "regular": "http://fonts.gstatic.com/s/herrvonmuellerhoff/v6/mmy24EUmk4tjm4gAEjUd7NLGIYrUsBdh-JWHYgiDiMU.ttf"
5364
+ }
5365
+ },
5366
+ {
5367
+ "kind": "webfonts#webfont",
5368
+ "family": "Hind",
5369
+ "category": "sans-serif",
5370
+ "variants": [
5371
+ "300",
5372
+ "regular",
5373
+ "500",
5374
+ "600",
5375
+ "700"
5376
+ ],
5377
+ "subsets": [
5378
+ "latin",
5379
+ "devanagari",
5380
+ "latin-ext"
5381
+ ],
5382
+ "version": "v5",
5383
+ "lastModified": "2016-04-25",
5384
+ "files": {
5385
+ "300": "http://fonts.gstatic.com/s/hind/v5/qa346Adgv9kPDXoD1my4kA.ttf",
5386
+ "regular": "http://fonts.gstatic.com/s/hind/v5/mktFHh5Z5P9YjGKSslSUtA.ttf",
5387
+ "500": "http://fonts.gstatic.com/s/hind/v5/2cs8RCVcYtiv4iNDH1UsQQ.ttf",
5388
+ "600": "http://fonts.gstatic.com/s/hind/v5/TUKUmFMXSoxloBP1ni08oA.ttf",
5389
+ "700": "http://fonts.gstatic.com/s/hind/v5/cXJJavLdUbCfjxlsA6DqTw.ttf"
5390
+ }
5391
+ },
5392
+ {
5393
+ "kind": "webfonts#webfont",
5394
+ "family": "Hind Siliguri",
5395
+ "category": "sans-serif",
5396
+ "variants": [
5397
+ "300",
5398
+ "regular",
5399
+ "500",
5400
+ "600",
5401
+ "700"
5402
+ ],
5403
+ "subsets": [
5404
+ "latin",
5405
+ "latin-ext",
5406
+ "bengali"
5407
+ ],
5408
+ "version": "v1",
5409
+ "lastModified": "2016-04-25",
5410
+ "files": {
5411
+ "300": "http://fonts.gstatic.com/s/hindsiliguri/v1/fBpmjMpv5Rh6S25yVfWJnzoJ52uD-1fmXmi8u0n_zsc.ttf",
5412
+ "regular": "http://fonts.gstatic.com/s/hindsiliguri/v1/f2eEi2pbIa8eBfNwpUl0Am_MnNA9OgK8I1F23mNWOpE.ttf",
5413
+ "500": "http://fonts.gstatic.com/s/hindsiliguri/v1/fBpmjMpv5Rh6S25yVfWJn__2zpxNHQ3utWt_82o9dAo.ttf",
5414
+ "600": "http://fonts.gstatic.com/s/hindsiliguri/v1/fBpmjMpv5Rh6S25yVfWJn-x91FDzFvnud68bXrNkpDA.ttf",
5415
+ "700": "http://fonts.gstatic.com/s/hindsiliguri/v1/fBpmjMpv5Rh6S25yVfWJn6iiXuG_rGcOxkuidirlnJE.ttf"
5416
+ }
5417
+ },
5418
+ {
5419
+ "kind": "webfonts#webfont",
5420
+ "family": "Hind Vadodara",
5421
+ "category": "sans-serif",
5422
+ "variants": [
5423
+ "300",
5424
+ "regular",
5425
+ "500",
5426
+ "600",
5427
+ "700"
5428
+ ],
5429
+ "subsets": [
5430
+ "latin",
5431
+ "gujarati",
5432
+ "latin-ext"
5433
+ ],
5434
+ "version": "v1",
5435
+ "lastModified": "2016-04-25",
5436
+ "files": {
5437
+ "300": "http://fonts.gstatic.com/s/hindvadodara/v1/KrZ6f_YevRawHvh0qDBkTbDwfZ__Dotj_J8NiWv76DQ.ttf",
5438
+ "regular": "http://fonts.gstatic.com/s/hindvadodara/v1/9c6KKeibr6NtFqknnNxZB-Dcg5akpSnIcsPhLOFv7l8.ttf",
5439
+ "500": "http://fonts.gstatic.com/s/hindvadodara/v1/KrZ6f_YevRawHvh0qDBkTZzEKvFIU9WyojfbAkhDb6c.ttf",
5440
+ "600": "http://fonts.gstatic.com/s/hindvadodara/v1/KrZ6f_YevRawHvh0qDBkTfgXs2VXrZsRiQ1c96pXZKI.ttf",
5441
+ "700": "http://fonts.gstatic.com/s/hindvadodara/v1/KrZ6f_YevRawHvh0qDBkTYGjoH95IEFGA7BjhXnx_eg.ttf"
5442
+ }
5443
+ },
5444
+ {
5445
+ "kind": "webfonts#webfont",
5446
+ "family": "Holtwood One SC",
5447
+ "category": "serif",
5448
+ "variants": [
5449
+ "regular"
5450
+ ],
5451
+ "subsets": [
5452
+ "latin"
5453
+ ],
5454
+ "version": "v7",
5455
+ "lastModified": "2016-04-25",
5456
+ "files": {
5457
+ "regular": "http://fonts.gstatic.com/s/holtwoodonesc/v7/sToOq3cIxbfnhbEkgYNuBbAgSRh1LpJXlLfl8IbsmHg.ttf"
5458
+ }
5459
+ },
5460
+ {
5461
+ "kind": "webfonts#webfont",
5462
+ "family": "Homemade Apple",
5463
+ "category": "handwriting",
5464
+ "variants": [
5465
+ "regular"
5466
+ ],
5467
+ "subsets": [
5468
+ "latin"
5469
+ ],
5470
+ "version": "v6",
5471
+ "lastModified": "2016-04-25",
5472
+ "files": {
5473
+ "regular": "http://fonts.gstatic.com/s/homemadeapple/v6/yg3UMEsefgZ8IHz_ryz86BiPOmFWYV1WlrJkRafc4c0.ttf"
5474
+ }
5475
+ },
5476
+ {
5477
+ "kind": "webfonts#webfont",
5478
+ "family": "Homenaje",
5479
+ "category": "sans-serif",
5480
+ "variants": [
5481
+ "regular"
5482
+ ],
5483
+ "subsets": [
5484
+ "latin",
5485
+ "latin-ext"
5486
+ ],
5487
+ "version": "v5",
5488
+ "lastModified": "2016-04-25",
5489
+ "files": {
5490
+ "regular": "http://fonts.gstatic.com/s/homenaje/v5/v0YBU0iBRrGdVjDNQILxtA.ttf"
5491
+ }
5492
+ },
5493
+ {
5494
+ "kind": "webfonts#webfont",
5495
+ "family": "IM Fell DW Pica",
5496
+ "category": "serif",
5497
+ "variants": [
5498
+ "regular",
5499
+ "italic"
5500
+ ],
5501
+ "subsets": [
5502
+ "latin"
5503
+ ],
5504
+ "version": "v6",
5505
+ "lastModified": "2016-04-25",
5506
+ "files": {
5507
+ "regular": "http://fonts.gstatic.com/s/imfelldwpica/v6/W81bfaWiUicLSPbJhW-ATsA5qm663gJGVdtpamafG5A.ttf",
5508
+ "italic": "http://fonts.gstatic.com/s/imfelldwpica/v6/alQJ8SK5aSOZVaelYoyT4PL2asmh5DlYQYCosKo6yQs.ttf"
5509
+ }
5510
+ },
5511
+ {
5512
+ "kind": "webfonts#webfont",
5513
+ "family": "IM Fell DW Pica SC",
5514
+ "category": "serif",
5515
+ "variants": [
5516
+ "regular"
5517
+ ],
5518
+ "subsets": [
5519
+ "latin"
5520
+ ],
5521
+ "version": "v6",
5522
+ "lastModified": "2016-04-25",
5523
+ "files": {
5524
+ "regular": "http://fonts.gstatic.com/s/imfelldwpicasc/v6/xBKKJV4z2KsrtQnmjGO17JZ9RBdEL0H9o5qzT1Rtof4.ttf"
5525
+ }
5526
+ },
5527
+ {
5528
+ "kind": "webfonts#webfont",
5529
+ "family": "IM Fell Double Pica",
5530
+ "category": "serif",
5531
+ "variants": [
5532
+ "regular",
5533
+ "italic"
5534
+ ],
5535
+ "subsets": [
5536
+ "latin"
5537
+ ],
5538
+ "version": "v6",
5539
+ "lastModified": "2016-04-25",
5540
+ "files": {
5541
+ "regular": "http://fonts.gstatic.com/s/imfelldoublepica/v6/yN1wY_01BkQnO0LYAhXdUol14jEdVOhEmvtCMCVwYak.ttf",
5542
+ "italic": "http://fonts.gstatic.com/s/imfelldoublepica/v6/64odUh2hAw8D9dkFKTlWYq0AWwkgdQfsRHec8TYi4mI.ttf"
5543
+ }
5544
+ },
5545
+ {
5546
+ "kind": "webfonts#webfont",
5547
+ "family": "IM Fell Double Pica SC",
5548
+ "category": "serif",
5549
+ "variants": [
5550
+ "regular"
5551
+ ],
5552
+ "subsets": [
5553
+ "latin"
5554
+ ],
5555
+ "version": "v6",
5556
+ "lastModified": "2016-04-25",
5557
+ "files": {
5558
+ "regular": "http://fonts.gstatic.com/s/imfelldoublepicasc/v6/jkrUtrLFpMw4ZazhfkKsGwc4LoC4OJUqLw9omnT3VOU.ttf"
5559
+ }
5560
+ },
5561
+ {
5562
+ "kind": "webfonts#webfont",
5563
+ "family": "IM Fell English",
5564
+ "category": "serif",
5565
+ "variants": [
5566
+ "regular",
5567
+ "italic"
5568
+ ],
5569
+ "subsets": [
5570
+ "latin"
5571
+ ],
5572
+ "version": "v6",
5573
+ "lastModified": "2016-04-25",
5574
+ "files": {
5575
+ "regular": "http://fonts.gstatic.com/s/imfellenglish/v6/xwIisCqGFi8pff-oa9uSVHGNmx1fDm-u2eBJHQkdrmk.ttf",
5576
+ "italic": "http://fonts.gstatic.com/s/imfellenglish/v6/Z3cnIAI_L3XTRfz4JuZKbuewladMPCWTthtMv9cPS-c.ttf"
5577
+ }
5578
+ },
5579
+ {
5580
+ "kind": "webfonts#webfont",
5581
+ "family": "IM Fell English SC",
5582
+ "category": "serif",
5583
+ "variants": [
5584
+ "regular"
5585
+ ],
5586
+ "subsets": [
5587
+ "latin"
5588
+ ],
5589
+ "version": "v6",
5590
+ "lastModified": "2016-04-25",
5591
+ "files": {
5592
+ "regular": "http://fonts.gstatic.com/s/imfellenglishsc/v6/h3Tn6yWfw4b5qaLD1RWvz5ATixNthKRRR1XVH3rJNiw.ttf"
5593
+ }
5594
+ },
5595
+ {
5596
+ "kind": "webfonts#webfont",
5597
+ "family": "IM Fell French Canon",
5598
+ "category": "serif",
5599
+ "variants": [
5600
+ "regular",
5601
+ "italic"
5602
+ ],
5603
+ "subsets": [
5604
+ "latin"
5605
+ ],
5606
+ "version": "v6",
5607
+ "lastModified": "2016-04-25",
5608
+ "files": {
5609
+ "regular": "http://fonts.gstatic.com/s/imfellfrenchcanon/v6/iKB0WL1BagSpNPz3NLMdsJ3V2FNpBrlLSvqUnERhBP8.ttf",
5610
+ "italic": "http://fonts.gstatic.com/s/imfellfrenchcanon/v6/owCuNQkLLFW7TBBPJbMnhRa-QL94KdW80H29tcyld2A.ttf"
5611
+ }
5612
+ },
5613
+ {
5614
+ "kind": "webfonts#webfont",
5615
+ "family": "IM Fell French Canon SC",
5616
+ "category": "serif",
5617
+ "variants": [
5618
+ "regular"
5619
+ ],
5620
+ "subsets": [
5621
+ "latin"
5622
+ ],
5623
+ "version": "v6",
5624
+ "lastModified": "2016-04-25",
5625
+ "files": {
5626
+ "regular": "http://fonts.gstatic.com/s/imfellfrenchcanonsc/v6/kA3bS19-tQbeT_iG32EZmaiyyzHwYrAbmNulTz423iM.ttf"
5627
+ }
5628
+ },
5629
+ {
5630
+ "kind": "webfonts#webfont",
5631
+ "family": "IM Fell Great Primer",
5632
+ "category": "serif",
5633
+ "variants": [
5634
+ "regular",
5635
+ "italic"
5636
+ ],
5637
+ "subsets": [
5638
+ "latin"
5639
+ ],
5640
+ "version": "v6",
5641
+ "lastModified": "2016-04-25",
5642
+ "files": {
5643
+ "regular": "http://fonts.gstatic.com/s/imfellgreatprimer/v6/AL8ALGNthei20f9Cu3e93rgeX3ROgtTz44CitKAxzKI.ttf",
5644
+ "italic": "http://fonts.gstatic.com/s/imfellgreatprimer/v6/1a-artkXMVg682r7TTxVY1_YG2SFv8Ma7CxRl1S3o7g.ttf"
5645
+ }
5646
+ },
5647
+ {
5648
+ "kind": "webfonts#webfont",
5649
+ "family": "IM Fell Great Primer SC",
5650
+ "category": "serif",
5651
+ "variants": [
5652
+ "regular"
5653
+ ],
5654
+ "subsets": [
5655
+ "latin"
5656
+ ],
5657
+ "version": "v6",
5658
+ "lastModified": "2016-04-25",
5659
+ "files": {
5660
+ "regular": "http://fonts.gstatic.com/s/imfellgreatprimersc/v6/A313vRj97hMMGFjt6rgSJtRg-ciw1Y27JeXb2Zv4lZQ.ttf"
5661
+ }
5662
+ },
5663
+ {
5664
+ "kind": "webfonts#webfont",
5665
+ "family": "Iceberg",
5666
+ "category": "display",
5667
+ "variants": [
5668
+ "regular"
5669
+ ],
5670
+ "subsets": [
5671
+ "latin"
5672
+ ],
5673
+ "version": "v4",
5674
+ "lastModified": "2016-04-25",
5675
+ "files": {
5676
+ "regular": "http://fonts.gstatic.com/s/iceberg/v4/p2XVm4M-N0AOEEOymFKC5w.ttf"
5677
+ }
5678
+ },
5679
+ {
5680
+ "kind": "webfonts#webfont",
5681
+ "family": "Iceland",
5682
+ "category": "display",
5683
+ "variants": [
5684
+ "regular"
5685
+ ],
5686
+ "subsets": [
5687
+ "latin"
5688
+ ],
5689
+ "version": "v5",
5690
+ "lastModified": "2016-04-25",
5691
+ "files": {
5692
+ "regular": "http://fonts.gstatic.com/s/iceland/v5/kq3uTMGgvzWGNi39B_WxGA.ttf"
5693
+ }
5694
+ },
5695
+ {
5696
+ "kind": "webfonts#webfont",
5697
+ "family": "Imprima",
5698
+ "category": "sans-serif",
5699
+ "variants": [
5700
+ "regular"
5701
+ ],
5702
+ "subsets": [
5703
+ "latin",
5704
+ "latin-ext"
5705
+ ],
5706
+ "version": "v4",
5707
+ "lastModified": "2016-04-25",
5708
+ "files": {
5709
+ "regular": "http://fonts.gstatic.com/s/imprima/v4/eRjquWLjwLGnTEhLH7u3kA.ttf"
5710
+ }
5711
+ },
5712
+ {
5713
+ "kind": "webfonts#webfont",
5714
+ "family": "Inconsolata",
5715
+ "category": "monospace",
5716
+ "variants": [
5717
+ "regular",
5718
+ "700"
5719
+ ],
5720
+ "subsets": [
5721
+ "latin",
5722
+ "latin-ext"
5723
+ ],
5724
+ "version": "v12",
5725
+ "lastModified": "2016-04-25",
5726
+ "files": {
5727
+ "regular": "http://fonts.gstatic.com/s/inconsolata/v12/7bMKuoy6Nh0ft0SHnIGMuaCWcynf_cDxXwCLxiixG1c.ttf",
5728
+ "700": "http://fonts.gstatic.com/s/inconsolata/v12/AIed271kqQlcIRSOnQH0yXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
5729
+ }
5730
+ },
5731
+ {
5732
+ "kind": "webfonts#webfont",
5733
+ "family": "Inder",
5734
+ "category": "sans-serif",
5735
+ "variants": [
5736
+ "regular"
5737
+ ],
5738
+ "subsets": [
5739
+ "latin",
5740
+ "latin-ext"
5741
+ ],
5742
+ "version": "v5",
5743
+ "lastModified": "2016-04-25",
5744
+ "files": {
5745
+ "regular": "http://fonts.gstatic.com/s/inder/v5/C38TwecLTfKxIHDc_Adcrw.ttf"
5746
+ }
5747
+ },
5748
+ {
5749
+ "kind": "webfonts#webfont",
5750
+ "family": "Indie Flower",
5751
+ "category": "handwriting",
5752
+ "variants": [
5753
+ "regular"
5754
+ ],
5755
+ "subsets": [
5756
+ "latin"
5757
+ ],
5758
+ "version": "v8",
5759
+ "lastModified": "2016-04-25",
5760
+ "files": {
5761
+ "regular": "http://fonts.gstatic.com/s/indieflower/v8/10JVD_humAd5zP2yrFqw6i3USBnSvpkopQaUR-2r7iU.ttf"
5762
+ }
5763
+ },
5764
+ {
5765
+ "kind": "webfonts#webfont",
5766
+ "family": "Inika",
5767
+ "category": "serif",
5768
+ "variants": [
5769
+ "regular",
5770
+ "700"
5771
+ ],
5772
+ "subsets": [
5773
+ "latin",
5774
+ "latin-ext"
5775
+ ],
5776
+ "version": "v4",
5777
+ "lastModified": "2016-04-25",
5778
+ "files": {
5779
+ "regular": "http://fonts.gstatic.com/s/inika/v4/eZCrULQGaIxkrRoGz_DjhQ.ttf",
5780
+ "700": "http://fonts.gstatic.com/s/inika/v4/bl3ZoTyrWsFun2zYbsgJrA.ttf"
5781
+ }
5782
+ },
5783
+ {
5784
+ "kind": "webfonts#webfont",
5785
+ "family": "Inknut Antiqua",
5786
+ "category": "serif",
5787
+ "variants": [
5788
+ "300",
5789
+ "regular",
5790
+ "500",
5791
+ "600",
5792
+ "700",
5793
+ "800",
5794
+ "900"
5795
+ ],
5796
+ "subsets": [
5797
+ "latin",
5798
+ "devanagari",
5799
+ "latin-ext"
5800
+ ],
5801
+ "version": "v1",
5802
+ "lastModified": "2016-04-25",
5803
+ "files": {
5804
+ "300": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIg6hmPNSXwHGnJQCeQHKUMo.ttf",
5805
+ "regular": "http://fonts.gstatic.com/s/inknutantiqua/v1/VlmmTfOrxr3HfcnhMueX9arFJ4O13IHVxZbM6yoslpo.ttf",
5806
+ "500": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIiYCDvi1XFzRnTV7qUFsNgk.ttf",
5807
+ "600": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIjLEgY6PI0GrY6L00mykcEQ.ttf",
5808
+ "700": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIlRhfXn9P4_QueZ7VkUHUNc.ttf",
5809
+ "800": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVInARjXVu2t2krcNTHiCb1qY.ttf",
5810
+ "900": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIrTsNy1JrFNT1qKy8j7W3CU.ttf"
5811
+ }
5812
+ },
5813
+ {
5814
+ "kind": "webfonts#webfont",
5815
+ "family": "Irish Grover",
5816
+ "category": "display",
5817
+ "variants": [
5818
+ "regular"
5819
+ ],
5820
+ "subsets": [
5821
+ "latin"
5822
+ ],
5823
+ "version": "v6",
5824
+ "lastModified": "2016-04-25",
5825
+ "files": {
5826
+ "regular": "http://fonts.gstatic.com/s/irishgrover/v6/kUp7uUPooL-KsLGzeVJbBC3USBnSvpkopQaUR-2r7iU.ttf"
5827
+ }
5828
+ },
5829
+ {
5830
+ "kind": "webfonts#webfont",
5831
+ "family": "Istok Web",
5832
+ "category": "sans-serif",
5833
+ "variants": [
5834
+ "regular",
5835
+ "italic",
5836
+ "700",
5837
+ "700italic"
5838
+ ],
5839
+ "subsets": [
5840
+ "latin",
5841
+ "latin-ext",
5842
+ "cyrillic-ext",
5843
+ "cyrillic"
5844
+ ],
5845
+ "version": "v10",
5846
+ "lastModified": "2016-04-25",
5847
+ "files": {
5848
+ "regular": "http://fonts.gstatic.com/s/istokweb/v10/RYLSjEXQ0nNtLLc4n7--dQ.ttf",
5849
+ "italic": "http://fonts.gstatic.com/s/istokweb/v10/kvcT2SlTjmGbC3YlZxmrl6CWcynf_cDxXwCLxiixG1c.ttf",
5850
+ "700": "http://fonts.gstatic.com/s/istokweb/v10/2koEo4AKFSvK4B52O_Mwai3USBnSvpkopQaUR-2r7iU.ttf",
5851
+ "700italic": "http://fonts.gstatic.com/s/istokweb/v10/ycQ3g52ELrh3o_HYCNNUw3e1Pd76Vl7zRpE7NLJQ7XU.ttf"
5852
+ }
5853
+ },
5854
+ {
5855
+ "kind": "webfonts#webfont",
5856
+ "family": "Italiana",
5857
+ "category": "serif",
5858
+ "variants": [
5859
+ "regular"
5860
+ ],
5861
+ "subsets": [
5862
+ "latin"
5863
+ ],
5864
+ "version": "v4",
5865
+ "lastModified": "2016-04-25",
5866
+ "files": {
5867
+ "regular": "http://fonts.gstatic.com/s/italiana/v4/dt95fkCSTOF-c6QNjwSycA.ttf"
5868
+ }
5869
+ },
5870
+ {
5871
+ "kind": "webfonts#webfont",
5872
+ "family": "Italianno",
5873
+ "category": "handwriting",
5874
+ "variants": [
5875
+ "regular"
5876
+ ],
5877
+ "subsets": [
5878
+ "latin",
5879
+ "latin-ext"
5880
+ ],
5881
+ "version": "v6",
5882
+ "lastModified": "2016-04-25",
5883
+ "files": {
5884
+ "regular": "http://fonts.gstatic.com/s/italianno/v6/HsyHnLpKf8uP7aMpDQHZmg.ttf"
5885
+ }
5886
+ },
5887
+ {
5888
+ "kind": "webfonts#webfont",
5889
+ "family": "Itim",
5890
+ "category": "handwriting",
5891
+ "variants": [
5892
+ "regular"
5893
+ ],
5894
+ "subsets": [
5895
+ "latin",
5896
+ "thai",
5897
+ "latin-ext",
5898
+ "vietnamese"
5899
+ ],
5900
+ "version": "v1",
5901
+ "lastModified": "2016-04-25",
5902
+ "files": {
5903
+ "regular": "http://fonts.gstatic.com/s/itim/v1/HHV9WK2x5lUkc5bxMXG8Tw.ttf"
5904
+ }
5905
+ },
5906
+ {
5907
+ "kind": "webfonts#webfont",
5908
+ "family": "Jacques Francois",
5909
+ "category": "serif",
5910
+ "variants": [
5911
+ "regular"
5912
+ ],
5913
+ "subsets": [
5914
+ "latin"
5915
+ ],
5916
+ "version": "v4",
5917
+ "lastModified": "2016-04-25",
5918
+ "files": {
5919
+ "regular": "http://fonts.gstatic.com/s/jacquesfrancois/v4/_-0XWPQIW6tOzTHg4KaJ_M13D_4KM32Q4UmTSjpuNGQ.ttf"
5920
+ }
5921
+ },
5922
+ {
5923
+ "kind": "webfonts#webfont",
5924
+ "family": "Jacques Francois Shadow",
5925
+ "category": "display",
5926
+ "variants": [
5927
+ "regular"
5928
+ ],
5929
+ "subsets": [
5930
+ "latin"
5931
+ ],
5932
+ "version": "v4",
5933
+ "lastModified": "2016-04-25",
5934
+ "files": {
5935
+ "regular": "http://fonts.gstatic.com/s/jacquesfrancoisshadow/v4/V14y0H3vq56fY9SV4OL_FASt0D_oLVawA8L8b9iKjbs.ttf"
5936
+ }
5937
+ },
5938
+ {
5939
+ "kind": "webfonts#webfont",
5940
+ "family": "Jaldi",
5941
+ "category": "sans-serif",
5942
+ "variants": [
5943
+ "regular",
5944
+ "700"
5945
+ ],
5946
+ "subsets": [
5947
+ "latin",
5948
+ "devanagari",
5949
+ "latin-ext"
5950
+ ],
5951
+ "version": "v2",
5952
+ "lastModified": "2016-04-25",
5953
+ "files": {
5954
+ "regular": "http://fonts.gstatic.com/s/jaldi/v2/x1vR-bPW9a1EB-BUVqttCw.ttf",
5955
+ "700": "http://fonts.gstatic.com/s/jaldi/v2/OIbtgjjEp3aVWtjF6WY8mA.ttf"
5956
+ }
5957
+ },
5958
+ {
5959
+ "kind": "webfonts#webfont",
5960
+ "family": "Jim Nightshade",
5961
+ "category": "handwriting",
5962
+ "variants": [
5963
+ "regular"
5964
+ ],
5965
+ "subsets": [
5966
+ "latin",
5967
+ "latin-ext"
5968
+ ],
5969
+ "version": "v4",
5970
+ "lastModified": "2016-04-25",
5971
+ "files": {
5972
+ "regular": "http://fonts.gstatic.com/s/jimnightshade/v4/_n43lYHXVWNgXegdYRIK9CF1W_bo0EdycfH0kHciIic.ttf"
5973
+ }
5974
+ },
5975
+ {
5976
+ "kind": "webfonts#webfont",
5977
+ "family": "Jockey One",
5978
+ "category": "sans-serif",
5979
+ "variants": [
5980
+ "regular"
5981
+ ],
5982
+ "subsets": [
5983
+ "latin",
5984
+ "latin-ext"
5985
+ ],
5986
+ "version": "v6",
5987
+ "lastModified": "2016-04-25",
5988
+ "files": {
5989
+ "regular": "http://fonts.gstatic.com/s/jockeyone/v6/cAucnOZLvFo07w2AbufBCfesZW2xOQ-xsNqO47m55DA.ttf"
5990
+ }
5991
+ },
5992
+ {
5993
+ "kind": "webfonts#webfont",
5994
+ "family": "Jolly Lodger",
5995
+ "category": "display",
5996
+ "variants": [
5997
+ "regular"
5998
+ ],
5999
+ "subsets": [
6000
+ "latin",
6001
+ "latin-ext"
6002
+ ],
6003
+ "version": "v4",
6004
+ "lastModified": "2016-04-25",
6005
+ "files": {
6006
+ "regular": "http://fonts.gstatic.com/s/jollylodger/v4/RX8HnkBgaEKQSHQyP9itiS3USBnSvpkopQaUR-2r7iU.ttf"
6007
+ }
6008
+ },
6009
+ {
6010
+ "kind": "webfonts#webfont",
6011
+ "family": "Josefin Sans",
6012
+ "category": "sans-serif",
6013
+ "variants": [
6014
+ "100",
6015
+ "100italic",
6016
+ "300",
6017
+ "300italic",
6018
+ "regular",
6019
+ "italic",
6020
+ "600",
6021
+ "600italic",
6022
+ "700",
6023
+ "700italic"
6024
+ ],
6025
+ "subsets": [
6026
+ "latin",
6027
+ "latin-ext"
6028
+ ],
6029
+ "version": "v9",
6030
+ "lastModified": "2016-04-25",
6031
+ "files": {
6032
+ "100": "http://fonts.gstatic.com/s/josefinsans/v9/q9w3H4aeBxj0hZ8Osfi3d8SVQ0giZ-l_NELu3lgGyYw.ttf",
6033
+ "100italic": "http://fonts.gstatic.com/s/josefinsans/v9/s7-P1gqRNRNn-YWdOYnAOXXcj1rQwlNLIS625o-SrL0.ttf",
6034
+ "300": "http://fonts.gstatic.com/s/josefinsans/v9/C6HYlRF50SGJq1XyXj04z6cQoVhARpoaILP7amxE_8g.ttf",
6035
+ "300italic": "http://fonts.gstatic.com/s/josefinsans/v9/ppse0J9fKSaoxCIIJb33Gyna0FLWfcB-J_SAYmcAXaI.ttf",
6036
+ "regular": "http://fonts.gstatic.com/s/josefinsans/v9/xgzbb53t8j-Mo-vYa23n5i3USBnSvpkopQaUR-2r7iU.ttf",
6037
+ "italic": "http://fonts.gstatic.com/s/josefinsans/v9/q9w3H4aeBxj0hZ8Osfi3d_MZXuCXbOrAvx5R0IT5Oyo.ttf",
6038
+ "600": "http://fonts.gstatic.com/s/josefinsans/v9/C6HYlRF50SGJq1XyXj04z2v8CylhIUtwUiYO7Z2wXbE.ttf",
6039
+ "600italic": "http://fonts.gstatic.com/s/josefinsans/v9/ppse0J9fKSaoxCIIJb33G4R-5-urNOGAobhAyctHvW8.ttf",
6040
+ "700": "http://fonts.gstatic.com/s/josefinsans/v9/C6HYlRF50SGJq1XyXj04z0D2ttfZwueP-QU272T9-k4.ttf",
6041
+ "700italic": "http://fonts.gstatic.com/s/josefinsans/v9/ppse0J9fKSaoxCIIJb33G_As9-1nE9qOqhChW0m4nDE.ttf"
6042
+ }
6043
+ },
6044
+ {
6045
+ "kind": "webfonts#webfont",
6046
+ "family": "Josefin Slab",
6047
+ "category": "serif",
6048
+ "variants": [
6049
+ "100",
6050
+ "100italic",
6051
+ "300",
6052
+ "300italic",
6053
+ "regular",
6054
+ "italic",
6055
+ "600",
6056
+ "600italic",
6057
+ "700",
6058
+ "700italic"
6059
+ ],
6060
+ "subsets": [
6061
+ "latin"
6062
+ ],
6063
+ "version": "v6",
6064
+ "lastModified": "2016-04-25",
6065
+ "files": {
6066
+ "100": "http://fonts.gstatic.com/s/josefinslab/v6/etsUjZYO8lTLU85lDhZwUsSVQ0giZ-l_NELu3lgGyYw.ttf",
6067
+ "100italic": "http://fonts.gstatic.com/s/josefinslab/v6/8BjDChqLgBF3RJKfwHIYh3Xcj1rQwlNLIS625o-SrL0.ttf",
6068
+ "300": "http://fonts.gstatic.com/s/josefinslab/v6/NbE6ykYuM2IyEwxQxOIi2KcQoVhARpoaILP7amxE_8g.ttf",
6069
+ "300italic": "http://fonts.gstatic.com/s/josefinslab/v6/af9sBoKGPbGO0r21xJulyyna0FLWfcB-J_SAYmcAXaI.ttf",
6070
+ "regular": "http://fonts.gstatic.com/s/josefinslab/v6/46aYWdgz-1oFX11flmyEfS3USBnSvpkopQaUR-2r7iU.ttf",
6071
+ "italic": "http://fonts.gstatic.com/s/josefinslab/v6/etsUjZYO8lTLU85lDhZwUvMZXuCXbOrAvx5R0IT5Oyo.ttf",
6072
+ "600": "http://fonts.gstatic.com/s/josefinslab/v6/NbE6ykYuM2IyEwxQxOIi2Gv8CylhIUtwUiYO7Z2wXbE.ttf",
6073
+ "600italic": "http://fonts.gstatic.com/s/josefinslab/v6/af9sBoKGPbGO0r21xJuly4R-5-urNOGAobhAyctHvW8.ttf",
6074
+ "700": "http://fonts.gstatic.com/s/josefinslab/v6/NbE6ykYuM2IyEwxQxOIi2ED2ttfZwueP-QU272T9-k4.ttf",
6075
+ "700italic": "http://fonts.gstatic.com/s/josefinslab/v6/af9sBoKGPbGO0r21xJuly_As9-1nE9qOqhChW0m4nDE.ttf"
6076
+ }
6077
+ },
6078
+ {
6079
+ "kind": "webfonts#webfont",
6080
+ "family": "Joti One",
6081
+ "category": "display",
6082
+ "variants": [
6083
+ "regular"
6084
+ ],
6085
+ "subsets": [
6086
+ "latin",
6087
+ "latin-ext"
6088
+ ],
6089
+ "version": "v4",
6090
+ "lastModified": "2016-04-25",
6091
+ "files": {
6092
+ "regular": "http://fonts.gstatic.com/s/jotione/v4/P3r_Th0ESHJdzunsvWgUfQ.ttf"
6093
+ }
6094
+ },
6095
+ {
6096
+ "kind": "webfonts#webfont",
6097
+ "family": "Judson",
6098
+ "category": "serif",
6099
+ "variants": [
6100
+ "regular",
6101
+ "italic",
6102
+ "700"
6103
+ ],
6104
+ "subsets": [
6105
+ "latin",
6106
+ "latin-ext",
6107
+ "vietnamese"
6108
+ ],
6109
+ "version": "v9",
6110
+ "lastModified": "2016-04-25",
6111
+ "files": {
6112
+ "regular": "http://fonts.gstatic.com/s/judson/v9/znM1AAs0eytUaJzf1CrYZQ.ttf",
6113
+ "italic": "http://fonts.gstatic.com/s/judson/v9/GVqQW9P52ygW-ySq-CLwAA.ttf",
6114
+ "700": "http://fonts.gstatic.com/s/judson/v9/he4a2LwiPJc7r8x0oKCKiA.ttf"
6115
+ }
6116
+ },
6117
+ {
6118
+ "kind": "webfonts#webfont",
6119
+ "family": "Julee",
6120
+ "category": "handwriting",
6121
+ "variants": [
6122
+ "regular"
6123
+ ],
6124
+ "subsets": [
6125
+ "latin"
6126
+ ],
6127
+ "version": "v6",
6128
+ "lastModified": "2016-04-25",
6129
+ "files": {
6130
+ "regular": "http://fonts.gstatic.com/s/julee/v6/CAib-jsUsSO8SvVRnE9fHA.ttf"
6131
+ }
6132
+ },
6133
+ {
6134
+ "kind": "webfonts#webfont",
6135
+ "family": "Julius Sans One",
6136
+ "category": "sans-serif",
6137
+ "variants": [
6138
+ "regular"
6139
+ ],
6140
+ "subsets": [
6141
+ "latin",
6142
+ "latin-ext"
6143
+ ],
6144
+ "version": "v5",
6145
+ "lastModified": "2016-04-25",
6146
+ "files": {
6147
+ "regular": "http://fonts.gstatic.com/s/juliussansone/v5/iU65JP9acQHPDLkdalCF7jjVlsJB_M_Q_LtZxsoxvlw.ttf"
6148
+ }
6149
+ },
6150
+ {
6151
+ "kind": "webfonts#webfont",
6152
+ "family": "Junge",
6153
+ "category": "serif",
6154
+ "variants": [
6155
+ "regular"
6156
+ ],
6157
+ "subsets": [
6158
+ "latin"
6159
+ ],
6160
+ "version": "v4",
6161
+ "lastModified": "2016-04-25",
6162
+ "files": {
6163
+ "regular": "http://fonts.gstatic.com/s/junge/v4/j4IXCXtxrw9qIBheercp3A.ttf"
6164
+ }
6165
+ },
6166
+ {
6167
+ "kind": "webfonts#webfont",
6168
+ "family": "Jura",
6169
+ "category": "sans-serif",
6170
+ "variants": [
6171
+ "300",
6172
+ "regular",
6173
+ "500",
6174
+ "600"
6175
+ ],
6176
+ "subsets": [
6177
+ "latin",
6178
+ "greek",
6179
+ "latin-ext",
6180
+ "cyrillic-ext",
6181
+ "cyrillic"
6182
+ ],
6183
+ "version": "v7",
6184
+ "lastModified": "2016-04-25",
6185
+ "files": {
6186
+ "300": "http://fonts.gstatic.com/s/jura/v7/Rqx_xy1UnN0C7wD3FUSyPQ.ttf",
6187
+ "regular": "http://fonts.gstatic.com/s/jura/v7/YAWMwF3sN0KCbynMq-Yr_Q.ttf",
6188
+ "500": "http://fonts.gstatic.com/s/jura/v7/16xhfjHCiaLj3tsqqgmtGg.ttf",
6189
+ "600": "http://fonts.gstatic.com/s/jura/v7/iwseduOwJSdY8wQ1Y6CJdA.ttf"
6190
+ }
6191
+ },
6192
+ {
6193
+ "kind": "webfonts#webfont",
6194
+ "family": "Just Another Hand",
6195
+ "category": "handwriting",
6196
+ "variants": [
6197
+ "regular"
6198
+ ],
6199
+ "subsets": [
6200
+ "latin"
6201
+ ],
6202
+ "version": "v7",
6203
+ "lastModified": "2016-04-25",
6204
+ "files": {
6205
+ "regular": "http://fonts.gstatic.com/s/justanotherhand/v7/fKV8XYuRNNagXr38eqbRf99BnJIEGrvoojniP57E51c.ttf"
6206
+ }
6207
+ },
6208
+ {
6209
+ "kind": "webfonts#webfont",
6210
+ "family": "Just Me Again Down Here",
6211
+ "category": "handwriting",
6212
+ "variants": [
6213
+ "regular"
6214
+ ],
6215
+ "subsets": [
6216
+ "latin",
6217
+ "latin-ext"
6218
+ ],
6219
+ "version": "v8",
6220
+ "lastModified": "2016-04-25",
6221
+ "files": {
6222
+ "regular": "http://fonts.gstatic.com/s/justmeagaindownhere/v8/sN06iTc9ITubLTgXoG-kc3M9eVLpVTSK6TqZTIgBrWQ.ttf"
6223
+ }
6224
+ },
6225
+ {
6226
+ "kind": "webfonts#webfont",
6227
+ "family": "Kadwa",
6228
+ "category": "serif",
6229
+ "variants": [
6230
+ "regular",
6231
+ "700"
6232
+ ],
6233
+ "subsets": [
6234
+ "latin",
6235
+ "devanagari"
6236
+ ],
6237
+ "version": "v1",
6238
+ "lastModified": "2016-04-25",
6239
+ "files": {
6240
+ "regular": "http://fonts.gstatic.com/s/kadwa/v1/VwEN8oKGqaa0ug9kRpvSSg.ttf",
6241
+ "700": "http://fonts.gstatic.com/s/kadwa/v1/NFPZaBfekj_Io-7vUMz4Ww.ttf"
6242
+ }
6243
+ },
6244
+ {
6245
+ "kind": "webfonts#webfont",
6246
+ "family": "Kalam",
6247
+ "category": "handwriting",
6248
+ "variants": [
6249
+ "300",
6250
+ "regular",
6251
+ "700"
6252
+ ],
6253
+ "subsets": [
6254
+ "latin",
6255
+ "devanagari",
6256
+ "latin-ext"
6257
+ ],
6258
+ "version": "v7",
6259
+ "lastModified": "2016-04-25",
6260
+ "files": {
6261
+ "300": "http://fonts.gstatic.com/s/kalam/v7/MgQQlk1SgPEHdlkWMNh7Jg.ttf",
6262
+ "regular": "http://fonts.gstatic.com/s/kalam/v7/hNEJkp2K-aql7e5WQish4Q.ttf",
6263
+ "700": "http://fonts.gstatic.com/s/kalam/v7/95nLItUGyWtNLZjSckluLQ.ttf"
6264
+ }
6265
+ },
6266
+ {
6267
+ "kind": "webfonts#webfont",
6268
+ "family": "Kameron",
6269
+ "category": "serif",
6270
+ "variants": [
6271
+ "regular",
6272
+ "700"
6273
+ ],
6274
+ "subsets": [
6275
+ "latin"
6276
+ ],
6277
+ "version": "v7",
6278
+ "lastModified": "2016-04-25",
6279
+ "files": {
6280
+ "regular": "http://fonts.gstatic.com/s/kameron/v7/9r8HYhqDSwcq9WMjupL82A.ttf",
6281
+ "700": "http://fonts.gstatic.com/s/kameron/v7/rabVVbzlflqvmXJUFlKnu_esZW2xOQ-xsNqO47m55DA.ttf"
6282
+ }
6283
+ },
6284
+ {
6285
+ "kind": "webfonts#webfont",
6286
+ "family": "Kanit",
6287
+ "category": "sans-serif",
6288
+ "variants": [
6289
+ "100",
6290
+ "100italic",
6291
+ "200",
6292
+ "200italic",
6293
+ "300",
6294
+ "300italic",
6295
+ "regular",
6296
+ "italic",
6297
+ "500",
6298
+ "500italic",
6299
+ "600",
6300
+ "600italic",
6301
+ "700",
6302
+ "700italic",
6303
+ "800",
6304
+ "800italic",
6305
+ "900",
6306
+ "900italic"
6307
+ ],
6308
+ "subsets": [
6309
+ "latin",
6310
+ "thai",
6311
+ "latin-ext",
6312
+ "vietnamese"
6313
+ ],
6314
+ "version": "v1",
6315
+ "lastModified": "2016-04-25",
6316
+ "files": {
6317
+ "100": "http://fonts.gstatic.com/s/kanit/v1/CYl4qOK-NWwZp3iTKW1eIA.ttf",
6318
+ "100italic": "http://fonts.gstatic.com/s/kanit/v1/NLNtc56MpXmHl1yOrop8oQ.ttf",
6319
+ "200": "http://fonts.gstatic.com/s/kanit/v1/wfLWkj1C4tYl7MoiFWS3bA.ttf",
6320
+ "200italic": "http://fonts.gstatic.com/s/kanit/v1/D8gkrAAM2bvNJ-1i4ot-1_esZW2xOQ-xsNqO47m55DA.ttf",
6321
+ "300": "http://fonts.gstatic.com/s/kanit/v1/SM5qHynYGdOmMKEwGUFIPA.ttf",
6322
+ "300italic": "http://fonts.gstatic.com/s/kanit/v1/IePislKOKy3Bqfpb9V5VM_esZW2xOQ-xsNqO47m55DA.ttf",
6323
+ "regular": "http://fonts.gstatic.com/s/kanit/v1/L6VKvM17ZmevDynOiw7H9w.ttf",
6324
+ "italic": "http://fonts.gstatic.com/s/kanit/v1/sHLq5U0-T0oSMTnwTKgv-A.ttf",
6325
+ "500": "http://fonts.gstatic.com/s/kanit/v1/GxoU_USIJyIy8WIcYSUO2g.ttf",
6326
+ "500italic": "http://fonts.gstatic.com/s/kanit/v1/hrCiWCaNv9AaF0mDY1F2zPesZW2xOQ-xsNqO47m55DA.ttf",
6327
+ "600": "http://fonts.gstatic.com/s/kanit/v1/n_qoIVxojeQY0D1pvoNDhA.ttf",
6328
+ "600italic": "http://fonts.gstatic.com/s/kanit/v1/9BkP85yRDoVayTWQwdGLqPesZW2xOQ-xsNqO47m55DA.ttf",
6329
+ "700": "http://fonts.gstatic.com/s/kanit/v1/kEGmYvO8My36j5ILmbUPRg.ttf",
6330
+ "700italic": "http://fonts.gstatic.com/s/kanit/v1/WNo3ZZ9xtOZJknNlvHAFWfesZW2xOQ-xsNqO47m55DA.ttf",
6331
+ "800": "http://fonts.gstatic.com/s/kanit/v1/YTp-zAuKXxwnA1YnJIF1rg.ttf",
6332
+ "800italic": "http://fonts.gstatic.com/s/kanit/v1/qiTGrW5sCa9UQp841fWjc_esZW2xOQ-xsNqO47m55DA.ttf",
6333
+ "900": "http://fonts.gstatic.com/s/kanit/v1/1NIEkusi3bG3GgO9Hor3fQ.ttf",
6334
+ "900italic": "http://fonts.gstatic.com/s/kanit/v1/ogN5dFD1r4BfxNV4Nb-TXfesZW2xOQ-xsNqO47m55DA.ttf"
6335
+ }
6336
+ },
6337
+ {
6338
+ "kind": "webfonts#webfont",
6339
+ "family": "Kantumruy",
6340
+ "category": "sans-serif",
6341
+ "variants": [
6342
+ "300",
6343
+ "regular",
6344
+ "700"
6345
+ ],
6346
+ "subsets": [
6347
+ "khmer"
6348
+ ],
6349
+ "version": "v3",
6350
+ "lastModified": "2016-04-25",
6351
+ "files": {
6352
+ "300": "http://fonts.gstatic.com/s/kantumruy/v3/ERRwQE0WG5uanaZWmOFXNi3USBnSvpkopQaUR-2r7iU.ttf",
6353
+ "regular": "http://fonts.gstatic.com/s/kantumruy/v3/kQfXNYElQxr5dS8FyjD39Q.ttf",
6354
+ "700": "http://fonts.gstatic.com/s/kantumruy/v3/gie_zErpGf_rNzs920C2Ji3USBnSvpkopQaUR-2r7iU.ttf"
6355
+ }
6356
+ },
6357
+ {
6358
+ "kind": "webfonts#webfont",
6359
+ "family": "Karla",
6360
+ "category": "sans-serif",
6361
+ "variants": [
6362
+ "regular",
6363
+ "italic",
6364
+ "700",
6365
+ "700italic"
6366
+ ],
6367
+ "subsets": [
6368
+ "latin",
6369
+ "latin-ext"
6370
+ ],
6371
+ "version": "v5",
6372
+ "lastModified": "2016-04-25",
6373
+ "files": {
6374
+ "regular": "http://fonts.gstatic.com/s/karla/v5/78UgGRwJFkhqaoFimqoKpQ.ttf",
6375
+ "italic": "http://fonts.gstatic.com/s/karla/v5/51UBKly9RQOnOkj95ZwEFw.ttf",
6376
+ "700": "http://fonts.gstatic.com/s/karla/v5/JS501sZLxZ4zraLQdncOUA.ttf",
6377
+ "700italic": "http://fonts.gstatic.com/s/karla/v5/3YDyi09gQjCRh-5-SVhTTvesZW2xOQ-xsNqO47m55DA.ttf"
6378
+ }
6379
+ },
6380
+ {
6381
+ "kind": "webfonts#webfont",
6382
+ "family": "Karma",
6383
+ "category": "serif",
6384
+ "variants": [
6385
+ "300",
6386
+ "regular",
6387
+ "500",
6388
+ "600",
6389
+ "700"
6390
+ ],
6391
+ "subsets": [
6392
+ "latin",
6393
+ "devanagari",
6394
+ "latin-ext"
6395
+ ],
6396
+ "version": "v5",
6397
+ "lastModified": "2016-04-25",
6398
+ "files": {
6399
+ "300": "http://fonts.gstatic.com/s/karma/v5/lH6ijJnguWR2Sz7tEl6MQQ.ttf",
6400
+ "regular": "http://fonts.gstatic.com/s/karma/v5/wvqTxAGBUrTqU0urTEoPIw.ttf",
6401
+ "500": "http://fonts.gstatic.com/s/karma/v5/9YGjxi6Hcvz2Kh-rzO_cAw.ttf",
6402
+ "600": "http://fonts.gstatic.com/s/karma/v5/h_CVzXXtqSxjfS2sIwaejA.ttf",
6403
+ "700": "http://fonts.gstatic.com/s/karma/v5/smuSM08oApsQPPVYbHd1CA.ttf"
6404
+ }
6405
+ },
6406
+ {
6407
+ "kind": "webfonts#webfont",
6408
+ "family": "Kaushan Script",
6409
+ "category": "handwriting",
6410
+ "variants": [
6411
+ "regular"
6412
+ ],
6413
+ "subsets": [
6414
+ "latin",
6415
+ "latin-ext"
6416
+ ],
6417
+ "version": "v4",
6418
+ "lastModified": "2016-04-25",
6419
+ "files": {
6420
+ "regular": "http://fonts.gstatic.com/s/kaushanscript/v4/qx1LSqts-NtiKcLw4N03IBnpV0hQCek3EmWnCPrvGRM.ttf"
6421
+ }
6422
+ },
6423
+ {
6424
+ "kind": "webfonts#webfont",
6425
+ "family": "Kavoon",
6426
+ "category": "display",
6427
+ "variants": [
6428
+ "regular"
6429
+ ],
6430
+ "subsets": [
6431
+ "latin",
6432
+ "latin-ext"
6433
+ ],
6434
+ "version": "v5",
6435
+ "lastModified": "2016-04-25",
6436
+ "files": {
6437
+ "regular": "http://fonts.gstatic.com/s/kavoon/v5/382m-6baKXqJFQjEgobt6Q.ttf"
6438
+ }
6439
+ },
6440
+ {
6441
+ "kind": "webfonts#webfont",
6442
+ "family": "Kdam Thmor",
6443
+ "category": "display",
6444
+ "variants": [
6445
+ "regular"
6446
+ ],
6447
+ "subsets": [
6448
+ "khmer"
6449
+ ],
6450
+ "version": "v3",
6451
+ "lastModified": "2016-04-25",
6452
+ "files": {
6453
+ "regular": "http://fonts.gstatic.com/s/kdamthmor/v3/otCdP6UU-VBIrBfVDWBQJ_esZW2xOQ-xsNqO47m55DA.ttf"
6454
+ }
6455
+ },
6456
+ {
6457
+ "kind": "webfonts#webfont",
6458
+ "family": "Keania One",
6459
+ "category": "display",
6460
+ "variants": [
6461
+ "regular"
6462
+ ],
6463
+ "subsets": [
6464
+ "latin",
6465
+ "latin-ext"
6466
+ ],
6467
+ "version": "v4",
6468
+ "lastModified": "2016-04-25",
6469
+ "files": {
6470
+ "regular": "http://fonts.gstatic.com/s/keaniaone/v4/PACrDKZWngXzgo-ucl6buvesZW2xOQ-xsNqO47m55DA.ttf"
6471
+ }
6472
+ },
6473
+ {
6474
+ "kind": "webfonts#webfont",
6475
+ "family": "Kelly Slab",
6476
+ "category": "display",
6477
+ "variants": [
6478
+ "regular"
6479
+ ],
6480
+ "subsets": [
6481
+ "latin",
6482
+ "latin-ext",
6483
+ "cyrillic"
6484
+ ],
6485
+ "version": "v6",
6486
+ "lastModified": "2016-04-25",
6487
+ "files": {
6488
+ "regular": "http://fonts.gstatic.com/s/kellyslab/v6/F_2oS1e9XdYx1MAi8XEVefesZW2xOQ-xsNqO47m55DA.ttf"
6489
+ }
6490
+ },
6491
+ {
6492
+ "kind": "webfonts#webfont",
6493
+ "family": "Kenia",
6494
+ "category": "display",
6495
+ "variants": [
6496
+ "regular"
6497
+ ],
6498
+ "subsets": [
6499
+ "latin"
6500
+ ],
6501
+ "version": "v8",
6502
+ "lastModified": "2016-04-25",
6503
+ "files": {
6504
+ "regular": "http://fonts.gstatic.com/s/kenia/v8/OLM9-XfITK9PsTLKbGBrwg.ttf"
6505
+ }
6506
+ },
6507
+ {
6508
+ "kind": "webfonts#webfont",
6509
+ "family": "Khand",
6510
+ "category": "sans-serif",
6511
+ "variants": [
6512
+ "300",
6513
+ "regular",
6514
+ "500",
6515
+ "600",
6516
+ "700"
6517
+ ],
6518
+ "subsets": [
6519
+ "latin",
6520
+ "devanagari",
6521
+ "latin-ext"
6522
+ ],
6523
+ "version": "v4",
6524
+ "lastModified": "2016-04-25",
6525
+ "files": {
6526
+ "300": "http://fonts.gstatic.com/s/khand/v4/072zRl4OU9Pinjjkg174LA.ttf",
6527
+ "regular": "http://fonts.gstatic.com/s/khand/v4/HdLdTNFqNIDGJZl1ZEj84w.ttf",
6528
+ "500": "http://fonts.gstatic.com/s/khand/v4/46_p-SqtuMe56nxQdteWxg.ttf",
6529
+ "600": "http://fonts.gstatic.com/s/khand/v4/zggGWYIiPJyMTgkfxP_kaA.ttf",
6530
+ "700": "http://fonts.gstatic.com/s/khand/v4/0I0UWaN-X5QBmfexpXKhqg.ttf"
6531
+ }
6532
+ },
6533
+ {
6534
+ "kind": "webfonts#webfont",
6535
+ "family": "Khmer",
6536
+ "category": "display",
6537
+ "variants": [
6538
+ "regular"
6539
+ ],
6540
+ "subsets": [
6541
+ "khmer"
6542
+ ],
6543
+ "version": "v9",
6544
+ "lastModified": "2016-04-25",
6545
+ "files": {
6546
+ "regular": "http://fonts.gstatic.com/s/khmer/v9/vWaBJIbaQuBNz02ALIKJ3A.ttf"
6547
+ }
6548
+ },
6549
+ {
6550
+ "kind": "webfonts#webfont",
6551
+ "family": "Khula",
6552
+ "category": "sans-serif",
6553
+ "variants": [
6554
+ "300",
6555
+ "regular",
6556
+ "600",
6557
+ "700",
6558
+ "800"
6559
+ ],
6560
+ "subsets": [
6561
+ "latin",
6562
+ "devanagari",
6563
+ "latin-ext"
6564
+ ],
6565
+ "version": "v1",
6566
+ "lastModified": "2016-04-25",
6567
+ "files": {
6568
+ "300": "http://fonts.gstatic.com/s/khula/v1/_1LySU5Upq-sc4OZ1b_GIw.ttf",
6569
+ "regular": "http://fonts.gstatic.com/s/khula/v1/izcPIFyCSd16XI1Ak_Wk7Q.ttf",
6570
+ "600": "http://fonts.gstatic.com/s/khula/v1/4ZH86Hce-aeFDaedTnbkbg.ttf",
6571
+ "700": "http://fonts.gstatic.com/s/khula/v1/UGVExGl-Jjs-YPpGv-MZ6w.ttf",
6572
+ "800": "http://fonts.gstatic.com/s/khula/v1/Sccp_oOo8FWgbx5smie7xQ.ttf"
6573
+ }
6574
+ },
6575
+ {
6576
+ "kind": "webfonts#webfont",
6577
+ "family": "Kite One",
6578
+ "category": "sans-serif",
6579
+ "variants": [
6580
+ "regular"
6581
+ ],
6582
+ "subsets": [
6583
+ "latin"
6584
+ ],
6585
+ "version": "v4",
6586
+ "lastModified": "2016-04-25",
6587
+ "files": {
6588
+ "regular": "http://fonts.gstatic.com/s/kiteone/v4/8ojWmgUc97m0f_i6sTqLoQ.ttf"
6589
+ }
6590
+ },
6591
+ {
6592
+ "kind": "webfonts#webfont",
6593
+ "family": "Knewave",
6594
+ "category": "display",
6595
+ "variants": [
6596
+ "regular"
6597
+ ],
6598
+ "subsets": [
6599
+ "latin",
6600
+ "latin-ext"
6601
+ ],
6602
+ "version": "v5",
6603
+ "lastModified": "2016-04-25",
6604
+ "files": {
6605
+ "regular": "http://fonts.gstatic.com/s/knewave/v5/KGHM4XWr4iKnBMqzZLkPBg.ttf"
6606
+ }
6607
+ },
6608
+ {
6609
+ "kind": "webfonts#webfont",
6610
+ "family": "Kotta One",
6611
+ "category": "serif",
6612
+ "variants": [
6613
+ "regular"
6614
+ ],
6615
+ "subsets": [
6616
+ "latin",
6617
+ "latin-ext"
6618
+ ],
6619
+ "version": "v4",
6620
+ "lastModified": "2016-04-25",
6621
+ "files": {
6622
+ "regular": "http://fonts.gstatic.com/s/kottaone/v4/AB2Q7hVw6niJYDgLvFXu5w.ttf"
6623
+ }
6624
+ },
6625
+ {
6626
+ "kind": "webfonts#webfont",
6627
+ "family": "Koulen",
6628
+ "category": "display",
6629
+ "variants": [
6630
+ "regular"
6631
+ ],
6632
+ "subsets": [
6633
+ "khmer"
6634
+ ],
6635
+ "version": "v10",
6636
+ "lastModified": "2016-04-25",
6637
+ "files": {
6638
+ "regular": "http://fonts.gstatic.com/s/koulen/v10/AAYOK8RSRO7FTskTzFuzNw.ttf"
6639
+ }
6640
+ },
6641
+ {
6642
+ "kind": "webfonts#webfont",
6643
+ "family": "Kranky",
6644
+ "category": "display",
6645
+ "variants": [
6646
+ "regular"
6647
+ ],
6648
+ "subsets": [
6649
+ "latin"
6650
+ ],
6651
+ "version": "v6",
6652
+ "lastModified": "2016-04-25",
6653
+ "files": {
6654
+ "regular": "http://fonts.gstatic.com/s/kranky/v6/C8dxxTS99-fZ84vWk8SDrg.ttf"
6655
+ }
6656
+ },
6657
+ {
6658
+ "kind": "webfonts#webfont",
6659
+ "family": "Kreon",
6660
+ "category": "serif",
6661
+ "variants": [
6662
+ "300",
6663
+ "regular",
6664
+ "700"
6665
+ ],
6666
+ "subsets": [
6667
+ "latin"
6668
+ ],
6669
+ "version": "v9",
6670
+ "lastModified": "2016-04-25",
6671
+ "files": {
6672
+ "300": "http://fonts.gstatic.com/s/kreon/v9/HKtJRiq5C2zbq5N1IX32sA.ttf",
6673
+ "regular": "http://fonts.gstatic.com/s/kreon/v9/zA_IZt0u0S3cvHJu-n1oEg.ttf",
6674
+ "700": "http://fonts.gstatic.com/s/kreon/v9/jh0dSmaPodjxISiblIUTkw.ttf"
6675
+ }
6676
+ },
6677
+ {
6678
+ "kind": "webfonts#webfont",
6679
+ "family": "Kristi",
6680
+ "category": "handwriting",
6681
+ "variants": [
6682
+ "regular"
6683
+ ],
6684
+ "subsets": [
6685
+ "latin"
6686
+ ],
6687
+ "version": "v7",
6688
+ "lastModified": "2016-04-25",
6689
+ "files": {
6690
+ "regular": "http://fonts.gstatic.com/s/kristi/v7/aRsgBQrkQkMlu4UPSnJyOQ.ttf"
6691
+ }
6692
+ },
6693
+ {
6694
+ "kind": "webfonts#webfont",
6695
+ "family": "Krona One",
6696
+ "category": "sans-serif",
6697
+ "variants": [
6698
+ "regular"
6699
+ ],
6700
+ "subsets": [
6701
+ "latin",
6702
+ "latin-ext"
6703
+ ],
6704
+ "version": "v4",
6705
+ "lastModified": "2016-04-25",
6706
+ "files": {
6707
+ "regular": "http://fonts.gstatic.com/s/kronaone/v4/zcQj4ljqTo166AdourlF9w.ttf"
6708
+ }
6709
+ },
6710
+ {
6711
+ "kind": "webfonts#webfont",
6712
+ "family": "Kurale",
6713
+ "category": "serif",
6714
+ "variants": [
6715
+ "regular"
6716
+ ],
6717
+ "subsets": [
6718
+ "latin",
6719
+ "devanagari",
6720
+ "latin-ext",
6721
+ "cyrillic"
6722
+ ],
6723
+ "version": "v1",
6724
+ "lastModified": "2016-04-25",
6725
+ "files": {
6726
+ "regular": "http://fonts.gstatic.com/s/kurale/v1/rxeyIcvQlT4XAWwNbXFCfw.ttf"
6727
+ }
6728
+ },
6729
+ {
6730
+ "kind": "webfonts#webfont",
6731
+ "family": "La Belle Aurore",
6732
+ "category": "handwriting",
6733
+ "variants": [
6734
+ "regular"
6735
+ ],
6736
+ "subsets": [
6737
+ "latin"
6738
+ ],
6739
+ "version": "v7",
6740
+ "lastModified": "2016-04-25",
6741
+ "files": {
6742
+ "regular": "http://fonts.gstatic.com/s/labelleaurore/v7/Irdbc4ASuUoWDjd_Wc3md123K2iuuhwZgaKapkyRTY8.ttf"
6743
+ }
6744
+ },
6745
+ {
6746
+ "kind": "webfonts#webfont",
6747
+ "family": "Laila",
6748
+ "category": "serif",
6749
+ "variants": [
6750
+ "300",
6751
+ "regular",
6752
+ "500",
6753
+ "600",
6754
+ "700"
6755
+ ],
6756
+ "subsets": [
6757
+ "latin",
6758
+ "devanagari",
6759
+ "latin-ext"
6760
+ ],
6761
+ "version": "v2",
6762
+ "lastModified": "2016-04-25",
6763
+ "files": {
6764
+ "300": "http://fonts.gstatic.com/s/laila/v2/bLbIVEZF3IWSZ-in72GJvA.ttf",
6765
+ "regular": "http://fonts.gstatic.com/s/laila/v2/6iYor3edprH7360qtBGoag.ttf",
6766
+ "500": "http://fonts.gstatic.com/s/laila/v2/tkf8VtFvW9g3VsxQCA6WOQ.ttf",
6767
+ "600": "http://fonts.gstatic.com/s/laila/v2/3EMP2L6JRQ4GaHIxCldCeA.ttf",
6768
+ "700": "http://fonts.gstatic.com/s/laila/v2/R7P4z1xjcjecmjZ9GyhqHQ.ttf"
6769
+ }
6770
+ },
6771
+ {
6772
+ "kind": "webfonts#webfont",
6773
+ "family": "Lakki Reddy",
6774
+ "category": "handwriting",
6775
+ "variants": [
6776
+ "regular"
6777
+ ],
6778
+ "subsets": [
6779
+ "latin",
6780
+ "telugu"
6781
+ ],
6782
+ "version": "v3",
6783
+ "lastModified": "2016-04-25",
6784
+ "files": {
6785
+ "regular": "http://fonts.gstatic.com/s/lakkireddy/v3/Q5EpFa91FjW37t0FCnedaKCWcynf_cDxXwCLxiixG1c.ttf"
6786
+ }
6787
+ },
6788
+ {
6789
+ "kind": "webfonts#webfont",
6790
+ "family": "Lancelot",
6791
+ "category": "display",
6792
+ "variants": [
6793
+ "regular"
6794
+ ],
6795
+ "subsets": [
6796
+ "latin",
6797
+ "latin-ext"
6798
+ ],
6799
+ "version": "v6",
6800
+ "lastModified": "2016-04-25",
6801
+ "files": {
6802
+ "regular": "http://fonts.gstatic.com/s/lancelot/v6/XMT7T_oo_MQUGAnU2v-sdA.ttf"
6803
+ }
6804
+ },
6805
+ {
6806
+ "kind": "webfonts#webfont",
6807
+ "family": "Lateef",
6808
+ "category": "handwriting",
6809
+ "variants": [
6810
+ "regular"
6811
+ ],
6812
+ "subsets": [
6813
+ "latin",
6814
+ "arabic"
6815
+ ],
6816
+ "version": "v10",
6817
+ "lastModified": "2016-04-25",
6818
+ "files": {
6819
+ "regular": "http://fonts.gstatic.com/s/lateef/v10/PAsKCgi1qc7XPwvzo_I-DQ.ttf"
6820
+ }
6821
+ },
6822
+ {
6823
+ "kind": "webfonts#webfont",
6824
+ "family": "Lato",
6825
+ "category": "sans-serif",
6826
+ "variants": [
6827
+ "100",
6828
+ "100italic",
6829
+ "300",
6830
+ "300italic",
6831
+ "regular",
6832
+ "italic",
6833
+ "700",
6834
+ "700italic",
6835
+ "900",
6836
+ "900italic"
6837
+ ],
6838
+ "subsets": [
6839
+ "latin",
6840
+ "latin-ext"
6841
+ ],
6842
+ "version": "v11",
6843
+ "lastModified": "2016-04-25",
6844
+ "files": {
6845
+ "100": "http://fonts.gstatic.com/s/lato/v11/Upp-ka9rLQmHYCsFgwL-eg.ttf",
6846
+ "100italic": "http://fonts.gstatic.com/s/lato/v11/zLegi10uS_9-fnUDISl0KA.ttf",
6847
+ "300": "http://fonts.gstatic.com/s/lato/v11/Ja02qOppOVq9jeRjWekbHg.ttf",
6848
+ "300italic": "http://fonts.gstatic.com/s/lato/v11/dVebFcn7EV7wAKwgYestUg.ttf",
6849
+ "regular": "http://fonts.gstatic.com/s/lato/v11/h7rISIcQapZBpei-sXwIwg.ttf",
6850
+ "italic": "http://fonts.gstatic.com/s/lato/v11/P_dJOFJylV3A870UIOtr0w.ttf",
6851
+ "700": "http://fonts.gstatic.com/s/lato/v11/iX_QxBBZLhNj5JHlTzHQzg.ttf",
6852
+ "700italic": "http://fonts.gstatic.com/s/lato/v11/WFcZakHrrCKeUJxHA4T_gw.ttf",
6853
+ "900": "http://fonts.gstatic.com/s/lato/v11/8TPEV6NbYWZlNsXjbYVv7w.ttf",
6854
+ "900italic": "http://fonts.gstatic.com/s/lato/v11/draWperrI7n2xi35Cl08fA.ttf"
6855
+ }
6856
+ },
6857
+ {
6858
+ "kind": "webfonts#webfont",
6859
+ "family": "League Script",
6860
+ "category": "handwriting",
6861
+ "variants": [
6862
+ "regular"
6863
+ ],
6864
+ "subsets": [
6865
+ "latin"
6866
+ ],
6867
+ "version": "v7",
6868
+ "lastModified": "2016-04-25",
6869
+ "files": {
6870
+ "regular": "http://fonts.gstatic.com/s/leaguescript/v7/wnRFLvfabWK_DauqppD6vSeUSrabuTpOsMEiRLtKwk0.ttf"
6871
+ }
6872
+ },
6873
+ {
6874
+ "kind": "webfonts#webfont",
6875
+ "family": "Leckerli One",
6876
+ "category": "handwriting",
6877
+ "variants": [
6878
+ "regular"
6879
+ ],
6880
+ "subsets": [
6881
+ "latin"
6882
+ ],
6883
+ "version": "v7",
6884
+ "lastModified": "2016-04-25",
6885
+ "files": {
6886
+ "regular": "http://fonts.gstatic.com/s/leckerlione/v7/S2Y_iLrItTu8kIJTkS7DrC3USBnSvpkopQaUR-2r7iU.ttf"
6887
+ }
6888
+ },
6889
+ {
6890
+ "kind": "webfonts#webfont",
6891
+ "family": "Ledger",
6892
+ "category": "serif",
6893
+ "variants": [
6894
+ "regular"
6895
+ ],
6896
+ "subsets": [
6897
+ "latin",
6898
+ "latin-ext",
6899
+ "cyrillic"
6900
+ ],
6901
+ "version": "v4",
6902
+ "lastModified": "2016-04-25",
6903
+ "files": {
6904
+ "regular": "http://fonts.gstatic.com/s/ledger/v4/G432jp-tahOfWHbCYkI0jw.ttf"
6905
+ }
6906
+ },
6907
+ {
6908
+ "kind": "webfonts#webfont",
6909
+ "family": "Lekton",
6910
+ "category": "sans-serif",
6911
+ "variants": [
6912
+ "regular",
6913
+ "italic",
6914
+ "700"
6915
+ ],
6916
+ "subsets": [
6917
+ "latin",
6918
+ "latin-ext"
6919
+ ],
6920
+ "version": "v7",
6921
+ "lastModified": "2016-04-25",
6922
+ "files": {
6923
+ "regular": "http://fonts.gstatic.com/s/lekton/v7/r483JYmxf5PjIm4jVAm8Yg.ttf",
6924
+ "italic": "http://fonts.gstatic.com/s/lekton/v7/_UbDIPBA1wDqSbhp-OED7A.ttf",
6925
+ "700": "http://fonts.gstatic.com/s/lekton/v7/WZw-uL8WTkx3SBVfTlevXQ.ttf"
6926
+ }
6927
+ },
6928
+ {
6929
+ "kind": "webfonts#webfont",
6930
+ "family": "Lemon",
6931
+ "category": "display",
6932
+ "variants": [
6933
+ "regular"
6934
+ ],
6935
+ "subsets": [
6936
+ "latin"
6937
+ ],
6938
+ "version": "v5",
6939
+ "lastModified": "2016-04-25",
6940
+ "files": {
6941
+ "regular": "http://fonts.gstatic.com/s/lemon/v5/wed1nNu4LNSu-3RoRVUhUw.ttf"
6942
+ }
6943
+ },
6944
+ {
6945
+ "kind": "webfonts#webfont",
6946
+ "family": "Libre Baskerville",
6947
+ "category": "serif",
6948
+ "variants": [
6949
+ "regular",
6950
+ "italic",
6951
+ "700"
6952
+ ],
6953
+ "subsets": [
6954
+ "latin",
6955
+ "latin-ext"
6956
+ ],
6957
+ "version": "v4",
6958
+ "lastModified": "2016-04-25",
6959
+ "files": {
6960
+ "regular": "http://fonts.gstatic.com/s/librebaskerville/v4/pR0sBQVcY0JZc_ciXjFsKyyZRYCSvpCzQKuMWnP5NDY.ttf",
6961
+ "italic": "http://fonts.gstatic.com/s/librebaskerville/v4/QHIOz1iKF3bIEzRdDFaf5QnhapNS5Oi8FPrBRDLbsW4.ttf",
6962
+ "700": "http://fonts.gstatic.com/s/librebaskerville/v4/kH7K4InNTm7mmOXXjrA5v-xuswJKUVpBRfYFpz0W3Iw.ttf"
6963
+ }
6964
+ },
6965
+ {
6966
+ "kind": "webfonts#webfont",
6967
+ "family": "Life Savers",
6968
+ "category": "display",
6969
+ "variants": [
6970
+ "regular",
6971
+ "700"
6972
+ ],
6973
+ "subsets": [
6974
+ "latin",
6975
+ "latin-ext"
6976
+ ],
6977
+ "version": "v6",
6978
+ "lastModified": "2016-04-25",
6979
+ "files": {
6980
+ "regular": "http://fonts.gstatic.com/s/lifesavers/v6/g49cUDk4Y1P0G5NMkMAm7qCWcynf_cDxXwCLxiixG1c.ttf",
6981
+ "700": "http://fonts.gstatic.com/s/lifesavers/v6/THQKqChyYUm97rNPVFdGGXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
6982
+ }
6983
+ },
6984
+ {
6985
+ "kind": "webfonts#webfont",
6986
+ "family": "Lilita One",
6987
+ "category": "display",
6988
+ "variants": [
6989
+ "regular"
6990
+ ],
6991
+ "subsets": [
6992
+ "latin",
6993
+ "latin-ext"
6994
+ ],
6995
+ "version": "v4",
6996
+ "lastModified": "2016-04-25",
6997
+ "files": {
6998
+ "regular": "http://fonts.gstatic.com/s/lilitaone/v4/vTxJQjbNV6BCBHx8sGDCVvesZW2xOQ-xsNqO47m55DA.ttf"
6999
+ }
7000
+ },
7001
+ {
7002
+ "kind": "webfonts#webfont",
7003
+ "family": "Lily Script One",
7004
+ "category": "display",
7005
+ "variants": [
7006
+ "regular"
7007
+ ],
7008
+ "subsets": [
7009
+ "latin",
7010
+ "latin-ext"
7011
+ ],
7012
+ "version": "v4",
7013
+ "lastModified": "2016-04-25",
7014
+ "files": {
7015
+ "regular": "http://fonts.gstatic.com/s/lilyscriptone/v4/uPWsLVW8uiXqIBnE8ZwGPDjVlsJB_M_Q_LtZxsoxvlw.ttf"
7016
+ }
7017
+ },
7018
+ {
7019
+ "kind": "webfonts#webfont",
7020
+ "family": "Limelight",
7021
+ "category": "display",
7022
+ "variants": [
7023
+ "regular"
7024
+ ],
7025
+ "subsets": [
7026
+ "latin",
7027
+ "latin-ext"
7028
+ ],
7029
+ "version": "v7",
7030
+ "lastModified": "2016-04-25",
7031
+ "files": {
7032
+ "regular": "http://fonts.gstatic.com/s/limelight/v7/5dTfN6igsXjLjOy8QQShcg.ttf"
7033
+ }
7034
+ },
7035
+ {
7036
+ "kind": "webfonts#webfont",
7037
+ "family": "Linden Hill",
7038
+ "category": "serif",
7039
+ "variants": [
7040
+ "regular",
7041
+ "italic"
7042
+ ],
7043
+ "subsets": [
7044
+ "latin"
7045
+ ],
7046
+ "version": "v6",
7047
+ "lastModified": "2016-04-25",
7048
+ "files": {
7049
+ "regular": "http://fonts.gstatic.com/s/lindenhill/v6/UgsC0txqd-E1yjvjutwm_KCWcynf_cDxXwCLxiixG1c.ttf",
7050
+ "italic": "http://fonts.gstatic.com/s/lindenhill/v6/OcS3bZcu8vJvIDH8Zic83keOrDcLawS7-ssYqLr2Xp4.ttf"
7051
+ }
7052
+ },
7053
+ {
7054
+ "kind": "webfonts#webfont",
7055
+ "family": "Lobster",
7056
+ "category": "display",
7057
+ "variants": [
7058
+ "regular"
7059
+ ],
7060
+ "subsets": [
7061
+ "latin",
7062
+ "latin-ext",
7063
+ "vietnamese",
7064
+ "cyrillic"
7065
+ ],
7066
+ "version": "v16",
7067
+ "lastModified": "2016-04-25",
7068
+ "files": {
7069
+ "regular": "http://fonts.gstatic.com/s/lobster/v16/9LpJGtNuM1D8FAZ2BkJH2Q.ttf"
7070
+ }
7071
+ },
7072
+ {
7073
+ "kind": "webfonts#webfont",
7074
+ "family": "Lobster Two",
7075
+ "category": "display",
7076
+ "variants": [
7077
+ "regular",
7078
+ "italic",
7079
+ "700",
7080
+ "700italic"
7081
+ ],
7082
+ "subsets": [
7083
+ "latin"
7084
+ ],
7085
+ "version": "v8",
7086
+ "lastModified": "2016-04-25",
7087
+ "files": {
7088
+ "regular": "http://fonts.gstatic.com/s/lobstertwo/v8/xb9aY4w9ceh8JRzobID1naCWcynf_cDxXwCLxiixG1c.ttf",
7089
+ "italic": "http://fonts.gstatic.com/s/lobstertwo/v8/Ul_16MSbfayQv1I4QhLEoEeOrDcLawS7-ssYqLr2Xp4.ttf",
7090
+ "700": "http://fonts.gstatic.com/s/lobstertwo/v8/bmdxOflBqMqjEC0-kGsIiHe1Pd76Vl7zRpE7NLJQ7XU.ttf",
7091
+ "700italic": "http://fonts.gstatic.com/s/lobstertwo/v8/LEkN2_no_6kFvRfiBZ8xpM_zJjSACmk0BRPxQqhnNLU.ttf"
7092
+ }
7093
+ },
7094
+ {
7095
+ "kind": "webfonts#webfont",
7096
+ "family": "Londrina Outline",
7097
+ "category": "display",
7098
+ "variants": [
7099
+ "regular"
7100
+ ],
7101
+ "subsets": [
7102
+ "latin"
7103
+ ],
7104
+ "version": "v5",
7105
+ "lastModified": "2016-04-25",
7106
+ "files": {
7107
+ "regular": "http://fonts.gstatic.com/s/londrinaoutline/v5/lls08GOa1eT74p072l1AWJmp8DTZ6iHear7UV05iykg.ttf"
7108
+ }
7109
+ },
7110
+ {
7111
+ "kind": "webfonts#webfont",
7112
+ "family": "Londrina Shadow",
7113
+ "category": "display",
7114
+ "variants": [
7115
+ "regular"
7116
+ ],
7117
+ "subsets": [
7118
+ "latin"
7119
+ ],
7120
+ "version": "v4",
7121
+ "lastModified": "2016-04-25",
7122
+ "files": {
7123
+ "regular": "http://fonts.gstatic.com/s/londrinashadow/v4/dNYuzPS_7eYgXFJBzMoKdbw6Z3rVA5KDSi7aQxS92Nk.ttf"
7124
+ }
7125
+ },
7126
+ {
7127
+ "kind": "webfonts#webfont",
7128
+ "family": "Londrina Sketch",
7129
+ "category": "display",
7130
+ "variants": [
7131
+ "regular"
7132
+ ],
7133
+ "subsets": [
7134
+ "latin"
7135
+ ],
7136
+ "version": "v4",
7137
+ "lastModified": "2016-04-25",
7138
+ "files": {
7139
+ "regular": "http://fonts.gstatic.com/s/londrinasketch/v4/p7Ai06aT1Ycp_D2fyE3z69d6z_uhFGnpCOifUY1fJQo.ttf"
7140
+ }
7141
+ },
7142
+ {
7143
+ "kind": "webfonts#webfont",
7144
+ "family": "Londrina Solid",
7145
+ "category": "display",
7146
+ "variants": [
7147
+ "regular"
7148
+ ],
7149
+ "subsets": [
7150
+ "latin"
7151
+ ],
7152
+ "version": "v4",
7153
+ "lastModified": "2016-04-25",
7154
+ "files": {
7155
+ "regular": "http://fonts.gstatic.com/s/londrinasolid/v4/yysorIEiYSBb0ylZjg791MR125CwGqh8XBqkBzea0LA.ttf"
7156
+ }
7157
+ },
7158
+ {
7159
+ "kind": "webfonts#webfont",
7160
+ "family": "Lora",
7161
+ "category": "serif",
7162
+ "variants": [
7163
+ "regular",
7164
+ "italic",
7165
+ "700",
7166
+ "700italic"
7167
+ ],
7168
+ "subsets": [
7169
+ "latin",
7170
+ "latin-ext",
7171
+ "cyrillic"
7172
+ ],
7173
+ "version": "v9",
7174
+ "lastModified": "2016-04-25",
7175
+ "files": {
7176
+ "regular": "http://fonts.gstatic.com/s/lora/v9/aXJ7KVIGcejEy1abawZazg.ttf",
7177
+ "italic": "http://fonts.gstatic.com/s/lora/v9/AN2EZaj2tFRpyveuNn9BOg.ttf",
7178
+ "700": "http://fonts.gstatic.com/s/lora/v9/enKND5SfzQKkggBA_VnT1A.ttf",
7179
+ "700italic": "http://fonts.gstatic.com/s/lora/v9/ivs9j3kYU65pR9QD9YFdzQ.ttf"
7180
+ }
7181
+ },
7182
+ {
7183
+ "kind": "webfonts#webfont",
7184
+ "family": "Love Ya Like A Sister",
7185
+ "category": "display",
7186
+ "variants": [
7187
+ "regular"
7188
+ ],
7189
+ "subsets": [
7190
+ "latin"
7191
+ ],
7192
+ "version": "v7",
7193
+ "lastModified": "2016-04-25",
7194
+ "files": {
7195
+ "regular": "http://fonts.gstatic.com/s/loveyalikeasister/v7/LzkxWS-af0Br2Sk_YgSJY-ad1xEP8DQfgfY8MH9aBUg.ttf"
7196
+ }
7197
+ },
7198
+ {
7199
+ "kind": "webfonts#webfont",
7200
+ "family": "Loved by the King",
7201
+ "category": "handwriting",
7202
+ "variants": [
7203
+ "regular"
7204
+ ],
7205
+ "subsets": [
7206
+ "latin"
7207
+ ],
7208
+ "version": "v6",
7209
+ "lastModified": "2016-04-25",
7210
+ "files": {
7211
+ "regular": "http://fonts.gstatic.com/s/lovedbytheking/v6/wg03xD4cWigj4YDufLBSr8io2AFEwwMpu7y5KyiyAJc.ttf"
7212
+ }
7213
+ },
7214
+ {
7215
+ "kind": "webfonts#webfont",
7216
+ "family": "Lovers Quarrel",
7217
+ "category": "handwriting",
7218
+ "variants": [
7219
+ "regular"
7220
+ ],
7221
+ "subsets": [
7222
+ "latin",
7223
+ "latin-ext"
7224
+ ],
7225
+ "version": "v4",
7226
+ "lastModified": "2016-04-25",
7227
+ "files": {
7228
+ "regular": "http://fonts.gstatic.com/s/loversquarrel/v4/gipdZ8b7pKb89MzQLAtJHLHLxci2ElvNEmOB303HLk0.ttf"
7229
+ }
7230
+ },
7231
+ {
7232
+ "kind": "webfonts#webfont",
7233
+ "family": "Luckiest Guy",
7234
+ "category": "display",
7235
+ "variants": [
7236
+ "regular"
7237
+ ],
7238
+ "subsets": [
7239
+ "latin"
7240
+ ],
7241
+ "version": "v6",
7242
+ "lastModified": "2016-04-25",
7243
+ "files": {
7244
+ "regular": "http://fonts.gstatic.com/s/luckiestguy/v6/5718gH8nDy3hFVihOpkY5C3USBnSvpkopQaUR-2r7iU.ttf"
7245
+ }
7246
+ },
7247
+ {
7248
+ "kind": "webfonts#webfont",
7249
+ "family": "Lusitana",
7250
+ "category": "serif",
7251
+ "variants": [
7252
+ "regular",
7253
+ "700"
7254
+ ],
7255
+ "subsets": [
7256
+ "latin"
7257
+ ],
7258
+ "version": "v4",
7259
+ "lastModified": "2016-04-25",
7260
+ "files": {
7261
+ "regular": "http://fonts.gstatic.com/s/lusitana/v4/l1h9VDomkwbdzbPdmLcUIw.ttf",
7262
+ "700": "http://fonts.gstatic.com/s/lusitana/v4/GWtZyUsONxgkdl3Mc1P7FKCWcynf_cDxXwCLxiixG1c.ttf"
7263
+ }
7264
+ },
7265
+ {
7266
+ "kind": "webfonts#webfont",
7267
+ "family": "Lustria",
7268
+ "category": "serif",
7269
+ "variants": [
7270
+ "regular"
7271
+ ],
7272
+ "subsets": [
7273
+ "latin"
7274
+ ],
7275
+ "version": "v4",
7276
+ "lastModified": "2016-04-25",
7277
+ "files": {
7278
+ "regular": "http://fonts.gstatic.com/s/lustria/v4/gXAk0s4ai0X-TAOhYzZd1w.ttf"
7279
+ }
7280
+ },
7281
+ {
7282
+ "kind": "webfonts#webfont",
7283
+ "family": "Macondo",
7284
+ "category": "display",
7285
+ "variants": [
7286
+ "regular"
7287
+ ],
7288
+ "subsets": [
7289
+ "latin"
7290
+ ],
7291
+ "version": "v5",
7292
+ "lastModified": "2016-04-25",
7293
+ "files": {
7294
+ "regular": "http://fonts.gstatic.com/s/macondo/v5/G6yPNUscRPQ8ufBXs_8yRQ.ttf"
7295
+ }
7296
+ },
7297
+ {
7298
+ "kind": "webfonts#webfont",
7299
+ "family": "Macondo Swash Caps",
7300
+ "category": "display",
7301
+ "variants": [
7302
+ "regular"
7303
+ ],
7304
+ "subsets": [
7305
+ "latin"
7306
+ ],
7307
+ "version": "v4",
7308
+ "lastModified": "2016-04-25",
7309
+ "files": {
7310
+ "regular": "http://fonts.gstatic.com/s/macondoswashcaps/v4/SsSR706z-MlvEH7_LS6JAPkkgYRHs6GSG949m-K6x2k.ttf"
7311
+ }
7312
+ },
7313
+ {
7314
+ "kind": "webfonts#webfont",
7315
+ "family": "Magra",
7316
+ "category": "sans-serif",
7317
+ "variants": [
7318
+ "regular",
7319
+ "700"
7320
+ ],
7321
+ "subsets": [
7322
+ "latin",
7323
+ "latin-ext"
7324
+ ],
7325
+ "version": "v4",
7326
+ "lastModified": "2016-04-25",
7327
+ "files": {
7328
+ "regular": "http://fonts.gstatic.com/s/magra/v4/hoZ13bwCXBxuGZqAudgc5A.ttf",
7329
+ "700": "http://fonts.gstatic.com/s/magra/v4/6fOM5sq5cIn8D0RjX8Lztw.ttf"
7330
+ }
7331
+ },
7332
+ {
7333
+ "kind": "webfonts#webfont",
7334
+ "family": "Maiden Orange",
7335
+ "category": "display",
7336
+ "variants": [
7337
+ "regular"
7338
+ ],
7339
+ "subsets": [
7340
+ "latin"
7341
+ ],
7342
+ "version": "v6",
7343
+ "lastModified": "2016-04-25",
7344
+ "files": {
7345
+ "regular": "http://fonts.gstatic.com/s/maidenorange/v6/ZhKIA2SPisEwdhW7g0RUWojjx0o0jr6fNXxPgYh_a8Q.ttf"
7346
+ }
7347
+ },
7348
+ {
7349
+ "kind": "webfonts#webfont",
7350
+ "family": "Mako",
7351
+ "category": "sans-serif",
7352
+ "variants": [
7353
+ "regular"
7354
+ ],
7355
+ "subsets": [
7356
+ "latin"
7357
+ ],
7358
+ "version": "v7",
7359
+ "lastModified": "2016-04-25",
7360
+ "files": {
7361
+ "regular": "http://fonts.gstatic.com/s/mako/v7/z5zSLmfPlv1uTVAdmJBLXg.ttf"
7362
+ }
7363
+ },
7364
+ {
7365
+ "kind": "webfonts#webfont",
7366
+ "family": "Mallanna",
7367
+ "category": "sans-serif",
7368
+ "variants": [
7369
+ "regular"
7370
+ ],
7371
+ "subsets": [
7372
+ "latin",
7373
+ "telugu"
7374
+ ],
7375
+ "version": "v4",
7376
+ "lastModified": "2016-04-25",
7377
+ "files": {
7378
+ "regular": "http://fonts.gstatic.com/s/mallanna/v4/krCTa-CfMbtxqF0689CbuQ.ttf"
7379
+ }
7380
+ },
7381
+ {
7382
+ "kind": "webfonts#webfont",
7383
+ "family": "Mandali",
7384
+ "category": "sans-serif",
7385
+ "variants": [
7386
+ "regular"
7387
+ ],
7388
+ "subsets": [
7389
+ "latin",
7390
+ "telugu"
7391
+ ],
7392
+ "version": "v4",
7393
+ "lastModified": "2016-04-25",
7394
+ "files": {
7395
+ "regular": "http://fonts.gstatic.com/s/mandali/v4/0lF8yJ7fkyjXuqtSi5bWbQ.ttf"
7396
+ }
7397
+ },
7398
+ {
7399
+ "kind": "webfonts#webfont",
7400
+ "family": "Marcellus",
7401
+ "category": "serif",
7402
+ "variants": [
7403
+ "regular"
7404
+ ],
7405
+ "subsets": [
7406
+ "latin",
7407
+ "latin-ext"
7408
+ ],
7409
+ "version": "v4",
7410
+ "lastModified": "2016-04-25",
7411
+ "files": {
7412
+ "regular": "http://fonts.gstatic.com/s/marcellus/v4/UjiLZzumxWC9whJ86UtaYw.ttf"
7413
+ }
7414
+ },
7415
+ {
7416
+ "kind": "webfonts#webfont",
7417
+ "family": "Marcellus SC",
7418
+ "category": "serif",
7419
+ "variants": [
7420
+ "regular"
7421
+ ],
7422
+ "subsets": [
7423
+ "latin",
7424
+ "latin-ext"
7425
+ ],
7426
+ "version": "v4",
7427
+ "lastModified": "2016-04-25",
7428
+ "files": {
7429
+ "regular": "http://fonts.gstatic.com/s/marcellussc/v4/_jugwxhkkynrvsfrxVx8gS3USBnSvpkopQaUR-2r7iU.ttf"
7430
+ }
7431
+ },
7432
+ {
7433
+ "kind": "webfonts#webfont",
7434
+ "family": "Marck Script",
7435
+ "category": "handwriting",
7436
+ "variants": [
7437
+ "regular"
7438
+ ],
7439
+ "subsets": [
7440
+ "latin",
7441
+ "latin-ext",
7442
+ "cyrillic"
7443
+ ],
7444
+ "version": "v7",
7445
+ "lastModified": "2016-04-25",
7446
+ "files": {
7447
+ "regular": "http://fonts.gstatic.com/s/marckscript/v7/O_D1NAZVOFOobLbVtW3bci3USBnSvpkopQaUR-2r7iU.ttf"
7448
+ }
7449
+ },
7450
+ {
7451
+ "kind": "webfonts#webfont",
7452
+ "family": "Margarine",
7453
+ "category": "display",
7454
+ "variants": [
7455
+ "regular"
7456
+ ],
7457
+ "subsets": [
7458
+ "latin",
7459
+ "latin-ext"
7460
+ ],
7461
+ "version": "v5",
7462
+ "lastModified": "2016-04-25",
7463
+ "files": {
7464
+ "regular": "http://fonts.gstatic.com/s/margarine/v5/DJnJwIrcO_cGkjSzY3MERw.ttf"
7465
+ }
7466
+ },
7467
+ {
7468
+ "kind": "webfonts#webfont",
7469
+ "family": "Marko One",
7470
+ "category": "serif",
7471
+ "variants": [
7472
+ "regular"
7473
+ ],
7474
+ "subsets": [
7475
+ "latin"
7476
+ ],
7477
+ "version": "v6",
7478
+ "lastModified": "2016-04-25",
7479
+ "files": {
7480
+ "regular": "http://fonts.gstatic.com/s/markoone/v6/hpP7j861sOAco43iDc4n4w.ttf"
7481
+ }
7482
+ },
7483
+ {
7484
+ "kind": "webfonts#webfont",
7485
+ "family": "Marmelad",
7486
+ "category": "sans-serif",
7487
+ "variants": [
7488
+ "regular"
7489
+ ],
7490
+ "subsets": [
7491
+ "latin",
7492
+ "latin-ext",
7493
+ "cyrillic"
7494
+ ],
7495
+ "version": "v6",
7496
+ "lastModified": "2016-04-25",
7497
+ "files": {
7498
+ "regular": "http://fonts.gstatic.com/s/marmelad/v6/jI0_FBlSOIRLL0ePWOhOwQ.ttf"
7499
+ }
7500
+ },
7501
+ {
7502
+ "kind": "webfonts#webfont",
7503
+ "family": "Martel",
7504
+ "category": "serif",
7505
+ "variants": [
7506
+ "200",
7507
+ "300",
7508
+ "regular",
7509
+ "600",
7510
+ "700",
7511
+ "800",
7512
+ "900"
7513
+ ],
7514
+ "subsets": [
7515
+ "latin",
7516
+ "devanagari",
7517
+ "latin-ext"
7518
+ ],
7519
+ "version": "v1",
7520
+ "lastModified": "2016-04-25",
7521
+ "files": {
7522
+ "200": "http://fonts.gstatic.com/s/martel/v1/_wfGdswZbat7P4tupHLA1w.ttf",
7523
+ "300": "http://fonts.gstatic.com/s/martel/v1/SghoV2F2VPdVU3P0a4fa9w.ttf",
7524
+ "regular": "http://fonts.gstatic.com/s/martel/v1/9ALu5czkaaf5zsYk6GJEnQ.ttf",
7525
+ "600": "http://fonts.gstatic.com/s/martel/v1/Kt9uPhH1PvUwuZ5Y6zuAMQ.ttf",
7526
+ "700": "http://fonts.gstatic.com/s/martel/v1/4OzIiKB5wE36xXL2U0vzWQ.ttf",
7527
+ "800": "http://fonts.gstatic.com/s/martel/v1/RVF8drcQoRkRL7l_ZkpTlQ.ttf",
7528
+ "900": "http://fonts.gstatic.com/s/martel/v1/iS0YUpFJoiLRlnyl40rpEA.ttf"
7529
+ }
7530
+ },
7531
+ {
7532
+ "kind": "webfonts#webfont",
7533
+ "family": "Martel Sans",
7534
+ "category": "sans-serif",
7535
+ "variants": [
7536
+ "200",
7537
+ "300",
7538
+ "regular",
7539
+ "600",
7540
+ "700",
7541
+ "800",
7542
+ "900"
7543
+ ],
7544
+ "subsets": [
7545
+ "latin",
7546
+ "devanagari",
7547
+ "latin-ext"
7548
+ ],
7549
+ "version": "v2",
7550
+ "lastModified": "2016-04-25",
7551
+ "files": {
7552
+ "200": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQEnzyIngrzGjGh22wPb6cGM.ttf",
7553
+ "300": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQC9-WlPSxbfiI49GsXo3q0g.ttf",
7554
+ "regular": "http://fonts.gstatic.com/s/martelsans/v2/91c8DPDZncMc0RFfhmc2RqCWcynf_cDxXwCLxiixG1c.ttf",
7555
+ "600": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQJZ7xm-Bj30Bj2KNdXDzSZg.ttf",
7556
+ "700": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQHe1Pd76Vl7zRpE7NLJQ7XU.ttf",
7557
+ "800": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQA89PwPrYLaRFJ-HNCU9NbA.ttf",
7558
+ "900": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQCenaqEuufTBk9XMKnKmgDA.ttf"
7559
+ }
7560
+ },
7561
+ {
7562
+ "kind": "webfonts#webfont",
7563
+ "family": "Marvel",
7564
+ "category": "sans-serif",
7565
+ "variants": [
7566
+ "regular",
7567
+ "italic",
7568
+ "700",
7569
+ "700italic"
7570
+ ],
7571
+ "subsets": [
7572
+ "latin"
7573
+ ],
7574
+ "version": "v6",
7575
+ "lastModified": "2016-04-25",
7576
+ "files": {
7577
+ "regular": "http://fonts.gstatic.com/s/marvel/v6/Fg1dO8tWVb-MlyqhsbXEkg.ttf",
7578
+ "italic": "http://fonts.gstatic.com/s/marvel/v6/HzyjFB-oR5usrc7Lxz9g8w.ttf",
7579
+ "700": "http://fonts.gstatic.com/s/marvel/v6/WrHDBL1RupWGo2UcdgxB3Q.ttf",
7580
+ "700italic": "http://fonts.gstatic.com/s/marvel/v6/Gzf5NT09Y6xskdQRj2kz1qCWcynf_cDxXwCLxiixG1c.ttf"
7581
+ }
7582
+ },
7583
+ {
7584
+ "kind": "webfonts#webfont",
7585
+ "family": "Mate",
7586
+ "category": "serif",
7587
+ "variants": [
7588
+ "regular",
7589
+ "italic"
7590
+ ],
7591
+ "subsets": [
7592
+ "latin"
7593
+ ],
7594
+ "version": "v5",
7595
+ "lastModified": "2016-04-25",
7596
+ "files": {
7597
+ "regular": "http://fonts.gstatic.com/s/mate/v5/ooFviPcJ6hZP5bAE71Cawg.ttf",
7598
+ "italic": "http://fonts.gstatic.com/s/mate/v5/5XwW6_cbisGvCX5qmNiqfA.ttf"
7599
+ }
7600
+ },
7601
+ {
7602
+ "kind": "webfonts#webfont",
7603
+ "family": "Mate SC",
7604
+ "category": "serif",
7605
+ "variants": [
7606
+ "regular"
7607
+ ],
7608
+ "subsets": [
7609
+ "latin"
7610
+ ],
7611
+ "version": "v5",
7612
+ "lastModified": "2016-04-25",
7613
+ "files": {
7614
+ "regular": "http://fonts.gstatic.com/s/matesc/v5/-YkIT2TZoPZF6pawKzDpWw.ttf"
7615
+ }
7616
+ },
7617
+ {
7618
+ "kind": "webfonts#webfont",
7619
+ "family": "Maven Pro",
7620
+ "category": "sans-serif",
7621
+ "variants": [
7622
+ "regular",
7623
+ "500",
7624
+ "700",
7625
+ "900"
7626
+ ],
7627
+ "subsets": [
7628
+ "latin"
7629
+ ],
7630
+ "version": "v7",
7631
+ "lastModified": "2016-04-25",
7632
+ "files": {
7633
+ "regular": "http://fonts.gstatic.com/s/mavenpro/v7/sqPJIFG4gqsjl-0q_46Gbw.ttf",
7634
+ "500": "http://fonts.gstatic.com/s/mavenpro/v7/SQVfzoJBbj9t3aVcmbspRi3USBnSvpkopQaUR-2r7iU.ttf",
7635
+ "700": "http://fonts.gstatic.com/s/mavenpro/v7/uDssvmXgp7Nj3i336k_dSi3USBnSvpkopQaUR-2r7iU.ttf",
7636
+ "900": "http://fonts.gstatic.com/s/mavenpro/v7/-91TwiFzqeL1F7Kh91APwS3USBnSvpkopQaUR-2r7iU.ttf"
7637
+ }
7638
+ },
7639
+ {
7640
+ "kind": "webfonts#webfont",
7641
+ "family": "McLaren",
7642
+ "category": "display",
7643
+ "variants": [
7644
+ "regular"
7645
+ ],
7646
+ "subsets": [
7647
+ "latin",
7648
+ "latin-ext"
7649
+ ],
7650
+ "version": "v4",
7651
+ "lastModified": "2016-04-25",
7652
+ "files": {
7653
+ "regular": "http://fonts.gstatic.com/s/mclaren/v4/OprvTGxaiINBKW_1_U0eoQ.ttf"
7654
+ }
7655
+ },
7656
+ {
7657
+ "kind": "webfonts#webfont",
7658
+ "family": "Meddon",
7659
+ "category": "handwriting",
7660
+ "variants": [
7661
+ "regular"
7662
+ ],
7663
+ "subsets": [
7664
+ "latin"
7665
+ ],
7666
+ "version": "v9",
7667
+ "lastModified": "2016-04-25",
7668
+ "files": {
7669
+ "regular": "http://fonts.gstatic.com/s/meddon/v9/f8zJO98uu2EtSj9p7ci9RA.ttf"
7670
+ }
7671
+ },
7672
+ {
7673
+ "kind": "webfonts#webfont",
7674
+ "family": "MedievalSharp",
7675
+ "category": "display",
7676
+ "variants": [
7677
+ "regular"
7678
+ ],
7679
+ "subsets": [
7680
+ "latin",
7681
+ "latin-ext"
7682
+ ],
7683
+ "version": "v8",
7684
+ "lastModified": "2016-04-25",
7685
+ "files": {
7686
+ "regular": "http://fonts.gstatic.com/s/medievalsharp/v8/85X_PjV6tftJ0-rX7KYQkOe45sJkivqprK7VkUlzfg0.ttf"
7687
+ }
7688
+ },
7689
+ {
7690
+ "kind": "webfonts#webfont",
7691
+ "family": "Medula One",
7692
+ "category": "display",
7693
+ "variants": [
7694
+ "regular"
7695
+ ],
7696
+ "subsets": [
7697
+ "latin"
7698
+ ],
7699
+ "version": "v6",
7700
+ "lastModified": "2016-04-25",
7701
+ "files": {
7702
+ "regular": "http://fonts.gstatic.com/s/medulaone/v6/AasPgDQak81dsTGQHc5zUPesZW2xOQ-xsNqO47m55DA.ttf"
7703
+ }
7704
+ },
7705
+ {
7706
+ "kind": "webfonts#webfont",
7707
+ "family": "Megrim",
7708
+ "category": "display",
7709
+ "variants": [
7710
+ "regular"
7711
+ ],
7712
+ "subsets": [
7713
+ "latin"
7714
+ ],
7715
+ "version": "v7",
7716
+ "lastModified": "2016-04-25",
7717
+ "files": {
7718
+ "regular": "http://fonts.gstatic.com/s/megrim/v7/e-9jVUC9lv1zxaFQARuftw.ttf"
7719
+ }
7720
+ },
7721
+ {
7722
+ "kind": "webfonts#webfont",
7723
+ "family": "Meie Script",
7724
+ "category": "handwriting",
7725
+ "variants": [
7726
+ "regular"
7727
+ ],
7728
+ "subsets": [
7729
+ "latin",
7730
+ "latin-ext"
7731
+ ],
7732
+ "version": "v4",
7733
+ "lastModified": "2016-04-25",
7734
+ "files": {
7735
+ "regular": "http://fonts.gstatic.com/s/meiescript/v4/oTIWE5MmPye-rCyVp_6KEqCWcynf_cDxXwCLxiixG1c.ttf"
7736
+ }
7737
+ },
7738
+ {
7739
+ "kind": "webfonts#webfont",
7740
+ "family": "Merienda",
7741
+ "category": "handwriting",
7742
+ "variants": [
7743
+ "regular",
7744
+ "700"
7745
+ ],
7746
+ "subsets": [
7747
+ "latin",
7748
+ "latin-ext"
7749
+ ],
7750
+ "version": "v4",
7751
+ "lastModified": "2016-04-25",
7752
+ "files": {
7753
+ "regular": "http://fonts.gstatic.com/s/merienda/v4/MYY6Og1qZlOQtPW2G95Y3A.ttf",
7754
+ "700": "http://fonts.gstatic.com/s/merienda/v4/GlwcvRLlgiVE2MBFQ4r0sKCWcynf_cDxXwCLxiixG1c.ttf"
7755
+ }
7756
+ },
7757
+ {
7758
+ "kind": "webfonts#webfont",
7759
+ "family": "Merienda One",
7760
+ "category": "handwriting",
7761
+ "variants": [
7762
+ "regular"
7763
+ ],
7764
+ "subsets": [
7765
+ "latin"
7766
+ ],
7767
+ "version": "v7",
7768
+ "lastModified": "2016-04-25",
7769
+ "files": {
7770
+ "regular": "http://fonts.gstatic.com/s/meriendaone/v7/bCA-uDdUx6nTO8SjzCLXvS3USBnSvpkopQaUR-2r7iU.ttf"
7771
+ }
7772
+ },
7773
+ {
7774
+ "kind": "webfonts#webfont",
7775
+ "family": "Merriweather",
7776
+ "category": "serif",
7777
+ "variants": [
7778
+ "300",
7779
+ "300italic",
7780
+ "regular",
7781
+ "italic",
7782
+ "700",
7783
+ "700italic",
7784
+ "900",
7785
+ "900italic"
7786
+ ],
7787
+ "subsets": [
7788
+ "latin",
7789
+ "latin-ext",
7790
+ "cyrillic-ext",
7791
+ "cyrillic"
7792
+ ],
7793
+ "version": "v11",
7794
+ "lastModified": "2016-04-25",
7795
+ "files": {
7796
+ "300": "http://fonts.gstatic.com/s/merriweather/v11/ZvcMqxEwPfh2qDWBPxn6nqcQoVhARpoaILP7amxE_8g.ttf",
7797
+ "300italic": "http://fonts.gstatic.com/s/merriweather/v11/EYh7Vl4ywhowqULgRdYwICna0FLWfcB-J_SAYmcAXaI.ttf",
7798
+ "regular": "http://fonts.gstatic.com/s/merriweather/v11/RFda8w1V0eDZheqfcyQ4EC3USBnSvpkopQaUR-2r7iU.ttf",
7799
+ "italic": "http://fonts.gstatic.com/s/merriweather/v11/So5lHxHT37p2SS4-t60SlPMZXuCXbOrAvx5R0IT5Oyo.ttf",
7800
+ "700": "http://fonts.gstatic.com/s/merriweather/v11/ZvcMqxEwPfh2qDWBPxn6nkD2ttfZwueP-QU272T9-k4.ttf",
7801
+ "700italic": "http://fonts.gstatic.com/s/merriweather/v11/EYh7Vl4ywhowqULgRdYwIPAs9-1nE9qOqhChW0m4nDE.ttf",
7802
+ "900": "http://fonts.gstatic.com/s/merriweather/v11/ZvcMqxEwPfh2qDWBPxn6nqObDOjC3UL77puoeHsE3fw.ttf",
7803
+ "900italic": "http://fonts.gstatic.com/s/merriweather/v11/EYh7Vl4ywhowqULgRdYwIBd0_s6jQr9r5s5OZYvtzBY.ttf"
7804
+ }
7805
+ },
7806
+ {
7807
+ "kind": "webfonts#webfont",
7808
+ "family": "Merriweather Sans",
7809
+ "category": "sans-serif",
7810
+ "variants": [
7811
+ "300",
7812
+ "300italic",
7813
+ "regular",
7814
+ "italic",
7815
+ "700",
7816
+ "700italic",
7817
+ "800",
7818
+ "800italic"
7819
+ ],
7820
+ "subsets": [
7821
+ "latin",
7822
+ "latin-ext"
7823
+ ],
7824
+ "version": "v7",
7825
+ "lastModified": "2016-04-25",
7826
+ "files": {
7827
+ "300": "http://fonts.gstatic.com/s/merriweathersans/v7/6LmGj5dOJopQKEkt88Gowan5N8K-_DP0e9e_v51obXQ.ttf",
7828
+ "300italic": "http://fonts.gstatic.com/s/merriweathersans/v7/nAqt4hiqwq3tzCecpgPmVdytE4nGXk2hYD5nJ740tBw.ttf",
7829
+ "regular": "http://fonts.gstatic.com/s/merriweathersans/v7/AKu1CjQ4qnV8MUltkAX3sOAj_ty82iuwwDTNEYXGiyQ.ttf",
7830
+ "italic": "http://fonts.gstatic.com/s/merriweathersans/v7/3Mz4hOHzs2npRMG3B1ascZ32VBCoA_HLsn85tSWZmdo.ttf",
7831
+ "700": "http://fonts.gstatic.com/s/merriweathersans/v7/6LmGj5dOJopQKEkt88GowbqxG25nQNOioCZSK4sU-CA.ttf",
7832
+ "700italic": "http://fonts.gstatic.com/s/merriweathersans/v7/nAqt4hiqwq3tzCecpgPmVbuqAJxizi8Dk_SK5et7kMg.ttf",
7833
+ "800": "http://fonts.gstatic.com/s/merriweathersans/v7/6LmGj5dOJopQKEkt88GowYufzO2zUYSj5LqoJ3UGkco.ttf",
7834
+ "800italic": "http://fonts.gstatic.com/s/merriweathersans/v7/nAqt4hiqwq3tzCecpgPmVdDmPrYMy3aZO4LmnZsxTQw.ttf"
7835
+ }
7836
+ },
7837
+ {
7838
+ "kind": "webfonts#webfont",
7839
+ "family": "Metal",
7840
+ "category": "display",
7841
+ "variants": [
7842
+ "regular"
7843
+ ],
7844
+ "subsets": [
7845
+ "khmer"
7846
+ ],
7847
+ "version": "v9",
7848
+ "lastModified": "2016-04-25",
7849
+ "files": {
7850
+ "regular": "http://fonts.gstatic.com/s/metal/v9/zA3UOP13ooQcxjv04BZX5g.ttf"
7851
+ }
7852
+ },
7853
+ {
7854
+ "kind": "webfonts#webfont",
7855
+ "family": "Metal Mania",
7856
+ "category": "display",
7857
+ "variants": [
7858
+ "regular"
7859
+ ],
7860
+ "subsets": [
7861
+ "latin",
7862
+ "latin-ext"
7863
+ ],
7864
+ "version": "v6",
7865
+ "lastModified": "2016-04-25",
7866
+ "files": {
7867
+ "regular": "http://fonts.gstatic.com/s/metalmania/v6/isriV_rAUgj6bPWPN6l9QKCWcynf_cDxXwCLxiixG1c.ttf"
7868
+ }
7869
+ },
7870
+ {
7871
+ "kind": "webfonts#webfont",
7872
+ "family": "Metamorphous",
7873
+ "category": "display",
7874
+ "variants": [
7875
+ "regular"
7876
+ ],
7877
+ "subsets": [
7878
+ "latin",
7879
+ "latin-ext"
7880
+ ],
7881
+ "version": "v6",
7882
+ "lastModified": "2016-04-25",
7883
+ "files": {
7884
+ "regular": "http://fonts.gstatic.com/s/metamorphous/v6/wGqUKXRinIYggz-BTRU9ei3USBnSvpkopQaUR-2r7iU.ttf"
7885
+ }
7886
+ },
7887
+ {
7888
+ "kind": "webfonts#webfont",
7889
+ "family": "Metrophobic",
7890
+ "category": "sans-serif",
7891
+ "variants": [
7892
+ "regular"
7893
+ ],
7894
+ "subsets": [
7895
+ "latin"
7896
+ ],
7897
+ "version": "v6",
7898
+ "lastModified": "2016-04-25",
7899
+ "files": {
7900
+ "regular": "http://fonts.gstatic.com/s/metrophobic/v6/SaglWZWCrrv_D17u1i4v_aCWcynf_cDxXwCLxiixG1c.ttf"
7901
+ }
7902
+ },
7903
+ {
7904
+ "kind": "webfonts#webfont",
7905
+ "family": "Michroma",
7906
+ "category": "sans-serif",
7907
+ "variants": [
7908
+ "regular"
7909
+ ],
7910
+ "subsets": [
7911
+ "latin"
7912
+ ],
7913
+ "version": "v7",
7914
+ "lastModified": "2016-04-25",
7915
+ "files": {
7916
+ "regular": "http://fonts.gstatic.com/s/michroma/v7/0c2XrW81_QsiKV8T9thumA.ttf"
7917
+ }
7918
+ },
7919
+ {
7920
+ "kind": "webfonts#webfont",
7921
+ "family": "Milonga",
7922
+ "category": "display",
7923
+ "variants": [
7924
+ "regular"
7925
+ ],
7926
+ "subsets": [
7927
+ "latin",
7928
+ "latin-ext"
7929
+ ],
7930
+ "version": "v4",
7931
+ "lastModified": "2016-04-25",
7932
+ "files": {
7933
+ "regular": "http://fonts.gstatic.com/s/milonga/v4/dzNdIUSTGFmy2ahovDRcWg.ttf"
7934
+ }
7935
+ },
7936
+ {
7937
+ "kind": "webfonts#webfont",
7938
+ "family": "Miltonian",
7939
+ "category": "display",
7940
+ "variants": [
7941
+ "regular"
7942
+ ],
7943
+ "subsets": [
7944
+ "latin"
7945
+ ],
7946
+ "version": "v9",
7947
+ "lastModified": "2016-04-25",
7948
+ "files": {
7949
+ "regular": "http://fonts.gstatic.com/s/miltonian/v9/Z4HrYZyqm0BnNNzcCUfzoQ.ttf"
7950
+ }
7951
+ },
7952
+ {
7953
+ "kind": "webfonts#webfont",
7954
+ "family": "Miltonian Tattoo",
7955
+ "category": "display",
7956
+ "variants": [
7957
+ "regular"
7958
+ ],
7959
+ "subsets": [
7960
+ "latin"
7961
+ ],
7962
+ "version": "v10",
7963
+ "lastModified": "2016-04-25",
7964
+ "files": {
7965
+ "regular": "http://fonts.gstatic.com/s/miltoniantattoo/v10/1oU_8OGYwW46eh02YHydn2uk0YtI6thZkz1Hmh-odwg.ttf"
7966
+ }
7967
+ },
7968
+ {
7969
+ "kind": "webfonts#webfont",
7970
+ "family": "Miniver",
7971
+ "category": "display",
7972
+ "variants": [
7973
+ "regular"
7974
+ ],
7975
+ "subsets": [
7976
+ "latin"
7977
+ ],
7978
+ "version": "v5",
7979
+ "lastModified": "2016-04-25",
7980
+ "files": {
7981
+ "regular": "http://fonts.gstatic.com/s/miniver/v5/4yTQohOH_cWKRS5laRFhYg.ttf"
7982
+ }
7983
+ },
7984
+ {
7985
+ "kind": "webfonts#webfont",
7986
+ "family": "Miss Fajardose",
7987
+ "category": "handwriting",
7988
+ "variants": [
7989
+ "regular"
7990
+ ],
7991
+ "subsets": [
7992
+ "latin",
7993
+ "latin-ext"
7994
+ ],
7995
+ "version": "v6",
7996
+ "lastModified": "2016-04-25",
7997
+ "files": {
7998
+ "regular": "http://fonts.gstatic.com/s/missfajardose/v6/WcXjlQPKn6nBfr8LY3ktNu6rPKfVZo7L2bERcf0BDns.ttf"
7999
+ }
8000
+ },
8001
+ {
8002
+ "kind": "webfonts#webfont",
8003
+ "family": "Modak",
8004
+ "category": "display",
8005
+ "variants": [
8006
+ "regular"
8007
+ ],
8008
+ "subsets": [
8009
+ "latin",
8010
+ "devanagari",
8011
+ "latin-ext"
8012
+ ],
8013
+ "version": "v2",
8014
+ "lastModified": "2016-05-10",
8015
+ "files": {
8016
+ "regular": "http://fonts.gstatic.com/s/modak/v2/lMsN0QIKid-pCPvL0hH4nw.ttf"
8017
+ }
8018
+ },
8019
+ {
8020
+ "kind": "webfonts#webfont",
8021
+ "family": "Modern Antiqua",
8022
+ "category": "display",
8023
+ "variants": [
8024
+ "regular"
8025
+ ],
8026
+ "subsets": [
8027
+ "latin",
8028
+ "latin-ext"
8029
+ ],
8030
+ "version": "v6",
8031
+ "lastModified": "2016-04-25",
8032
+ "files": {
8033
+ "regular": "http://fonts.gstatic.com/s/modernantiqua/v6/8qX_tr6Xzy4t9fvZDXPkh6rFJ4O13IHVxZbM6yoslpo.ttf"
8034
+ }
8035
+ },
8036
+ {
8037
+ "kind": "webfonts#webfont",
8038
+ "family": "Molengo",
8039
+ "category": "sans-serif",
8040
+ "variants": [
8041
+ "regular"
8042
+ ],
8043
+ "subsets": [
8044
+ "latin",
8045
+ "latin-ext"
8046
+ ],
8047
+ "version": "v7",
8048
+ "lastModified": "2016-04-25",
8049
+ "files": {
8050
+ "regular": "http://fonts.gstatic.com/s/molengo/v7/jcjgeGuzv83I55AzOTpXNQ.ttf"
8051
+ }
8052
+ },
8053
+ {
8054
+ "kind": "webfonts#webfont",
8055
+ "family": "Molle",
8056
+ "category": "handwriting",
8057
+ "variants": [
8058
+ "italic"
8059
+ ],
8060
+ "subsets": [
8061
+ "latin",
8062
+ "latin-ext"
8063
+ ],
8064
+ "version": "v4",
8065
+ "lastModified": "2016-04-25",
8066
+ "files": {
8067
+ "italic": "http://fonts.gstatic.com/s/molle/v4/9XTdCsjPXifLqo5et-YoGA.ttf"
8068
+ }
8069
+ },
8070
+ {
8071
+ "kind": "webfonts#webfont",
8072
+ "family": "Monda",
8073
+ "category": "sans-serif",
8074
+ "variants": [
8075
+ "regular",
8076
+ "700"
8077
+ ],
8078
+ "subsets": [
8079
+ "latin",
8080
+ "latin-ext"
8081
+ ],
8082
+ "version": "v4",
8083
+ "lastModified": "2016-04-25",
8084
+ "files": {
8085
+ "regular": "http://fonts.gstatic.com/s/monda/v4/qFMHZ9zvR6B_gnoIgosPrw.ttf",
8086
+ "700": "http://fonts.gstatic.com/s/monda/v4/EVOzZUyc_j1w2GuTgTAW1g.ttf"
8087
+ }
8088
+ },
8089
+ {
8090
+ "kind": "webfonts#webfont",
8091
+ "family": "Monofett",
8092
+ "category": "display",
8093
+ "variants": [
8094
+ "regular"
8095
+ ],
8096
+ "subsets": [
8097
+ "latin"
8098
+ ],
8099
+ "version": "v6",
8100
+ "lastModified": "2016-04-25",
8101
+ "files": {
8102
+ "regular": "http://fonts.gstatic.com/s/monofett/v6/C6K5L799Rgxzg2brgOaqAw.ttf"
8103
+ }
8104
+ },
8105
+ {
8106
+ "kind": "webfonts#webfont",
8107
+ "family": "Monoton",
8108
+ "category": "display",
8109
+ "variants": [
8110
+ "regular"
8111
+ ],
8112
+ "subsets": [
8113
+ "latin"
8114
+ ],
8115
+ "version": "v6",
8116
+ "lastModified": "2016-04-25",
8117
+ "files": {
8118
+ "regular": "http://fonts.gstatic.com/s/monoton/v6/aCz8ja_bE4dg-7agSvExdw.ttf"
8119
+ }
8120
+ },
8121
+ {
8122
+ "kind": "webfonts#webfont",
8123
+ "family": "Monsieur La Doulaise",
8124
+ "category": "handwriting",
8125
+ "variants": [
8126
+ "regular"
8127
+ ],
8128
+ "subsets": [
8129
+ "latin",
8130
+ "latin-ext"
8131
+ ],
8132
+ "version": "v5",
8133
+ "lastModified": "2016-04-25",
8134
+ "files": {
8135
+ "regular": "http://fonts.gstatic.com/s/monsieurladoulaise/v5/IMAdMj6Eq9jZ46CPctFtMKP61oAqTJXlx5ZVOBmcPdM.ttf"
8136
+ }
8137
+ },
8138
+ {
8139
+ "kind": "webfonts#webfont",
8140
+ "family": "Montaga",
8141
+ "category": "serif",
8142
+ "variants": [
8143
+ "regular"
8144
+ ],
8145
+ "subsets": [
8146
+ "latin"
8147
+ ],
8148
+ "version": "v4",
8149
+ "lastModified": "2016-04-25",
8150
+ "files": {
8151
+ "regular": "http://fonts.gstatic.com/s/montaga/v4/PwTwUboiD-M4-mFjZfJs2A.ttf"
8152
+ }
8153
+ },
8154
+ {
8155
+ "kind": "webfonts#webfont",
8156
+ "family": "Montez",
8157
+ "category": "handwriting",
8158
+ "variants": [
8159
+ "regular"
8160
+ ],
8161
+ "subsets": [
8162
+ "latin"
8163
+ ],
8164
+ "version": "v6",
8165
+ "lastModified": "2016-04-25",
8166
+ "files": {
8167
+ "regular": "http://fonts.gstatic.com/s/montez/v6/kx58rLOWQQLGFM4pDHv5Ng.ttf"
8168
+ }
8169
+ },
8170
+ {
8171
+ "kind": "webfonts#webfont",
8172
+ "family": "Montserrat",
8173
+ "category": "sans-serif",
8174
+ "variants": [
8175
+ "regular",
8176
+ "700"
8177
+ ],
8178
+ "subsets": [
8179
+ "latin"
8180
+ ],
8181
+ "version": "v6",
8182
+ "lastModified": "2016-04-25",
8183
+ "files": {
8184
+ "regular": "http://fonts.gstatic.com/s/montserrat/v6/Kqy6-utIpx_30Xzecmeo8_esZW2xOQ-xsNqO47m55DA.ttf",
8185
+ "700": "http://fonts.gstatic.com/s/montserrat/v6/IQHow_FEYlDC4Gzy_m8fcgJKKGfqHaYFsRG-T3ceEVo.ttf"
8186
+ }
8187
+ },
8188
+ {
8189
+ "kind": "webfonts#webfont",
8190
+ "family": "Montserrat Alternates",
8191
+ "category": "sans-serif",
8192
+ "variants": [
8193
+ "regular",
8194
+ "700"
8195
+ ],
8196
+ "subsets": [
8197
+ "latin"
8198
+ ],
8199
+ "version": "v4",
8200
+ "lastModified": "2016-04-25",
8201
+ "files": {
8202
+ "regular": "http://fonts.gstatic.com/s/montserratalternates/v4/z2n1Sjxk9souK3HCtdHuklPuEVRGaG9GCQnmM16YWq0.ttf",
8203
+ "700": "http://fonts.gstatic.com/s/montserratalternates/v4/YENqOGAVzwIHjYNjmKuAZpeqBKvsAhm-s2I4RVSXFfc.ttf"
8204
+ }
8205
+ },
8206
+ {
8207
+ "kind": "webfonts#webfont",
8208
+ "family": "Montserrat Subrayada",
8209
+ "category": "sans-serif",
8210
+ "variants": [
8211
+ "regular",
8212
+ "700"
8213
+ ],
8214
+ "subsets": [
8215
+ "latin"
8216
+ ],
8217
+ "version": "v4",
8218
+ "lastModified": "2016-04-25",
8219
+ "files": {
8220
+ "regular": "http://fonts.gstatic.com/s/montserratsubrayada/v4/nzoCWCz0e9c7Mr2Gl8bbgrJymm6ilkk9f0nDA_sC_qk.ttf",
8221
+ "700": "http://fonts.gstatic.com/s/montserratsubrayada/v4/wf-IKpsHcfm0C9uaz9IeGJvEcF1LWArDbGWgKZSH9go.ttf"
8222
+ }
8223
+ },
8224
+ {
8225
+ "kind": "webfonts#webfont",
8226
+ "family": "Moul",
8227
+ "category": "display",
8228
+ "variants": [
8229
+ "regular"
8230
+ ],
8231
+ "subsets": [
8232
+ "khmer"
8233
+ ],
8234
+ "version": "v8",
8235
+ "lastModified": "2016-04-25",
8236
+ "files": {
8237
+ "regular": "http://fonts.gstatic.com/s/moul/v8/Kb0ALQnfyXawP1a_P_gpTQ.ttf"
8238
+ }
8239
+ },
8240
+ {
8241
+ "kind": "webfonts#webfont",
8242
+ "family": "Moulpali",
8243
+ "category": "display",
8244
+ "variants": [
8245
+ "regular"
8246
+ ],
8247
+ "subsets": [
8248
+ "khmer"
8249
+ ],
8250
+ "version": "v9",
8251
+ "lastModified": "2016-04-25",
8252
+ "files": {
8253
+ "regular": "http://fonts.gstatic.com/s/moulpali/v9/diD74BprGhmVkJoerKmrKA.ttf"
8254
+ }
8255
+ },
8256
+ {
8257
+ "kind": "webfonts#webfont",
8258
+ "family": "Mountains of Christmas",
8259
+ "category": "display",
8260
+ "variants": [
8261
+ "regular",
8262
+ "700"
8263
+ ],
8264
+ "subsets": [
8265
+ "latin"
8266
+ ],
8267
+ "version": "v8",
8268
+ "lastModified": "2016-04-25",
8269
+ "files": {
8270
+ "regular": "http://fonts.gstatic.com/s/mountainsofchristmas/v8/dVGBFPwd6G44IWDbQtPew2Auds3jz1Fxb61CgfaGDr4.ttf",
8271
+ "700": "http://fonts.gstatic.com/s/mountainsofchristmas/v8/PymufKtHszoLrY0uiAYKNM9cPTbSBTrQyTa5TWAe3vE.ttf"
8272
+ }
8273
+ },
8274
+ {
8275
+ "kind": "webfonts#webfont",
8276
+ "family": "Mouse Memoirs",
8277
+ "category": "sans-serif",
8278
+ "variants": [
8279
+ "regular"
8280
+ ],
8281
+ "subsets": [
8282
+ "latin",
8283
+ "latin-ext"
8284
+ ],
8285
+ "version": "v4",
8286
+ "lastModified": "2016-04-25",
8287
+ "files": {
8288
+ "regular": "http://fonts.gstatic.com/s/mousememoirs/v4/NBFaaJFux_j0AQbAsW3QeH8f0n03UdmQgF_CLvNR2vg.ttf"
8289
+ }
8290
+ },
8291
+ {
8292
+ "kind": "webfonts#webfont",
8293
+ "family": "Mr Bedfort",
8294
+ "category": "handwriting",
8295
+ "variants": [
8296
+ "regular"
8297
+ ],
8298
+ "subsets": [
8299
+ "latin",
8300
+ "latin-ext"
8301
+ ],
8302
+ "version": "v5",
8303
+ "lastModified": "2016-04-25",
8304
+ "files": {
8305
+ "regular": "http://fonts.gstatic.com/s/mrbedfort/v5/81bGgHTRikLs_puEGshl7_esZW2xOQ-xsNqO47m55DA.ttf"
8306
+ }
8307
+ },
8308
+ {
8309
+ "kind": "webfonts#webfont",
8310
+ "family": "Mr Dafoe",
8311
+ "category": "handwriting",
8312
+ "variants": [
8313
+ "regular"
8314
+ ],
8315
+ "subsets": [
8316
+ "latin",
8317
+ "latin-ext"
8318
+ ],
8319
+ "version": "v5",
8320
+ "lastModified": "2016-04-25",
8321
+ "files": {
8322
+ "regular": "http://fonts.gstatic.com/s/mrdafoe/v5/s32Q1S6ZkT7EaX53mUirvQ.ttf"
8323
+ }
8324
+ },
8325
+ {
8326
+ "kind": "webfonts#webfont",
8327
+ "family": "Mr De Haviland",
8328
+ "category": "handwriting",
8329
+ "variants": [
8330
+ "regular"
8331
+ ],
8332
+ "subsets": [
8333
+ "latin",
8334
+ "latin-ext"
8335
+ ],
8336
+ "version": "v5",
8337
+ "lastModified": "2016-04-25",
8338
+ "files": {
8339
+ "regular": "http://fonts.gstatic.com/s/mrdehaviland/v5/fD8y4L6PJ4vqDk7z8Y8e27v4lrhng1lzu7-weKO6cw8.ttf"
8340
+ }
8341
+ },
8342
+ {
8343
+ "kind": "webfonts#webfont",
8344
+ "family": "Mrs Saint Delafield",
8345
+ "category": "handwriting",
8346
+ "variants": [
8347
+ "regular"
8348
+ ],
8349
+ "subsets": [
8350
+ "latin",
8351
+ "latin-ext"
8352
+ ],
8353
+ "version": "v4",
8354
+ "lastModified": "2016-04-25",
8355
+ "files": {
8356
+ "regular": "http://fonts.gstatic.com/s/mrssaintdelafield/v4/vuWagfFT7bj9lFtZOFBwmjHMBelqWf3tJeGyts2SmKU.ttf"
8357
+ }
8358
+ },
8359
+ {
8360
+ "kind": "webfonts#webfont",
8361
+ "family": "Mrs Sheppards",
8362
+ "category": "handwriting",
8363
+ "variants": [
8364
+ "regular"
8365
+ ],
8366
+ "subsets": [
8367
+ "latin",
8368
+ "latin-ext"
8369
+ ],
8370
+ "version": "v5",
8371
+ "lastModified": "2016-04-25",
8372
+ "files": {
8373
+ "regular": "http://fonts.gstatic.com/s/mrssheppards/v5/2WFsWMV3VUeCz6UVH7UjCn8f0n03UdmQgF_CLvNR2vg.ttf"
8374
+ }
8375
+ },
8376
+ {
8377
+ "kind": "webfonts#webfont",
8378
+ "family": "Muli",
8379
+ "category": "sans-serif",
8380
+ "variants": [
8381
+ "300",
8382
+ "300italic",
8383
+ "regular",
8384
+ "italic"
8385
+ ],
8386
+ "subsets": [
8387
+ "latin"
8388
+ ],
8389
+ "version": "v7",
8390
+ "lastModified": "2016-04-25",
8391
+ "files": {
8392
+ "300": "http://fonts.gstatic.com/s/muli/v7/VJw4F3ZHRAZ7Hmg3nQu5YQ.ttf",
8393
+ "300italic": "http://fonts.gstatic.com/s/muli/v7/s-NKMCru8HiyjEt0ZDoBoA.ttf",
8394
+ "regular": "http://fonts.gstatic.com/s/muli/v7/KJiP6KznxbALQgfJcDdPAw.ttf",
8395
+ "italic": "http://fonts.gstatic.com/s/muli/v7/Cg0K_IWANs9xkNoxV7H1_w.ttf"
8396
+ }
8397
+ },
8398
+ {
8399
+ "kind": "webfonts#webfont",
8400
+ "family": "Mystery Quest",
8401
+ "category": "display",
8402
+ "variants": [
8403
+ "regular"
8404
+ ],
8405
+ "subsets": [
8406
+ "latin",
8407
+ "latin-ext"
8408
+ ],
8409
+ "version": "v4",
8410
+ "lastModified": "2016-04-25",
8411
+ "files": {
8412
+ "regular": "http://fonts.gstatic.com/s/mysteryquest/v4/467jJvg0c7HgucvBB9PLDyeUSrabuTpOsMEiRLtKwk0.ttf"
8413
+ }
8414
+ },
8415
+ {
8416
+ "kind": "webfonts#webfont",
8417
+ "family": "NTR",
8418
+ "category": "sans-serif",
8419
+ "variants": [
8420
+ "regular"
8421
+ ],
8422
+ "subsets": [
8423
+ "latin",
8424
+ "telugu"
8425
+ ],
8426
+ "version": "v4",
8427
+ "lastModified": "2016-04-25",
8428
+ "files": {
8429
+ "regular": "http://fonts.gstatic.com/s/ntr/v4/e7H4ZLtGfVOYyOupo6T12g.ttf"
8430
+ }
8431
+ },
8432
+ {
8433
+ "kind": "webfonts#webfont",
8434
+ "family": "Neucha",
8435
+ "category": "handwriting",
8436
+ "variants": [
8437
+ "regular"
8438
+ ],
8439
+ "subsets": [
8440
+ "latin",
8441
+ "cyrillic"
8442
+ ],
8443
+ "version": "v8",
8444
+ "lastModified": "2016-04-25",
8445
+ "files": {
8446
+ "regular": "http://fonts.gstatic.com/s/neucha/v8/bijdhB-TzQdtpl0ykhGh4Q.ttf"
8447
+ }
8448
+ },
8449
+ {
8450
+ "kind": "webfonts#webfont",
8451
+ "family": "Neuton",
8452
+ "category": "serif",
8453
+ "variants": [
8454
+ "200",
8455
+ "300",
8456
+ "regular",
8457
+ "italic",
8458
+ "700",
8459
+ "800"
8460
+ ],
8461
+ "subsets": [
8462
+ "latin",
8463
+ "latin-ext"
8464
+ ],
8465
+ "version": "v8",
8466
+ "lastModified": "2016-04-25",
8467
+ "files": {
8468
+ "200": "http://fonts.gstatic.com/s/neuton/v8/DA3Mkew3XqSkPpi1f4tJow.ttf",
8469
+ "300": "http://fonts.gstatic.com/s/neuton/v8/xrc_aZ2hx-gdeV0mlY8Vww.ttf",
8470
+ "regular": "http://fonts.gstatic.com/s/neuton/v8/9R-MGIOQUdjAVeB6nE6PcQ.ttf",
8471
+ "italic": "http://fonts.gstatic.com/s/neuton/v8/uVMT3JOB5BNFi3lgPp6kEg.ttf",
8472
+ "700": "http://fonts.gstatic.com/s/neuton/v8/gnWpkWY7DirkKiovncYrfg.ttf",
8473
+ "800": "http://fonts.gstatic.com/s/neuton/v8/XPzBQV4lY6enLxQG9cF1jw.ttf"
8474
+ }
8475
+ },
8476
+ {
8477
+ "kind": "webfonts#webfont",
8478
+ "family": "New Rocker",
8479
+ "category": "display",
8480
+ "variants": [
8481
+ "regular"
8482
+ ],
8483
+ "subsets": [
8484
+ "latin",
8485
+ "latin-ext"
8486
+ ],
8487
+ "version": "v5",
8488
+ "lastModified": "2016-04-25",
8489
+ "files": {
8490
+ "regular": "http://fonts.gstatic.com/s/newrocker/v5/EFUWzHJedEkpW399zYOHofesZW2xOQ-xsNqO47m55DA.ttf"
8491
+ }
8492
+ },
8493
+ {
8494
+ "kind": "webfonts#webfont",
8495
+ "family": "News Cycle",
8496
+ "category": "sans-serif",
8497
+ "variants": [
8498
+ "regular",
8499
+ "700"
8500
+ ],
8501
+ "subsets": [
8502
+ "latin",
8503
+ "latin-ext"
8504
+ ],
8505
+ "version": "v13",
8506
+ "lastModified": "2016-04-25",
8507
+ "files": {
8508
+ "regular": "http://fonts.gstatic.com/s/newscycle/v13/xyMAr8VfiUzIOvS1abHJO_esZW2xOQ-xsNqO47m55DA.ttf",
8509
+ "700": "http://fonts.gstatic.com/s/newscycle/v13/G28Ny31cr5orMqEQy6ljtwJKKGfqHaYFsRG-T3ceEVo.ttf"
8510
+ }
8511
+ },
8512
+ {
8513
+ "kind": "webfonts#webfont",
8514
+ "family": "Niconne",
8515
+ "category": "handwriting",
8516
+ "variants": [
8517
+ "regular"
8518
+ ],
8519
+ "subsets": [
8520
+ "latin",
8521
+ "latin-ext"
8522
+ ],
8523
+ "version": "v6",
8524
+ "lastModified": "2016-04-25",
8525
+ "files": {
8526
+ "regular": "http://fonts.gstatic.com/s/niconne/v6/ZA-mFw2QNXodx5y7kfELBg.ttf"
8527
+ }
8528
+ },
8529
+ {
8530
+ "kind": "webfonts#webfont",
8531
+ "family": "Nixie One",
8532
+ "category": "display",
8533
+ "variants": [
8534
+ "regular"
8535
+ ],
8536
+ "subsets": [
8537
+ "latin"
8538
+ ],
8539
+ "version": "v7",
8540
+ "lastModified": "2016-04-25",
8541
+ "files": {
8542
+ "regular": "http://fonts.gstatic.com/s/nixieone/v7/h6kQfmzm0Shdnp3eswRaqQ.ttf"
8543
+ }
8544
+ },
8545
+ {
8546
+ "kind": "webfonts#webfont",
8547
+ "family": "Nobile",
8548
+ "category": "sans-serif",
8549
+ "variants": [
8550
+ "regular",
8551
+ "italic",
8552
+ "700",
8553
+ "700italic"
8554
+ ],
8555
+ "subsets": [
8556
+ "latin"
8557
+ ],
8558
+ "version": "v7",
8559
+ "lastModified": "2016-04-25",
8560
+ "files": {
8561
+ "regular": "http://fonts.gstatic.com/s/nobile/v7/lC_lPi1ddtN38iXTCRh6ow.ttf",
8562
+ "italic": "http://fonts.gstatic.com/s/nobile/v7/vGmrpKzWQQSrb-PR6FWBIA.ttf",
8563
+ "700": "http://fonts.gstatic.com/s/nobile/v7/9p6M-Yrg_r_QPmSD1skrOg.ttf",
8564
+ "700italic": "http://fonts.gstatic.com/s/nobile/v7/oQ1eYPaXV638N03KvsNvyKCWcynf_cDxXwCLxiixG1c.ttf"
8565
+ }
8566
+ },
8567
+ {
8568
+ "kind": "webfonts#webfont",
8569
+ "family": "Nokora",
8570
+ "category": "serif",
8571
+ "variants": [
8572
+ "regular",
8573
+ "700"
8574
+ ],
8575
+ "subsets": [
8576
+ "khmer"
8577
+ ],
8578
+ "version": "v9",
8579
+ "lastModified": "2016-04-25",
8580
+ "files": {
8581
+ "regular": "http://fonts.gstatic.com/s/nokora/v9/dRyz1JfnyKPNaRcBNX9F9A.ttf",
8582
+ "700": "http://fonts.gstatic.com/s/nokora/v9/QMqqa4QEOhQpiig3cAPmbQ.ttf"
8583
+ }
8584
+ },
8585
+ {
8586
+ "kind": "webfonts#webfont",
8587
+ "family": "Norican",
8588
+ "category": "handwriting",
8589
+ "variants": [
8590
+ "regular"
8591
+ ],
8592
+ "subsets": [
8593
+ "latin",
8594
+ "latin-ext"
8595
+ ],
8596
+ "version": "v4",
8597
+ "lastModified": "2016-04-25",
8598
+ "files": {
8599
+ "regular": "http://fonts.gstatic.com/s/norican/v4/SHnSqhYAWG5sZTWcPzEHig.ttf"
8600
+ }
8601
+ },
8602
+ {
8603
+ "kind": "webfonts#webfont",
8604
+ "family": "Nosifer",
8605
+ "category": "display",
8606
+ "variants": [
8607
+ "regular"
8608
+ ],
8609
+ "subsets": [
8610
+ "latin",
8611
+ "latin-ext"
8612
+ ],
8613
+ "version": "v5",
8614
+ "lastModified": "2016-04-25",
8615
+ "files": {
8616
+ "regular": "http://fonts.gstatic.com/s/nosifer/v5/7eJGoIuHRrtcG00j6CptSA.ttf"
8617
+ }
8618
+ },
8619
+ {
8620
+ "kind": "webfonts#webfont",
8621
+ "family": "Nothing You Could Do",
8622
+ "category": "handwriting",
8623
+ "variants": [
8624
+ "regular"
8625
+ ],
8626
+ "subsets": [
8627
+ "latin"
8628
+ ],
8629
+ "version": "v6",
8630
+ "lastModified": "2016-04-25",
8631
+ "files": {
8632
+ "regular": "http://fonts.gstatic.com/s/nothingyoucoulddo/v6/jpk1K3jbJoyoK0XKaSyQAf-TpkXjXYGWiJZAEtBRjPU.ttf"
8633
+ }
8634
+ },
8635
+ {
8636
+ "kind": "webfonts#webfont",
8637
+ "family": "Noticia Text",
8638
+ "category": "serif",
8639
+ "variants": [
8640
+ "regular",
8641
+ "italic",
8642
+ "700",
8643
+ "700italic"
8644
+ ],
8645
+ "subsets": [
8646
+ "latin",
8647
+ "latin-ext",
8648
+ "vietnamese"
8649
+ ],
8650
+ "version": "v6",
8651
+ "lastModified": "2016-04-25",
8652
+ "files": {
8653
+ "regular": "http://fonts.gstatic.com/s/noticiatext/v6/wdyV6x3eKpdeUPQ7BJ5uUC3USBnSvpkopQaUR-2r7iU.ttf",
8654
+ "italic": "http://fonts.gstatic.com/s/noticiatext/v6/dAuxVpkYE_Q_IwIm6elsKPMZXuCXbOrAvx5R0IT5Oyo.ttf",
8655
+ "700": "http://fonts.gstatic.com/s/noticiatext/v6/pEko-RqEtp45bE2P80AAKUD2ttfZwueP-QU272T9-k4.ttf",
8656
+ "700italic": "http://fonts.gstatic.com/s/noticiatext/v6/-rQ7V8ARjf28_b7kRa0JuvAs9-1nE9qOqhChW0m4nDE.ttf"
8657
+ }
8658
+ },
8659
+ {
8660
+ "kind": "webfonts#webfont",
8661
+ "family": "Noto Sans",
8662
+ "category": "sans-serif",
8663
+ "variants": [
8664
+ "regular",
8665
+ "italic",
8666
+ "700",
8667
+ "700italic"
8668
+ ],
8669
+ "subsets": [
8670
+ "latin",
8671
+ "greek",
8672
+ "devanagari",
8673
+ "latin-ext",
8674
+ "cyrillic-ext",
8675
+ "greek-ext",
8676
+ "vietnamese",
8677
+ "cyrillic"
8678
+ ],
8679
+ "version": "v6",
8680
+ "lastModified": "2016-04-25",
8681
+ "files": {
8682
+ "regular": "http://fonts.gstatic.com/s/notosans/v6/0Ue9FiUJwVhi4NGfHJS5uA.ttf",
8683
+ "italic": "http://fonts.gstatic.com/s/notosans/v6/dLcNKMgJ1H5RVoZFraDz0qCWcynf_cDxXwCLxiixG1c.ttf",
8684
+ "700": "http://fonts.gstatic.com/s/notosans/v6/PIbvSEyHEdL91QLOQRnZ1y3USBnSvpkopQaUR-2r7iU.ttf",
8685
+ "700italic": "http://fonts.gstatic.com/s/notosans/v6/9Z3uUWMRR7crzm1TjRicDne1Pd76Vl7zRpE7NLJQ7XU.ttf"
8686
+ }
8687
+ },
8688
+ {
8689
+ "kind": "webfonts#webfont",
8690
+ "family": "Noto Serif",
8691
+ "category": "serif",
8692
+ "variants": [
8693
+ "regular",
8694
+ "italic",
8695
+ "700",
8696
+ "700italic"
8697
+ ],
8698
+ "subsets": [
8699
+ "latin",
8700
+ "greek",
8701
+ "latin-ext",
8702
+ "cyrillic-ext",
8703
+ "greek-ext",
8704
+ "vietnamese",
8705
+ "cyrillic"
8706
+ ],
8707
+ "version": "v4",
8708
+ "lastModified": "2016-04-25",
8709
+ "files": {
8710
+ "regular": "http://fonts.gstatic.com/s/notoserif/v4/zW6mc7bC1CWw8dH0yxY8JfesZW2xOQ-xsNqO47m55DA.ttf",
8711
+ "italic": "http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNzy3USBnSvpkopQaUR-2r7iU.ttf",
8712
+ "700": "http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPQJKKGfqHaYFsRG-T3ceEVo.ttf",
8713
+ "700italic": "http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvED2ttfZwueP-QU272T9-k4.ttf"
8714
+ }
8715
+ },
8716
+ {
8717
+ "kind": "webfonts#webfont",
8718
+ "family": "Nova Cut",
8719
+ "category": "display",
8720
+ "variants": [
8721
+ "regular"
8722
+ ],
8723
+ "subsets": [
8724
+ "latin"
8725
+ ],
8726
+ "version": "v8",
8727
+ "lastModified": "2016-04-25",
8728
+ "files": {
8729
+ "regular": "http://fonts.gstatic.com/s/novacut/v8/6q12jWcBvj0KO2cMRP97tA.ttf"
8730
+ }
8731
+ },
8732
+ {
8733
+ "kind": "webfonts#webfont",
8734
+ "family": "Nova Flat",
8735
+ "category": "display",
8736
+ "variants": [
8737
+ "regular"
8738
+ ],
8739
+ "subsets": [
8740
+ "latin"
8741
+ ],
8742
+ "version": "v8",
8743
+ "lastModified": "2016-04-25",
8744
+ "files": {
8745
+ "regular": "http://fonts.gstatic.com/s/novaflat/v8/pK7a0CoGzI684qe_XSHBqQ.ttf"
8746
+ }
8747
+ },
8748
+ {
8749
+ "kind": "webfonts#webfont",
8750
+ "family": "Nova Mono",
8751
+ "category": "monospace",
8752
+ "variants": [
8753
+ "regular"
8754
+ ],
8755
+ "subsets": [
8756
+ "latin",
8757
+ "greek"
8758
+ ],
8759
+ "version": "v7",
8760
+ "lastModified": "2016-04-25",
8761
+ "files": {
8762
+ "regular": "http://fonts.gstatic.com/s/novamono/v7/6-SChr5ZIaaasJFBkgrLNw.ttf"
8763
+ }
8764
+ },
8765
+ {
8766
+ "kind": "webfonts#webfont",
8767
+ "family": "Nova Oval",
8768
+ "category": "display",
8769
+ "variants": [
8770
+ "regular"
8771
+ ],
8772
+ "subsets": [
8773
+ "latin"
8774
+ ],
8775
+ "version": "v8",
8776
+ "lastModified": "2016-04-25",
8777
+ "files": {
8778
+ "regular": "http://fonts.gstatic.com/s/novaoval/v8/VuukVpKP8BwUf8o9W5LYQQ.ttf"
8779
+ }
8780
+ },
8781
+ {
8782
+ "kind": "webfonts#webfont",
8783
+ "family": "Nova Round",
8784
+ "category": "display",
8785
+ "variants": [
8786
+ "regular"
8787
+ ],
8788
+ "subsets": [
8789
+ "latin"
8790
+ ],
8791
+ "version": "v8",
8792
+ "lastModified": "2016-04-25",
8793
+ "files": {
8794
+ "regular": "http://fonts.gstatic.com/s/novaround/v8/7-cK3Ari_8XYYFgVMxVhDvesZW2xOQ-xsNqO47m55DA.ttf"
8795
+ }
8796
+ },
8797
+ {
8798
+ "kind": "webfonts#webfont",
8799
+ "family": "Nova Script",
8800
+ "category": "display",
8801
+ "variants": [
8802
+ "regular"
8803
+ ],
8804
+ "subsets": [
8805
+ "latin"
8806
+ ],
8807
+ "version": "v8",
8808
+ "lastModified": "2016-04-25",
8809
+ "files": {
8810
+ "regular": "http://fonts.gstatic.com/s/novascript/v8/dEvxQDLgx1M1TKY-NmBWYaCWcynf_cDxXwCLxiixG1c.ttf"
8811
+ }
8812
+ },
8813
+ {
8814
+ "kind": "webfonts#webfont",
8815
+ "family": "Nova Slim",
8816
+ "category": "display",
8817
+ "variants": [
8818
+ "regular"
8819
+ ],
8820
+ "subsets": [
8821
+ "latin"
8822
+ ],
8823
+ "version": "v8",
8824
+ "lastModified": "2016-04-25",
8825
+ "files": {
8826
+ "regular": "http://fonts.gstatic.com/s/novaslim/v8/rPYXC81_VL2EW-4CzBX65g.ttf"
8827
+ }
8828
+ },
8829
+ {
8830
+ "kind": "webfonts#webfont",
8831
+ "family": "Nova Square",
8832
+ "category": "display",
8833
+ "variants": [
8834
+ "regular"
8835
+ ],
8836
+ "subsets": [
8837
+ "latin"
8838
+ ],
8839
+ "version": "v8",
8840
+ "lastModified": "2016-04-25",
8841
+ "files": {
8842
+ "regular": "http://fonts.gstatic.com/s/novasquare/v8/BcBzXoaDzYX78rquGXVuSqCWcynf_cDxXwCLxiixG1c.ttf"
8843
+ }
8844
+ },
8845
+ {
8846
+ "kind": "webfonts#webfont",
8847
+ "family": "Numans",
8848
+ "category": "sans-serif",
8849
+ "variants": [
8850
+ "regular"
8851
+ ],
8852
+ "subsets": [
8853
+ "latin"
8854
+ ],
8855
+ "version": "v6",
8856
+ "lastModified": "2016-04-25",
8857
+ "files": {
8858
+ "regular": "http://fonts.gstatic.com/s/numans/v6/g5snI2p6OEjjTNmTHyBdiQ.ttf"
8859
+ }
8860
+ },
8861
+ {
8862
+ "kind": "webfonts#webfont",
8863
+ "family": "Nunito",
8864
+ "category": "sans-serif",
8865
+ "variants": [
8866
+ "300",
8867
+ "regular",
8868
+ "700"
8869
+ ],
8870
+ "subsets": [
8871
+ "latin"
8872
+ ],
8873
+ "version": "v7",
8874
+ "lastModified": "2016-04-25",
8875
+ "files": {
8876
+ "300": "http://fonts.gstatic.com/s/nunito/v7/zXQvrWBJqUooM7Xv98MrQw.ttf",
8877
+ "regular": "http://fonts.gstatic.com/s/nunito/v7/ySZTeT3IuzJj0GK6uGpbBg.ttf",
8878
+ "700": "http://fonts.gstatic.com/s/nunito/v7/aEdlqgMuYbpe4U3TnqOQMA.ttf"
8879
+ }
8880
+ },
8881
+ {
8882
+ "kind": "webfonts#webfont",
8883
+ "family": "Odor Mean Chey",
8884
+ "category": "display",
8885
+ "variants": [
8886
+ "regular"
8887
+ ],
8888
+ "subsets": [
8889
+ "khmer"
8890
+ ],
8891
+ "version": "v8",
8892
+ "lastModified": "2016-04-25",
8893
+ "files": {
8894
+ "regular": "http://fonts.gstatic.com/s/odormeanchey/v8/GK3E7EjPoBkeZhYshGFo0eVKG8sq4NyGgdteJLvqLDs.ttf"
8895
+ }
8896
+ },
8897
+ {
8898
+ "kind": "webfonts#webfont",
8899
+ "family": "Offside",
8900
+ "category": "display",
8901
+ "variants": [
8902
+ "regular"
8903
+ ],
8904
+ "subsets": [
8905
+ "latin"
8906
+ ],
8907
+ "version": "v4",
8908
+ "lastModified": "2016-04-25",
8909
+ "files": {
8910
+ "regular": "http://fonts.gstatic.com/s/offside/v4/v0C913SB8wqQUvcu1faUqw.ttf"
8911
+ }
8912
+ },
8913
+ {
8914
+ "kind": "webfonts#webfont",
8915
+ "family": "Old Standard TT",
8916
+ "category": "serif",
8917
+ "variants": [
8918
+ "regular",
8919
+ "italic",
8920
+ "700"
8921
+ ],
8922
+ "subsets": [
8923
+ "latin"
8924
+ ],
8925
+ "version": "v7",
8926
+ "lastModified": "2016-04-25",
8927
+ "files": {
8928
+ "regular": "http://fonts.gstatic.com/s/oldstandardtt/v7/n6RTCDcIPWSE8UNBa4k-DLcB5jyhm1VsHs65c3QNDr0.ttf",
8929
+ "italic": "http://fonts.gstatic.com/s/oldstandardtt/v7/QQT_AUSp4AV4dpJfIN7U5PWrQzeMtsHf8QsWQ2cZg3c.ttf",
8930
+ "700": "http://fonts.gstatic.com/s/oldstandardtt/v7/5Ywdce7XEbTSbxs__4X1_HJqbZqK7TdZ58X80Q_Lw8Y.ttf"
8931
+ }
8932
+ },
8933
+ {
8934
+ "kind": "webfonts#webfont",
8935
+ "family": "Oldenburg",
8936
+ "category": "display",
8937
+ "variants": [
8938
+ "regular"
8939
+ ],
8940
+ "subsets": [
8941
+ "latin",
8942
+ "latin-ext"
8943
+ ],
8944
+ "version": "v4",
8945
+ "lastModified": "2016-04-25",
8946
+ "files": {
8947
+ "regular": "http://fonts.gstatic.com/s/oldenburg/v4/dqA_M_uoCVXZbCO-oKBTnQ.ttf"
8948
+ }
8949
+ },
8950
+ {
8951
+ "kind": "webfonts#webfont",
8952
+ "family": "Oleo Script",
8953
+ "category": "display",
8954
+ "variants": [
8955
+ "regular",
8956
+ "700"
8957
+ ],
8958
+ "subsets": [
8959
+ "latin",
8960
+ "latin-ext"
8961
+ ],
8962
+ "version": "v5",
8963
+ "lastModified": "2016-04-25",
8964
+ "files": {
8965
+ "regular": "http://fonts.gstatic.com/s/oleoscript/v5/21stZcmPyzbQVXtmGegyqKCWcynf_cDxXwCLxiixG1c.ttf",
8966
+ "700": "http://fonts.gstatic.com/s/oleoscript/v5/hudNQFKFl98JdNnlo363fne1Pd76Vl7zRpE7NLJQ7XU.ttf"
8967
+ }
8968
+ },
8969
+ {
8970
+ "kind": "webfonts#webfont",
8971
+ "family": "Oleo Script Swash Caps",
8972
+ "category": "display",
8973
+ "variants": [
8974
+ "regular",
8975
+ "700"
8976
+ ],
8977
+ "subsets": [
8978
+ "latin",
8979
+ "latin-ext"
8980
+ ],
8981
+ "version": "v4",
8982
+ "lastModified": "2016-04-25",
8983
+ "files": {
8984
+ "regular": "http://fonts.gstatic.com/s/oleoscriptswashcaps/v4/vdWhGqsBUAP-FF3NOYTe4iMF4kXAPemmyaDpMXQ31P0.ttf",
8985
+ "700": "http://fonts.gstatic.com/s/oleoscriptswashcaps/v4/HMO3ftxA9AU5floml9c755reFYaXZ4zuJXJ8fr8OO1g.ttf"
8986
+ }
8987
+ },
8988
+ {
8989
+ "kind": "webfonts#webfont",
8990
+ "family": "Open Sans",
8991
+ "category": "sans-serif",
8992
+ "variants": [
8993
+ "300",
8994
+ "300italic",
8995
+ "regular",
8996
+ "italic",
8997
+ "600",
8998
+ "600italic",
8999
+ "700",
9000
+ "700italic",
9001
+ "800",
9002
+ "800italic"
9003
+ ],
9004
+ "subsets": [
9005
+ "latin",
9006
+ "greek",
9007
+ "latin-ext",
9008
+ "cyrillic-ext",
9009
+ "greek-ext",
9010
+ "vietnamese",
9011
+ "cyrillic"
9012
+ ],
9013
+ "version": "v13",
9014
+ "lastModified": "2016-04-25",
9015
+ "files": {
9016
+ "300": "http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTS3USBnSvpkopQaUR-2r7iU.ttf",
9017
+ "300italic": "http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxi9-WlPSxbfiI49GsXo3q0g.ttf",
9018
+ "regular": "http://fonts.gstatic.com/s/opensans/v13/IgZJs4-7SA1XX_edsoXWog.ttf",
9019
+ "italic": "http://fonts.gstatic.com/s/opensans/v13/O4NhV7_qs9r9seTo7fnsVKCWcynf_cDxXwCLxiixG1c.ttf",
9020
+ "600": "http://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSi3USBnSvpkopQaUR-2r7iU.ttf",
9021
+ "600italic": "http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxpZ7xm-Bj30Bj2KNdXDzSZg.ttf",
9022
+ "700": "http://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzC3USBnSvpkopQaUR-2r7iU.ttf",
9023
+ "700italic": "http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxne1Pd76Vl7zRpE7NLJQ7XU.ttf",
9024
+ "800": "http://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-hi3USBnSvpkopQaUR-2r7iU.ttf",
9025
+ "800italic": "http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxg89PwPrYLaRFJ-HNCU9NbA.ttf"
9026
+ }
9027
+ },
9028
+ {
9029
+ "kind": "webfonts#webfont",
9030
+ "family": "Open Sans Condensed",
9031
+ "category": "sans-serif",
9032
+ "variants": [
9033
+ "300",
9034
+ "300italic",
9035
+ "700"
9036
+ ],
9037
+ "subsets": [
9038
+ "latin",
9039
+ "greek",
9040
+ "latin-ext",
9041
+ "cyrillic-ext",
9042
+ "greek-ext",
9043
+ "vietnamese",
9044
+ "cyrillic"
9045
+ ],
9046
+ "version": "v10",
9047
+ "lastModified": "2016-04-25",
9048
+ "files": {
9049
+ "300": "http://fonts.gstatic.com/s/opensanscondensed/v10/gk5FxslNkTTHtojXrkp-xEMwSSh38KQVJx4ABtsZTnA.ttf",
9050
+ "300italic": "http://fonts.gstatic.com/s/opensanscondensed/v10/jIXlqT1WKafUSwj6s9AzV4_LkTZ_uhAwfmGJ084hlvM.ttf",
9051
+ "700": "http://fonts.gstatic.com/s/opensanscondensed/v10/gk5FxslNkTTHtojXrkp-xBEM87DM3yorPOrvA-vB930.ttf"
9052
+ }
9053
+ },
9054
+ {
9055
+ "kind": "webfonts#webfont",
9056
+ "family": "Oranienbaum",
9057
+ "category": "serif",
9058
+ "variants": [
9059
+ "regular"
9060
+ ],
9061
+ "subsets": [
9062
+ "latin",
9063
+ "latin-ext",
9064
+ "cyrillic-ext",
9065
+ "cyrillic"
9066
+ ],
9067
+ "version": "v5",
9068
+ "lastModified": "2016-04-25",
9069
+ "files": {
9070
+ "regular": "http://fonts.gstatic.com/s/oranienbaum/v5/M98jYwCSn0PaFhXXgviCoaCWcynf_cDxXwCLxiixG1c.ttf"
9071
+ }
9072
+ },
9073
+ {
9074
+ "kind": "webfonts#webfont",
9075
+ "family": "Orbitron",
9076
+ "category": "sans-serif",
9077
+ "variants": [
9078
+ "regular",
9079
+ "500",
9080
+ "700",
9081
+ "900"
9082
+ ],
9083
+ "subsets": [
9084
+ "latin"
9085
+ ],
9086
+ "version": "v7",
9087
+ "lastModified": "2016-04-25",
9088
+ "files": {
9089
+ "regular": "http://fonts.gstatic.com/s/orbitron/v7/DY8swouAZjR3RaUPRf0HDQ.ttf",
9090
+ "500": "http://fonts.gstatic.com/s/orbitron/v7/p-y_ffzMdo5JN_7ia0vYEqCWcynf_cDxXwCLxiixG1c.ttf",
9091
+ "700": "http://fonts.gstatic.com/s/orbitron/v7/PS9_6SLkY1Y6OgPO3APr6qCWcynf_cDxXwCLxiixG1c.ttf",
9092
+ "900": "http://fonts.gstatic.com/s/orbitron/v7/2I3-8i9hT294TE_pyjy9SaCWcynf_cDxXwCLxiixG1c.ttf"
9093
+ }
9094
+ },
9095
+ {
9096
+ "kind": "webfonts#webfont",
9097
+ "family": "Oregano",
9098
+ "category": "display",
9099
+ "variants": [
9100
+ "regular",
9101
+ "italic"
9102
+ ],
9103
+ "subsets": [
9104
+ "latin",
9105
+ "latin-ext"
9106
+ ],
9107
+ "version": "v4",
9108
+ "lastModified": "2016-04-25",
9109
+ "files": {
9110
+ "regular": "http://fonts.gstatic.com/s/oregano/v4/UiLhqNixVv2EpjRoBG6axA.ttf",
9111
+ "italic": "http://fonts.gstatic.com/s/oregano/v4/_iwqGEht6XsAuEaCbYG64Q.ttf"
9112
+ }
9113
+ },
9114
+ {
9115
+ "kind": "webfonts#webfont",
9116
+ "family": "Orienta",
9117
+ "category": "sans-serif",
9118
+ "variants": [
9119
+ "regular"
9120
+ ],
9121
+ "subsets": [
9122
+ "latin",
9123
+ "latin-ext"
9124
+ ],
9125
+ "version": "v4",
9126
+ "lastModified": "2016-04-25",
9127
+ "files": {
9128
+ "regular": "http://fonts.gstatic.com/s/orienta/v4/_NKSk93mMs0xsqtfjCsB3Q.ttf"
9129
+ }
9130
+ },
9131
+ {
9132
+ "kind": "webfonts#webfont",
9133
+ "family": "Original Surfer",
9134
+ "category": "display",
9135
+ "variants": [
9136
+ "regular"
9137
+ ],
9138
+ "subsets": [
9139
+ "latin"
9140
+ ],
9141
+ "version": "v5",
9142
+ "lastModified": "2016-04-25",
9143
+ "files": {
9144
+ "regular": "http://fonts.gstatic.com/s/originalsurfer/v5/gdHw6HpSIN4D6Xt7pi1-qIkEz33TDwAZczo_6fY7eg0.ttf"
9145
+ }
9146
+ },
9147
+ {
9148
+ "kind": "webfonts#webfont",
9149
+ "family": "Oswald",
9150
+ "category": "sans-serif",
9151
+ "variants": [
9152
+ "300",
9153
+ "regular",
9154
+ "700"
9155
+ ],
9156
+ "subsets": [
9157
+ "latin",
9158
+ "latin-ext"
9159
+ ],
9160
+ "version": "v10",
9161
+ "lastModified": "2016-04-25",
9162
+ "files": {
9163
+ "300": "http://fonts.gstatic.com/s/oswald/v10/y3tZpCdiRD4oNRRYFcAR5Q.ttf",
9164
+ "regular": "http://fonts.gstatic.com/s/oswald/v10/uLEd2g2vJglLPfsBF91DCg.ttf",
9165
+ "700": "http://fonts.gstatic.com/s/oswald/v10/7wj8ldV_5Ti37rHa0m1DDw.ttf"
9166
+ }
9167
+ },
9168
+ {
9169
+ "kind": "webfonts#webfont",
9170
+ "family": "Over the Rainbow",
9171
+ "category": "handwriting",
9172
+ "variants": [
9173
+ "regular"
9174
+ ],
9175
+ "subsets": [
9176
+ "latin"
9177
+ ],
9178
+ "version": "v7",
9179
+ "lastModified": "2016-04-25",
9180
+ "files": {
9181
+ "regular": "http://fonts.gstatic.com/s/overtherainbow/v7/6gp-gkpI2kie2dHQQLM2jQBdxkZd83xOSx-PAQ2QmiI.ttf"
9182
+ }
9183
+ },
9184
+ {
9185
+ "kind": "webfonts#webfont",
9186
+ "family": "Overlock",
9187
+ "category": "display",
9188
+ "variants": [
9189
+ "regular",
9190
+ "italic",
9191
+ "700",
9192
+ "700italic",
9193
+ "900",
9194
+ "900italic"
9195
+ ],
9196
+ "subsets": [
9197
+ "latin",
9198
+ "latin-ext"
9199
+ ],
9200
+ "version": "v5",
9201
+ "lastModified": "2016-04-25",
9202
+ "files": {
9203
+ "regular": "http://fonts.gstatic.com/s/overlock/v5/Z8oYsGi88-E1cUB8YBFMAg.ttf",
9204
+ "italic": "http://fonts.gstatic.com/s/overlock/v5/rq6EacukHROOBrFrK_zF6_esZW2xOQ-xsNqO47m55DA.ttf",
9205
+ "700": "http://fonts.gstatic.com/s/overlock/v5/Fexr8SqXM8Bm_gEVUA7AKaCWcynf_cDxXwCLxiixG1c.ttf",
9206
+ "700italic": "http://fonts.gstatic.com/s/overlock/v5/wFWnYgeXKYBks6gEUwYnfAJKKGfqHaYFsRG-T3ceEVo.ttf",
9207
+ "900": "http://fonts.gstatic.com/s/overlock/v5/YPJCVTT8ZbG3899l_-KIGqCWcynf_cDxXwCLxiixG1c.ttf",
9208
+ "900italic": "http://fonts.gstatic.com/s/overlock/v5/iOZhxT2zlg7W5ij_lb-oDp0EAVxt0G0biEntp43Qt6E.ttf"
9209
+ }
9210
+ },
9211
+ {
9212
+ "kind": "webfonts#webfont",
9213
+ "family": "Overlock SC",
9214
+ "category": "display",
9215
+ "variants": [
9216
+ "regular"
9217
+ ],
9218
+ "subsets": [
9219
+ "latin",
9220
+ "latin-ext"
9221
+ ],
9222
+ "version": "v5",
9223
+ "lastModified": "2016-04-25",
9224
+ "files": {
9225
+ "regular": "http://fonts.gstatic.com/s/overlocksc/v5/8D7HYDsvS_g1GhBnlHzgzaCWcynf_cDxXwCLxiixG1c.ttf"
9226
+ }
9227
+ },
9228
+ {
9229
+ "kind": "webfonts#webfont",
9230
+ "family": "Ovo",
9231
+ "category": "serif",
9232
+ "variants": [
9233
+ "regular"
9234
+ ],
9235
+ "subsets": [
9236
+ "latin"
9237
+ ],
9238
+ "version": "v7",
9239
+ "lastModified": "2016-04-25",
9240
+ "files": {
9241
+ "regular": "http://fonts.gstatic.com/s/ovo/v7/mFg27dimu3s9t09qjCwB1g.ttf"
9242
+ }
9243
+ },
9244
+ {
9245
+ "kind": "webfonts#webfont",
9246
+ "family": "Oxygen",
9247
+ "category": "sans-serif",
9248
+ "variants": [
9249
+ "300",
9250
+ "regular",
9251
+ "700"
9252
+ ],
9253
+ "subsets": [
9254
+ "latin",
9255
+ "latin-ext"
9256
+ ],
9257
+ "version": "v5",
9258
+ "lastModified": "2016-04-25",
9259
+ "files": {
9260
+ "300": "http://fonts.gstatic.com/s/oxygen/v5/lZ31r0bR1Bzt_DfGZu1S8A.ttf",
9261
+ "regular": "http://fonts.gstatic.com/s/oxygen/v5/uhoyAE7XlQL22abzQieHjw.ttf",
9262
+ "700": "http://fonts.gstatic.com/s/oxygen/v5/yLqkmDwuNtt5pSqsJmhyrg.ttf"
9263
+ }
9264
+ },
9265
+ {
9266
+ "kind": "webfonts#webfont",
9267
+ "family": "Oxygen Mono",
9268
+ "category": "monospace",
9269
+ "variants": [
9270
+ "regular"
9271
+ ],
9272
+ "subsets": [
9273
+ "latin",
9274
+ "latin-ext"
9275
+ ],
9276
+ "version": "v4",
9277
+ "lastModified": "2016-04-25",
9278
+ "files": {
9279
+ "regular": "http://fonts.gstatic.com/s/oxygenmono/v4/DigTu7k4b7OmM8ubt1Qza6CWcynf_cDxXwCLxiixG1c.ttf"
9280
+ }
9281
+ },
9282
+ {
9283
+ "kind": "webfonts#webfont",
9284
+ "family": "PT Mono",
9285
+ "category": "monospace",
9286
+ "variants": [
9287
+ "regular"
9288
+ ],
9289
+ "subsets": [
9290
+ "latin",
9291
+ "latin-ext",
9292
+ "cyrillic-ext",
9293
+ "cyrillic"
9294
+ ],
9295
+ "version": "v4",
9296
+ "lastModified": "2016-04-25",
9297
+ "files": {
9298
+ "regular": "http://fonts.gstatic.com/s/ptmono/v4/QUbM8H9yJK5NhpQ0REO6Wg.ttf"
9299
+ }
9300
+ },
9301
+ {
9302
+ "kind": "webfonts#webfont",
9303
+ "family": "PT Sans",
9304
+ "category": "sans-serif",
9305
+ "variants": [
9306
+ "regular",
9307
+ "italic",
9308
+ "700",
9309
+ "700italic"
9310
+ ],
9311
+ "subsets": [
9312
+ "latin",
9313
+ "latin-ext",
9314
+ "cyrillic-ext",
9315
+ "cyrillic"
9316
+ ],
9317
+ "version": "v8",
9318
+ "lastModified": "2016-04-25",
9319
+ "files": {
9320
+ "regular": "http://fonts.gstatic.com/s/ptsans/v8/UFoEz2uiuMypUGZL1NKoeg.ttf",
9321
+ "italic": "http://fonts.gstatic.com/s/ptsans/v8/yls9EYWOd496wiu7qzfgNg.ttf",
9322
+ "700": "http://fonts.gstatic.com/s/ptsans/v8/F51BEgHuR0tYHxF0bD4vwvesZW2xOQ-xsNqO47m55DA.ttf",
9323
+ "700italic": "http://fonts.gstatic.com/s/ptsans/v8/lILlYDvubYemzYzN7GbLkC3USBnSvpkopQaUR-2r7iU.ttf"
9324
+ }
9325
+ },
9326
+ {
9327
+ "kind": "webfonts#webfont",
9328
+ "family": "PT Sans Caption",
9329
+ "category": "sans-serif",
9330
+ "variants": [
9331
+ "regular",
9332
+ "700"
9333
+ ],
9334
+ "subsets": [
9335
+ "latin",
9336
+ "latin-ext",
9337
+ "cyrillic-ext",
9338
+ "cyrillic"
9339
+ ],
9340
+ "version": "v9",
9341
+ "lastModified": "2016-04-25",
9342
+ "files": {
9343
+ "regular": "http://fonts.gstatic.com/s/ptsanscaption/v9/OXYTDOzBcXU8MTNBvBHeSW8by34Z3mUMtM-o4y-SHCY.ttf",
9344
+ "700": "http://fonts.gstatic.com/s/ptsanscaption/v9/Q-gJrFokeE7JydPpxASt25tc0eyfI4QDEsobEEpk_hA.ttf"
9345
+ }
9346
+ },
9347
+ {
9348
+ "kind": "webfonts#webfont",
9349
+ "family": "PT Sans Narrow",
9350
+ "category": "sans-serif",
9351
+ "variants": [
9352
+ "regular",
9353
+ "700"
9354
+ ],
9355
+ "subsets": [
9356
+ "latin",
9357
+ "latin-ext",
9358
+ "cyrillic-ext",
9359
+ "cyrillic"
9360
+ ],
9361
+ "version": "v7",
9362
+ "lastModified": "2016-04-25",
9363
+ "files": {
9364
+ "regular": "http://fonts.gstatic.com/s/ptsansnarrow/v7/UyYrYy3ltEffJV9QueSi4ZTvAuddT2xDMbdz0mdLyZY.ttf",
9365
+ "700": "http://fonts.gstatic.com/s/ptsansnarrow/v7/Q_pTky3Sc3ubRibGToTAYsLtdzs3iyjn_YuT226ZsLU.ttf"
9366
+ }
9367
+ },
9368
+ {
9369
+ "kind": "webfonts#webfont",
9370
+ "family": "PT Serif",
9371
+ "category": "serif",
9372
+ "variants": [
9373
+ "regular",
9374
+ "italic",
9375
+ "700",
9376
+ "700italic"
9377
+ ],
9378
+ "subsets": [
9379
+ "latin",
9380
+ "latin-ext",
9381
+ "cyrillic-ext",
9382
+ "cyrillic"
9383
+ ],
9384
+ "version": "v8",
9385
+ "lastModified": "2016-04-25",
9386
+ "files": {
9387
+ "regular": "http://fonts.gstatic.com/s/ptserif/v8/sAo427rn3-QL9sWCbMZXhA.ttf",
9388
+ "italic": "http://fonts.gstatic.com/s/ptserif/v8/9khWhKzhpkH0OkNnBKS3n_esZW2xOQ-xsNqO47m55DA.ttf",
9389
+ "700": "http://fonts.gstatic.com/s/ptserif/v8/kyZw18tqQ5if-_wpmxxOeKCWcynf_cDxXwCLxiixG1c.ttf",
9390
+ "700italic": "http://fonts.gstatic.com/s/ptserif/v8/Foydq9xJp--nfYIx2TBz9QJKKGfqHaYFsRG-T3ceEVo.ttf"
9391
+ }
9392
+ },
9393
+ {
9394
+ "kind": "webfonts#webfont",
9395
+ "family": "PT Serif Caption",
9396
+ "category": "serif",
9397
+ "variants": [
9398
+ "regular",
9399
+ "italic"
9400
+ ],
9401
+ "subsets": [
9402
+ "latin",
9403
+ "latin-ext",
9404
+ "cyrillic-ext",
9405
+ "cyrillic"
9406
+ ],
9407
+ "version": "v8",
9408
+ "lastModified": "2016-04-25",
9409
+ "files": {
9410
+ "regular": "http://fonts.gstatic.com/s/ptserifcaption/v8/7xkFOeTxxO1GMC1suOUYWVsRioCqs5fohhaYel24W3k.ttf",
9411
+ "italic": "http://fonts.gstatic.com/s/ptserifcaption/v8/0kfPsmrmTSgiec7u_Wa0DB1mqvzPHelJwRcF_s_EUM0.ttf"
9412
+ }
9413
+ },
9414
+ {
9415
+ "kind": "webfonts#webfont",
9416
+ "family": "Pacifico",
9417
+ "category": "handwriting",
9418
+ "variants": [
9419
+ "regular"
9420
+ ],
9421
+ "subsets": [
9422
+ "latin"
9423
+ ],
9424
+ "version": "v7",
9425
+ "lastModified": "2016-04-25",
9426
+ "files": {
9427
+ "regular": "http://fonts.gstatic.com/s/pacifico/v7/GIrpeRY1r5CzbfL8r182lw.ttf"
9428
+ }
9429
+ },
9430
+ {
9431
+ "kind": "webfonts#webfont",
9432
+ "family": "Palanquin",
9433
+ "category": "sans-serif",
9434
+ "variants": [
9435
+ "100",
9436
+ "200",
9437
+ "300",
9438
+ "regular",
9439
+ "500",
9440
+ "600",
9441
+ "700"
9442
+ ],
9443
+ "subsets": [
9444
+ "latin",
9445
+ "devanagari",
9446
+ "latin-ext"
9447
+ ],
9448
+ "version": "v1",
9449
+ "lastModified": "2016-04-25",
9450
+ "files": {
9451
+ "100": "http://fonts.gstatic.com/s/palanquin/v1/Hu0eGDVGK_g4saUFu6AK3KCWcynf_cDxXwCLxiixG1c.ttf",
9452
+ "200": "http://fonts.gstatic.com/s/palanquin/v1/pqXYXD7-VI5ezTjeqQOcyC3USBnSvpkopQaUR-2r7iU.ttf",
9453
+ "300": "http://fonts.gstatic.com/s/palanquin/v1/c0-J5OCAagpFCKkKraz-Ey3USBnSvpkopQaUR-2r7iU.ttf",
9454
+ "regular": "http://fonts.gstatic.com/s/palanquin/v1/xCwBUoAEV0kzCDwerAZ0Aw.ttf",
9455
+ "500": "http://fonts.gstatic.com/s/palanquin/v1/wLvvkEcZMKy95afLWh2EfC3USBnSvpkopQaUR-2r7iU.ttf",
9456
+ "600": "http://fonts.gstatic.com/s/palanquin/v1/405UIAv95_yZkCECrH6y-i3USBnSvpkopQaUR-2r7iU.ttf",
9457
+ "700": "http://fonts.gstatic.com/s/palanquin/v1/-UtkePo3NFvxEN3rGCtTvi3USBnSvpkopQaUR-2r7iU.ttf"
9458
+ }
9459
+ },
9460
+ {
9461
+ "kind": "webfonts#webfont",
9462
+ "family": "Palanquin Dark",
9463
+ "category": "sans-serif",
9464
+ "variants": [
9465
+ "regular",
9466
+ "500",
9467
+ "600",
9468
+ "700"
9469
+ ],
9470
+ "subsets": [
9471
+ "latin",
9472
+ "devanagari",
9473
+ "latin-ext"
9474
+ ],
9475
+ "version": "v1",
9476
+ "lastModified": "2016-04-25",
9477
+ "files": {
9478
+ "regular": "http://fonts.gstatic.com/s/palanquindark/v1/PamTqrrgbBh_M3702w39rOfChn3JSg5yz_Q_xmrKQN0.ttf",
9479
+ "500": "http://fonts.gstatic.com/s/palanquindark/v1/iXyBGf5UbFUu6BG8hOY-maMZTo-EwKMRQt3RWHocLi0.ttf",
9480
+ "600": "http://fonts.gstatic.com/s/palanquindark/v1/iXyBGf5UbFUu6BG8hOY-mVNxaunw8i4Gywrk2SigRnk.ttf",
9481
+ "700": "http://fonts.gstatic.com/s/palanquindark/v1/iXyBGf5UbFUu6BG8hOY-mWToair6W0TEE44XrlfKbiM.ttf"
9482
+ }
9483
+ },
9484
+ {
9485
+ "kind": "webfonts#webfont",
9486
+ "family": "Paprika",
9487
+ "category": "display",
9488
+ "variants": [
9489
+ "regular"
9490
+ ],
9491
+ "subsets": [
9492
+ "latin"
9493
+ ],
9494
+ "version": "v4",
9495
+ "lastModified": "2016-04-25",
9496
+ "files": {
9497
+ "regular": "http://fonts.gstatic.com/s/paprika/v4/b-VpyoRSieBdB5BPJVF8HQ.ttf"
9498
+ }
9499
+ },
9500
+ {
9501
+ "kind": "webfonts#webfont",
9502
+ "family": "Parisienne",
9503
+ "category": "handwriting",
9504
+ "variants": [
9505
+ "regular"
9506
+ ],
9507
+ "subsets": [
9508
+ "latin",
9509
+ "latin-ext"
9510
+ ],
9511
+ "version": "v4",
9512
+ "lastModified": "2016-04-25",
9513
+ "files": {
9514
+ "regular": "http://fonts.gstatic.com/s/parisienne/v4/TW74B5QISJNx9moxGlmJfvesZW2xOQ-xsNqO47m55DA.ttf"
9515
+ }
9516
+ },
9517
+ {
9518
+ "kind": "webfonts#webfont",
9519
+ "family": "Passero One",
9520
+ "category": "display",
9521
+ "variants": [
9522
+ "regular"
9523
+ ],
9524
+ "subsets": [
9525
+ "latin",
9526
+ "latin-ext"
9527
+ ],
9528
+ "version": "v8",
9529
+ "lastModified": "2016-04-25",
9530
+ "files": {
9531
+ "regular": "http://fonts.gstatic.com/s/passeroone/v8/Yc-7nH5deCCv9Ed0MMnAQqCWcynf_cDxXwCLxiixG1c.ttf"
9532
+ }
9533
+ },
9534
+ {
9535
+ "kind": "webfonts#webfont",
9536
+ "family": "Passion One",
9537
+ "category": "display",
9538
+ "variants": [
9539
+ "regular",
9540
+ "700",
9541
+ "900"
9542
+ ],
9543
+ "subsets": [
9544
+ "latin",
9545
+ "latin-ext"
9546
+ ],
9547
+ "version": "v6",
9548
+ "lastModified": "2016-04-25",
9549
+ "files": {
9550
+ "regular": "http://fonts.gstatic.com/s/passionone/v6/1UIK1tg3bKJ4J3o35M4heqCWcynf_cDxXwCLxiixG1c.ttf",
9551
+ "700": "http://fonts.gstatic.com/s/passionone/v6/feOcYDy2R-f3Ysy72PYJ2ne1Pd76Vl7zRpE7NLJQ7XU.ttf",
9552
+ "900": "http://fonts.gstatic.com/s/passionone/v6/feOcYDy2R-f3Ysy72PYJ2ienaqEuufTBk9XMKnKmgDA.ttf"
9553
+ }
9554
+ },
9555
+ {
9556
+ "kind": "webfonts#webfont",
9557
+ "family": "Pathway Gothic One",
9558
+ "category": "sans-serif",
9559
+ "variants": [
9560
+ "regular"
9561
+ ],
9562
+ "subsets": [
9563
+ "latin",
9564
+ "latin-ext"
9565
+ ],
9566
+ "version": "v4",
9567
+ "lastModified": "2016-04-25",
9568
+ "files": {
9569
+ "regular": "http://fonts.gstatic.com/s/pathwaygothicone/v4/Lqv9ztoTUV8Q0FmQZzPqaA6A6xIYD7vYcYDop1i-K-c.ttf"
9570
+ }
9571
+ },
9572
+ {
9573
+ "kind": "webfonts#webfont",
9574
+ "family": "Patrick Hand",
9575
+ "category": "handwriting",
9576
+ "variants": [
9577
+ "regular"
9578
+ ],
9579
+ "subsets": [
9580
+ "latin",
9581
+ "latin-ext",
9582
+ "vietnamese"
9583
+ ],
9584
+ "version": "v10",
9585
+ "lastModified": "2016-04-25",
9586
+ "files": {
9587
+ "regular": "http://fonts.gstatic.com/s/patrickhand/v10/9BG3JJgt_HlF3NpEUehL0C3USBnSvpkopQaUR-2r7iU.ttf"
9588
+ }
9589
+ },
9590
+ {
9591
+ "kind": "webfonts#webfont",
9592
+ "family": "Patrick Hand SC",
9593
+ "category": "handwriting",
9594
+ "variants": [
9595
+ "regular"
9596
+ ],
9597
+ "subsets": [
9598
+ "latin",
9599
+ "latin-ext",
9600
+ "vietnamese"
9601
+ ],
9602
+ "version": "v4",
9603
+ "lastModified": "2016-04-25",
9604
+ "files": {
9605
+ "regular": "http://fonts.gstatic.com/s/patrickhandsc/v4/OYFWCgfCR-7uHIovjUZXsbAgSRh1LpJXlLfl8IbsmHg.ttf"
9606
+ }
9607
+ },
9608
+ {
9609
+ "kind": "webfonts#webfont",
9610
+ "family": "Patua One",
9611
+ "category": "display",
9612
+ "variants": [
9613
+ "regular"
9614
+ ],
9615
+ "subsets": [
9616
+ "latin"
9617
+ ],
9618
+ "version": "v6",
9619
+ "lastModified": "2016-04-25",
9620
+ "files": {
9621
+ "regular": "http://fonts.gstatic.com/s/patuaone/v6/njZwotTYjswR4qdhsW-kJw.ttf"
9622
+ }
9623
+ },
9624
+ {
9625
+ "kind": "webfonts#webfont",
9626
+ "family": "Paytone One",
9627
+ "category": "sans-serif",
9628
+ "variants": [
9629
+ "regular"
9630
+ ],
9631
+ "subsets": [
9632
+ "latin"
9633
+ ],
9634
+ "version": "v8",
9635
+ "lastModified": "2016-04-25",
9636
+ "files": {
9637
+ "regular": "http://fonts.gstatic.com/s/paytoneone/v8/3WCxC7JAJjQHQVoIE0ZwvqCWcynf_cDxXwCLxiixG1c.ttf"
9638
+ }
9639
+ },
9640
+ {
9641
+ "kind": "webfonts#webfont",
9642
+ "family": "Peddana",
9643
+ "category": "serif",
9644
+ "variants": [
9645
+ "regular"
9646
+ ],
9647
+ "subsets": [
9648
+ "latin",
9649
+ "telugu"
9650
+ ],
9651
+ "version": "v4",
9652
+ "lastModified": "2016-04-25",
9653
+ "files": {
9654
+ "regular": "http://fonts.gstatic.com/s/peddana/v4/zaSZuj_GhmC8AOTugOROnA.ttf"
9655
+ }
9656
+ },
9657
+ {
9658
+ "kind": "webfonts#webfont",
9659
+ "family": "Peralta",
9660
+ "category": "display",
9661
+ "variants": [
9662
+ "regular"
9663
+ ],
9664
+ "subsets": [
9665
+ "latin",
9666
+ "latin-ext"
9667
+ ],
9668
+ "version": "v4",
9669
+ "lastModified": "2016-04-25",
9670
+ "files": {
9671
+ "regular": "http://fonts.gstatic.com/s/peralta/v4/cTJX5KEuc0GKRU9NXSm-8Q.ttf"
9672
+ }
9673
+ },
9674
+ {
9675
+ "kind": "webfonts#webfont",
9676
+ "family": "Permanent Marker",
9677
+ "category": "handwriting",
9678
+ "variants": [
9679
+ "regular"
9680
+ ],
9681
+ "subsets": [
9682
+ "latin"
9683
+ ],
9684
+ "version": "v5",
9685
+ "lastModified": "2016-04-25",
9686
+ "files": {
9687
+ "regular": "http://fonts.gstatic.com/s/permanentmarker/v5/9vYsg5VgPHKK8SXYbf3sMol14xj5tdg9OHF8w4E7StQ.ttf"
9688
+ }
9689
+ },
9690
+ {
9691
+ "kind": "webfonts#webfont",
9692
+ "family": "Petit Formal Script",
9693
+ "category": "handwriting",
9694
+ "variants": [
9695
+ "regular"
9696
+ ],
9697
+ "subsets": [
9698
+ "latin",
9699
+ "latin-ext"
9700
+ ],
9701
+ "version": "v4",
9702
+ "lastModified": "2016-04-25",
9703
+ "files": {
9704
+ "regular": "http://fonts.gstatic.com/s/petitformalscript/v4/OEZwr2-ovBsq2n3ACCKoEvVPl2Gjtxj0D6F7QLy1VQc.ttf"
9705
+ }
9706
+ },
9707
+ {
9708
+ "kind": "webfonts#webfont",
9709
+ "family": "Petrona",
9710
+ "category": "serif",
9711
+ "variants": [
9712
+ "regular"
9713
+ ],
9714
+ "subsets": [
9715
+ "latin"
9716
+ ],
9717
+ "version": "v5",
9718
+ "lastModified": "2016-04-25",
9719
+ "files": {
9720
+ "regular": "http://fonts.gstatic.com/s/petrona/v5/nnQwxlP6dhrGovYEFtemTg.ttf"
9721
+ }
9722
+ },
9723
+ {
9724
+ "kind": "webfonts#webfont",
9725
+ "family": "Philosopher",
9726
+ "category": "sans-serif",
9727
+ "variants": [
9728
+ "regular",
9729
+ "italic",
9730
+ "700",
9731
+ "700italic"
9732
+ ],
9733
+ "subsets": [
9734
+ "latin",
9735
+ "cyrillic"
9736
+ ],
9737
+ "version": "v7",
9738
+ "lastModified": "2016-04-25",
9739
+ "files": {
9740
+ "regular": "http://fonts.gstatic.com/s/philosopher/v7/oZLTrB9jmJsyV0u_T0TKEaCWcynf_cDxXwCLxiixG1c.ttf",
9741
+ "italic": "http://fonts.gstatic.com/s/philosopher/v7/_9Hnc_gz9k7Qq6uKaeHKmUeOrDcLawS7-ssYqLr2Xp4.ttf",
9742
+ "700": "http://fonts.gstatic.com/s/philosopher/v7/napvkewXG9Gqby5vwGHICHe1Pd76Vl7zRpE7NLJQ7XU.ttf",
9743
+ "700italic": "http://fonts.gstatic.com/s/philosopher/v7/PuKlryTcvTj7-qZWfLCFIM_zJjSACmk0BRPxQqhnNLU.ttf"
9744
+ }
9745
+ },
9746
+ {
9747
+ "kind": "webfonts#webfont",
9748
+ "family": "Piedra",
9749
+ "category": "display",
9750
+ "variants": [
9751
+ "regular"
9752
+ ],
9753
+ "subsets": [
9754
+ "latin",
9755
+ "latin-ext"
9756
+ ],
9757
+ "version": "v5",
9758
+ "lastModified": "2016-04-25",
9759
+ "files": {
9760
+ "regular": "http://fonts.gstatic.com/s/piedra/v5/owf-AvEEyAj9LJ2tVZ_3Mw.ttf"
9761
+ }
9762
+ },
9763
+ {
9764
+ "kind": "webfonts#webfont",
9765
+ "family": "Pinyon Script",
9766
+ "category": "handwriting",
9767
+ "variants": [
9768
+ "regular"
9769
+ ],
9770
+ "subsets": [
9771
+ "latin"
9772
+ ],
9773
+ "version": "v6",
9774
+ "lastModified": "2016-04-25",
9775
+ "files": {
9776
+ "regular": "http://fonts.gstatic.com/s/pinyonscript/v6/TzghnhfCn7TuE73f-CBQ0CeUSrabuTpOsMEiRLtKwk0.ttf"
9777
+ }
9778
+ },
9779
+ {
9780
+ "kind": "webfonts#webfont",
9781
+ "family": "Pirata One",
9782
+ "category": "display",
9783
+ "variants": [
9784
+ "regular"
9785
+ ],
9786
+ "subsets": [
9787
+ "latin",
9788
+ "latin-ext"
9789
+ ],
9790
+ "version": "v4",
9791
+ "lastModified": "2016-04-25",
9792
+ "files": {
9793
+ "regular": "http://fonts.gstatic.com/s/pirataone/v4/WnbD86B4vB2ckYcL7oxuhvesZW2xOQ-xsNqO47m55DA.ttf"
9794
+ }
9795
+ },
9796
+ {
9797
+ "kind": "webfonts#webfont",
9798
+ "family": "Plaster",
9799
+ "category": "display",
9800
+ "variants": [
9801
+ "regular"
9802
+ ],
9803
+ "subsets": [
9804
+ "latin",
9805
+ "latin-ext"
9806
+ ],
9807
+ "version": "v7",
9808
+ "lastModified": "2016-04-25",
9809
+ "files": {
9810
+ "regular": "http://fonts.gstatic.com/s/plaster/v7/O4QG9Z5116CXyfJdR9zxLw.ttf"
9811
+ }
9812
+ },
9813
+ {
9814
+ "kind": "webfonts#webfont",
9815
+ "family": "Play",
9816
+ "category": "sans-serif",
9817
+ "variants": [
9818
+ "regular",
9819
+ "700"
9820
+ ],
9821
+ "subsets": [
9822
+ "latin",
9823
+ "greek",
9824
+ "latin-ext",
9825
+ "cyrillic-ext",
9826
+ "cyrillic"
9827
+ ],
9828
+ "version": "v7",
9829
+ "lastModified": "2016-04-25",
9830
+ "files": {
9831
+ "regular": "http://fonts.gstatic.com/s/play/v7/GWvfObW8LhtsOX333MCpBg.ttf",
9832
+ "700": "http://fonts.gstatic.com/s/play/v7/crPhg6I0alLI-MpB3vW-zw.ttf"
9833
+ }
9834
+ },
9835
+ {
9836
+ "kind": "webfonts#webfont",
9837
+ "family": "Playball",
9838
+ "category": "display",
9839
+ "variants": [
9840
+ "regular"
9841
+ ],
9842
+ "subsets": [
9843
+ "latin",
9844
+ "latin-ext"
9845
+ ],
9846
+ "version": "v6",
9847
+ "lastModified": "2016-04-25",
9848
+ "files": {
9849
+ "regular": "http://fonts.gstatic.com/s/playball/v6/3hOFiQm_EUzycTpcN9uz4w.ttf"
9850
+ }
9851
+ },
9852
+ {
9853
+ "kind": "webfonts#webfont",
9854
+ "family": "Playfair Display",
9855
+ "category": "serif",
9856
+ "variants": [
9857
+ "regular",
9858
+ "italic",
9859
+ "700",
9860
+ "700italic",
9861
+ "900",
9862
+ "900italic"
9863
+ ],
9864
+ "subsets": [
9865
+ "latin",
9866
+ "latin-ext",
9867
+ "cyrillic"
9868
+ ],
9869
+ "version": "v10",
9870
+ "lastModified": "2016-04-25",
9871
+ "files": {
9872
+ "regular": "http://fonts.gstatic.com/s/playfairdisplay/v10/2NBgzUtEeyB-Xtpr9bm1CV6uyC_qD11hrFQ6EGgTJWI.ttf",
9873
+ "italic": "http://fonts.gstatic.com/s/playfairdisplay/v10/9MkijrV-dEJ0-_NWV7E6NzMsbnvDNEBX25F5HWk9AhI.ttf",
9874
+ "700": "http://fonts.gstatic.com/s/playfairdisplay/v10/UC3ZEjagJi85gF9qFaBgICsv6SrURqJprbhH_C1Mw8w.ttf",
9875
+ "700italic": "http://fonts.gstatic.com/s/playfairdisplay/v10/n7G4PqJvFP2Kubl0VBLDECsYW3XoOVcYyYdp9NzzS9E.ttf",
9876
+ "900": "http://fonts.gstatic.com/s/playfairdisplay/v10/UC3ZEjagJi85gF9qFaBgIKqwMe2wjvZrAR44M0BJZ48.ttf",
9877
+ "900italic": "http://fonts.gstatic.com/s/playfairdisplay/v10/n7G4PqJvFP2Kubl0VBLDEC0JfJ4xmm7j1kL6D7mPxrA.ttf"
9878
+ }
9879
+ },
9880
+ {
9881
+ "kind": "webfonts#webfont",
9882
+ "family": "Playfair Display SC",
9883
+ "category": "serif",
9884
+ "variants": [
9885
+ "regular",
9886
+ "italic",
9887
+ "700",
9888
+ "700italic",
9889
+ "900",
9890
+ "900italic"
9891
+ ],
9892
+ "subsets": [
9893
+ "latin",
9894
+ "latin-ext",
9895
+ "cyrillic"
9896
+ ],
9897
+ "version": "v5",
9898
+ "lastModified": "2016-04-25",
9899
+ "files": {
9900
+ "regular": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/G0-tvBxd4eQRdwFKB8dRkcpjYTDWIvcAwAccqeW9uNM.ttf",
9901
+ "italic": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/myuYiFR-4NTrUT4w6TKls2klJsJYggW8rlNoTOTuau0.ttf",
9902
+ "700": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/5ggqGkvWJU_TtW2W8cEubA-Amcyomnuy4WsCiPxGHjw.ttf",
9903
+ "700italic": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/6X0OQrQhEEnPo56RalREX4krgPi80XvBcbTwmz-rgmU.ttf",
9904
+ "900": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/5ggqGkvWJU_TtW2W8cEubKXL3C32k275YmX_AcBPZ7w.ttf",
9905
+ "900italic": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/6X0OQrQhEEnPo56RalREX8Zag2q3ssKz8uH1RU4a9gs.ttf"
9906
+ }
9907
+ },
9908
+ {
9909
+ "kind": "webfonts#webfont",
9910
+ "family": "Podkova",
9911
+ "category": "serif",
9912
+ "variants": [
9913
+ "regular",
9914
+ "700"
9915
+ ],
9916
+ "subsets": [
9917
+ "latin"
9918
+ ],
9919
+ "version": "v8",
9920
+ "lastModified": "2016-04-25",
9921
+ "files": {
9922
+ "regular": "http://fonts.gstatic.com/s/podkova/v8/eylljyGVfB8ZUQjYY3WZRQ.ttf",
9923
+ "700": "http://fonts.gstatic.com/s/podkova/v8/SqW4aa8m_KVrOgYSydQ33vesZW2xOQ-xsNqO47m55DA.ttf"
9924
+ }
9925
+ },
9926
+ {
9927
+ "kind": "webfonts#webfont",
9928
+ "family": "Poiret One",
9929
+ "category": "display",
9930
+ "variants": [
9931
+ "regular"
9932
+ ],
9933
+ "subsets": [
9934
+ "latin",
9935
+ "latin-ext",
9936
+ "cyrillic"
9937
+ ],
9938
+ "version": "v4",
9939
+ "lastModified": "2016-04-25",
9940
+ "files": {
9941
+ "regular": "http://fonts.gstatic.com/s/poiretone/v4/dWcYed048E5gHGDIt8i1CPesZW2xOQ-xsNqO47m55DA.ttf"
9942
+ }
9943
+ },
9944
+ {
9945
+ "kind": "webfonts#webfont",
9946
+ "family": "Poller One",
9947
+ "category": "display",
9948
+ "variants": [
9949
+ "regular"
9950
+ ],
9951
+ "subsets": [
9952
+ "latin"
9953
+ ],
9954
+ "version": "v6",
9955
+ "lastModified": "2016-04-25",
9956
+ "files": {
9957
+ "regular": "http://fonts.gstatic.com/s/pollerone/v6/dkctmDlTPcZ6boC8662RA_esZW2xOQ-xsNqO47m55DA.ttf"
9958
+ }
9959
+ },
9960
+ {
9961
+ "kind": "webfonts#webfont",
9962
+ "family": "Poly",
9963
+ "category": "serif",
9964
+ "variants": [
9965
+ "regular",
9966
+ "italic"
9967
+ ],
9968
+ "subsets": [
9969
+ "latin"
9970
+ ],
9971
+ "version": "v7",
9972
+ "lastModified": "2016-04-25",
9973
+ "files": {
9974
+ "regular": "http://fonts.gstatic.com/s/poly/v7/bcMAuiacS2qkd54BcwW6_Q.ttf",
9975
+ "italic": "http://fonts.gstatic.com/s/poly/v7/Zkx-eIlZSjKUrPGYhV5PeA.ttf"
9976
+ }
9977
+ },
9978
+ {
9979
+ "kind": "webfonts#webfont",
9980
+ "family": "Pompiere",
9981
+ "category": "display",
9982
+ "variants": [
9983
+ "regular"
9984
+ ],
9985
+ "subsets": [
9986
+ "latin"
9987
+ ],
9988
+ "version": "v6",
9989
+ "lastModified": "2016-04-25",
9990
+ "files": {
9991
+ "regular": "http://fonts.gstatic.com/s/pompiere/v6/o_va2p9CD5JfmFohAkGZIA.ttf"
9992
+ }
9993
+ },
9994
+ {
9995
+ "kind": "webfonts#webfont",
9996
+ "family": "Pontano Sans",
9997
+ "category": "sans-serif",
9998
+ "variants": [
9999
+ "regular"
10000
+ ],
10001
+ "subsets": [
10002
+ "latin",
10003
+ "latin-ext"
10004
+ ],
10005
+ "version": "v4",
10006
+ "lastModified": "2016-04-25",
10007
+ "files": {
10008
+ "regular": "http://fonts.gstatic.com/s/pontanosans/v4/gTHiwyxi6S7iiHpqAoiE3C3USBnSvpkopQaUR-2r7iU.ttf"
10009
+ }
10010
+ },
10011
+ {
10012
+ "kind": "webfonts#webfont",
10013
+ "family": "Poppins",
10014
+ "category": "sans-serif",
10015
+ "variants": [
10016
+ "300",
10017
+ "regular",
10018
+ "500",
10019
+ "600",
10020
+ "700"
10021
+ ],
10022
+ "subsets": [
10023
+ "latin",
10024
+ "devanagari",
10025
+ "latin-ext"
10026
+ ],
10027
+ "version": "v1",
10028
+ "lastModified": "2016-04-25",
10029
+ "files": {
10030
+ "300": "http://fonts.gstatic.com/s/poppins/v1/VIeViZ2fPtYBt3B2fQZplvesZW2xOQ-xsNqO47m55DA.ttf",
10031
+ "regular": "http://fonts.gstatic.com/s/poppins/v1/hlvAxH6aIdOjWlLzgm0jqg.ttf",
10032
+ "500": "http://fonts.gstatic.com/s/poppins/v1/4WGKlFyjcmCFVl8pRsgZ9vesZW2xOQ-xsNqO47m55DA.ttf",
10033
+ "600": "http://fonts.gstatic.com/s/poppins/v1/-zOABrCWORC3lyDh-ajNnPesZW2xOQ-xsNqO47m55DA.ttf",
10034
+ "700": "http://fonts.gstatic.com/s/poppins/v1/8JitanEsk5aDh7mDYs-fYfesZW2xOQ-xsNqO47m55DA.ttf"
10035
+ }
10036
+ },
10037
+ {
10038
+ "kind": "webfonts#webfont",
10039
+ "family": "Port Lligat Sans",
10040
+ "category": "sans-serif",
10041
+ "variants": [
10042
+ "regular"
10043
+ ],
10044
+ "subsets": [
10045
+ "latin"
10046
+ ],
10047
+ "version": "v5",
10048
+ "lastModified": "2016-04-25",
10049
+ "files": {
10050
+ "regular": "http://fonts.gstatic.com/s/portlligatsans/v5/CUEdhRk7oC7up0p6t0g4P6mASEpx5X0ZpsuJOuvfOGA.ttf"
10051
+ }
10052
+ },
10053
+ {
10054
+ "kind": "webfonts#webfont",
10055
+ "family": "Port Lligat Slab",
10056
+ "category": "serif",
10057
+ "variants": [
10058
+ "regular"
10059
+ ],
10060
+ "subsets": [
10061
+ "latin"
10062
+ ],
10063
+ "version": "v5",
10064
+ "lastModified": "2016-04-25",
10065
+ "files": {
10066
+ "regular": "http://fonts.gstatic.com/s/portlligatslab/v5/CUEdhRk7oC7up0p6t0g4PxLSPACXvawUYCBEnHsOe30.ttf"
10067
+ }
10068
+ },
10069
+ {
10070
+ "kind": "webfonts#webfont",
10071
+ "family": "Pragati Narrow",
10072
+ "category": "sans-serif",
10073
+ "variants": [
10074
+ "regular",
10075
+ "700"
10076
+ ],
10077
+ "subsets": [
10078
+ "latin",
10079
+ "devanagari",
10080
+ "latin-ext"
10081
+ ],
10082
+ "version": "v2",
10083
+ "lastModified": "2016-04-25",
10084
+ "files": {
10085
+ "regular": "http://fonts.gstatic.com/s/pragatinarrow/v2/HzG2TfC862qPNsZsV_djPpTvAuddT2xDMbdz0mdLyZY.ttf",
10086
+ "700": "http://fonts.gstatic.com/s/pragatinarrow/v2/DnSI1zRkc0CY-hI5SC3q3MLtdzs3iyjn_YuT226ZsLU.ttf"
10087
+ }
10088
+ },
10089
+ {
10090
+ "kind": "webfonts#webfont",
10091
+ "family": "Prata",
10092
+ "category": "serif",
10093
+ "variants": [
10094
+ "regular"
10095
+ ],
10096
+ "subsets": [
10097
+ "latin"
10098
+ ],
10099
+ "version": "v6",
10100
+ "lastModified": "2016-04-25",
10101
+ "files": {
10102
+ "regular": "http://fonts.gstatic.com/s/prata/v6/3gmx8r842loRRm9iQkCDGg.ttf"
10103
+ }
10104
+ },
10105
+ {
10106
+ "kind": "webfonts#webfont",
10107
+ "family": "Preahvihear",
10108
+ "category": "display",
10109
+ "variants": [
10110
+ "regular"
10111
+ ],
10112
+ "subsets": [
10113
+ "khmer"
10114
+ ],
10115
+ "version": "v8",
10116
+ "lastModified": "2016-04-25",
10117
+ "files": {
10118
+ "regular": "http://fonts.gstatic.com/s/preahvihear/v8/82tDI-xTc53CxxOzEG4hDaCWcynf_cDxXwCLxiixG1c.ttf"
10119
+ }
10120
+ },
10121
+ {
10122
+ "kind": "webfonts#webfont",
10123
+ "family": "Press Start 2P",
10124
+ "category": "display",
10125
+ "variants": [
10126
+ "regular"
10127
+ ],
10128
+ "subsets": [
10129
+ "latin",
10130
+ "greek",
10131
+ "latin-ext",
10132
+ "cyrillic"
10133
+ ],
10134
+ "version": "v4",
10135
+ "lastModified": "2016-04-25",
10136
+ "files": {
10137
+ "regular": "http://fonts.gstatic.com/s/pressstart2p/v4/8Lg6LX8-ntOHUQnvQ0E7o1jfl3W46Sz5gOkEVhcFWF4.ttf"
10138
+ }
10139
+ },
10140
+ {
10141
+ "kind": "webfonts#webfont",
10142
+ "family": "Princess Sofia",
10143
+ "category": "handwriting",
10144
+ "variants": [
10145
+ "regular"
10146
+ ],
10147
+ "subsets": [
10148
+ "latin",
10149
+ "latin-ext"
10150
+ ],
10151
+ "version": "v4",
10152
+ "lastModified": "2016-04-25",
10153
+ "files": {
10154
+ "regular": "http://fonts.gstatic.com/s/princesssofia/v4/8g5l8r9BM0t1QsXLTajDe-wjmA7ie-lFcByzHGRhCIg.ttf"
10155
+ }
10156
+ },
10157
+ {
10158
+ "kind": "webfonts#webfont",
10159
+ "family": "Prociono",
10160
+ "category": "serif",
10161
+ "variants": [
10162
+ "regular"
10163
+ ],
10164
+ "subsets": [
10165
+ "latin"
10166
+ ],
10167
+ "version": "v6",
10168
+ "lastModified": "2016-04-25",
10169
+ "files": {
10170
+ "regular": "http://fonts.gstatic.com/s/prociono/v6/43ZYDHWogdFeNBWTl6ksmw.ttf"
10171
+ }
10172
+ },
10173
+ {
10174
+ "kind": "webfonts#webfont",
10175
+ "family": "Prosto One",
10176
+ "category": "display",
10177
+ "variants": [
10178
+ "regular"
10179
+ ],
10180
+ "subsets": [
10181
+ "latin",
10182
+ "latin-ext",
10183
+ "cyrillic"
10184
+ ],
10185
+ "version": "v5",
10186
+ "lastModified": "2016-04-25",
10187
+ "files": {
10188
+ "regular": "http://fonts.gstatic.com/s/prostoone/v5/bsqnAElAqk9kX7eABTRFJPesZW2xOQ-xsNqO47m55DA.ttf"
10189
+ }
10190
+ },
10191
+ {
10192
+ "kind": "webfonts#webfont",
10193
+ "family": "Puritan",
10194
+ "category": "sans-serif",
10195
+ "variants": [
10196
+ "regular",
10197
+ "italic",
10198
+ "700",
10199
+ "700italic"
10200
+ ],
10201
+ "subsets": [
10202
+ "latin"
10203
+ ],
10204
+ "version": "v8",
10205
+ "lastModified": "2016-04-25",
10206
+ "files": {
10207
+ "regular": "http://fonts.gstatic.com/s/puritan/v8/wv_RtgVBSCn-or2MC0n4Kg.ttf",
10208
+ "italic": "http://fonts.gstatic.com/s/puritan/v8/BqZX8Tp200LeMv1KlzXgLQ.ttf",
10209
+ "700": "http://fonts.gstatic.com/s/puritan/v8/pJS2SdwI0SCiVnO0iQSFT_esZW2xOQ-xsNqO47m55DA.ttf",
10210
+ "700italic": "http://fonts.gstatic.com/s/puritan/v8/rFG3XkMJL75nUNZwCEIJqC3USBnSvpkopQaUR-2r7iU.ttf"
10211
+ }
10212
+ },
10213
+ {
10214
+ "kind": "webfonts#webfont",
10215
+ "family": "Purple Purse",
10216
+ "category": "display",
10217
+ "variants": [
10218
+ "regular"
10219
+ ],
10220
+ "subsets": [
10221
+ "latin",
10222
+ "latin-ext"
10223
+ ],
10224
+ "version": "v5",
10225
+ "lastModified": "2016-04-25",
10226
+ "files": {
10227
+ "regular": "http://fonts.gstatic.com/s/purplepurse/v5/Q5heFUrdmei9axbMITxxxS3USBnSvpkopQaUR-2r7iU.ttf"
10228
+ }
10229
+ },
10230
+ {
10231
+ "kind": "webfonts#webfont",
10232
+ "family": "Quando",
10233
+ "category": "serif",
10234
+ "variants": [
10235
+ "regular"
10236
+ ],
10237
+ "subsets": [
10238
+ "latin",
10239
+ "latin-ext"
10240
+ ],
10241
+ "version": "v5",
10242
+ "lastModified": "2016-04-25",
10243
+ "files": {
10244
+ "regular": "http://fonts.gstatic.com/s/quando/v5/03nDiEZuO2-h3xvtG6UmHg.ttf"
10245
+ }
10246
+ },
10247
+ {
10248
+ "kind": "webfonts#webfont",
10249
+ "family": "Quantico",
10250
+ "category": "sans-serif",
10251
+ "variants": [
10252
+ "regular",
10253
+ "italic",
10254
+ "700",
10255
+ "700italic"
10256
+ ],
10257
+ "subsets": [
10258
+ "latin"
10259
+ ],
10260
+ "version": "v5",
10261
+ "lastModified": "2016-04-25",
10262
+ "files": {
10263
+ "regular": "http://fonts.gstatic.com/s/quantico/v5/pwSnP8Xpaix2rIz99HrSlQ.ttf",
10264
+ "italic": "http://fonts.gstatic.com/s/quantico/v5/KQhDd2OsZi6HiITUeFQ2U_esZW2xOQ-xsNqO47m55DA.ttf",
10265
+ "700": "http://fonts.gstatic.com/s/quantico/v5/OVZZzjcZ3Hkq2ojVcUtDjaCWcynf_cDxXwCLxiixG1c.ttf",
10266
+ "700italic": "http://fonts.gstatic.com/s/quantico/v5/HeCYRcZbdRso3ZUu01ELbQJKKGfqHaYFsRG-T3ceEVo.ttf"
10267
+ }
10268
+ },
10269
+ {
10270
+ "kind": "webfonts#webfont",
10271
+ "family": "Quattrocento",
10272
+ "category": "serif",
10273
+ "variants": [
10274
+ "regular",
10275
+ "700"
10276
+ ],
10277
+ "subsets": [
10278
+ "latin",
10279
+ "latin-ext"
10280
+ ],
10281
+ "version": "v7",
10282
+ "lastModified": "2016-04-25",
10283
+ "files": {
10284
+ "regular": "http://fonts.gstatic.com/s/quattrocento/v7/WZDISdyil4HsmirlOdBRFC3USBnSvpkopQaUR-2r7iU.ttf",
10285
+ "700": "http://fonts.gstatic.com/s/quattrocento/v7/Uvi-cRwyvqFpl9j3oT2mqkD2ttfZwueP-QU272T9-k4.ttf"
10286
+ }
10287
+ },
10288
+ {
10289
+ "kind": "webfonts#webfont",
10290
+ "family": "Quattrocento Sans",
10291
+ "category": "sans-serif",
10292
+ "variants": [
10293
+ "regular",
10294
+ "italic",
10295
+ "700",
10296
+ "700italic"
10297
+ ],
10298
+ "subsets": [
10299
+ "latin",
10300
+ "latin-ext"
10301
+ ],
10302
+ "version": "v8",
10303
+ "lastModified": "2016-04-25",
10304
+ "files": {
10305
+ "regular": "http://fonts.gstatic.com/s/quattrocentosans/v8/efd6FGWWGX5Z3ztwLBrG9eAj_ty82iuwwDTNEYXGiyQ.ttf",
10306
+ "italic": "http://fonts.gstatic.com/s/quattrocentosans/v8/8PXYbvM__bjl0rBnKiByg532VBCoA_HLsn85tSWZmdo.ttf",
10307
+ "700": "http://fonts.gstatic.com/s/quattrocentosans/v8/tXSgPxDl7Lk8Zr_5qX8FIbqxG25nQNOioCZSK4sU-CA.ttf",
10308
+ "700italic": "http://fonts.gstatic.com/s/quattrocentosans/v8/8N1PdXpbG6RtFvTjl-5E7buqAJxizi8Dk_SK5et7kMg.ttf"
10309
+ }
10310
+ },
10311
+ {
10312
+ "kind": "webfonts#webfont",
10313
+ "family": "Questrial",
10314
+ "category": "sans-serif",
10315
+ "variants": [
10316
+ "regular"
10317
+ ],
10318
+ "subsets": [
10319
+ "latin"
10320
+ ],
10321
+ "version": "v6",
10322
+ "lastModified": "2016-04-25",
10323
+ "files": {
10324
+ "regular": "http://fonts.gstatic.com/s/questrial/v6/MoHHaw_WwNs_hd9ob1zTVw.ttf"
10325
+ }
10326
+ },
10327
+ {
10328
+ "kind": "webfonts#webfont",
10329
+ "family": "Quicksand",
10330
+ "category": "sans-serif",
10331
+ "variants": [
10332
+ "300",
10333
+ "regular",
10334
+ "700"
10335
+ ],
10336
+ "subsets": [
10337
+ "latin"
10338
+ ],
10339
+ "version": "v5",
10340
+ "lastModified": "2016-04-25",
10341
+ "files": {
10342
+ "300": "http://fonts.gstatic.com/s/quicksand/v5/qhfoJiLu10kFjChCCTvGlC3USBnSvpkopQaUR-2r7iU.ttf",
10343
+ "regular": "http://fonts.gstatic.com/s/quicksand/v5/Ngv3fIJjKB7sD-bTUGIFCA.ttf",
10344
+ "700": "http://fonts.gstatic.com/s/quicksand/v5/32nyIRHyCu6iqEka_hbKsi3USBnSvpkopQaUR-2r7iU.ttf"
10345
+ }
10346
+ },
10347
+ {
10348
+ "kind": "webfonts#webfont",
10349
+ "family": "Quintessential",
10350
+ "category": "handwriting",
10351
+ "variants": [
10352
+ "regular"
10353
+ ],
10354
+ "subsets": [
10355
+ "latin",
10356
+ "latin-ext"
10357
+ ],
10358
+ "version": "v4",
10359
+ "lastModified": "2016-04-25",
10360
+ "files": {
10361
+ "regular": "http://fonts.gstatic.com/s/quintessential/v4/mmk6ioesnTrEky_Zb92E5s02lXbtMOtZWfuxKeMZO8Q.ttf"
10362
+ }
10363
+ },
10364
+ {
10365
+ "kind": "webfonts#webfont",
10366
+ "family": "Qwigley",
10367
+ "category": "handwriting",
10368
+ "variants": [
10369
+ "regular"
10370
+ ],
10371
+ "subsets": [
10372
+ "latin",
10373
+ "latin-ext"
10374
+ ],
10375
+ "version": "v6",
10376
+ "lastModified": "2016-04-25",
10377
+ "files": {
10378
+ "regular": "http://fonts.gstatic.com/s/qwigley/v6/aDqxws-KubFID85TZHFouw.ttf"
10379
+ }
10380
+ },
10381
+ {
10382
+ "kind": "webfonts#webfont",
10383
+ "family": "Racing Sans One",
10384
+ "category": "display",
10385
+ "variants": [
10386
+ "regular"
10387
+ ],
10388
+ "subsets": [
10389
+ "latin",
10390
+ "latin-ext"
10391
+ ],
10392
+ "version": "v4",
10393
+ "lastModified": "2016-04-25",
10394
+ "files": {
10395
+ "regular": "http://fonts.gstatic.com/s/racingsansone/v4/1r3DpWaCiT7y3PD4KgkNyDjVlsJB_M_Q_LtZxsoxvlw.ttf"
10396
+ }
10397
+ },
10398
+ {
10399
+ "kind": "webfonts#webfont",
10400
+ "family": "Radley",
10401
+ "category": "serif",
10402
+ "variants": [
10403
+ "regular",
10404
+ "italic"
10405
+ ],
10406
+ "subsets": [
10407
+ "latin",
10408
+ "latin-ext"
10409
+ ],
10410
+ "version": "v9",
10411
+ "lastModified": "2016-04-25",
10412
+ "files": {
10413
+ "regular": "http://fonts.gstatic.com/s/radley/v9/FgE9di09a-mXGzAIyI6Q9Q.ttf",
10414
+ "italic": "http://fonts.gstatic.com/s/radley/v9/Z_JcACuPAOO2f9kzQcGRug.ttf"
10415
+ }
10416
+ },
10417
+ {
10418
+ "kind": "webfonts#webfont",
10419
+ "family": "Rajdhani",
10420
+ "category": "sans-serif",
10421
+ "variants": [
10422
+ "300",
10423
+ "regular",
10424
+ "500",
10425
+ "600",
10426
+ "700"
10427
+ ],
10428
+ "subsets": [
10429
+ "latin",
10430
+ "devanagari",
10431
+ "latin-ext"
10432
+ ],
10433
+ "version": "v5",
10434
+ "lastModified": "2016-04-25",
10435
+ "files": {
10436
+ "300": "http://fonts.gstatic.com/s/rajdhani/v5/9pItuEhQZVGdq8spnHTku6CWcynf_cDxXwCLxiixG1c.ttf",
10437
+ "regular": "http://fonts.gstatic.com/s/rajdhani/v5/Wfy5zp4PGFAFS7-Wetehzw.ttf",
10438
+ "500": "http://fonts.gstatic.com/s/rajdhani/v5/nd_5ZpVwm710HcLual0fBqCWcynf_cDxXwCLxiixG1c.ttf",
10439
+ "600": "http://fonts.gstatic.com/s/rajdhani/v5/5fnmZahByDeTtgxIiqbJSaCWcynf_cDxXwCLxiixG1c.ttf",
10440
+ "700": "http://fonts.gstatic.com/s/rajdhani/v5/UBK6d2Hg7X7wYLlF92aXW6CWcynf_cDxXwCLxiixG1c.ttf"
10441
+ }
10442
+ },
10443
+ {
10444
+ "kind": "webfonts#webfont",
10445
+ "family": "Raleway",
10446
+ "category": "sans-serif",
10447
+ "variants": [
10448
+ "100",
10449
+ "100italic",
10450
+ "200",
10451
+ "200italic",
10452
+ "300",
10453
+ "300italic",
10454
+ "regular",
10455
+ "italic",
10456
+ "500",
10457
+ "500italic",
10458
+ "600",
10459
+ "600italic",
10460
+ "700",
10461
+ "700italic",
10462
+ "800",
10463
+ "800italic",
10464
+ "900",
10465
+ "900italic"
10466
+ ],
10467
+ "subsets": [
10468
+ "latin",
10469
+ "latin-ext"
10470
+ ],
10471
+ "version": "v10",
10472
+ "lastModified": "2016-04-25",
10473
+ "files": {
10474
+ "100": "http://fonts.gstatic.com/s/raleway/v10/UDfD6oxBaBnmFJwQ7XAFNw.ttf",
10475
+ "100italic": "http://fonts.gstatic.com/s/raleway/v10/hUpHtml6IPNuUR-FwVi2UKCWcynf_cDxXwCLxiixG1c.ttf",
10476
+ "200": "http://fonts.gstatic.com/s/raleway/v10/LAQwev4hdCtYkOYX4Oc7nPesZW2xOQ-xsNqO47m55DA.ttf",
10477
+ "200italic": "http://fonts.gstatic.com/s/raleway/v10/N2DIbZG4399cPGfifZUEQi3USBnSvpkopQaUR-2r7iU.ttf",
10478
+ "300": "http://fonts.gstatic.com/s/raleway/v10/2VvSZU2kb4DZwFfRM4fLQPesZW2xOQ-xsNqO47m55DA.ttf",
10479
+ "300italic": "http://fonts.gstatic.com/s/raleway/v10/TVSB8ogXDKMcnAAJ5CqrUi3USBnSvpkopQaUR-2r7iU.ttf",
10480
+ "regular": "http://fonts.gstatic.com/s/raleway/v10/_dCzxpXzIS3sL-gdJWAP8A.ttf",
10481
+ "italic": "http://fonts.gstatic.com/s/raleway/v10/utU2m1gdZSfuQpArSy5Dbw.ttf",
10482
+ "500": "http://fonts.gstatic.com/s/raleway/v10/348gn6PEmbLDWlHbbV15d_esZW2xOQ-xsNqO47m55DA.ttf",
10483
+ "500italic": "http://fonts.gstatic.com/s/raleway/v10/S7vGLZZ40c85SJgiptJGVy3USBnSvpkopQaUR-2r7iU.ttf",
10484
+ "600": "http://fonts.gstatic.com/s/raleway/v10/M7no6oPkwKYJkedjB1wqEvesZW2xOQ-xsNqO47m55DA.ttf",
10485
+ "600italic": "http://fonts.gstatic.com/s/raleway/v10/OY22yoG8EJ3IN_muVWm29C3USBnSvpkopQaUR-2r7iU.ttf",
10486
+ "700": "http://fonts.gstatic.com/s/raleway/v10/VGEV9-DrblisWOWLbK-1XPesZW2xOQ-xsNqO47m55DA.ttf",
10487
+ "700italic": "http://fonts.gstatic.com/s/raleway/v10/lFxvRPuGFG5ktd7P0WRwKi3USBnSvpkopQaUR-2r7iU.ttf",
10488
+ "800": "http://fonts.gstatic.com/s/raleway/v10/mMh0JrsYMXcLO69jgJwpUvesZW2xOQ-xsNqO47m55DA.ttf",
10489
+ "800italic": "http://fonts.gstatic.com/s/raleway/v10/us4LjTCmlYgh3W8CKujEJi3USBnSvpkopQaUR-2r7iU.ttf",
10490
+ "900": "http://fonts.gstatic.com/s/raleway/v10/ajQQGcDBLcyLpaUfD76UuPesZW2xOQ-xsNqO47m55DA.ttf",
10491
+ "900italic": "http://fonts.gstatic.com/s/raleway/v10/oY2RadnkHfshu5f0FLsgVS3USBnSvpkopQaUR-2r7iU.ttf"
10492
+ }
10493
+ },
10494
+ {
10495
+ "kind": "webfonts#webfont",
10496
+ "family": "Raleway Dots",
10497
+ "category": "display",
10498
+ "variants": [
10499
+ "regular"
10500
+ ],
10501
+ "subsets": [
10502
+ "latin",
10503
+ "latin-ext"
10504
+ ],
10505
+ "version": "v4",
10506
+ "lastModified": "2016-04-25",
10507
+ "files": {
10508
+ "regular": "http://fonts.gstatic.com/s/ralewaydots/v4/lhLgmWCRcyz-QXo8LCzTfC3USBnSvpkopQaUR-2r7iU.ttf"
10509
+ }
10510
+ },
10511
+ {
10512
+ "kind": "webfonts#webfont",
10513
+ "family": "Ramabhadra",
10514
+ "category": "sans-serif",
10515
+ "variants": [
10516
+ "regular"
10517
+ ],
10518
+ "subsets": [
10519
+ "latin",
10520
+ "telugu"
10521
+ ],
10522
+ "version": "v5",
10523
+ "lastModified": "2016-04-25",
10524
+ "files": {
10525
+ "regular": "http://fonts.gstatic.com/s/ramabhadra/v5/JyhxLXRVQChLDGADS_c5MPesZW2xOQ-xsNqO47m55DA.ttf"
10526
+ }
10527
+ },
10528
+ {
10529
+ "kind": "webfonts#webfont",
10530
+ "family": "Ramaraja",
10531
+ "category": "serif",
10532
+ "variants": [
10533
+ "regular"
10534
+ ],
10535
+ "subsets": [
10536
+ "latin",
10537
+ "telugu"
10538
+ ],
10539
+ "version": "v1",
10540
+ "lastModified": "2016-04-25",
10541
+ "files": {
10542
+ "regular": "http://fonts.gstatic.com/s/ramaraja/v1/XIqzxFapVczstBedHdQTiw.ttf"
10543
+ }
10544
+ },
10545
+ {
10546
+ "kind": "webfonts#webfont",
10547
+ "family": "Rambla",
10548
+ "category": "sans-serif",
10549
+ "variants": [
10550
+ "regular",
10551
+ "italic",
10552
+ "700",
10553
+ "700italic"
10554
+ ],
10555
+ "subsets": [
10556
+ "latin",
10557
+ "latin-ext"
10558
+ ],
10559
+ "version": "v4",
10560
+ "lastModified": "2016-04-25",
10561
+ "files": {
10562
+ "regular": "http://fonts.gstatic.com/s/rambla/v4/YaTmpvm5gFg_ShJKTQmdzg.ttf",
10563
+ "italic": "http://fonts.gstatic.com/s/rambla/v4/mhUgsKmp0qw3uATdDDAuwA.ttf",
10564
+ "700": "http://fonts.gstatic.com/s/rambla/v4/C5VZH8BxQKmnBuoC00UPpw.ttf",
10565
+ "700italic": "http://fonts.gstatic.com/s/rambla/v4/ziMzUZya6QahrKONSI1TzqCWcynf_cDxXwCLxiixG1c.ttf"
10566
+ }
10567
+ },
10568
+ {
10569
+ "kind": "webfonts#webfont",
10570
+ "family": "Rammetto One",
10571
+ "category": "display",
10572
+ "variants": [
10573
+ "regular"
10574
+ ],
10575
+ "subsets": [
10576
+ "latin",
10577
+ "latin-ext"
10578
+ ],
10579
+ "version": "v5",
10580
+ "lastModified": "2016-04-25",
10581
+ "files": {
10582
+ "regular": "http://fonts.gstatic.com/s/rammettoone/v5/mh0uQ1tV8QgSx9v_KyEYPC3USBnSvpkopQaUR-2r7iU.ttf"
10583
+ }
10584
+ },
10585
+ {
10586
+ "kind": "webfonts#webfont",
10587
+ "family": "Ranchers",
10588
+ "category": "display",
10589
+ "variants": [
10590
+ "regular"
10591
+ ],
10592
+ "subsets": [
10593
+ "latin",
10594
+ "latin-ext"
10595
+ ],
10596
+ "version": "v4",
10597
+ "lastModified": "2016-04-25",
10598
+ "files": {
10599
+ "regular": "http://fonts.gstatic.com/s/ranchers/v4/9ya8CZYhqT66VERfjQ7eLA.ttf"
10600
+ }
10601
+ },
10602
+ {
10603
+ "kind": "webfonts#webfont",
10604
+ "family": "Rancho",
10605
+ "category": "handwriting",
10606
+ "variants": [
10607
+ "regular"
10608
+ ],
10609
+ "subsets": [
10610
+ "latin"
10611
+ ],
10612
+ "version": "v6",
10613
+ "lastModified": "2016-04-25",
10614
+ "files": {
10615
+ "regular": "http://fonts.gstatic.com/s/rancho/v6/ekp3-4QykC4--6KaslRgHA.ttf"
10616
+ }
10617
+ },
10618
+ {
10619
+ "kind": "webfonts#webfont",
10620
+ "family": "Ranga",
10621
+ "category": "display",
10622
+ "variants": [
10623
+ "regular",
10624
+ "700"
10625
+ ],
10626
+ "subsets": [
10627
+ "latin",
10628
+ "devanagari",
10629
+ "latin-ext"
10630
+ ],
10631
+ "version": "v1",
10632
+ "lastModified": "2016-04-25",
10633
+ "files": {
10634
+ "regular": "http://fonts.gstatic.com/s/ranga/v1/xpW6zFTNzY1JykoBIqE1Zg.ttf",
10635
+ "700": "http://fonts.gstatic.com/s/ranga/v1/h8G_gEUH7vHKH-NkjAs34A.ttf"
10636
+ }
10637
+ },
10638
+ {
10639
+ "kind": "webfonts#webfont",
10640
+ "family": "Rationale",
10641
+ "category": "sans-serif",
10642
+ "variants": [
10643
+ "regular"
10644
+ ],
10645
+ "subsets": [
10646
+ "latin"
10647
+ ],
10648
+ "version": "v7",
10649
+ "lastModified": "2016-04-25",
10650
+ "files": {
10651
+ "regular": "http://fonts.gstatic.com/s/rationale/v7/7M2eN-di0NGLQse7HzJRfg.ttf"
10652
+ }
10653
+ },
10654
+ {
10655
+ "kind": "webfonts#webfont",
10656
+ "family": "Ravi Prakash",
10657
+ "category": "display",
10658
+ "variants": [
10659
+ "regular"
10660
+ ],
10661
+ "subsets": [
10662
+ "latin",
10663
+ "telugu"
10664
+ ],
10665
+ "version": "v3",
10666
+ "lastModified": "2016-04-25",
10667
+ "files": {
10668
+ "regular": "http://fonts.gstatic.com/s/raviprakash/v3/8EzbM7Rymjk25jWeHxbO6C3USBnSvpkopQaUR-2r7iU.ttf"
10669
+ }
10670
+ },
10671
+ {
10672
+ "kind": "webfonts#webfont",
10673
+ "family": "Redressed",
10674
+ "category": "handwriting",
10675
+ "variants": [
10676
+ "regular"
10677
+ ],
10678
+ "subsets": [
10679
+ "latin"
10680
+ ],
10681
+ "version": "v6",
10682
+ "lastModified": "2016-04-25",
10683
+ "files": {
10684
+ "regular": "http://fonts.gstatic.com/s/redressed/v6/3aZ5sTBppH3oSm5SabegtA.ttf"
10685
+ }
10686
+ },
10687
+ {
10688
+ "kind": "webfonts#webfont",
10689
+ "family": "Reenie Beanie",
10690
+ "category": "handwriting",
10691
+ "variants": [
10692
+ "regular"
10693
+ ],
10694
+ "subsets": [
10695
+ "latin"
10696
+ ],
10697
+ "version": "v7",
10698
+ "lastModified": "2016-04-25",
10699
+ "files": {
10700
+ "regular": "http://fonts.gstatic.com/s/reeniebeanie/v7/ljpKc6CdXusL1cnGUSamX4jjx0o0jr6fNXxPgYh_a8Q.ttf"
10701
+ }
10702
+ },
10703
+ {
10704
+ "kind": "webfonts#webfont",
10705
+ "family": "Revalia",
10706
+ "category": "display",
10707
+ "variants": [
10708
+ "regular"
10709
+ ],
10710
+ "subsets": [
10711
+ "latin",
10712
+ "latin-ext"
10713
+ ],
10714
+ "version": "v4",
10715
+ "lastModified": "2016-04-25",
10716
+ "files": {
10717
+ "regular": "http://fonts.gstatic.com/s/revalia/v4/1TKw66fF5_poiL0Ktgo4_A.ttf"
10718
+ }
10719
+ },
10720
+ {
10721
+ "kind": "webfonts#webfont",
10722
+ "family": "Rhodium Libre",
10723
+ "category": "serif",
10724
+ "variants": [
10725
+ "regular"
10726
+ ],
10727
+ "subsets": [
10728
+ "latin",
10729
+ "devanagari",
10730
+ "latin-ext"
10731
+ ],
10732
+ "version": "v1",
10733
+ "lastModified": "2016-04-25",
10734
+ "files": {
10735
+ "regular": "http://fonts.gstatic.com/s/rhodiumlibre/v1/Vxr7A4-xE2zsBDDI8BcseIjjx0o0jr6fNXxPgYh_a8Q.ttf"
10736
+ }
10737
+ },
10738
+ {
10739
+ "kind": "webfonts#webfont",
10740
+ "family": "Ribeye",
10741
+ "category": "display",
10742
+ "variants": [
10743
+ "regular"
10744
+ ],
10745
+ "subsets": [
10746
+ "latin",
10747
+ "latin-ext"
10748
+ ],
10749
+ "version": "v5",
10750
+ "lastModified": "2016-04-25",
10751
+ "files": {
10752
+ "regular": "http://fonts.gstatic.com/s/ribeye/v5/e5w3VE8HnWBln4Ll6lUj3Q.ttf"
10753
+ }
10754
+ },
10755
+ {
10756
+ "kind": "webfonts#webfont",
10757
+ "family": "Ribeye Marrow",
10758
+ "category": "display",
10759
+ "variants": [
10760
+ "regular"
10761
+ ],
10762
+ "subsets": [
10763
+ "latin",
10764
+ "latin-ext"
10765
+ ],
10766
+ "version": "v6",
10767
+ "lastModified": "2016-04-25",
10768
+ "files": {
10769
+ "regular": "http://fonts.gstatic.com/s/ribeyemarrow/v6/q7cBSA-4ErAXBCDFPrhlY0cTNmV93fYG7UKgsLQNQWs.ttf"
10770
+ }
10771
+ },
10772
+ {
10773
+ "kind": "webfonts#webfont",
10774
+ "family": "Righteous",
10775
+ "category": "display",
10776
+ "variants": [
10777
+ "regular"
10778
+ ],
10779
+ "subsets": [
10780
+ "latin",
10781
+ "latin-ext"
10782
+ ],
10783
+ "version": "v5",
10784
+ "lastModified": "2016-04-25",
10785
+ "files": {
10786
+ "regular": "http://fonts.gstatic.com/s/righteous/v5/0nRRWM_gCGCt2S-BCfN8WQ.ttf"
10787
+ }
10788
+ },
10789
+ {
10790
+ "kind": "webfonts#webfont",
10791
+ "family": "Risque",
10792
+ "category": "display",
10793
+ "variants": [
10794
+ "regular"
10795
+ ],
10796
+ "subsets": [
10797
+ "latin",
10798
+ "latin-ext"
10799
+ ],
10800
+ "version": "v4",
10801
+ "lastModified": "2016-04-25",
10802
+ "files": {
10803
+ "regular": "http://fonts.gstatic.com/s/risque/v4/92RnElGnl8yHP97-KV3Fyg.ttf"
10804
+ }
10805
+ },
10806
+ {
10807
+ "kind": "webfonts#webfont",
10808
+ "family": "Roboto",
10809
+ "category": "sans-serif",
10810
+ "variants": [
10811
+ "100",
10812
+ "100italic",
10813
+ "300",
10814
+ "300italic",
10815
+ "regular",
10816
+ "italic",
10817
+ "500",
10818
+ "500italic",
10819
+ "700",
10820
+ "700italic",
10821
+ "900",
10822
+ "900italic"
10823
+ ],
10824
+ "subsets": [
10825
+ "latin",
10826
+ "greek",
10827
+ "latin-ext",
10828
+ "cyrillic-ext",
10829
+ "greek-ext",
10830
+ "vietnamese",
10831
+ "cyrillic"
10832
+ ],
10833
+ "version": "v15",
10834
+ "lastModified": "2016-04-25",
10835
+ "files": {
10836
+ "100": "http://fonts.gstatic.com/s/roboto/v15/7MygqTe2zs9YkP0adA9QQQ.ttf",
10837
+ "100italic": "http://fonts.gstatic.com/s/roboto/v15/T1xnudodhcgwXCmZQ490TPesZW2xOQ-xsNqO47m55DA.ttf",
10838
+ "300": "http://fonts.gstatic.com/s/roboto/v15/dtpHsbgPEm2lVWciJZ0P-A.ttf",
10839
+ "300italic": "http://fonts.gstatic.com/s/roboto/v15/iE8HhaRzdhPxC93dOdA056CWcynf_cDxXwCLxiixG1c.ttf",
10840
+ "regular": "http://fonts.gstatic.com/s/roboto/v15/W5F8_SL0XFawnjxHGsZjJA.ttf",
10841
+ "italic": "http://fonts.gstatic.com/s/roboto/v15/hcKoSgxdnKlbH5dlTwKbow.ttf",
10842
+ "500": "http://fonts.gstatic.com/s/roboto/v15/Uxzkqj-MIMWle-XP2pDNAA.ttf",
10843
+ "500italic": "http://fonts.gstatic.com/s/roboto/v15/daIfzbEw-lbjMyv4rMUUTqCWcynf_cDxXwCLxiixG1c.ttf",
10844
+ "700": "http://fonts.gstatic.com/s/roboto/v15/bdHGHleUa-ndQCOrdpfxfw.ttf",
10845
+ "700italic": "http://fonts.gstatic.com/s/roboto/v15/owYYXKukxFDFjr0ZO8NXh6CWcynf_cDxXwCLxiixG1c.ttf",
10846
+ "900": "http://fonts.gstatic.com/s/roboto/v15/H1vB34nOKWXqzKotq25pcg.ttf",
10847
+ "900italic": "http://fonts.gstatic.com/s/roboto/v15/b9PWBSMHrT2zM5FgUdtu0aCWcynf_cDxXwCLxiixG1c.ttf"
10848
+ }
10849
+ },
10850
+ {
10851
+ "kind": "webfonts#webfont",
10852
+ "family": "Roboto Condensed",
10853
+ "category": "sans-serif",
10854
+ "variants": [
10855
+ "300",
10856
+ "300italic",
10857
+ "regular",
10858
+ "italic",
10859
+ "700",
10860
+ "700italic"
10861
+ ],
10862
+ "subsets": [
10863
+ "latin",
10864
+ "greek",
10865
+ "latin-ext",
10866
+ "cyrillic-ext",
10867
+ "greek-ext",
10868
+ "vietnamese",
10869
+ "cyrillic"
10870
+ ],
10871
+ "version": "v13",
10872
+ "lastModified": "2016-04-25",
10873
+ "files": {
10874
+ "300": "http://fonts.gstatic.com/s/robotocondensed/v13/b9QBgL0iMZfDSpmcXcE8nJRhFVcex_hajThhFkHyhYk.ttf",
10875
+ "300italic": "http://fonts.gstatic.com/s/robotocondensed/v13/mg0cGfGRUERshzBlvqxeAPYa9bgCHecWXGgisnodcS0.ttf",
10876
+ "regular": "http://fonts.gstatic.com/s/robotocondensed/v13/Zd2E9abXLFGSr9G3YK2MsKDbm6fPDOZJsR8PmdG62gY.ttf",
10877
+ "italic": "http://fonts.gstatic.com/s/robotocondensed/v13/BP5K8ZAJv9qEbmuFp8RpJY_eiqgTfYGaH0bJiUDZ5GA.ttf",
10878
+ "700": "http://fonts.gstatic.com/s/robotocondensed/v13/b9QBgL0iMZfDSpmcXcE8nPOYkGiSOYDq_T7HbIOV1hA.ttf",
10879
+ "700italic": "http://fonts.gstatic.com/s/robotocondensed/v13/mg0cGfGRUERshzBlvqxeAE2zk2RGRC3SlyyLLQfjS_8.ttf"
10880
+ }
10881
+ },
10882
+ {
10883
+ "kind": "webfonts#webfont",
10884
+ "family": "Roboto Mono",
10885
+ "category": "monospace",
10886
+ "variants": [
10887
+ "100",
10888
+ "100italic",
10889
+ "300",
10890
+ "300italic",
10891
+ "regular",
10892
+ "italic",
10893
+ "500",
10894
+ "500italic",
10895
+ "700",
10896
+ "700italic"
10897
+ ],
10898
+ "subsets": [
10899
+ "latin",
10900
+ "greek",
10901
+ "latin-ext",
10902
+ "cyrillic-ext",
10903
+ "greek-ext",
10904
+ "vietnamese",
10905
+ "cyrillic"
10906
+ ],
10907
+ "version": "v4",
10908
+ "lastModified": "2016-04-25",
10909
+ "files": {
10910
+ "100": "http://fonts.gstatic.com/s/robotomono/v4/aOIeRp72J9_Hp_8KwQ9M-YAWxXGWZ3yJw6KhWS7MxOk.ttf",
10911
+ "100italic": "http://fonts.gstatic.com/s/robotomono/v4/rqQ1zSE-ZGCKVZgew-A9dgyDtfpXZi-8rXUZYR4dumU.ttf",
10912
+ "300": "http://fonts.gstatic.com/s/robotomono/v4/N4duVc9C58uwPiY8_59Fzy9-WlPSxbfiI49GsXo3q0g.ttf",
10913
+ "300italic": "http://fonts.gstatic.com/s/robotomono/v4/1OsMuiiO6FCF2x67vzDKA2o9eWDfYYxG3A176Zl7aIg.ttf",
10914
+ "regular": "http://fonts.gstatic.com/s/robotomono/v4/eJ4cxQe85Lo39t-LVoKa26CWcynf_cDxXwCLxiixG1c.ttf",
10915
+ "italic": "http://fonts.gstatic.com/s/robotomono/v4/mE0EPT_93c7f86_WQexR3EeOrDcLawS7-ssYqLr2Xp4.ttf",
10916
+ "500": "http://fonts.gstatic.com/s/robotomono/v4/N4duVc9C58uwPiY8_59Fz8CNfqCYlB_eIx7H1TVXe60.ttf",
10917
+ "500italic": "http://fonts.gstatic.com/s/robotomono/v4/1OsMuiiO6FCF2x67vzDKA2nWRcJAYo5PSCx8UfGMHCI.ttf",
10918
+ "700": "http://fonts.gstatic.com/s/robotomono/v4/N4duVc9C58uwPiY8_59Fz3e1Pd76Vl7zRpE7NLJQ7XU.ttf",
10919
+ "700italic": "http://fonts.gstatic.com/s/robotomono/v4/1OsMuiiO6FCF2x67vzDKA8_zJjSACmk0BRPxQqhnNLU.ttf"
10920
+ }
10921
+ },
10922
+ {
10923
+ "kind": "webfonts#webfont",
10924
+ "family": "Roboto Slab",
10925
+ "category": "serif",
10926
+ "variants": [
10927
+ "100",
10928
+ "300",
10929
+ "regular",
10930
+ "700"
10931
+ ],
10932
+ "subsets": [
10933
+ "latin",
10934
+ "greek",
10935
+ "latin-ext",
10936
+ "cyrillic-ext",
10937
+ "greek-ext",
10938
+ "vietnamese",
10939
+ "cyrillic"
10940
+ ],
10941
+ "version": "v6",
10942
+ "lastModified": "2016-04-25",
10943
+ "files": {
10944
+ "100": "http://fonts.gstatic.com/s/robotoslab/v6/MEz38VLIFL-t46JUtkIEgIAWxXGWZ3yJw6KhWS7MxOk.ttf",
10945
+ "300": "http://fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJS9-WlPSxbfiI49GsXo3q0g.ttf",
10946
+ "regular": "http://fonts.gstatic.com/s/robotoslab/v6/3__ulTNA7unv0UtplybPiqCWcynf_cDxXwCLxiixG1c.ttf",
10947
+ "700": "http://fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
10948
+ }
10949
+ },
10950
+ {
10951
+ "kind": "webfonts#webfont",
10952
+ "family": "Rochester",
10953
+ "category": "handwriting",
10954
+ "variants": [
10955
+ "regular"
10956
+ ],
10957
+ "subsets": [
10958
+ "latin"
10959
+ ],
10960
+ "version": "v6",
10961
+ "lastModified": "2016-04-25",
10962
+ "files": {
10963
+ "regular": "http://fonts.gstatic.com/s/rochester/v6/bnj8tmQBiOkdji_G_yvypg.ttf"
10964
+ }
10965
+ },
10966
+ {
10967
+ "kind": "webfonts#webfont",
10968
+ "family": "Rock Salt",
10969
+ "category": "handwriting",
10970
+ "variants": [
10971
+ "regular"
10972
+ ],
10973
+ "subsets": [
10974
+ "latin"
10975
+ ],
10976
+ "version": "v6",
10977
+ "lastModified": "2016-04-25",
10978
+ "files": {
10979
+ "regular": "http://fonts.gstatic.com/s/rocksalt/v6/Zy7JF9h9WbhD9V3SFMQ1UQ.ttf"
10980
+ }
10981
+ },
10982
+ {
10983
+ "kind": "webfonts#webfont",
10984
+ "family": "Rokkitt",
10985
+ "category": "serif",
10986
+ "variants": [
10987
+ "regular",
10988
+ "700"
10989
+ ],
10990
+ "subsets": [
10991
+ "latin"
10992
+ ],
10993
+ "version": "v10",
10994
+ "lastModified": "2016-04-25",
10995
+ "files": {
10996
+ "regular": "http://fonts.gstatic.com/s/rokkitt/v10/GMA7Z_ToF8uSvpZAgnp_VQ.ttf",
10997
+ "700": "http://fonts.gstatic.com/s/rokkitt/v10/gxlo-sr3rPmvgSixYog_ofesZW2xOQ-xsNqO47m55DA.ttf"
10998
+ }
10999
+ },
11000
+ {
11001
+ "kind": "webfonts#webfont",
11002
+ "family": "Romanesco",
11003
+ "category": "handwriting",
11004
+ "variants": [
11005
+ "regular"
11006
+ ],
11007
+ "subsets": [
11008
+ "latin",
11009
+ "latin-ext"
11010
+ ],
11011
+ "version": "v5",
11012
+ "lastModified": "2016-04-25",
11013
+ "files": {
11014
+ "regular": "http://fonts.gstatic.com/s/romanesco/v5/2udIjUrpK_CPzYSxRVzD4Q.ttf"
11015
+ }
11016
+ },
11017
+ {
11018
+ "kind": "webfonts#webfont",
11019
+ "family": "Ropa Sans",
11020
+ "category": "sans-serif",
11021
+ "variants": [
11022
+ "regular",
11023
+ "italic"
11024
+ ],
11025
+ "subsets": [
11026
+ "latin",
11027
+ "latin-ext"
11028
+ ],
11029
+ "version": "v5",
11030
+ "lastModified": "2016-04-25",
11031
+ "files": {
11032
+ "regular": "http://fonts.gstatic.com/s/ropasans/v5/Gba7ZzVBuhg6nX_AoSwlkQ.ttf",
11033
+ "italic": "http://fonts.gstatic.com/s/ropasans/v5/V1zbhZQscNrh63dy5Jk2nqCWcynf_cDxXwCLxiixG1c.ttf"
11034
+ }
11035
+ },
11036
+ {
11037
+ "kind": "webfonts#webfont",
11038
+ "family": "Rosario",
11039
+ "category": "sans-serif",
11040
+ "variants": [
11041
+ "regular",
11042
+ "italic",
11043
+ "700",
11044
+ "700italic"
11045
+ ],
11046
+ "subsets": [
11047
+ "latin"
11048
+ ],
11049
+ "version": "v11",
11050
+ "lastModified": "2016-04-25",
11051
+ "files": {
11052
+ "regular": "http://fonts.gstatic.com/s/rosario/v11/bL-cEh8dXtDupB2WccA2LA.ttf",
11053
+ "italic": "http://fonts.gstatic.com/s/rosario/v11/pkflNy18HEuVVx4EOjeb_Q.ttf",
11054
+ "700": "http://fonts.gstatic.com/s/rosario/v11/nrS6PJvDWN42RP4TFWccd_esZW2xOQ-xsNqO47m55DA.ttf",
11055
+ "700italic": "http://fonts.gstatic.com/s/rosario/v11/EOgFX2Va5VGrkhn_eDpIRS3USBnSvpkopQaUR-2r7iU.ttf"
11056
+ }
11057
+ },
11058
+ {
11059
+ "kind": "webfonts#webfont",
11060
+ "family": "Rosarivo",
11061
+ "category": "serif",
11062
+ "variants": [
11063
+ "regular",
11064
+ "italic"
11065
+ ],
11066
+ "subsets": [
11067
+ "latin",
11068
+ "latin-ext"
11069
+ ],
11070
+ "version": "v4",
11071
+ "lastModified": "2016-04-25",
11072
+ "files": {
11073
+ "regular": "http://fonts.gstatic.com/s/rosarivo/v4/EmPiINK0qyqc7KSsNjJamA.ttf",
11074
+ "italic": "http://fonts.gstatic.com/s/rosarivo/v4/u3VuWsWQlX1pDqsbz4paNPesZW2xOQ-xsNqO47m55DA.ttf"
11075
+ }
11076
+ },
11077
+ {
11078
+ "kind": "webfonts#webfont",
11079
+ "family": "Rouge Script",
11080
+ "category": "handwriting",
11081
+ "variants": [
11082
+ "regular"
11083
+ ],
11084
+ "subsets": [
11085
+ "latin"
11086
+ ],
11087
+ "version": "v5",
11088
+ "lastModified": "2016-04-25",
11089
+ "files": {
11090
+ "regular": "http://fonts.gstatic.com/s/rougescript/v5/AgXDSqZJmy12qS0ixjs6Vy3USBnSvpkopQaUR-2r7iU.ttf"
11091
+ }
11092
+ },
11093
+ {
11094
+ "kind": "webfonts#webfont",
11095
+ "family": "Rozha One",
11096
+ "category": "serif",
11097
+ "variants": [
11098
+ "regular"
11099
+ ],
11100
+ "subsets": [
11101
+ "latin",
11102
+ "devanagari",
11103
+ "latin-ext"
11104
+ ],
11105
+ "version": "v2",
11106
+ "lastModified": "2016-04-25",
11107
+ "files": {
11108
+ "regular": "http://fonts.gstatic.com/s/rozhaone/v2/PyrMHQ6lucEIxwKmhqsX8A.ttf"
11109
+ }
11110
+ },
11111
+ {
11112
+ "kind": "webfonts#webfont",
11113
+ "family": "Rubik",
11114
+ "category": "sans-serif",
11115
+ "variants": [
11116
+ "300",
11117
+ "300italic",
11118
+ "regular",
11119
+ "italic",
11120
+ "500",
11121
+ "500italic",
11122
+ "700",
11123
+ "700italic",
11124
+ "900",
11125
+ "900italic"
11126
+ ],
11127
+ "subsets": [
11128
+ "latin",
11129
+ "latin-ext",
11130
+ "cyrillic"
11131
+ ],
11132
+ "version": "v1",
11133
+ "lastModified": "2016-04-25",
11134
+ "files": {
11135
+ "300": "http://fonts.gstatic.com/s/rubik/v1/o1vXYO8YwDpErHEAPAxpOg.ttf",
11136
+ "300italic": "http://fonts.gstatic.com/s/rubik/v1/NyXDvUhvZLSWiVfGa5KM-vesZW2xOQ-xsNqO47m55DA.ttf",
11137
+ "regular": "http://fonts.gstatic.com/s/rubik/v1/4sMyW_teKWHB3K8Hm-Il6A.ttf",
11138
+ "italic": "http://fonts.gstatic.com/s/rubik/v1/elD65ddI0qvNcCh42b1Iqg.ttf",
11139
+ "500": "http://fonts.gstatic.com/s/rubik/v1/D4HihERG27s-BJrQ4dvkbw.ttf",
11140
+ "500italic": "http://fonts.gstatic.com/s/rubik/v1/0hcxMdoMbXtHiEM1ebdN6PesZW2xOQ-xsNqO47m55DA.ttf",
11141
+ "700": "http://fonts.gstatic.com/s/rubik/v1/m1GGHcpLe6Mb0_sAyjXE4g.ttf",
11142
+ "700italic": "http://fonts.gstatic.com/s/rubik/v1/R4g_rs714cUXVZcdnRdHw_esZW2xOQ-xsNqO47m55DA.ttf",
11143
+ "900": "http://fonts.gstatic.com/s/rubik/v1/mOHfPRl5uP4vw7-5-dbnng.ttf",
11144
+ "900italic": "http://fonts.gstatic.com/s/rubik/v1/HH1b7kBbwInqlw8OQxRE5vesZW2xOQ-xsNqO47m55DA.ttf"
11145
+ }
11146
+ },
11147
+ {
11148
+ "kind": "webfonts#webfont",
11149
+ "family": "Rubik Mono One",
11150
+ "category": "sans-serif",
11151
+ "variants": [
11152
+ "regular"
11153
+ ],
11154
+ "subsets": [
11155
+ "latin",
11156
+ "latin-ext",
11157
+ "cyrillic"
11158
+ ],
11159
+ "version": "v5",
11160
+ "lastModified": "2016-04-25",
11161
+ "files": {
11162
+ "regular": "http://fonts.gstatic.com/s/rubikmonoone/v5/e_cupPtD4BrZzotubJD7UbAREgn5xbW23GEXXnhMQ5Y.ttf"
11163
+ }
11164
+ },
11165
+ {
11166
+ "kind": "webfonts#webfont",
11167
+ "family": "Rubik One",
11168
+ "category": "sans-serif",
11169
+ "variants": [
11170
+ "regular"
11171
+ ],
11172
+ "subsets": [
11173
+ "latin",
11174
+ "latin-ext",
11175
+ "cyrillic"
11176
+ ],
11177
+ "version": "v4",
11178
+ "lastModified": "2016-04-25",
11179
+ "files": {
11180
+ "regular": "http://fonts.gstatic.com/s/rubikone/v4/Zs6TtctNRSIR8T5PO018rQ.ttf"
11181
+ }
11182
+ },
11183
+ {
11184
+ "kind": "webfonts#webfont",
11185
+ "family": "Ruda",
11186
+ "category": "sans-serif",
11187
+ "variants": [
11188
+ "regular",
11189
+ "700",
11190
+ "900"
11191
+ ],
11192
+ "subsets": [
11193
+ "latin",
11194
+ "latin-ext"
11195
+ ],
11196
+ "version": "v7",
11197
+ "lastModified": "2016-04-25",
11198
+ "files": {
11199
+ "regular": "http://fonts.gstatic.com/s/ruda/v7/jPEIPB7DM2DNK_uBGv2HGw.ttf",
11200
+ "700": "http://fonts.gstatic.com/s/ruda/v7/JABOu1SYOHcGXVejUq4w6g.ttf",
11201
+ "900": "http://fonts.gstatic.com/s/ruda/v7/Uzusv-enCjoIrznlJJaBRw.ttf"
11202
+ }
11203
+ },
11204
+ {
11205
+ "kind": "webfonts#webfont",
11206
+ "family": "Rufina",
11207
+ "category": "serif",
11208
+ "variants": [
11209
+ "regular",
11210
+ "700"
11211
+ ],
11212
+ "subsets": [
11213
+ "latin",
11214
+ "latin-ext"
11215
+ ],
11216
+ "version": "v4",
11217
+ "lastModified": "2016-04-25",
11218
+ "files": {
11219
+ "regular": "http://fonts.gstatic.com/s/rufina/v4/s9IFr_fIemiohfZS-ZRDbQ.ttf",
11220
+ "700": "http://fonts.gstatic.com/s/rufina/v4/D0RUjXFr55y4MVZY2Ww_RA.ttf"
11221
+ }
11222
+ },
11223
+ {
11224
+ "kind": "webfonts#webfont",
11225
+ "family": "Ruge Boogie",
11226
+ "category": "handwriting",
11227
+ "variants": [
11228
+ "regular"
11229
+ ],
11230
+ "subsets": [
11231
+ "latin",
11232
+ "latin-ext"
11233
+ ],
11234
+ "version": "v7",
11235
+ "lastModified": "2016-04-25",
11236
+ "files": {
11237
+ "regular": "http://fonts.gstatic.com/s/rugeboogie/v7/U-TTmltL8aENLVIqYbI5QaCWcynf_cDxXwCLxiixG1c.ttf"
11238
+ }
11239
+ },
11240
+ {
11241
+ "kind": "webfonts#webfont",
11242
+ "family": "Ruluko",
11243
+ "category": "sans-serif",
11244
+ "variants": [
11245
+ "regular"
11246
+ ],
11247
+ "subsets": [
11248
+ "latin",
11249
+ "latin-ext"
11250
+ ],
11251
+ "version": "v4",
11252
+ "lastModified": "2016-04-25",
11253
+ "files": {
11254
+ "regular": "http://fonts.gstatic.com/s/ruluko/v4/lv4cMwJtrx_dzmlK5SDc1g.ttf"
11255
+ }
11256
+ },
11257
+ {
11258
+ "kind": "webfonts#webfont",
11259
+ "family": "Rum Raisin",
11260
+ "category": "sans-serif",
11261
+ "variants": [
11262
+ "regular"
11263
+ ],
11264
+ "subsets": [
11265
+ "latin",
11266
+ "latin-ext"
11267
+ ],
11268
+ "version": "v4",
11269
+ "lastModified": "2016-04-25",
11270
+ "files": {
11271
+ "regular": "http://fonts.gstatic.com/s/rumraisin/v4/kDiL-ntDOEq26B7kYM7cx_esZW2xOQ-xsNqO47m55DA.ttf"
11272
+ }
11273
+ },
11274
+ {
11275
+ "kind": "webfonts#webfont",
11276
+ "family": "Ruslan Display",
11277
+ "category": "display",
11278
+ "variants": [
11279
+ "regular"
11280
+ ],
11281
+ "subsets": [
11282
+ "latin",
11283
+ "latin-ext",
11284
+ "cyrillic"
11285
+ ],
11286
+ "version": "v7",
11287
+ "lastModified": "2016-04-25",
11288
+ "files": {
11289
+ "regular": "http://fonts.gstatic.com/s/ruslandisplay/v7/SREdhlyLNUfU1VssRBfs3rgH88D3l9N4auRNHrNS708.ttf"
11290
+ }
11291
+ },
11292
+ {
11293
+ "kind": "webfonts#webfont",
11294
+ "family": "Russo One",
11295
+ "category": "sans-serif",
11296
+ "variants": [
11297
+ "regular"
11298
+ ],
11299
+ "subsets": [
11300
+ "latin",
11301
+ "latin-ext",
11302
+ "cyrillic"
11303
+ ],
11304
+ "version": "v5",
11305
+ "lastModified": "2016-04-25",
11306
+ "files": {
11307
+ "regular": "http://fonts.gstatic.com/s/russoone/v5/zfwxZ--UhUc7FVfgT21PRQ.ttf"
11308
+ }
11309
+ },
11310
+ {
11311
+ "kind": "webfonts#webfont",
11312
+ "family": "Ruthie",
11313
+ "category": "handwriting",
11314
+ "variants": [
11315
+ "regular"
11316
+ ],
11317
+ "subsets": [
11318
+ "latin",
11319
+ "latin-ext"
11320
+ ],
11321
+ "version": "v6",
11322
+ "lastModified": "2016-04-25",
11323
+ "files": {
11324
+ "regular": "http://fonts.gstatic.com/s/ruthie/v6/vJ2LorukHSbWYoEs5juivg.ttf"
11325
+ }
11326
+ },
11327
+ {
11328
+ "kind": "webfonts#webfont",
11329
+ "family": "Rye",
11330
+ "category": "display",
11331
+ "variants": [
11332
+ "regular"
11333
+ ],
11334
+ "subsets": [
11335
+ "latin",
11336
+ "latin-ext"
11337
+ ],
11338
+ "version": "v4",
11339
+ "lastModified": "2016-04-25",
11340
+ "files": {
11341
+ "regular": "http://fonts.gstatic.com/s/rye/v4/VUrJlpPpSZxspl3w_yNOrQ.ttf"
11342
+ }
11343
+ },
11344
+ {
11345
+ "kind": "webfonts#webfont",
11346
+ "family": "Sacramento",
11347
+ "category": "handwriting",
11348
+ "variants": [
11349
+ "regular"
11350
+ ],
11351
+ "subsets": [
11352
+ "latin",
11353
+ "latin-ext"
11354
+ ],
11355
+ "version": "v4",
11356
+ "lastModified": "2016-04-25",
11357
+ "files": {
11358
+ "regular": "http://fonts.gstatic.com/s/sacramento/v4/_kv-qycSHMNdhjiv0Kj7BvesZW2xOQ-xsNqO47m55DA.ttf"
11359
+ }
11360
+ },
11361
+ {
11362
+ "kind": "webfonts#webfont",
11363
+ "family": "Sahitya",
11364
+ "category": "serif",
11365
+ "variants": [
11366
+ "regular",
11367
+ "700"
11368
+ ],
11369
+ "subsets": [
11370
+ "latin",
11371
+ "devanagari"
11372
+ ],
11373
+ "version": "v1",
11374
+ "lastModified": "2016-04-25",
11375
+ "files": {
11376
+ "regular": "http://fonts.gstatic.com/s/sahitya/v1/wQWULcDbZqljdTfjOUtDvw.ttf",
11377
+ "700": "http://fonts.gstatic.com/s/sahitya/v1/Zm5hNvMwUyN3tC4GMkH1l_esZW2xOQ-xsNqO47m55DA.ttf"
11378
+ }
11379
+ },
11380
+ {
11381
+ "kind": "webfonts#webfont",
11382
+ "family": "Sail",
11383
+ "category": "display",
11384
+ "variants": [
11385
+ "regular"
11386
+ ],
11387
+ "subsets": [
11388
+ "latin",
11389
+ "latin-ext"
11390
+ ],
11391
+ "version": "v7",
11392
+ "lastModified": "2016-04-25",
11393
+ "files": {
11394
+ "regular": "http://fonts.gstatic.com/s/sail/v7/iuEoG6kt-bePGvtdpL0GUQ.ttf"
11395
+ }
11396
+ },
11397
+ {
11398
+ "kind": "webfonts#webfont",
11399
+ "family": "Salsa",
11400
+ "category": "display",
11401
+ "variants": [
11402
+ "regular"
11403
+ ],
11404
+ "subsets": [
11405
+ "latin"
11406
+ ],
11407
+ "version": "v6",
11408
+ "lastModified": "2016-04-25",
11409
+ "files": {
11410
+ "regular": "http://fonts.gstatic.com/s/salsa/v6/BnpUCBmYdvggScEPs5JbpA.ttf"
11411
+ }
11412
+ },
11413
+ {
11414
+ "kind": "webfonts#webfont",
11415
+ "family": "Sanchez",
11416
+ "category": "serif",
11417
+ "variants": [
11418
+ "regular",
11419
+ "italic"
11420
+ ],
11421
+ "subsets": [
11422
+ "latin",
11423
+ "latin-ext"
11424
+ ],
11425
+ "version": "v4",
11426
+ "lastModified": "2016-04-25",
11427
+ "files": {
11428
+ "regular": "http://fonts.gstatic.com/s/sanchez/v4/BEL8ao-E2LJ5eHPLB2UAiw.ttf",
11429
+ "italic": "http://fonts.gstatic.com/s/sanchez/v4/iSrhkWLexUZzDeNxNEHtzA.ttf"
11430
+ }
11431
+ },
11432
+ {
11433
+ "kind": "webfonts#webfont",
11434
+ "family": "Sancreek",
11435
+ "category": "display",
11436
+ "variants": [
11437
+ "regular"
11438
+ ],
11439
+ "subsets": [
11440
+ "latin",
11441
+ "latin-ext"
11442
+ ],
11443
+ "version": "v7",
11444
+ "lastModified": "2016-04-25",
11445
+ "files": {
11446
+ "regular": "http://fonts.gstatic.com/s/sancreek/v7/8ZacBMraWMvHly4IJI3esw.ttf"
11447
+ }
11448
+ },
11449
+ {
11450
+ "kind": "webfonts#webfont",
11451
+ "family": "Sansita One",
11452
+ "category": "display",
11453
+ "variants": [
11454
+ "regular"
11455
+ ],
11456
+ "subsets": [
11457
+ "latin"
11458
+ ],
11459
+ "version": "v6",
11460
+ "lastModified": "2016-04-25",
11461
+ "files": {
11462
+ "regular": "http://fonts.gstatic.com/s/sansitaone/v6/xWqf68oB50JXqGIRR0h2hqCWcynf_cDxXwCLxiixG1c.ttf"
11463
+ }
11464
+ },
11465
+ {
11466
+ "kind": "webfonts#webfont",
11467
+ "family": "Sarala",
11468
+ "category": "sans-serif",
11469
+ "variants": [
11470
+ "regular",
11471
+ "700"
11472
+ ],
11473
+ "subsets": [
11474
+ "latin",
11475
+ "devanagari",
11476
+ "latin-ext"
11477
+ ],
11478
+ "version": "v1",
11479
+ "lastModified": "2016-04-25",
11480
+ "files": {
11481
+ "regular": "http://fonts.gstatic.com/s/sarala/v1/ohip9lixCHoBab7hTtgLnw.ttf",
11482
+ "700": "http://fonts.gstatic.com/s/sarala/v1/hpc9cz8KYsazwq2In_oJYw.ttf"
11483
+ }
11484
+ },
11485
+ {
11486
+ "kind": "webfonts#webfont",
11487
+ "family": "Sarina",
11488
+ "category": "display",
11489
+ "variants": [
11490
+ "regular"
11491
+ ],
11492
+ "subsets": [
11493
+ "latin",
11494
+ "latin-ext"
11495
+ ],
11496
+ "version": "v5",
11497
+ "lastModified": "2016-04-25",
11498
+ "files": {
11499
+ "regular": "http://fonts.gstatic.com/s/sarina/v5/XYtRfaSknHIU3NHdfTdXoQ.ttf"
11500
+ }
11501
+ },
11502
+ {
11503
+ "kind": "webfonts#webfont",
11504
+ "family": "Sarpanch",
11505
+ "category": "sans-serif",
11506
+ "variants": [
11507
+ "regular",
11508
+ "500",
11509
+ "600",
11510
+ "700",
11511
+ "800",
11512
+ "900"
11513
+ ],
11514
+ "subsets": [
11515
+ "latin",
11516
+ "devanagari",
11517
+ "latin-ext"
11518
+ ],
11519
+ "version": "v1",
11520
+ "lastModified": "2016-04-25",
11521
+ "files": {
11522
+ "regular": "http://fonts.gstatic.com/s/sarpanch/v1/YMBZdT27b6O5a1DADbAGSg.ttf",
11523
+ "500": "http://fonts.gstatic.com/s/sarpanch/v1/Ov7BxSrFSZYrfuJxL1LzQaCWcynf_cDxXwCLxiixG1c.ttf",
11524
+ "600": "http://fonts.gstatic.com/s/sarpanch/v1/WTnP2wnc0qSbUaaDG-2OQ6CWcynf_cDxXwCLxiixG1c.ttf",
11525
+ "700": "http://fonts.gstatic.com/s/sarpanch/v1/57kYsSpovYmFaEt2hsZhv6CWcynf_cDxXwCLxiixG1c.ttf",
11526
+ "800": "http://fonts.gstatic.com/s/sarpanch/v1/OKyqPLjdnuVghR-1TV6RzaCWcynf_cDxXwCLxiixG1c.ttf",
11527
+ "900": "http://fonts.gstatic.com/s/sarpanch/v1/JhYc2cr6kqWTo_P0vfvJR6CWcynf_cDxXwCLxiixG1c.ttf"
11528
+ }
11529
+ },
11530
+ {
11531
+ "kind": "webfonts#webfont",
11532
+ "family": "Satisfy",
11533
+ "category": "handwriting",
11534
+ "variants": [
11535
+ "regular"
11536
+ ],
11537
+ "subsets": [
11538
+ "latin"
11539
+ ],
11540
+ "version": "v6",
11541
+ "lastModified": "2016-04-25",
11542
+ "files": {
11543
+ "regular": "http://fonts.gstatic.com/s/satisfy/v6/PRlyepkd-JCGHiN8e9WV2w.ttf"
11544
+ }
11545
+ },
11546
+ {
11547
+ "kind": "webfonts#webfont",
11548
+ "family": "Scada",
11549
+ "category": "sans-serif",
11550
+ "variants": [
11551
+ "regular",
11552
+ "italic",
11553
+ "700",
11554
+ "700italic"
11555
+ ],
11556
+ "subsets": [
11557
+ "latin",
11558
+ "latin-ext",
11559
+ "cyrillic"
11560
+ ],
11561
+ "version": "v4",
11562
+ "lastModified": "2016-04-25",
11563
+ "files": {
11564
+ "regular": "http://fonts.gstatic.com/s/scada/v4/iZNC3ZEYwe3je6H-28d5Ug.ttf",
11565
+ "italic": "http://fonts.gstatic.com/s/scada/v4/PCGyLT1qNawkOUQ3uHFhBw.ttf",
11566
+ "700": "http://fonts.gstatic.com/s/scada/v4/t6XNWdMdVWUz93EuRVmifQ.ttf",
11567
+ "700italic": "http://fonts.gstatic.com/s/scada/v4/kLrBIf7V4mDMwcd_Yw7-D_esZW2xOQ-xsNqO47m55DA.ttf"
11568
+ }
11569
+ },
11570
+ {
11571
+ "kind": "webfonts#webfont",
11572
+ "family": "Scheherazade",
11573
+ "category": "serif",
11574
+ "variants": [
11575
+ "regular",
11576
+ "700"
11577
+ ],
11578
+ "subsets": [
11579
+ "latin",
11580
+ "arabic"
11581
+ ],
11582
+ "version": "v11",
11583
+ "lastModified": "2016-04-25",
11584
+ "files": {
11585
+ "regular": "http://fonts.gstatic.com/s/scheherazade/v11/AuKlqGWzUC-8XqMOmsqXiy3USBnSvpkopQaUR-2r7iU.ttf",
11586
+ "700": "http://fonts.gstatic.com/s/scheherazade/v11/C1wtT46acJkQxc6mPHwvHED2ttfZwueP-QU272T9-k4.ttf"
11587
+ }
11588
+ },
11589
+ {
11590
+ "kind": "webfonts#webfont",
11591
+ "family": "Schoolbell",
11592
+ "category": "handwriting",
11593
+ "variants": [
11594
+ "regular"
11595
+ ],
11596
+ "subsets": [
11597
+ "latin"
11598
+ ],
11599
+ "version": "v6",
11600
+ "lastModified": "2016-04-25",
11601
+ "files": {
11602
+ "regular": "http://fonts.gstatic.com/s/schoolbell/v6/95-3djEuubb3cJx-6E7j4vesZW2xOQ-xsNqO47m55DA.ttf"
11603
+ }
11604
+ },
11605
+ {
11606
+ "kind": "webfonts#webfont",
11607
+ "family": "Seaweed Script",
11608
+ "category": "display",
11609
+ "variants": [
11610
+ "regular"
11611
+ ],
11612
+ "subsets": [
11613
+ "latin",
11614
+ "latin-ext"
11615
+ ],
11616
+ "version": "v4",
11617
+ "lastModified": "2016-04-25",
11618
+ "files": {
11619
+ "regular": "http://fonts.gstatic.com/s/seaweedscript/v4/eorWAPpOvvWrPw5IHwE60BnpV0hQCek3EmWnCPrvGRM.ttf"
11620
+ }
11621
+ },
11622
+ {
11623
+ "kind": "webfonts#webfont",
11624
+ "family": "Sevillana",
11625
+ "category": "display",
11626
+ "variants": [
11627
+ "regular"
11628
+ ],
11629
+ "subsets": [
11630
+ "latin",
11631
+ "latin-ext"
11632
+ ],
11633
+ "version": "v4",
11634
+ "lastModified": "2016-04-25",
11635
+ "files": {
11636
+ "regular": "http://fonts.gstatic.com/s/sevillana/v4/6m1Nh35oP7YEt00U80Smiw.ttf"
11637
+ }
11638
+ },
11639
+ {
11640
+ "kind": "webfonts#webfont",
11641
+ "family": "Seymour One",
11642
+ "category": "sans-serif",
11643
+ "variants": [
11644
+ "regular"
11645
+ ],
11646
+ "subsets": [
11647
+ "latin",
11648
+ "latin-ext",
11649
+ "cyrillic"
11650
+ ],
11651
+ "version": "v4",
11652
+ "lastModified": "2016-04-25",
11653
+ "files": {
11654
+ "regular": "http://fonts.gstatic.com/s/seymourone/v4/HrdG2AEG_870Xb7xBVv6C6CWcynf_cDxXwCLxiixG1c.ttf"
11655
+ }
11656
+ },
11657
+ {
11658
+ "kind": "webfonts#webfont",
11659
+ "family": "Shadows Into Light",
11660
+ "category": "handwriting",
11661
+ "variants": [
11662
+ "regular"
11663
+ ],
11664
+ "subsets": [
11665
+ "latin"
11666
+ ],
11667
+ "version": "v6",
11668
+ "lastModified": "2016-04-25",
11669
+ "files": {
11670
+ "regular": "http://fonts.gstatic.com/s/shadowsintolight/v6/clhLqOv7MXn459PTh0gXYAW_5bEze-iLRNvGrRpJsfM.ttf"
11671
+ }
11672
+ },
11673
+ {
11674
+ "kind": "webfonts#webfont",
11675
+ "family": "Shadows Into Light Two",
11676
+ "category": "handwriting",
11677
+ "variants": [
11678
+ "regular"
11679
+ ],
11680
+ "subsets": [
11681
+ "latin",
11682
+ "latin-ext"
11683
+ ],
11684
+ "version": "v4",
11685
+ "lastModified": "2016-04-25",
11686
+ "files": {
11687
+ "regular": "http://fonts.gstatic.com/s/shadowsintolighttwo/v4/gDxHeefcXIo-lOuZFCn2xVQrZk-Pga5KeEE_oZjkQjQ.ttf"
11688
+ }
11689
+ },
11690
+ {
11691
+ "kind": "webfonts#webfont",
11692
+ "family": "Shanti",
11693
+ "category": "sans-serif",
11694
+ "variants": [
11695
+ "regular"
11696
+ ],
11697
+ "subsets": [
11698
+ "latin"
11699
+ ],
11700
+ "version": "v8",
11701
+ "lastModified": "2016-04-25",
11702
+ "files": {
11703
+ "regular": "http://fonts.gstatic.com/s/shanti/v8/lc4nG_JG6Q-2FQSOMMhb_w.ttf"
11704
+ }
11705
+ },
11706
+ {
11707
+ "kind": "webfonts#webfont",
11708
+ "family": "Share",
11709
+ "category": "display",
11710
+ "variants": [
11711
+ "regular",
11712
+ "italic",
11713
+ "700",
11714
+ "700italic"
11715
+ ],
11716
+ "subsets": [
11717
+ "latin",
11718
+ "latin-ext"
11719
+ ],
11720
+ "version": "v5",
11721
+ "lastModified": "2016-04-25",
11722
+ "files": {
11723
+ "regular": "http://fonts.gstatic.com/s/share/v5/1ytD7zSb_-g9I2GG67vmVw.ttf",
11724
+ "italic": "http://fonts.gstatic.com/s/share/v5/a9YGdQWFRlNJ0zClJVaY3Q.ttf",
11725
+ "700": "http://fonts.gstatic.com/s/share/v5/XrU8e7a1YKurguyY2azk1Q.ttf",
11726
+ "700italic": "http://fonts.gstatic.com/s/share/v5/A992-bLVYwAflKu6iaznufesZW2xOQ-xsNqO47m55DA.ttf"
11727
+ }
11728
+ },
11729
+ {
11730
+ "kind": "webfonts#webfont",
11731
+ "family": "Share Tech",
11732
+ "category": "sans-serif",
11733
+ "variants": [
11734
+ "regular"
11735
+ ],
11736
+ "subsets": [
11737
+ "latin"
11738
+ ],
11739
+ "version": "v4",
11740
+ "lastModified": "2016-04-25",
11741
+ "files": {
11742
+ "regular": "http://fonts.gstatic.com/s/sharetech/v4/Dq3DuZ5_0SW3oEfAWFpen_esZW2xOQ-xsNqO47m55DA.ttf"
11743
+ }
11744
+ },
11745
+ {
11746
+ "kind": "webfonts#webfont",
11747
+ "family": "Share Tech Mono",
11748
+ "category": "monospace",
11749
+ "variants": [
11750
+ "regular"
11751
+ ],
11752
+ "subsets": [
11753
+ "latin"
11754
+ ],
11755
+ "version": "v5",
11756
+ "lastModified": "2016-04-25",
11757
+ "files": {
11758
+ "regular": "http://fonts.gstatic.com/s/sharetechmono/v5/RQxK-3RA0Lnf3gnnnNrAscwD6PD0c3_abh9zHKQtbGU.ttf"
11759
+ }
11760
+ },
11761
+ {
11762
+ "kind": "webfonts#webfont",
11763
+ "family": "Shojumaru",
11764
+ "category": "display",
11765
+ "variants": [
11766
+ "regular"
11767
+ ],
11768
+ "subsets": [
11769
+ "latin",
11770
+ "latin-ext"
11771
+ ],
11772
+ "version": "v4",
11773
+ "lastModified": "2016-04-25",
11774
+ "files": {
11775
+ "regular": "http://fonts.gstatic.com/s/shojumaru/v4/WP8cxonzQQVAoI3RJQ2wug.ttf"
11776
+ }
11777
+ },
11778
+ {
11779
+ "kind": "webfonts#webfont",
11780
+ "family": "Short Stack",
11781
+ "category": "handwriting",
11782
+ "variants": [
11783
+ "regular"
11784
+ ],
11785
+ "subsets": [
11786
+ "latin"
11787
+ ],
11788
+ "version": "v6",
11789
+ "lastModified": "2016-04-25",
11790
+ "files": {
11791
+ "regular": "http://fonts.gstatic.com/s/shortstack/v6/v4dXPI0Rm8XN9gk4SDdqlqCWcynf_cDxXwCLxiixG1c.ttf"
11792
+ }
11793
+ },
11794
+ {
11795
+ "kind": "webfonts#webfont",
11796
+ "family": "Siemreap",
11797
+ "category": "display",
11798
+ "variants": [
11799
+ "regular"
11800
+ ],
11801
+ "subsets": [
11802
+ "khmer"
11803
+ ],
11804
+ "version": "v9",
11805
+ "lastModified": "2016-04-25",
11806
+ "files": {
11807
+ "regular": "http://fonts.gstatic.com/s/siemreap/v9/JSK-mOIsXwxo-zE9XDDl_g.ttf"
11808
+ }
11809
+ },
11810
+ {
11811
+ "kind": "webfonts#webfont",
11812
+ "family": "Sigmar One",
11813
+ "category": "display",
11814
+ "variants": [
11815
+ "regular"
11816
+ ],
11817
+ "subsets": [
11818
+ "latin"
11819
+ ],
11820
+ "version": "v6",
11821
+ "lastModified": "2016-04-25",
11822
+ "files": {
11823
+ "regular": "http://fonts.gstatic.com/s/sigmarone/v6/oh_5NxD5JBZksdo2EntKefesZW2xOQ-xsNqO47m55DA.ttf"
11824
+ }
11825
+ },
11826
+ {
11827
+ "kind": "webfonts#webfont",
11828
+ "family": "Signika",
11829
+ "category": "sans-serif",
11830
+ "variants": [
11831
+ "300",
11832
+ "regular",
11833
+ "600",
11834
+ "700"
11835
+ ],
11836
+ "subsets": [
11837
+ "latin",
11838
+ "latin-ext"
11839
+ ],
11840
+ "version": "v6",
11841
+ "lastModified": "2016-04-25",
11842
+ "files": {
11843
+ "300": "http://fonts.gstatic.com/s/signika/v6/0wDPonOzsYeEo-1KO78w4fesZW2xOQ-xsNqO47m55DA.ttf",
11844
+ "regular": "http://fonts.gstatic.com/s/signika/v6/WvDswbww0oAtvBg2l1L-9w.ttf",
11845
+ "600": "http://fonts.gstatic.com/s/signika/v6/lQMOF6NUN2ooR7WvB7tADvesZW2xOQ-xsNqO47m55DA.ttf",
11846
+ "700": "http://fonts.gstatic.com/s/signika/v6/lEcnfPBICWJPv5BbVNnFJPesZW2xOQ-xsNqO47m55DA.ttf"
11847
+ }
11848
+ },
11849
+ {
11850
+ "kind": "webfonts#webfont",
11851
+ "family": "Signika Negative",
11852
+ "category": "sans-serif",
11853
+ "variants": [
11854
+ "300",
11855
+ "regular",
11856
+ "600",
11857
+ "700"
11858
+ ],
11859
+ "subsets": [
11860
+ "latin",
11861
+ "latin-ext"
11862
+ ],
11863
+ "version": "v5",
11864
+ "lastModified": "2016-04-25",
11865
+ "files": {
11866
+ "300": "http://fonts.gstatic.com/s/signikanegative/v5/q5TOjIw4CenPw6C-TW06FjYFXpUPtCmIEFDvjUnLLaI.ttf",
11867
+ "regular": "http://fonts.gstatic.com/s/signikanegative/v5/Z-Q1hzbY8uAo3TpTyPFMXVM1lnCWMnren5_v6047e5A.ttf",
11868
+ "600": "http://fonts.gstatic.com/s/signikanegative/v5/q5TOjIw4CenPw6C-TW06FrKLaDJM01OezSVA2R_O3qI.ttf",
11869
+ "700": "http://fonts.gstatic.com/s/signikanegative/v5/q5TOjIw4CenPw6C-TW06FpYzPxtVvobH1w3hEppR8WI.ttf"
11870
+ }
11871
+ },
11872
+ {
11873
+ "kind": "webfonts#webfont",
11874
+ "family": "Simonetta",
11875
+ "category": "display",
11876
+ "variants": [
11877
+ "regular",
11878
+ "italic",
11879
+ "900",
11880
+ "900italic"
11881
+ ],
11882
+ "subsets": [
11883
+ "latin",
11884
+ "latin-ext"
11885
+ ],
11886
+ "version": "v5",
11887
+ "lastModified": "2016-04-25",
11888
+ "files": {
11889
+ "regular": "http://fonts.gstatic.com/s/simonetta/v5/fN8puNuahBo4EYMQgp12Yg.ttf",
11890
+ "italic": "http://fonts.gstatic.com/s/simonetta/v5/ynxQ3FqfF_Nziwy3T9ZwL6CWcynf_cDxXwCLxiixG1c.ttf",
11891
+ "900": "http://fonts.gstatic.com/s/simonetta/v5/22EwvvJ2r1VwVCxit5LcVi3USBnSvpkopQaUR-2r7iU.ttf",
11892
+ "900italic": "http://fonts.gstatic.com/s/simonetta/v5/WUXOpCgBZaRPrWtMCpeKoienaqEuufTBk9XMKnKmgDA.ttf"
11893
+ }
11894
+ },
11895
+ {
11896
+ "kind": "webfonts#webfont",
11897
+ "family": "Sintony",
11898
+ "category": "sans-serif",
11899
+ "variants": [
11900
+ "regular",
11901
+ "700"
11902
+ ],
11903
+ "subsets": [
11904
+ "latin",
11905
+ "latin-ext"
11906
+ ],
11907
+ "version": "v4",
11908
+ "lastModified": "2016-04-25",
11909
+ "files": {
11910
+ "regular": "http://fonts.gstatic.com/s/sintony/v4/IDhCijoIMev2L6Lg5QsduQ.ttf",
11911
+ "700": "http://fonts.gstatic.com/s/sintony/v4/zVXQB1wqJn6PE4dWXoYpvPesZW2xOQ-xsNqO47m55DA.ttf"
11912
+ }
11913
+ },
11914
+ {
11915
+ "kind": "webfonts#webfont",
11916
+ "family": "Sirin Stencil",
11917
+ "category": "display",
11918
+ "variants": [
11919
+ "regular"
11920
+ ],
11921
+ "subsets": [
11922
+ "latin"
11923
+ ],
11924
+ "version": "v5",
11925
+ "lastModified": "2016-04-25",
11926
+ "files": {
11927
+ "regular": "http://fonts.gstatic.com/s/sirinstencil/v5/pRpLdo0SawzO7MoBpvowsImg74kgS1F7KeR8rWhYwkU.ttf"
11928
+ }
11929
+ },
11930
+ {
11931
+ "kind": "webfonts#webfont",
11932
+ "family": "Six Caps",
11933
+ "category": "sans-serif",
11934
+ "variants": [
11935
+ "regular"
11936
+ ],
11937
+ "subsets": [
11938
+ "latin"
11939
+ ],
11940
+ "version": "v7",
11941
+ "lastModified": "2016-04-25",
11942
+ "files": {
11943
+ "regular": "http://fonts.gstatic.com/s/sixcaps/v7/_XeDnO0HOV8Er9u97If1tQ.ttf"
11944
+ }
11945
+ },
11946
+ {
11947
+ "kind": "webfonts#webfont",
11948
+ "family": "Skranji",
11949
+ "category": "display",
11950
+ "variants": [
11951
+ "regular",
11952
+ "700"
11953
+ ],
11954
+ "subsets": [
11955
+ "latin",
11956
+ "latin-ext"
11957
+ ],
11958
+ "version": "v4",
11959
+ "lastModified": "2016-04-25",
11960
+ "files": {
11961
+ "regular": "http://fonts.gstatic.com/s/skranji/v4/jnOLPS0iZmDL7dfWnW3nIw.ttf",
11962
+ "700": "http://fonts.gstatic.com/s/skranji/v4/Lcrhg-fviVkxiEgoadsI1vesZW2xOQ-xsNqO47m55DA.ttf"
11963
+ }
11964
+ },
11965
+ {
11966
+ "kind": "webfonts#webfont",
11967
+ "family": "Slabo 13px",
11968
+ "category": "serif",
11969
+ "variants": [
11970
+ "regular"
11971
+ ],
11972
+ "subsets": [
11973
+ "latin",
11974
+ "latin-ext"
11975
+ ],
11976
+ "version": "v3",
11977
+ "lastModified": "2016-04-25",
11978
+ "files": {
11979
+ "regular": "http://fonts.gstatic.com/s/slabo13px/v3/jPGWFTjRXfCSzy0qd1nqdvesZW2xOQ-xsNqO47m55DA.ttf"
11980
+ }
11981
+ },
11982
+ {
11983
+ "kind": "webfonts#webfont",
11984
+ "family": "Slabo 27px",
11985
+ "category": "serif",
11986
+ "variants": [
11987
+ "regular"
11988
+ ],
11989
+ "subsets": [
11990
+ "latin",
11991
+ "latin-ext"
11992
+ ],
11993
+ "version": "v3",
11994
+ "lastModified": "2016-04-25",
11995
+ "files": {
11996
+ "regular": "http://fonts.gstatic.com/s/slabo27px/v3/gC0o8B9eU21EafNkXlRAfPesZW2xOQ-xsNqO47m55DA.ttf"
11997
+ }
11998
+ },
11999
+ {
12000
+ "kind": "webfonts#webfont",
12001
+ "family": "Slackey",
12002
+ "category": "display",
12003
+ "variants": [
12004
+ "regular"
12005
+ ],
12006
+ "subsets": [
12007
+ "latin"
12008
+ ],
12009
+ "version": "v6",
12010
+ "lastModified": "2016-04-25",
12011
+ "files": {
12012
+ "regular": "http://fonts.gstatic.com/s/slackey/v6/evRIMNhGVCRJvCPv4kteeA.ttf"
12013
+ }
12014
+ },
12015
+ {
12016
+ "kind": "webfonts#webfont",
12017
+ "family": "Smokum",
12018
+ "category": "display",
12019
+ "variants": [
12020
+ "regular"
12021
+ ],
12022
+ "subsets": [
12023
+ "latin"
12024
+ ],
12025
+ "version": "v6",
12026
+ "lastModified": "2016-04-25",
12027
+ "files": {
12028
+ "regular": "http://fonts.gstatic.com/s/smokum/v6/8YP4BuAcy97X8WfdKfxVRw.ttf"
12029
+ }
12030
+ },
12031
+ {
12032
+ "kind": "webfonts#webfont",
12033
+ "family": "Smythe",
12034
+ "category": "display",
12035
+ "variants": [
12036
+ "regular"
12037
+ ],
12038
+ "subsets": [
12039
+ "latin"
12040
+ ],
12041
+ "version": "v7",
12042
+ "lastModified": "2016-04-25",
12043
+ "files": {
12044
+ "regular": "http://fonts.gstatic.com/s/smythe/v7/yACD1gy_MpbB9Ft42fUvYw.ttf"
12045
+ }
12046
+ },
12047
+ {
12048
+ "kind": "webfonts#webfont",
12049
+ "family": "Sniglet",
12050
+ "category": "display",
12051
+ "variants": [
12052
+ "regular",
12053
+ "800"
12054
+ ],
12055
+ "subsets": [
12056
+ "latin",
12057
+ "latin-ext"
12058
+ ],
12059
+ "version": "v7",
12060
+ "lastModified": "2016-04-25",
12061
+ "files": {
12062
+ "regular": "http://fonts.gstatic.com/s/sniglet/v7/XWhyQLHH4SpCVsHRPRgu9w.ttf",
12063
+ "800": "http://fonts.gstatic.com/s/sniglet/v7/NLF91nBmcEfkBgcEWbHFa_esZW2xOQ-xsNqO47m55DA.ttf"
12064
+ }
12065
+ },
12066
+ {
12067
+ "kind": "webfonts#webfont",
12068
+ "family": "Snippet",
12069
+ "category": "sans-serif",
12070
+ "variants": [
12071
+ "regular"
12072
+ ],
12073
+ "subsets": [
12074
+ "latin"
12075
+ ],
12076
+ "version": "v6",
12077
+ "lastModified": "2016-04-25",
12078
+ "files": {
12079
+ "regular": "http://fonts.gstatic.com/s/snippet/v6/eUcYMLq2GtHZovLlQH_9kA.ttf"
12080
+ }
12081
+ },
12082
+ {
12083
+ "kind": "webfonts#webfont",
12084
+ "family": "Snowburst One",
12085
+ "category": "display",
12086
+ "variants": [
12087
+ "regular"
12088
+ ],
12089
+ "subsets": [
12090
+ "latin",
12091
+ "latin-ext"
12092
+ ],
12093
+ "version": "v4",
12094
+ "lastModified": "2016-04-25",
12095
+ "files": {
12096
+ "regular": "http://fonts.gstatic.com/s/snowburstone/v4/zSQzKOPukXRux2oTqfYJjIjjx0o0jr6fNXxPgYh_a8Q.ttf"
12097
+ }
12098
+ },
12099
+ {
12100
+ "kind": "webfonts#webfont",
12101
+ "family": "Sofadi One",
12102
+ "category": "display",
12103
+ "variants": [
12104
+ "regular"
12105
+ ],
12106
+ "subsets": [
12107
+ "latin"
12108
+ ],
12109
+ "version": "v4",
12110
+ "lastModified": "2016-04-25",
12111
+ "files": {
12112
+ "regular": "http://fonts.gstatic.com/s/sofadione/v4/nirf4G12IcJ6KI8Eoj119fesZW2xOQ-xsNqO47m55DA.ttf"
12113
+ }
12114
+ },
12115
+ {
12116
+ "kind": "webfonts#webfont",
12117
+ "family": "Sofia",
12118
+ "category": "handwriting",
12119
+ "variants": [
12120
+ "regular"
12121
+ ],
12122
+ "subsets": [
12123
+ "latin"
12124
+ ],
12125
+ "version": "v5",
12126
+ "lastModified": "2016-04-25",
12127
+ "files": {
12128
+ "regular": "http://fonts.gstatic.com/s/sofia/v5/Imnvx0Ag9r6iDBFUY5_RaQ.ttf"
12129
+ }
12130
+ },
12131
+ {
12132
+ "kind": "webfonts#webfont",
12133
+ "family": "Sonsie One",
12134
+ "category": "display",
12135
+ "variants": [
12136
+ "regular"
12137
+ ],
12138
+ "subsets": [
12139
+ "latin",
12140
+ "latin-ext"
12141
+ ],
12142
+ "version": "v5",
12143
+ "lastModified": "2016-04-25",
12144
+ "files": {
12145
+ "regular": "http://fonts.gstatic.com/s/sonsieone/v5/KSP7xT1OSy0q2ob6RQOTWPesZW2xOQ-xsNqO47m55DA.ttf"
12146
+ }
12147
+ },
12148
+ {
12149
+ "kind": "webfonts#webfont",
12150
+ "family": "Sorts Mill Goudy",
12151
+ "category": "serif",
12152
+ "variants": [
12153
+ "regular",
12154
+ "italic"
12155
+ ],
12156
+ "subsets": [
12157
+ "latin",
12158
+ "latin-ext"
12159
+ ],
12160
+ "version": "v6",
12161
+ "lastModified": "2016-04-25",
12162
+ "files": {
12163
+ "regular": "http://fonts.gstatic.com/s/sortsmillgoudy/v6/JzRrPKdwEnE8F1TDmDLMUlIL2Qjg-Xlsg_fhGbe2P5U.ttf",
12164
+ "italic": "http://fonts.gstatic.com/s/sortsmillgoudy/v6/UUu1lKiy4hRmBWk599VL1TYNkCNSzLyoucKmbTguvr0.ttf"
12165
+ }
12166
+ },
12167
+ {
12168
+ "kind": "webfonts#webfont",
12169
+ "family": "Source Code Pro",
12170
+ "category": "monospace",
12171
+ "variants": [
12172
+ "200",
12173
+ "300",
12174
+ "regular",
12175
+ "500",
12176
+ "600",
12177
+ "700",
12178
+ "900"
12179
+ ],
12180
+ "subsets": [
12181
+ "latin",
12182
+ "latin-ext"
12183
+ ],
12184
+ "version": "v6",
12185
+ "lastModified": "2016-04-25",
12186
+ "files": {
12187
+ "200": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqaXvKVW_haheDNrHjziJZVk.ttf",
12188
+ "300": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqVP7R5lD_au4SZC6Ks_vyWs.ttf",
12189
+ "regular": "http://fonts.gstatic.com/s/sourcecodepro/v6/mrl8jkM18OlOQN8JLgasD9Rl0pGnog23EMYRrBmUzJQ.ttf",
12190
+ "500": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqX63uKwMO11Of4rJWV582wg.ttf",
12191
+ "600": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqeiMeWyi5E_-XkTgB5psiDg.ttf",
12192
+ "700": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqfgXsetDviZcdR5OzC1KPcw.ttf",
12193
+ "900": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqRA_awHl7mXRjE_LQVochcU.ttf"
12194
+ }
12195
+ },
12196
+ {
12197
+ "kind": "webfonts#webfont",
12198
+ "family": "Source Sans Pro",
12199
+ "category": "sans-serif",
12200
+ "variants": [
12201
+ "200",
12202
+ "200italic",
12203
+ "300",
12204
+ "300italic",
12205
+ "regular",
12206
+ "italic",
12207
+ "600",
12208
+ "600italic",
12209
+ "700",
12210
+ "700italic",
12211
+ "900",
12212
+ "900italic"
12213
+ ],
12214
+ "subsets": [
12215
+ "latin",
12216
+ "latin-ext",
12217
+ "vietnamese"
12218
+ ],
12219
+ "version": "v9",
12220
+ "lastModified": "2016-04-25",
12221
+ "files": {
12222
+ "200": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGKXvKVW_haheDNrHjziJZVk.ttf",
12223
+ "200italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6OptKU7UIBg2hLM7eMTU8bI.ttf",
12224
+ "300": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGFP7R5lD_au4SZC6Ks_vyWs.ttf",
12225
+ "300italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6DUpNKoQAsDux-Todp8f29w.ttf",
12226
+ "regular": "http://fonts.gstatic.com/s/sourcesanspro/v9/ODelI1aHBYDBqgeIAH2zlNRl0pGnog23EMYRrBmUzJQ.ttf",
12227
+ "italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/M2Jd71oPJhLKp0zdtTvoMwRX4TIfMQQEXLu74GftruE.ttf",
12228
+ "600": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGOiMeWyi5E_-XkTgB5psiDg.ttf",
12229
+ "600italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6Pp6lGoTTgjlW0sC4r900Co.ttf",
12230
+ "700": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGPgXsetDviZcdR5OzC1KPcw.ttf",
12231
+ "700italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6LVT4locI09aamSzFGQlDMY.ttf",
12232
+ "900": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGBA_awHl7mXRjE_LQVochcU.ttf",
12233
+ "900italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6A0NcF6HPGWR298uWIdxWv0.ttf"
12234
+ }
12235
+ },
12236
+ {
12237
+ "kind": "webfonts#webfont",
12238
+ "family": "Source Serif Pro",
12239
+ "category": "serif",
12240
+ "variants": [
12241
+ "regular",
12242
+ "600",
12243
+ "700"
12244
+ ],
12245
+ "subsets": [
12246
+ "latin",
12247
+ "latin-ext"
12248
+ ],
12249
+ "version": "v4",
12250
+ "lastModified": "2016-04-25",
12251
+ "files": {
12252
+ "regular": "http://fonts.gstatic.com/s/sourceserifpro/v4/CeUM4np2c42DV49nanp55YGL0S0YDpKs5GpLtZIQ0m4.ttf",
12253
+ "600": "http://fonts.gstatic.com/s/sourceserifpro/v4/yd5lDMt8Sva2PE17yiLarGi4cQnvCGV11m1KlXh97aQ.ttf",
12254
+ "700": "http://fonts.gstatic.com/s/sourceserifpro/v4/yd5lDMt8Sva2PE17yiLarEkpYHRvxGNSCrR82n_RDNk.ttf"
12255
+ }
12256
+ },
12257
+ {
12258
+ "kind": "webfonts#webfont",
12259
+ "family": "Special Elite",
12260
+ "category": "display",
12261
+ "variants": [
12262
+ "regular"
12263
+ ],
12264
+ "subsets": [
12265
+ "latin"
12266
+ ],
12267
+ "version": "v6",
12268
+ "lastModified": "2016-04-25",
12269
+ "files": {
12270
+ "regular": "http://fonts.gstatic.com/s/specialelite/v6/9-wW4zu3WNoD5Fjka35Jm4jjx0o0jr6fNXxPgYh_a8Q.ttf"
12271
+ }
12272
+ },
12273
+ {
12274
+ "kind": "webfonts#webfont",
12275
+ "family": "Spicy Rice",
12276
+ "category": "display",
12277
+ "variants": [
12278
+ "regular"
12279
+ ],
12280
+ "subsets": [
12281
+ "latin"
12282
+ ],
12283
+ "version": "v5",
12284
+ "lastModified": "2016-04-25",
12285
+ "files": {
12286
+ "regular": "http://fonts.gstatic.com/s/spicyrice/v5/WGCtz7cLoggXARPi9OGD6_esZW2xOQ-xsNqO47m55DA.ttf"
12287
+ }
12288
+ },
12289
+ {
12290
+ "kind": "webfonts#webfont",
12291
+ "family": "Spinnaker",
12292
+ "category": "sans-serif",
12293
+ "variants": [
12294
+ "regular"
12295
+ ],
12296
+ "subsets": [
12297
+ "latin",
12298
+ "latin-ext"
12299
+ ],
12300
+ "version": "v8",
12301
+ "lastModified": "2016-04-25",
12302
+ "files": {
12303
+ "regular": "http://fonts.gstatic.com/s/spinnaker/v8/MQdIXivKITpjROUdiN6Jgg.ttf"
12304
+ }
12305
+ },
12306
+ {
12307
+ "kind": "webfonts#webfont",
12308
+ "family": "Spirax",
12309
+ "category": "display",
12310
+ "variants": [
12311
+ "regular"
12312
+ ],
12313
+ "subsets": [
12314
+ "latin"
12315
+ ],
12316
+ "version": "v5",
12317
+ "lastModified": "2016-04-25",
12318
+ "files": {
12319
+ "regular": "http://fonts.gstatic.com/s/spirax/v5/IOKqhk-Ccl7y31yDsePPkw.ttf"
12320
+ }
12321
+ },
12322
+ {
12323
+ "kind": "webfonts#webfont",
12324
+ "family": "Squada One",
12325
+ "category": "display",
12326
+ "variants": [
12327
+ "regular"
12328
+ ],
12329
+ "subsets": [
12330
+ "latin"
12331
+ ],
12332
+ "version": "v5",
12333
+ "lastModified": "2016-04-25",
12334
+ "files": {
12335
+ "regular": "http://fonts.gstatic.com/s/squadaone/v5/3tzGuaJdD65cZVgfQzN8uvesZW2xOQ-xsNqO47m55DA.ttf"
12336
+ }
12337
+ },
12338
+ {
12339
+ "kind": "webfonts#webfont",
12340
+ "family": "Sree Krushnadevaraya",
12341
+ "category": "serif",
12342
+ "variants": [
12343
+ "regular"
12344
+ ],
12345
+ "subsets": [
12346
+ "latin",
12347
+ "telugu"
12348
+ ],
12349
+ "version": "v4",
12350
+ "lastModified": "2016-04-25",
12351
+ "files": {
12352
+ "regular": "http://fonts.gstatic.com/s/sreekrushnadevaraya/v4/CdsXmnHyEqVl1ahzOh5qnzjDZVem5Eb4d0dXjXa0F_Q.ttf"
12353
+ }
12354
+ },
12355
+ {
12356
+ "kind": "webfonts#webfont",
12357
+ "family": "Stalemate",
12358
+ "category": "handwriting",
12359
+ "variants": [
12360
+ "regular"
12361
+ ],
12362
+ "subsets": [
12363
+ "latin",
12364
+ "latin-ext"
12365
+ ],
12366
+ "version": "v4",
12367
+ "lastModified": "2016-04-25",
12368
+ "files": {
12369
+ "regular": "http://fonts.gstatic.com/s/stalemate/v4/wQLCnG0qB6mOu2Wit2dt_w.ttf"
12370
+ }
12371
+ },
12372
+ {
12373
+ "kind": "webfonts#webfont",
12374
+ "family": "Stalinist One",
12375
+ "category": "display",
12376
+ "variants": [
12377
+ "regular"
12378
+ ],
12379
+ "subsets": [
12380
+ "latin",
12381
+ "latin-ext",
12382
+ "cyrillic"
12383
+ ],
12384
+ "version": "v8",
12385
+ "lastModified": "2016-04-25",
12386
+ "files": {
12387
+ "regular": "http://fonts.gstatic.com/s/stalinistone/v8/MQpS-WezM9W4Dd7D3B7I-UT7eZ8.ttf"
12388
+ }
12389
+ },
12390
+ {
12391
+ "kind": "webfonts#webfont",
12392
+ "family": "Stardos Stencil",
12393
+ "category": "display",
12394
+ "variants": [
12395
+ "regular",
12396
+ "700"
12397
+ ],
12398
+ "subsets": [
12399
+ "latin"
12400
+ ],
12401
+ "version": "v6",
12402
+ "lastModified": "2016-04-25",
12403
+ "files": {
12404
+ "regular": "http://fonts.gstatic.com/s/stardosstencil/v6/ygEOyTW9a6u4fi4OXEZeTFf2eT4jUldwg_9fgfY_tHc.ttf",
12405
+ "700": "http://fonts.gstatic.com/s/stardosstencil/v6/h4ExtgvoXhPtv9Ieqd-XC81wDCbBgmIo8UyjIhmkeSM.ttf"
12406
+ }
12407
+ },
12408
+ {
12409
+ "kind": "webfonts#webfont",
12410
+ "family": "Stint Ultra Condensed",
12411
+ "category": "display",
12412
+ "variants": [
12413
+ "regular"
12414
+ ],
12415
+ "subsets": [
12416
+ "latin",
12417
+ "latin-ext"
12418
+ ],
12419
+ "version": "v5",
12420
+ "lastModified": "2016-04-25",
12421
+ "files": {
12422
+ "regular": "http://fonts.gstatic.com/s/stintultracondensed/v5/8DqLK6-YSClFZt3u3EgOUYelbRYnLTTQA1Z5cVLnsI4.ttf"
12423
+ }
12424
+ },
12425
+ {
12426
+ "kind": "webfonts#webfont",
12427
+ "family": "Stint Ultra Expanded",
12428
+ "category": "display",
12429
+ "variants": [
12430
+ "regular"
12431
+ ],
12432
+ "subsets": [
12433
+ "latin",
12434
+ "latin-ext"
12435
+ ],
12436
+ "version": "v4",
12437
+ "lastModified": "2016-04-25",
12438
+ "files": {
12439
+ "regular": "http://fonts.gstatic.com/s/stintultraexpanded/v4/FeigX-wDDgHMCKuhekhedQ7dxr0N5HY0cZKknTIL6n4.ttf"
12440
+ }
12441
+ },
12442
+ {
12443
+ "kind": "webfonts#webfont",
12444
+ "family": "Stoke",
12445
+ "category": "serif",
12446
+ "variants": [
12447
+ "300",
12448
+ "regular"
12449
+ ],
12450
+ "subsets": [
12451
+ "latin",
12452
+ "latin-ext"
12453
+ ],
12454
+ "version": "v6",
12455
+ "lastModified": "2016-04-25",
12456
+ "files": {
12457
+ "300": "http://fonts.gstatic.com/s/stoke/v6/Sell9475FOS8jUqQsfFsUQ.ttf",
12458
+ "regular": "http://fonts.gstatic.com/s/stoke/v6/A7qJNoqOm2d6o1E6e0yUFg.ttf"
12459
+ }
12460
+ },
12461
+ {
12462
+ "kind": "webfonts#webfont",
12463
+ "family": "Strait",
12464
+ "category": "sans-serif",
12465
+ "variants": [
12466
+ "regular"
12467
+ ],
12468
+ "subsets": [
12469
+ "latin"
12470
+ ],
12471
+ "version": "v4",
12472
+ "lastModified": "2016-04-25",
12473
+ "files": {
12474
+ "regular": "http://fonts.gstatic.com/s/strait/v4/m4W73ViNmProETY2ybc-Bg.ttf"
12475
+ }
12476
+ },
12477
+ {
12478
+ "kind": "webfonts#webfont",
12479
+ "family": "Sue Ellen Francisco",
12480
+ "category": "handwriting",
12481
+ "variants": [
12482
+ "regular"
12483
+ ],
12484
+ "subsets": [
12485
+ "latin"
12486
+ ],
12487
+ "version": "v7",
12488
+ "lastModified": "2016-04-25",
12489
+ "files": {
12490
+ "regular": "http://fonts.gstatic.com/s/sueellenfrancisco/v7/TwHX4vSxMUnJUdEz1JIgrhzazJzPVbGl8jnf1tisRz4.ttf"
12491
+ }
12492
+ },
12493
+ {
12494
+ "kind": "webfonts#webfont",
12495
+ "family": "Sumana",
12496
+ "category": "serif",
12497
+ "variants": [
12498
+ "regular",
12499
+ "700"
12500
+ ],
12501
+ "subsets": [
12502
+ "latin",
12503
+ "devanagari",
12504
+ "latin-ext"
12505
+ ],
12506
+ "version": "v1",
12507
+ "lastModified": "2016-04-25",
12508
+ "files": {
12509
+ "regular": "http://fonts.gstatic.com/s/sumana/v1/wgdl__wAK7pzliiWs0Nlog.ttf",
12510
+ "700": "http://fonts.gstatic.com/s/sumana/v1/8AcM-KAproitONSBBHj3sQ.ttf"
12511
+ }
12512
+ },
12513
+ {
12514
+ "kind": "webfonts#webfont",
12515
+ "family": "Sunshiney",
12516
+ "category": "handwriting",
12517
+ "variants": [
12518
+ "regular"
12519
+ ],
12520
+ "subsets": [
12521
+ "latin"
12522
+ ],
12523
+ "version": "v6",
12524
+ "lastModified": "2016-04-25",
12525
+ "files": {
12526
+ "regular": "http://fonts.gstatic.com/s/sunshiney/v6/kaWOb4pGbwNijM7CkxK1sQ.ttf"
12527
+ }
12528
+ },
12529
+ {
12530
+ "kind": "webfonts#webfont",
12531
+ "family": "Supermercado One",
12532
+ "category": "display",
12533
+ "variants": [
12534
+ "regular"
12535
+ ],
12536
+ "subsets": [
12537
+ "latin"
12538
+ ],
12539
+ "version": "v6",
12540
+ "lastModified": "2016-04-25",
12541
+ "files": {
12542
+ "regular": "http://fonts.gstatic.com/s/supermercadoone/v6/kMGPVTNFiFEp1U274uBMb4mm5hmSKNFf3C5YoMa-lrM.ttf"
12543
+ }
12544
+ },
12545
+ {
12546
+ "kind": "webfonts#webfont",
12547
+ "family": "Sura",
12548
+ "category": "serif",
12549
+ "variants": [
12550
+ "regular",
12551
+ "700"
12552
+ ],
12553
+ "subsets": [
12554
+ "latin",
12555
+ "devanagari",
12556
+ "latin-ext"
12557
+ ],
12558
+ "version": "v1",
12559
+ "lastModified": "2016-04-25",
12560
+ "files": {
12561
+ "regular": "http://fonts.gstatic.com/s/sura/v1/jznKrhTH5NezYxb0-Q5zzA.ttf",
12562
+ "700": "http://fonts.gstatic.com/s/sura/v1/Z5bXQaFGmoWicN1WlcncxA.ttf"
12563
+ }
12564
+ },
12565
+ {
12566
+ "kind": "webfonts#webfont",
12567
+ "family": "Suranna",
12568
+ "category": "serif",
12569
+ "variants": [
12570
+ "regular"
12571
+ ],
12572
+ "subsets": [
12573
+ "latin",
12574
+ "telugu"
12575
+ ],
12576
+ "version": "v4",
12577
+ "lastModified": "2016-04-25",
12578
+ "files": {
12579
+ "regular": "http://fonts.gstatic.com/s/suranna/v4/PYmfr6TQeTqZ-r8HnPM-kA.ttf"
12580
+ }
12581
+ },
12582
+ {
12583
+ "kind": "webfonts#webfont",
12584
+ "family": "Suravaram",
12585
+ "category": "serif",
12586
+ "variants": [
12587
+ "regular"
12588
+ ],
12589
+ "subsets": [
12590
+ "latin",
12591
+ "telugu"
12592
+ ],
12593
+ "version": "v3",
12594
+ "lastModified": "2016-04-25",
12595
+ "files": {
12596
+ "regular": "http://fonts.gstatic.com/s/suravaram/v3/G4dPee4pel_w2HqzavW4MA.ttf"
12597
+ }
12598
+ },
12599
+ {
12600
+ "kind": "webfonts#webfont",
12601
+ "family": "Suwannaphum",
12602
+ "category": "display",
12603
+ "variants": [
12604
+ "regular"
12605
+ ],
12606
+ "subsets": [
12607
+ "khmer"
12608
+ ],
12609
+ "version": "v9",
12610
+ "lastModified": "2016-04-25",
12611
+ "files": {
12612
+ "regular": "http://fonts.gstatic.com/s/suwannaphum/v9/1jIPOyXied3T79GCnSlCN6CWcynf_cDxXwCLxiixG1c.ttf"
12613
+ }
12614
+ },
12615
+ {
12616
+ "kind": "webfonts#webfont",
12617
+ "family": "Swanky and Moo Moo",
12618
+ "category": "handwriting",
12619
+ "variants": [
12620
+ "regular"
12621
+ ],
12622
+ "subsets": [
12623
+ "latin"
12624
+ ],
12625
+ "version": "v6",
12626
+ "lastModified": "2016-04-25",
12627
+ "files": {
12628
+ "regular": "http://fonts.gstatic.com/s/swankyandmoomoo/v6/orVNZ9kDeE3lWp3U3YELu9DVLKqNC3_XMNHhr8S94FU.ttf"
12629
+ }
12630
+ },
12631
+ {
12632
+ "kind": "webfonts#webfont",
12633
+ "family": "Syncopate",
12634
+ "category": "sans-serif",
12635
+ "variants": [
12636
+ "regular",
12637
+ "700"
12638
+ ],
12639
+ "subsets": [
12640
+ "latin"
12641
+ ],
12642
+ "version": "v7",
12643
+ "lastModified": "2016-04-25",
12644
+ "files": {
12645
+ "regular": "http://fonts.gstatic.com/s/syncopate/v7/RQVwO52fAH6MI764EcaYtw.ttf",
12646
+ "700": "http://fonts.gstatic.com/s/syncopate/v7/S5z8ixiOoC4WJ1im6jAlYC3USBnSvpkopQaUR-2r7iU.ttf"
12647
+ }
12648
+ },
12649
+ {
12650
+ "kind": "webfonts#webfont",
12651
+ "family": "Tangerine",
12652
+ "category": "handwriting",
12653
+ "variants": [
12654
+ "regular",
12655
+ "700"
12656
+ ],
12657
+ "subsets": [
12658
+ "latin"
12659
+ ],
12660
+ "version": "v7",
12661
+ "lastModified": "2016-04-25",
12662
+ "files": {
12663
+ "regular": "http://fonts.gstatic.com/s/tangerine/v7/DTPeM3IROhnkz7aYG2a9sA.ttf",
12664
+ "700": "http://fonts.gstatic.com/s/tangerine/v7/UkFsr-RwJB_d2l9fIWsx3i3USBnSvpkopQaUR-2r7iU.ttf"
12665
+ }
12666
+ },
12667
+ {
12668
+ "kind": "webfonts#webfont",
12669
+ "family": "Taprom",
12670
+ "category": "display",
12671
+ "variants": [
12672
+ "regular"
12673
+ ],
12674
+ "subsets": [
12675
+ "khmer"
12676
+ ],
12677
+ "version": "v8",
12678
+ "lastModified": "2016-04-25",
12679
+ "files": {
12680
+ "regular": "http://fonts.gstatic.com/s/taprom/v8/-KByU3BaUsyIvQs79qFObg.ttf"
12681
+ }
12682
+ },
12683
+ {
12684
+ "kind": "webfonts#webfont",
12685
+ "family": "Tauri",
12686
+ "category": "sans-serif",
12687
+ "variants": [
12688
+ "regular"
12689
+ ],
12690
+ "subsets": [
12691
+ "latin",
12692
+ "latin-ext"
12693
+ ],
12694
+ "version": "v4",
12695
+ "lastModified": "2016-04-25",
12696
+ "files": {
12697
+ "regular": "http://fonts.gstatic.com/s/tauri/v4/XIWeYJDXNqiVNej0zEqtGg.ttf"
12698
+ }
12699
+ },
12700
+ {
12701
+ "kind": "webfonts#webfont",
12702
+ "family": "Teko",
12703
+ "category": "sans-serif",
12704
+ "variants": [
12705
+ "300",
12706
+ "regular",
12707
+ "500",
12708
+ "600",
12709
+ "700"
12710
+ ],
12711
+ "subsets": [
12712
+ "latin",
12713
+ "devanagari",
12714
+ "latin-ext"
12715
+ ],
12716
+ "version": "v5",
12717
+ "lastModified": "2016-04-25",
12718
+ "files": {
12719
+ "300": "http://fonts.gstatic.com/s/teko/v5/OobFGE9eo24rcBpN6zXDaQ.ttf",
12720
+ "regular": "http://fonts.gstatic.com/s/teko/v5/UtekqODEqZXSN2L-njejpA.ttf",
12721
+ "500": "http://fonts.gstatic.com/s/teko/v5/FQ0duU7gWM4cSaImOfAjBA.ttf",
12722
+ "600": "http://fonts.gstatic.com/s/teko/v5/QDx_i8H-TZ1IK1JEVrqwEQ.ttf",
12723
+ "700": "http://fonts.gstatic.com/s/teko/v5/xKfTxe_SWpH4xU75vmvylA.ttf"
12724
+ }
12725
+ },
12726
+ {
12727
+ "kind": "webfonts#webfont",
12728
+ "family": "Telex",
12729
+ "category": "sans-serif",
12730
+ "variants": [
12731
+ "regular"
12732
+ ],
12733
+ "subsets": [
12734
+ "latin"
12735
+ ],
12736
+ "version": "v4",
12737
+ "lastModified": "2016-04-25",
12738
+ "files": {
12739
+ "regular": "http://fonts.gstatic.com/s/telex/v4/24-3xP9ywYeHOcFU3iGk8A.ttf"
12740
+ }
12741
+ },
12742
+ {
12743
+ "kind": "webfonts#webfont",
12744
+ "family": "Tenali Ramakrishna",
12745
+ "category": "sans-serif",
12746
+ "variants": [
12747
+ "regular"
12748
+ ],
12749
+ "subsets": [
12750
+ "latin",
12751
+ "telugu"
12752
+ ],
12753
+ "version": "v3",
12754
+ "lastModified": "2016-04-25",
12755
+ "files": {
12756
+ "regular": "http://fonts.gstatic.com/s/tenaliramakrishna/v3/M0nTmDqv2M7AGoGh-c946BZak5pSBHqWX6uyVMiMFoA.ttf"
12757
+ }
12758
+ },
12759
+ {
12760
+ "kind": "webfonts#webfont",
12761
+ "family": "Tenor Sans",
12762
+ "category": "sans-serif",
12763
+ "variants": [
12764
+ "regular"
12765
+ ],
12766
+ "subsets": [
12767
+ "latin",
12768
+ "latin-ext",
12769
+ "cyrillic"
12770
+ ],
12771
+ "version": "v7",
12772
+ "lastModified": "2016-04-25",
12773
+ "files": {
12774
+ "regular": "http://fonts.gstatic.com/s/tenorsans/v7/dUBulmjNJJInvK5vL7O9yfesZW2xOQ-xsNqO47m55DA.ttf"
12775
+ }
12776
+ },
12777
+ {
12778
+ "kind": "webfonts#webfont",
12779
+ "family": "Text Me One",
12780
+ "category": "sans-serif",
12781
+ "variants": [
12782
+ "regular"
12783
+ ],
12784
+ "subsets": [
12785
+ "latin",
12786
+ "latin-ext"
12787
+ ],
12788
+ "version": "v4",
12789
+ "lastModified": "2016-04-25",
12790
+ "files": {
12791
+ "regular": "http://fonts.gstatic.com/s/textmeone/v4/9em_3ckd_P5PQkP4aDyDLqCWcynf_cDxXwCLxiixG1c.ttf"
12792
+ }
12793
+ },
12794
+ {
12795
+ "kind": "webfonts#webfont",
12796
+ "family": "The Girl Next Door",
12797
+ "category": "handwriting",
12798
+ "variants": [
12799
+ "regular"
12800
+ ],
12801
+ "subsets": [
12802
+ "latin"
12803
+ ],
12804
+ "version": "v7",
12805
+ "lastModified": "2016-04-25",
12806
+ "files": {
12807
+ "regular": "http://fonts.gstatic.com/s/thegirlnextdoor/v7/cWRA4JVGeEcHGcPl5hmX7kzo0nFFoM60ux_D9BUymX4.ttf"
12808
+ }
12809
+ },
12810
+ {
12811
+ "kind": "webfonts#webfont",
12812
+ "family": "Tienne",
12813
+ "category": "serif",
12814
+ "variants": [
12815
+ "regular",
12816
+ "700",
12817
+ "900"
12818
+ ],
12819
+ "subsets": [
12820
+ "latin"
12821
+ ],
12822
+ "version": "v8",
12823
+ "lastModified": "2016-04-25",
12824
+ "files": {
12825
+ "regular": "http://fonts.gstatic.com/s/tienne/v8/-IIfDl701C0z7-fy2kmGvA.ttf",
12826
+ "700": "http://fonts.gstatic.com/s/tienne/v8/JvoCDOlyOSEyYGRwCyfs3g.ttf",
12827
+ "900": "http://fonts.gstatic.com/s/tienne/v8/FBano5T521OWexj2iRYLMw.ttf"
12828
+ }
12829
+ },
12830
+ {
12831
+ "kind": "webfonts#webfont",
12832
+ "family": "Tillana",
12833
+ "category": "handwriting",
12834
+ "variants": [
12835
+ "regular",
12836
+ "500",
12837
+ "600",
12838
+ "700",
12839
+ "800"
12840
+ ],
12841
+ "subsets": [
12842
+ "latin",
12843
+ "devanagari",
12844
+ "latin-ext"
12845
+ ],
12846
+ "version": "v1",
12847
+ "lastModified": "2016-04-25",
12848
+ "files": {
12849
+ "regular": "http://fonts.gstatic.com/s/tillana/v1/zN0D-jDPsr1HzU3VRFLY5g.ttf",
12850
+ "500": "http://fonts.gstatic.com/s/tillana/v1/gqdUngSIcY9tSla5eCZky_esZW2xOQ-xsNqO47m55DA.ttf",
12851
+ "600": "http://fonts.gstatic.com/s/tillana/v1/fqon6-r15hy8M1cyiYfQBvesZW2xOQ-xsNqO47m55DA.ttf",
12852
+ "700": "http://fonts.gstatic.com/s/tillana/v1/jGARMTxLrMerzTCpGBpMffesZW2xOQ-xsNqO47m55DA.ttf",
12853
+ "800": "http://fonts.gstatic.com/s/tillana/v1/pmTtNH_Ibktj5Cyc1XrP6vesZW2xOQ-xsNqO47m55DA.ttf"
12854
+ }
12855
+ },
12856
+ {
12857
+ "kind": "webfonts#webfont",
12858
+ "family": "Timmana",
12859
+ "category": "sans-serif",
12860
+ "variants": [
12861
+ "regular"
12862
+ ],
12863
+ "subsets": [
12864
+ "latin",
12865
+ "telugu"
12866
+ ],
12867
+ "version": "v1",
12868
+ "lastModified": "2016-04-25",
12869
+ "files": {
12870
+ "regular": "http://fonts.gstatic.com/s/timmana/v1/T25SicsJUJkc2s2sbBsDnA.ttf"
12871
+ }
12872
+ },
12873
+ {
12874
+ "kind": "webfonts#webfont",
12875
+ "family": "Tinos",
12876
+ "category": "serif",
12877
+ "variants": [
12878
+ "regular",
12879
+ "italic",
12880
+ "700",
12881
+ "700italic"
12882
+ ],
12883
+ "subsets": [
12884
+ "latin",
12885
+ "greek",
12886
+ "hebrew",
12887
+ "latin-ext",
12888
+ "cyrillic-ext",
12889
+ "greek-ext",
12890
+ "vietnamese",
12891
+ "cyrillic"
12892
+ ],
12893
+ "version": "v9",
12894
+ "lastModified": "2016-04-25",
12895
+ "files": {
12896
+ "regular": "http://fonts.gstatic.com/s/tinos/v9/EqpUbkVmutfwZ0PjpoGwCg.ttf",
12897
+ "italic": "http://fonts.gstatic.com/s/tinos/v9/slfyzlasCr9vTsaP4lUh9A.ttf",
12898
+ "700": "http://fonts.gstatic.com/s/tinos/v9/vHXfhX8jZuQruowfon93yQ.ttf",
12899
+ "700italic": "http://fonts.gstatic.com/s/tinos/v9/M6kfzvDMM0CdxdraoFpG6vesZW2xOQ-xsNqO47m55DA.ttf"
12900
+ }
12901
+ },
12902
+ {
12903
+ "kind": "webfonts#webfont",
12904
+ "family": "Titan One",
12905
+ "category": "display",
12906
+ "variants": [
12907
+ "regular"
12908
+ ],
12909
+ "subsets": [
12910
+ "latin",
12911
+ "latin-ext"
12912
+ ],
12913
+ "version": "v4",
12914
+ "lastModified": "2016-04-25",
12915
+ "files": {
12916
+ "regular": "http://fonts.gstatic.com/s/titanone/v4/FbvpRvzfV_oipS0De3iAZg.ttf"
12917
+ }
12918
+ },
12919
+ {
12920
+ "kind": "webfonts#webfont",
12921
+ "family": "Titillium Web",
12922
+ "category": "sans-serif",
12923
+ "variants": [
12924
+ "200",
12925
+ "200italic",
12926
+ "300",
12927
+ "300italic",
12928
+ "regular",
12929
+ "italic",
12930
+ "600",
12931
+ "600italic",
12932
+ "700",
12933
+ "700italic",
12934
+ "900"
12935
+ ],
12936
+ "subsets": [
12937
+ "latin",
12938
+ "latin-ext"
12939
+ ],
12940
+ "version": "v4",
12941
+ "lastModified": "2016-04-25",
12942
+ "files": {
12943
+ "200": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wprzOdCrLccoxq42eaxM802O0.ttf",
12944
+ "200italic": "http://fonts.gstatic.com/s/titilliumweb/v4/RZunN20OBmkvrU7sA4GPPj4N98U-66ThNJvtgddRfBE.ttf",
12945
+ "300": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wpr9ZAkYT8DuUZELiKLwMGWAo.ttf",
12946
+ "300italic": "http://fonts.gstatic.com/s/titilliumweb/v4/RZunN20OBmkvrU7sA4GPPrfzCkqg7ORZlRf2cc4mXu8.ttf",
12947
+ "regular": "http://fonts.gstatic.com/s/titilliumweb/v4/7XUFZ5tgS-tD6QamInJTcTyagQBwYgYywpS70xNq8SQ.ttf",
12948
+ "italic": "http://fonts.gstatic.com/s/titilliumweb/v4/r9OmwyQxrgzUAhaLET_KO-ixohbIP6lHkU-1Mgq95cY.ttf",
12949
+ "600": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wpr28K9dEd5Ue-HTQrlA7E2xQ.ttf",
12950
+ "600italic": "http://fonts.gstatic.com/s/titilliumweb/v4/RZunN20OBmkvrU7sA4GPPgOhzTSndyK8UWja2yJjKLc.ttf",
12951
+ "700": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wpr2-6tpSbB9YhmWtmd1_gi_U.ttf",
12952
+ "700italic": "http://fonts.gstatic.com/s/titilliumweb/v4/RZunN20OBmkvrU7sA4GPPio3LEw-4MM8Ao2j9wPOfpw.ttf",
12953
+ "900": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wpr7L0GmZLri-m-nfoo0Vul4Y.ttf"
12954
+ }
12955
+ },
12956
+ {
12957
+ "kind": "webfonts#webfont",
12958
+ "family": "Trade Winds",
12959
+ "category": "display",
12960
+ "variants": [
12961
+ "regular"
12962
+ ],
12963
+ "subsets": [
12964
+ "latin"
12965
+ ],
12966
+ "version": "v5",
12967
+ "lastModified": "2016-04-25",
12968
+ "files": {
12969
+ "regular": "http://fonts.gstatic.com/s/tradewinds/v5/sDOCVgAxw6PEUi2xdMsoDaCWcynf_cDxXwCLxiixG1c.ttf"
12970
+ }
12971
+ },
12972
+ {
12973
+ "kind": "webfonts#webfont",
12974
+ "family": "Trocchi",
12975
+ "category": "serif",
12976
+ "variants": [
12977
+ "regular"
12978
+ ],
12979
+ "subsets": [
12980
+ "latin",
12981
+ "latin-ext"
12982
+ ],
12983
+ "version": "v4",
12984
+ "lastModified": "2016-04-25",
12985
+ "files": {
12986
+ "regular": "http://fonts.gstatic.com/s/trocchi/v4/uldNPaKrUGVeGCVsmacLwA.ttf"
12987
+ }
12988
+ },
12989
+ {
12990
+ "kind": "webfonts#webfont",
12991
+ "family": "Trochut",
12992
+ "category": "display",
12993
+ "variants": [
12994
+ "regular",
12995
+ "italic",
12996
+ "700"
12997
+ ],
12998
+ "subsets": [
12999
+ "latin"
13000
+ ],
13001
+ "version": "v4",
13002
+ "lastModified": "2016-04-25",
13003
+ "files": {
13004
+ "regular": "http://fonts.gstatic.com/s/trochut/v4/6Y65B0x-2JsnYt16OH5omw.ttf",
13005
+ "italic": "http://fonts.gstatic.com/s/trochut/v4/pczUwr4ZFvC79TgNO5cZng.ttf",
13006
+ "700": "http://fonts.gstatic.com/s/trochut/v4/lWqNOv6ISR8ehNzGLFLnJ_esZW2xOQ-xsNqO47m55DA.ttf"
13007
+ }
13008
+ },
13009
+ {
13010
+ "kind": "webfonts#webfont",
13011
+ "family": "Trykker",
13012
+ "category": "serif",
13013
+ "variants": [
13014
+ "regular"
13015
+ ],
13016
+ "subsets": [
13017
+ "latin",
13018
+ "latin-ext"
13019
+ ],
13020
+ "version": "v5",
13021
+ "lastModified": "2016-04-25",
13022
+ "files": {
13023
+ "regular": "http://fonts.gstatic.com/s/trykker/v5/YiVrVJpBFN7I1l_CWk6yYQ.ttf"
13024
+ }
13025
+ },
13026
+ {
13027
+ "kind": "webfonts#webfont",
13028
+ "family": "Tulpen One",
13029
+ "category": "display",
13030
+ "variants": [
13031
+ "regular"
13032
+ ],
13033
+ "subsets": [
13034
+ "latin"
13035
+ ],
13036
+ "version": "v6",
13037
+ "lastModified": "2016-04-25",
13038
+ "files": {
13039
+ "regular": "http://fonts.gstatic.com/s/tulpenone/v6/lwcTfVIEVxpZLZlWzR5baPesZW2xOQ-xsNqO47m55DA.ttf"
13040
+ }
13041
+ },
13042
+ {
13043
+ "kind": "webfonts#webfont",
13044
+ "family": "Ubuntu",
13045
+ "category": "sans-serif",
13046
+ "variants": [
13047
+ "300",
13048
+ "300italic",
13049
+ "regular",
13050
+ "italic",
13051
+ "500",
13052
+ "500italic",
13053
+ "700",
13054
+ "700italic"
13055
+ ],
13056
+ "subsets": [
13057
+ "latin",
13058
+ "greek",
13059
+ "latin-ext",
13060
+ "cyrillic-ext",
13061
+ "greek-ext",
13062
+ "cyrillic"
13063
+ ],
13064
+ "version": "v9",
13065
+ "lastModified": "2016-04-25",
13066
+ "files": {
13067
+ "300": "http://fonts.gstatic.com/s/ubuntu/v9/7-wH0j2QCTHKgp7vLh9-sQ.ttf",
13068
+ "300italic": "http://fonts.gstatic.com/s/ubuntu/v9/j-TYDdXcC_eQzhhp386SjaCWcynf_cDxXwCLxiixG1c.ttf",
13069
+ "regular": "http://fonts.gstatic.com/s/ubuntu/v9/lhhB5ZCwEkBRbHMSnYuKyA.ttf",
13070
+ "italic": "http://fonts.gstatic.com/s/ubuntu/v9/b9hP8wd30SygxZjGGk4DCQ.ttf",
13071
+ "500": "http://fonts.gstatic.com/s/ubuntu/v9/bMbHEMwSUmkzcK2x_74QbA.ttf",
13072
+ "500italic": "http://fonts.gstatic.com/s/ubuntu/v9/NWdMogIO7U6AtEM4dDdf_aCWcynf_cDxXwCLxiixG1c.ttf",
13073
+ "700": "http://fonts.gstatic.com/s/ubuntu/v9/B7BtHjNYwAp3HgLNagENOQ.ttf",
13074
+ "700italic": "http://fonts.gstatic.com/s/ubuntu/v9/pqisLQoeO9YTDCNnlQ9bf6CWcynf_cDxXwCLxiixG1c.ttf"
13075
+ }
13076
+ },
13077
+ {
13078
+ "kind": "webfonts#webfont",
13079
+ "family": "Ubuntu Condensed",
13080
+ "category": "sans-serif",
13081
+ "variants": [
13082
+ "regular"
13083
+ ],
13084
+ "subsets": [
13085
+ "latin",
13086
+ "greek",
13087
+ "latin-ext",
13088
+ "cyrillic-ext",
13089
+ "greek-ext",
13090
+ "cyrillic"
13091
+ ],
13092
+ "version": "v7",
13093
+ "lastModified": "2016-04-25",
13094
+ "files": {
13095
+ "regular": "http://fonts.gstatic.com/s/ubuntucondensed/v7/DBCt-NXN57MTAFjitYxdrKDbm6fPDOZJsR8PmdG62gY.ttf"
13096
+ }
13097
+ },
13098
+ {
13099
+ "kind": "webfonts#webfont",
13100
+ "family": "Ubuntu Mono",
13101
+ "category": "monospace",
13102
+ "variants": [
13103
+ "regular",
13104
+ "italic",
13105
+ "700",
13106
+ "700italic"
13107
+ ],
13108
+ "subsets": [
13109
+ "latin",
13110
+ "greek",
13111
+ "latin-ext",
13112
+ "cyrillic-ext",
13113
+ "greek-ext",
13114
+ "cyrillic"
13115
+ ],
13116
+ "version": "v6",
13117
+ "lastModified": "2016-04-25",
13118
+ "files": {
13119
+ "regular": "http://fonts.gstatic.com/s/ubuntumono/v6/EgeuS9OtEmA0y_JRo03MQaCWcynf_cDxXwCLxiixG1c.ttf",
13120
+ "italic": "http://fonts.gstatic.com/s/ubuntumono/v6/KAKuHXAHZOeECOWAHsRKA0eOrDcLawS7-ssYqLr2Xp4.ttf",
13121
+ "700": "http://fonts.gstatic.com/s/ubuntumono/v6/ceqTZGKHipo8pJj4molytne1Pd76Vl7zRpE7NLJQ7XU.ttf",
13122
+ "700italic": "http://fonts.gstatic.com/s/ubuntumono/v6/n_d8tv_JOIiYyMXR4eaV9c_zJjSACmk0BRPxQqhnNLU.ttf"
13123
+ }
13124
+ },
13125
+ {
13126
+ "kind": "webfonts#webfont",
13127
+ "family": "Ultra",
13128
+ "category": "serif",
13129
+ "variants": [
13130
+ "regular"
13131
+ ],
13132
+ "subsets": [
13133
+ "latin"
13134
+ ],
13135
+ "version": "v8",
13136
+ "lastModified": "2016-04-25",
13137
+ "files": {
13138
+ "regular": "http://fonts.gstatic.com/s/ultra/v8/OW8uXkOstRADuhEmGOFQLA.ttf"
13139
+ }
13140
+ },
13141
+ {
13142
+ "kind": "webfonts#webfont",
13143
+ "family": "Uncial Antiqua",
13144
+ "category": "display",
13145
+ "variants": [
13146
+ "regular"
13147
+ ],
13148
+ "subsets": [
13149
+ "latin"
13150
+ ],
13151
+ "version": "v4",
13152
+ "lastModified": "2016-04-25",
13153
+ "files": {
13154
+ "regular": "http://fonts.gstatic.com/s/uncialantiqua/v4/F-leefDiFwQXsyd6eaSllqrFJ4O13IHVxZbM6yoslpo.ttf"
13155
+ }
13156
+ },
13157
+ {
13158
+ "kind": "webfonts#webfont",
13159
+ "family": "Underdog",
13160
+ "category": "display",
13161
+ "variants": [
13162
+ "regular"
13163
+ ],
13164
+ "subsets": [
13165
+ "latin",
13166
+ "latin-ext",
13167
+ "cyrillic"
13168
+ ],
13169
+ "version": "v5",
13170
+ "lastModified": "2016-04-25",
13171
+ "files": {
13172
+ "regular": "http://fonts.gstatic.com/s/underdog/v5/gBv9yjez_-5PnTprHWq0ig.ttf"
13173
+ }
13174
+ },
13175
+ {
13176
+ "kind": "webfonts#webfont",
13177
+ "family": "Unica One",
13178
+ "category": "display",
13179
+ "variants": [
13180
+ "regular"
13181
+ ],
13182
+ "subsets": [
13183
+ "latin",
13184
+ "latin-ext"
13185
+ ],
13186
+ "version": "v4",
13187
+ "lastModified": "2016-04-25",
13188
+ "files": {
13189
+ "regular": "http://fonts.gstatic.com/s/unicaone/v4/KbYKlhWMDpatWViqDkNQgA.ttf"
13190
+ }
13191
+ },
13192
+ {
13193
+ "kind": "webfonts#webfont",
13194
+ "family": "UnifrakturCook",
13195
+ "category": "display",
13196
+ "variants": [
13197
+ "700"
13198
+ ],
13199
+ "subsets": [
13200
+ "latin"
13201
+ ],
13202
+ "version": "v8",
13203
+ "lastModified": "2016-04-25",
13204
+ "files": {
13205
+ "700": "http://fonts.gstatic.com/s/unifrakturcook/v8/ASwh69ykD8iaoYijVEU6RrWZkcsCTHKV51zmcUsafQ0.ttf"
13206
+ }
13207
+ },
13208
+ {
13209
+ "kind": "webfonts#webfont",
13210
+ "family": "UnifrakturMaguntia",
13211
+ "category": "display",
13212
+ "variants": [
13213
+ "regular"
13214
+ ],
13215
+ "subsets": [
13216
+ "latin"
13217
+ ],
13218
+ "version": "v7",
13219
+ "lastModified": "2016-04-25",
13220
+ "files": {
13221
+ "regular": "http://fonts.gstatic.com/s/unifrakturmaguntia/v7/7KWy3ymCVR_xfAvvcIXm3-kdNg30GQauG_DE-tMYtWk.ttf"
13222
+ }
13223
+ },
13224
+ {
13225
+ "kind": "webfonts#webfont",
13226
+ "family": "Unkempt",
13227
+ "category": "display",
13228
+ "variants": [
13229
+ "regular",
13230
+ "700"
13231
+ ],
13232
+ "subsets": [
13233
+ "latin"
13234
+ ],
13235
+ "version": "v7",
13236
+ "lastModified": "2016-04-25",
13237
+ "files": {
13238
+ "regular": "http://fonts.gstatic.com/s/unkempt/v7/NLLBeNSspr0RGs71R5LHWA.ttf",
13239
+ "700": "http://fonts.gstatic.com/s/unkempt/v7/V7H-GCl9bgwGwqFqTTgDHvesZW2xOQ-xsNqO47m55DA.ttf"
13240
+ }
13241
+ },
13242
+ {
13243
+ "kind": "webfonts#webfont",
13244
+ "family": "Unlock",
13245
+ "category": "display",
13246
+ "variants": [
13247
+ "regular"
13248
+ ],
13249
+ "subsets": [
13250
+ "latin"
13251
+ ],
13252
+ "version": "v6",
13253
+ "lastModified": "2016-04-25",
13254
+ "files": {
13255
+ "regular": "http://fonts.gstatic.com/s/unlock/v6/rXEQzK7uIAlhoyoAEiMy1w.ttf"
13256
+ }
13257
+ },
13258
+ {
13259
+ "kind": "webfonts#webfont",
13260
+ "family": "Unna",
13261
+ "category": "serif",
13262
+ "variants": [
13263
+ "regular"
13264
+ ],
13265
+ "subsets": [
13266
+ "latin"
13267
+ ],
13268
+ "version": "v8",
13269
+ "lastModified": "2016-04-25",
13270
+ "files": {
13271
+ "regular": "http://fonts.gstatic.com/s/unna/v8/UAS0AM7AmbdCNY_80xyAZQ.ttf"
13272
+ }
13273
+ },
13274
+ {
13275
+ "kind": "webfonts#webfont",
13276
+ "family": "VT323",
13277
+ "category": "monospace",
13278
+ "variants": [
13279
+ "regular"
13280
+ ],
13281
+ "subsets": [
13282
+ "latin"
13283
+ ],
13284
+ "version": "v7",
13285
+ "lastModified": "2016-04-25",
13286
+ "files": {
13287
+ "regular": "http://fonts.gstatic.com/s/vt323/v7/ITU2YQfM073o1iYK3nSOmQ.ttf"
13288
+ }
13289
+ },
13290
+ {
13291
+ "kind": "webfonts#webfont",
13292
+ "family": "Vampiro One",
13293
+ "category": "display",
13294
+ "variants": [
13295
+ "regular"
13296
+ ],
13297
+ "subsets": [
13298
+ "latin",
13299
+ "latin-ext"
13300
+ ],
13301
+ "version": "v7",
13302
+ "lastModified": "2016-04-25",
13303
+ "files": {
13304
+ "regular": "http://fonts.gstatic.com/s/vampiroone/v7/OVDs4gY4WpS5u3Qd1gXRW6CWcynf_cDxXwCLxiixG1c.ttf"
13305
+ }
13306
+ },
13307
+ {
13308
+ "kind": "webfonts#webfont",
13309
+ "family": "Varela",
13310
+ "category": "sans-serif",
13311
+ "variants": [
13312
+ "regular"
13313
+ ],
13314
+ "subsets": [
13315
+ "latin",
13316
+ "latin-ext"
13317
+ ],
13318
+ "version": "v7",
13319
+ "lastModified": "2016-04-25",
13320
+ "files": {
13321
+ "regular": "http://fonts.gstatic.com/s/varela/v7/ON7qs0cKUUixhhDFXlZUjw.ttf"
13322
+ }
13323
+ },
13324
+ {
13325
+ "kind": "webfonts#webfont",
13326
+ "family": "Varela Round",
13327
+ "category": "sans-serif",
13328
+ "variants": [
13329
+ "regular"
13330
+ ],
13331
+ "subsets": [
13332
+ "latin"
13333
+ ],
13334
+ "version": "v6",
13335
+ "lastModified": "2016-04-25",
13336
+ "files": {
13337
+ "regular": "http://fonts.gstatic.com/s/varelaround/v6/APH4jr0uSos5wiut5cpjri3USBnSvpkopQaUR-2r7iU.ttf"
13338
+ }
13339
+ },
13340
+ {
13341
+ "kind": "webfonts#webfont",
13342
+ "family": "Vast Shadow",
13343
+ "category": "display",
13344
+ "variants": [
13345
+ "regular"
13346
+ ],
13347
+ "subsets": [
13348
+ "latin"
13349
+ ],
13350
+ "version": "v6",
13351
+ "lastModified": "2016-04-25",
13352
+ "files": {
13353
+ "regular": "http://fonts.gstatic.com/s/vastshadow/v6/io4hqKX3ibiqQQjYfW0-h6CWcynf_cDxXwCLxiixG1c.ttf"
13354
+ }
13355
+ },
13356
+ {
13357
+ "kind": "webfonts#webfont",
13358
+ "family": "Vesper Libre",
13359
+ "category": "serif",
13360
+ "variants": [
13361
+ "regular",
13362
+ "500",
13363
+ "700",
13364
+ "900"
13365
+ ],
13366
+ "subsets": [
13367
+ "latin",
13368
+ "devanagari",
13369
+ "latin-ext"
13370
+ ],
13371
+ "version": "v7",
13372
+ "lastModified": "2016-04-25",
13373
+ "files": {
13374
+ "regular": "http://fonts.gstatic.com/s/vesperlibre/v7/Cg-TeZFsqV8BaOcoVwzu2C3USBnSvpkopQaUR-2r7iU.ttf",
13375
+ "500": "http://fonts.gstatic.com/s/vesperlibre/v7/0liLgNkygqH6EOtsVjZDsZMQuUSAwdHsY8ov_6tk1oA.ttf",
13376
+ "700": "http://fonts.gstatic.com/s/vesperlibre/v7/0liLgNkygqH6EOtsVjZDsUD2ttfZwueP-QU272T9-k4.ttf",
13377
+ "900": "http://fonts.gstatic.com/s/vesperlibre/v7/0liLgNkygqH6EOtsVjZDsaObDOjC3UL77puoeHsE3fw.ttf"
13378
+ }
13379
+ },
13380
+ {
13381
+ "kind": "webfonts#webfont",
13382
+ "family": "Vibur",
13383
+ "category": "handwriting",
13384
+ "variants": [
13385
+ "regular"
13386
+ ],
13387
+ "subsets": [
13388
+ "latin"
13389
+ ],
13390
+ "version": "v7",
13391
+ "lastModified": "2016-04-25",
13392
+ "files": {
13393
+ "regular": "http://fonts.gstatic.com/s/vibur/v7/xB9aKsUbJo68XP0bAg2iLw.ttf"
13394
+ }
13395
+ },
13396
+ {
13397
+ "kind": "webfonts#webfont",
13398
+ "family": "Vidaloka",
13399
+ "category": "serif",
13400
+ "variants": [
13401
+ "regular"
13402
+ ],
13403
+ "subsets": [
13404
+ "latin"
13405
+ ],
13406
+ "version": "v8",
13407
+ "lastModified": "2016-04-25",
13408
+ "files": {
13409
+ "regular": "http://fonts.gstatic.com/s/vidaloka/v8/C6Nul0ogKUWkx356rrt9RA.ttf"
13410
+ }
13411
+ },
13412
+ {
13413
+ "kind": "webfonts#webfont",
13414
+ "family": "Viga",
13415
+ "category": "sans-serif",
13416
+ "variants": [
13417
+ "regular"
13418
+ ],
13419
+ "subsets": [
13420
+ "latin",
13421
+ "latin-ext"
13422
+ ],
13423
+ "version": "v5",
13424
+ "lastModified": "2016-04-25",
13425
+ "files": {
13426
+ "regular": "http://fonts.gstatic.com/s/viga/v5/uD87gDbhS7frHLX4uL6agg.ttf"
13427
+ }
13428
+ },
13429
+ {
13430
+ "kind": "webfonts#webfont",
13431
+ "family": "Voces",
13432
+ "category": "display",
13433
+ "variants": [
13434
+ "regular"
13435
+ ],
13436
+ "subsets": [
13437
+ "latin",
13438
+ "latin-ext"
13439
+ ],
13440
+ "version": "v5",
13441
+ "lastModified": "2016-04-25",
13442
+ "files": {
13443
+ "regular": "http://fonts.gstatic.com/s/voces/v5/QoBH6g6yKgNIgvL8A2aE2Q.ttf"
13444
+ }
13445
+ },
13446
+ {
13447
+ "kind": "webfonts#webfont",
13448
+ "family": "Volkhov",
13449
+ "category": "serif",
13450
+ "variants": [
13451
+ "regular",
13452
+ "italic",
13453
+ "700",
13454
+ "700italic"
13455
+ ],
13456
+ "subsets": [
13457
+ "latin"
13458
+ ],
13459
+ "version": "v8",
13460
+ "lastModified": "2016-04-25",
13461
+ "files": {
13462
+ "regular": "http://fonts.gstatic.com/s/volkhov/v8/MDIZAofe1T_J3un5Kgo8zg.ttf",
13463
+ "italic": "http://fonts.gstatic.com/s/volkhov/v8/1rTjmztKEpbkKH06JwF8Yw.ttf",
13464
+ "700": "http://fonts.gstatic.com/s/volkhov/v8/L8PbKS-kEoLHm7nP--NCzPesZW2xOQ-xsNqO47m55DA.ttf",
13465
+ "700italic": "http://fonts.gstatic.com/s/volkhov/v8/W6oG0QDDjCgj0gmsHE520C3USBnSvpkopQaUR-2r7iU.ttf"
13466
+ }
13467
+ },
13468
+ {
13469
+ "kind": "webfonts#webfont",
13470
+ "family": "Vollkorn",
13471
+ "category": "serif",
13472
+ "variants": [
13473
+ "regular",
13474
+ "italic",
13475
+ "700",
13476
+ "700italic"
13477
+ ],
13478
+ "subsets": [
13479
+ "latin"
13480
+ ],
13481
+ "version": "v6",
13482
+ "lastModified": "2016-04-25",
13483
+ "files": {
13484
+ "regular": "http://fonts.gstatic.com/s/vollkorn/v6/IiexqYAeh8uII223thYx3w.ttf",
13485
+ "italic": "http://fonts.gstatic.com/s/vollkorn/v6/UuIzosgR1ovBhJFdwVp3fvesZW2xOQ-xsNqO47m55DA.ttf",
13486
+ "700": "http://fonts.gstatic.com/s/vollkorn/v6/gOwQjJVGXlDOONC12hVoBqCWcynf_cDxXwCLxiixG1c.ttf",
13487
+ "700italic": "http://fonts.gstatic.com/s/vollkorn/v6/KNiAlx6phRqXCwnZZG51JAJKKGfqHaYFsRG-T3ceEVo.ttf"
13488
+ }
13489
+ },
13490
+ {
13491
+ "kind": "webfonts#webfont",
13492
+ "family": "Voltaire",
13493
+ "category": "sans-serif",
13494
+ "variants": [
13495
+ "regular"
13496
+ ],
13497
+ "subsets": [
13498
+ "latin"
13499
+ ],
13500
+ "version": "v6",
13501
+ "lastModified": "2016-04-25",
13502
+ "files": {
13503
+ "regular": "http://fonts.gstatic.com/s/voltaire/v6/WvqBzaGEBbRV-hrahwO2cA.ttf"
13504
+ }
13505
+ },
13506
+ {
13507
+ "kind": "webfonts#webfont",
13508
+ "family": "Waiting for the Sunrise",
13509
+ "category": "handwriting",
13510
+ "variants": [
13511
+ "regular"
13512
+ ],
13513
+ "subsets": [
13514
+ "latin"
13515
+ ],
13516
+ "version": "v7",
13517
+ "lastModified": "2016-04-25",
13518
+ "files": {
13519
+ "regular": "http://fonts.gstatic.com/s/waitingforthesunrise/v7/eNfH7kLpF1PZWpsetF-ha9TChrNgrDiT3Zy6yGf3FnM.ttf"
13520
+ }
13521
+ },
13522
+ {
13523
+ "kind": "webfonts#webfont",
13524
+ "family": "Wallpoet",
13525
+ "category": "display",
13526
+ "variants": [
13527
+ "regular"
13528
+ ],
13529
+ "subsets": [
13530
+ "latin"
13531
+ ],
13532
+ "version": "v8",
13533
+ "lastModified": "2016-04-25",
13534
+ "files": {
13535
+ "regular": "http://fonts.gstatic.com/s/wallpoet/v8/hmum4WuBN4A0Z_7367NDIg.ttf"
13536
+ }
13537
+ },
13538
+ {
13539
+ "kind": "webfonts#webfont",
13540
+ "family": "Walter Turncoat",
13541
+ "category": "handwriting",
13542
+ "variants": [
13543
+ "regular"
13544
+ ],
13545
+ "subsets": [
13546
+ "latin"
13547
+ ],
13548
+ "version": "v6",
13549
+ "lastModified": "2016-04-25",
13550
+ "files": {
13551
+ "regular": "http://fonts.gstatic.com/s/walterturncoat/v6/sG9su5g4GXy1KP73cU3hvQplL2YwNeota48DxFlGDUo.ttf"
13552
+ }
13553
+ },
13554
+ {
13555
+ "kind": "webfonts#webfont",
13556
+ "family": "Warnes",
13557
+ "category": "display",
13558
+ "variants": [
13559
+ "regular"
13560
+ ],
13561
+ "subsets": [
13562
+ "latin",
13563
+ "latin-ext"
13564
+ ],
13565
+ "version": "v6",
13566
+ "lastModified": "2016-04-25",
13567
+ "files": {
13568
+ "regular": "http://fonts.gstatic.com/s/warnes/v6/MXG7_Phj4YpzAXxKGItuBw.ttf"
13569
+ }
13570
+ },
13571
+ {
13572
+ "kind": "webfonts#webfont",
13573
+ "family": "Wellfleet",
13574
+ "category": "display",
13575
+ "variants": [
13576
+ "regular"
13577
+ ],
13578
+ "subsets": [
13579
+ "latin",
13580
+ "latin-ext"
13581
+ ],
13582
+ "version": "v4",
13583
+ "lastModified": "2016-04-25",
13584
+ "files": {
13585
+ "regular": "http://fonts.gstatic.com/s/wellfleet/v4/J5tOx72iFRPgHYpbK9J4XQ.ttf"
13586
+ }
13587
+ },
13588
+ {
13589
+ "kind": "webfonts#webfont",
13590
+ "family": "Wendy One",
13591
+ "category": "sans-serif",
13592
+ "variants": [
13593
+ "regular"
13594
+ ],
13595
+ "subsets": [
13596
+ "latin",
13597
+ "latin-ext"
13598
+ ],
13599
+ "version": "v4",
13600
+ "lastModified": "2016-04-25",
13601
+ "files": {
13602
+ "regular": "http://fonts.gstatic.com/s/wendyone/v4/R8CJT2oDXdMk_ZtuHTxoxw.ttf"
13603
+ }
13604
+ },
13605
+ {
13606
+ "kind": "webfonts#webfont",
13607
+ "family": "Wire One",
13608
+ "category": "sans-serif",
13609
+ "variants": [
13610
+ "regular"
13611
+ ],
13612
+ "subsets": [
13613
+ "latin"
13614
+ ],
13615
+ "version": "v7",
13616
+ "lastModified": "2016-04-25",
13617
+ "files": {
13618
+ "regular": "http://fonts.gstatic.com/s/wireone/v7/sRLhaQOQpWnvXwIx0CycQw.ttf"
13619
+ }
13620
+ },
13621
+ {
13622
+ "kind": "webfonts#webfont",
13623
+ "family": "Work Sans",
13624
+ "category": "sans-serif",
13625
+ "variants": [
13626
+ "100",
13627
+ "200",
13628
+ "300",
13629
+ "regular",
13630
+ "500",
13631
+ "600",
13632
+ "700",
13633
+ "800",
13634
+ "900"
13635
+ ],
13636
+ "subsets": [
13637
+ "latin",
13638
+ "latin-ext"
13639
+ ],
13640
+ "version": "v2",
13641
+ "lastModified": "2016-04-25",
13642
+ "files": {
13643
+ "100": "http://fonts.gstatic.com/s/worksans/v2/ZAhtNqLaAViKjGLajtuwWaCWcynf_cDxXwCLxiixG1c.ttf",
13644
+ "200": "http://fonts.gstatic.com/s/worksans/v2/u_mYNr_qYP37m7vgvmIYZy3USBnSvpkopQaUR-2r7iU.ttf",
13645
+ "300": "http://fonts.gstatic.com/s/worksans/v2/FD_Udbezj8EHXbdsqLUply3USBnSvpkopQaUR-2r7iU.ttf",
13646
+ "regular": "http://fonts.gstatic.com/s/worksans/v2/zVvigUiMvx7JVEnrJgc-5Q.ttf",
13647
+ "500": "http://fonts.gstatic.com/s/worksans/v2/Nbre-U_bp6Xktt8cpgwaJC3USBnSvpkopQaUR-2r7iU.ttf",
13648
+ "600": "http://fonts.gstatic.com/s/worksans/v2/z9rX03Xuz9ZNHTMg1_ghGS3USBnSvpkopQaUR-2r7iU.ttf",
13649
+ "700": "http://fonts.gstatic.com/s/worksans/v2/4udXuXg54JlPEP5iKO5AmS3USBnSvpkopQaUR-2r7iU.ttf",
13650
+ "800": "http://fonts.gstatic.com/s/worksans/v2/IQh-ap2Uqs7kl1YINeeEGi3USBnSvpkopQaUR-2r7iU.ttf",
13651
+ "900": "http://fonts.gstatic.com/s/worksans/v2/Hjn0acvjHfjY_vAK9Uc6gi3USBnSvpkopQaUR-2r7iU.ttf"
13652
+ }
13653
+ },
13654
+ {
13655
+ "kind": "webfonts#webfont",
13656
+ "family": "Yanone Kaffeesatz",
13657
+ "category": "sans-serif",
13658
+ "variants": [
13659
+ "200",
13660
+ "300",
13661
+ "regular",
13662
+ "700"
13663
+ ],
13664
+ "subsets": [
13665
+ "latin",
13666
+ "latin-ext"
13667
+ ],
13668
+ "version": "v7",
13669
+ "lastModified": "2016-04-25",
13670
+ "files": {
13671
+ "200": "http://fonts.gstatic.com/s/yanonekaffeesatz/v7/We_iSDqttE3etzfdfhuPRbq92v6XxU4pSv06GI0NsGc.ttf",
13672
+ "300": "http://fonts.gstatic.com/s/yanonekaffeesatz/v7/We_iSDqttE3etzfdfhuPRZlIwXPiNoNT_wxzJ2t3mTE.ttf",
13673
+ "regular": "http://fonts.gstatic.com/s/yanonekaffeesatz/v7/YDAoLskQQ5MOAgvHUQCcLdXn3cHbFGWU4T2HrSN6JF4.ttf",
13674
+ "700": "http://fonts.gstatic.com/s/yanonekaffeesatz/v7/We_iSDqttE3etzfdfhuPRf2R4S6PlKaGXWPfWpHpcl0.ttf"
13675
+ }
13676
+ },
13677
+ {
13678
+ "kind": "webfonts#webfont",
13679
+ "family": "Yantramanav",
13680
+ "category": "sans-serif",
13681
+ "variants": [
13682
+ "100",
13683
+ "300",
13684
+ "regular",
13685
+ "500",
13686
+ "700",
13687
+ "900"
13688
+ ],
13689
+ "subsets": [
13690
+ "latin",
13691
+ "devanagari",
13692
+ "latin-ext"
13693
+ ],
13694
+ "version": "v1",
13695
+ "lastModified": "2016-04-25",
13696
+ "files": {
13697
+ "100": "http://fonts.gstatic.com/s/yantramanav/v1/Rs1I2PF4Z8GAb6qjgvr8wIAWxXGWZ3yJw6KhWS7MxOk.ttf",
13698
+ "300": "http://fonts.gstatic.com/s/yantramanav/v1/HSfbC4Z8I8BZ00wiXeA5bC9-WlPSxbfiI49GsXo3q0g.ttf",
13699
+ "regular": "http://fonts.gstatic.com/s/yantramanav/v1/FwdziO-qWAO8pZg8e376kaCWcynf_cDxXwCLxiixG1c.ttf",
13700
+ "500": "http://fonts.gstatic.com/s/yantramanav/v1/HSfbC4Z8I8BZ00wiXeA5bMCNfqCYlB_eIx7H1TVXe60.ttf",
13701
+ "700": "http://fonts.gstatic.com/s/yantramanav/v1/HSfbC4Z8I8BZ00wiXeA5bHe1Pd76Vl7zRpE7NLJQ7XU.ttf",
13702
+ "900": "http://fonts.gstatic.com/s/yantramanav/v1/HSfbC4Z8I8BZ00wiXeA5bCenaqEuufTBk9XMKnKmgDA.ttf"
13703
+ }
13704
+ },
13705
+ {
13706
+ "kind": "webfonts#webfont",
13707
+ "family": "Yellowtail",
13708
+ "category": "handwriting",
13709
+ "variants": [
13710
+ "regular"
13711
+ ],
13712
+ "subsets": [
13713
+ "latin"
13714
+ ],
13715
+ "version": "v6",
13716
+ "lastModified": "2016-04-25",
13717
+ "files": {
13718
+ "regular": "http://fonts.gstatic.com/s/yellowtail/v6/HLrU6lhCTjXfLZ7X60LcB_esZW2xOQ-xsNqO47m55DA.ttf"
13719
+ }
13720
+ },
13721
+ {
13722
+ "kind": "webfonts#webfont",
13723
+ "family": "Yeseva One",
13724
+ "category": "display",
13725
+ "variants": [
13726
+ "regular"
13727
+ ],
13728
+ "subsets": [
13729
+ "latin",
13730
+ "latin-ext",
13731
+ "cyrillic"
13732
+ ],
13733
+ "version": "v10",
13734
+ "lastModified": "2016-04-25",
13735
+ "files": {
13736
+ "regular": "http://fonts.gstatic.com/s/yesevaone/v10/eenQQxvpzSA80JmisGcgX_esZW2xOQ-xsNqO47m55DA.ttf"
13737
+ }
13738
+ },
13739
+ {
13740
+ "kind": "webfonts#webfont",
13741
+ "family": "Yesteryear",
13742
+ "category": "handwriting",
13743
+ "variants": [
13744
+ "regular"
13745
+ ],
13746
+ "subsets": [
13747
+ "latin"
13748
+ ],
13749
+ "version": "v5",
13750
+ "lastModified": "2016-04-25",
13751
+ "files": {
13752
+ "regular": "http://fonts.gstatic.com/s/yesteryear/v5/dv09hP_ZrdjVOfZQXKXuZvesZW2xOQ-xsNqO47m55DA.ttf"
13753
+ }
13754
+ },
13755
+ {
13756
+ "kind": "webfonts#webfont",
13757
+ "family": "Zeyada",
13758
+ "category": "handwriting",
13759
+ "variants": [
13760
+ "regular"
13761
+ ],
13762
+ "subsets": [
13763
+ "latin"
13764
+ ],
13765
+ "version": "v6",
13766
+ "lastModified": "2016-04-25",
13767
+ "files": {
13768
+ "regular": "http://fonts.gstatic.com/s/zeyada/v6/hmonmGYYFwqTZQfG2nRswQ.ttf"
13769
+ }
13770
+ }
13771
+ ]
13772
+ }
cherry-framework/modules/cherry-customizer/assets/fonts/standard.json ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "kind": "standartfonts#standartfonts",
3
+ "items": [
4
+ {
5
+ "kind": "standartfonts#standartfonts",
6
+ "family": "Arial, Helvetica",
7
+ "category": "sans-serif",
8
+ "variants": [
9
+ "regular",
10
+ "italic",
11
+ "700",
12
+ "700italic"
13
+ ],
14
+ "subsets": ["latin"]
15
+ },
16
+ {
17
+ "kind": "standartfonts#standartfonts",
18
+ "family": "Arial Black, Gadget",
19
+ "category": "sans-serif",
20
+ "variants": [
21
+ "regular",
22
+ "italic",
23
+ "700",
24
+ "700italic"
25
+ ],
26
+ "subsets": ["latin"]
27
+ },
28
+ {
29
+ "kind": "standartfonts#standartfont",
30
+ "family": "Bookman Old Style",
31
+ "category": "serif",
32
+ "variants": [
33
+ "regular",
34
+ "italic",
35
+ "700",
36
+ "700italic"
37
+ ],
38
+ "subsets": ["latin"]
39
+ },
40
+ {
41
+ "kind": "standartfonts#standartfont",
42
+ "family": "Comic Sans MS",
43
+ "category": "cursive",
44
+ "variants": [
45
+ "regular",
46
+ "italic",
47
+ "700",
48
+ "700italic"
49
+ ],
50
+ "subsets": ["latin"]
51
+ },
52
+ {
53
+ "kind": "standartfonts#standartfont",
54
+ "family": "Courier",
55
+ "category": "monospace",
56
+ "variants": [
57
+ "regular",
58
+ "italic",
59
+ "700",
60
+ "700italic"
61
+ ],
62
+ "subsets": ["latin"]
63
+ },
64
+ {
65
+ "kind": "standartfonts#standartfont",
66
+ "family": "Garamond",
67
+ "category": "serif",
68
+ "variants": [
69
+ "regular",
70
+ "italic",
71
+ "700",
72
+ "700italic"
73
+ ],
74
+ "subsets": ["latin"]
75
+ },
76
+ {
77
+ "kind": "standartfonts#standartfont",
78
+ "family": "Georgia",
79
+ "category": "serif",
80
+ "variants": [
81
+ "regular",
82
+ "italic",
83
+ "700",
84
+ "700italic"
85
+ ],
86
+ "subsets": ["latin"]
87
+ },
88
+ {
89
+ "kind": "standartfonts#standartfont",
90
+ "family": "Impact, Charcoal",
91
+ "category": "sans-serif",
92
+ "variants": [
93
+ "regular",
94
+ "italic",
95
+ "700",
96
+ "700italic"
97
+ ],
98
+ "subsets": ["latin"]
99
+ },
100
+ {
101
+ "kind": "standartfonts#standartfont",
102
+ "family": "Lucida Console, Monaco",
103
+ "category": "monospace",
104
+ "variants": [
105
+ "regular",
106
+ "italic",
107
+ "700",
108
+ "700italic"
109
+ ],
110
+ "subsets": ["latin"]
111
+ },
112
+ {
113
+ "kind": "standartfonts#standartfont",
114
+ "family": "Lucida Sans Unicode, Lucida Grande",
115
+ "category": "sans-serif",
116
+ "variants": [
117
+ "regular",
118
+ "italic",
119
+ "700",
120
+ "700italic"
121
+ ],
122
+ "subsets": ["latin"]
123
+ },
124
+ {
125
+ "kind": "standartfonts#standartfont",
126
+ "family": "MS Sans Serif, Geneva",
127
+ "category": "sans-serif",
128
+ "variants": [
129
+ "regular",
130
+ "italic",
131
+ "700",
132
+ "700italic"
133
+ ],
134
+ "subsets": ["latin"]
135
+ },
136
+ {
137
+ "kind": "standartfonts#standartfont",
138
+ "family": "MS Serif, New York",
139
+ "category": "sans-serif",
140
+ "variants": [
141
+ "regular",
142
+ "italic",
143
+ "700",
144
+ "700italic"
145
+ ],
146
+ "subsets": ["latin"]
147
+ },
148
+ {
149
+ "kind": "standartfonts#standartfont",
150
+ "family": "Palatino Linotype, Book Antiqua, Palatino",
151
+ "category": "serif",
152
+ "variants": [
153
+ "regular",
154
+ "italic",
155
+ "700",
156
+ "700italic"
157
+ ],
158
+ "subsets": ["latin"]
159
+ },
160
+ {
161
+ "kind": "standartfonts#standartfont",
162
+ "family": "Tahoma, Geneva",
163
+ "category": "sans-serif",
164
+ "variants": [
165
+ "regular",
166
+ "italic",
167
+ "700",
168
+ "700italic"
169
+ ],
170
+ "subsets": ["latin"]
171
+ },
172
+ {
173
+ "kind": "standartfonts#standartfont",
174
+ "family": "Times New Roman, Times",
175
+ "category": "serif",
176
+ "variants": [
177
+ "regular",
178
+ "italic",
179
+ "700",
180
+ "700italic"
181
+ ],
182
+ "subsets": ["latin"]
183
+ },
184
+ {
185
+ "kind": "standartfonts#standartfont",
186
+ "family": "Trebuchet MS, Helvetica",
187
+ "category": "sans-serif",
188
+ "variants": [
189
+ "regular",
190
+ "italic",
191
+ "700",
192
+ "700italic"
193
+ ],
194
+ "subsets": ["latin"]
195
+ },
196
+ {
197
+ "kind": "standartfonts#standartfont",
198
+ "family": "Verdana, Geneva",
199
+ "category": "sans-serif",
200
+ "variants": [
201
+ "regular",
202
+ "italic",
203
+ "700",
204
+ "700italic"
205
+ ],
206
+ "subsets": ["latin"]
207
+ }
208
+ ]
209
+ }
cherry-framework/modules/cherry-customizer/cherry-customizer.php ADDED
@@ -0,0 +1,1105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Customizer
4
+ * Description: Customizer functionality.
5
+ * Version: 1.1.3
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.3
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Customizer' ) ) {
26
+
27
+ /**
28
+ * Contains methods for customizing the theme customization screen.
29
+ *
30
+ * @since 1.0.0
31
+ * @since 1.0.1 Removed `module_dir` and `module_uri` properties.
32
+ */
33
+ class Cherry_Customizer {
34
+
35
+ /**
36
+ * The version of this module.
37
+ *
38
+ * @since 1.0.0
39
+ * @access protected
40
+ * @var string
41
+ */
42
+ protected $version;
43
+
44
+ /**
45
+ * Unique prefix.
46
+ * This is a theme or plugin slug.
47
+ *
48
+ * @since 1.0.0
49
+ * @access protected
50
+ * @var string
51
+ */
52
+ protected $prefix;
53
+
54
+ /**
55
+ * Capability.
56
+ *
57
+ * @since 1.0.0
58
+ * @access protected
59
+ * @var string
60
+ */
61
+ protected $capability;
62
+
63
+ /**
64
+ * Setting type.
65
+ *
66
+ * @since 1.0.0
67
+ * @access protected
68
+ * @var string
69
+ */
70
+ protected $type;
71
+
72
+ /**
73
+ * Options.
74
+ *
75
+ * @since 1.0.0
76
+ * @access protected
77
+ * @var array
78
+ */
79
+ protected $options;
80
+
81
+ /**
82
+ * Core instance.
83
+ *
84
+ * @since 1.0.0
85
+ * @access protected
86
+ * @var object
87
+ */
88
+ protected $core;
89
+
90
+ /**
91
+ * WP_Customize_Manager instance.
92
+ *
93
+ * @since 1.0.0
94
+ * @access protected
95
+ * @var object.
96
+ */
97
+ protected $customize;
98
+
99
+ /**
100
+ * Module directory URI.
101
+ *
102
+ * @since 1.0.0
103
+ * @access protected
104
+ * @var array.
105
+ */
106
+ protected $fonts;
107
+
108
+ /**
109
+ * Module initialization.
110
+ *
111
+ * @since 1.0.0
112
+ * @param object $core Cherry_Core instance.
113
+ * @param array $args Aguments.
114
+ */
115
+
116
+ /*
117
+ * $args = array(
118
+ * 'prefix' => 'unique_prefix', // theme or plugin slug (*).
119
+ * 'capability' => 'edit_theme_options', // (default: `edit_theme_options`).
120
+ * 'type' => 'theme_mod', // `theme_mod` - for themes; `option` - for plugins (default: `theme_mod`).
121
+ * 'options' => array(
122
+ * 'unique_panel_ID' => array(
123
+ * 'title' => esc_html__( 'Panel Title', 'text-domain' ),
124
+ * 'description' => esc_html__( 'Panel Description', 'text-domain' ),
125
+ * 'priority' => 140,
126
+ * 'capability' => '', (optional)
127
+ * 'theme_supports' => '', (optional)
128
+ * 'active_callback' => '', // (optional: is_front_page, is_single)
129
+ * 'type' => 'panel', // panel, section or control (*).
130
+ * ),
131
+ * 'unique_section_ID' => array(
132
+ * 'title' => esc_html__( 'Section Title', 'text-domain' ),
133
+ * 'description' => esc_html__( 'Section Description', 'text-domain' ),
134
+ * 'priority' => 10, (10, 20, 30, ...)
135
+ * 'panel' => 'unique_panel_ID', (*)
136
+ * 'type' => 'section', (*)
137
+ * ),
138
+ * 'unique_control_ID' => array(
139
+ * 'title' => esc_html__( 'Control Title', 'text-domain' ),
140
+ * 'description' => esc_html__( 'Control Description', 'text-domain' ),
141
+ * 'section' => 'unique_section_ID', (*)
142
+ * 'default' => '',
143
+ * 'field' => 'text', // text, textarea, checkbox, radio, select, fonts, hex_color, image, file.
144
+ * 'choices' => array(), // for `select` and `radio` field.
145
+ * 'type' => 'control', (*)
146
+ * 'active_callback' => '', (optional: is_front_page, is_single)
147
+ * 'transport' => 'refresh', // refresh or postMessage (default: refresh)
148
+ * 'sanitize_callback' => '', (optional) Maybe need to use a custom function or sanitization.
149
+ * 'sanitize_js_callback' => '', (optional)
150
+ * ),
151
+ * )
152
+ * );
153
+ */
154
+ /**
155
+ * Cherry customizer class construct.
156
+ */
157
+ public function __construct( $core, $args ) {
158
+ /**
159
+ * Cherry Customizer only works in WordPress 4.0 or later.
160
+ */
161
+ if ( version_compare( $GLOBALS['wp_version'], '4.0', '<' ) ) {
162
+ return;
163
+ }
164
+
165
+ $this->type = ! empty( $args['type'] ) && $this->sanitize_type( $args['type'] ) ? $args['type'] : 'theme_mod';
166
+
167
+ if ( empty( $args['options'] ) || ( ( 'option' === $this->type ) && empty( $args['prefix'] ) ) ) {
168
+ return;
169
+ }
170
+
171
+ $this->prefix = $this->prepare_prefix( $args['prefix'] );
172
+ $this->capability = ! empty( $args['capability'] ) ? $args['capability'] : 'edit_theme_options';
173
+ $this->type = ! empty( $args['type'] ) && $this->sanitize_type( $args['type'] )
174
+ ? $args['type'] : 'theme_mod';
175
+ $this->options = $args['options'];
176
+ $this->core = $core;
177
+ $this->fonts = array();
178
+ $this->version = '1.1.0';
179
+
180
+ add_action( 'customize_register', array( $this, 'register' ) );
181
+
182
+ // Prepare fonts data.
183
+ add_action( 'after_switch_theme', array( $this, 'init_fonts' ), 10 );
184
+ add_action( 'after_switch_theme', array( $this, 'add_options' ), 11 );
185
+
186
+ // Clear fonts data.
187
+ add_action( 'switch_theme', array( $this, 'clear_fonts' ) );
188
+ add_action( 'upgrader_process_complete', array( $this, 'fire_clear_fonts' ), 10, 2 );
189
+
190
+ add_filter( 'cherry_customizer_get_core', array( $this, 'pass_core_into_control' ) );
191
+
192
+ $this->include_custom_controls();
193
+
194
+ }
195
+
196
+ /**
197
+ * Pass current core instance into custom controls
198
+ *
199
+ * @param mixed $core Default core instance (false) or core instance if its not first callback.
200
+ * @return Cherry_Core
201
+ */
202
+ public function pass_core_into_control( $core = false ) {
203
+ return $this->core;
204
+ }
205
+
206
+ /**
207
+ * Include advanced customizer controls classes
208
+ *
209
+ * @since 1.1.0
210
+ */
211
+ private function include_custom_controls() {
212
+
213
+ if ( ! class_exists( 'Cherry_WP_Customize_Iconpicker' ) ) {
214
+ require_once( trailingslashit( __DIR__ ) . '/inc/class-cherry-wp-customize-iconpicker.php' );
215
+ }
216
+
217
+ }
218
+
219
+ /**
220
+ * Registeration for a new panel, sections, settings and controls.
221
+ *
222
+ * @since 1.0.0
223
+ * @param object $wp_customize WP_Customize_Manager instance.
224
+ */
225
+ public function register( $wp_customize ) {
226
+
227
+ // Failsafe is safe.
228
+ if ( ! isset( $wp_customize ) ) {
229
+ return;
230
+ }
231
+
232
+ $this->set_customize( $wp_customize );
233
+
234
+ foreach ( (array) $this->options as $id => $option ) {
235
+
236
+ if ( empty( $option['type'] ) ) {
237
+ continue;
238
+ }
239
+
240
+ if ( 'panel' === $option['type'] ) {
241
+ $this->add_panel( $id, $option );
242
+ }
243
+
244
+ if ( 'section' === $option['type'] ) {
245
+ $this->add_section( $id, $option );
246
+ }
247
+
248
+ if ( 'control' === $option['type'] ) {
249
+ $this->add_control( $id, $option );
250
+ }
251
+ }
252
+ }
253
+
254
+ /**
255
+ * Add a customize panel.
256
+ *
257
+ * @since 1.0.0
258
+ * @param number $id Settings ID.
259
+ * @param array $args Panel arguments.
260
+ */
261
+ public function add_panel( $id, $args ) {
262
+ $prefix = $this->prefix . '_';
263
+ $priority = isset( $args['priority'] ) ? $args['priority'] : 160;
264
+ $theme_supports = isset( $args['theme_supports'] ) ? $args['theme_supports'] : '';
265
+ $title = isset( $args['title'] ) ? esc_attr( $args['title'] ) : 'Untitled Panel';
266
+ $description = isset( $args['description'] ) ? esc_attr( $args['description'] ) : '';
267
+ $active_callback = isset( $args['active_callback'] ) ? $this->active_callback( $args['active_callback'] ) : '';
268
+
269
+ $this->customize->add_panel( $prefix . esc_attr( $id ), array(
270
+ 'priority' => $priority,
271
+ 'capability' => $this->capability,
272
+ 'theme_supports' => $theme_supports,
273
+ 'title' => $title,
274
+ 'description' => $description,
275
+ 'active_callback' => $active_callback,
276
+ ) );
277
+ }
278
+
279
+ /**
280
+ * Add a customize section.
281
+ *
282
+ * @since 1.0.0
283
+ * @param array $id Settings ID.
284
+ * @param array $args Section arguments.
285
+ */
286
+
287
+ /**
288
+ * The priorities of the core sections are below:
289
+ *
290
+ * Title ID Priority (Order)
291
+ * Site Title & Tagline title_tagline 20
292
+ * Colors colors 40
293
+ * Header Image header_image 60
294
+ * Background Image background_image 80
295
+ * Navigation nav 100
296
+ * Widgets (Panel) widgets 110
297
+ * Static Front Page static_front_page 120
298
+ */
299
+ public function add_section( $id, $args ) {
300
+ $prefix = $this->prefix . '_';
301
+ $title = isset( $args['title'] ) ? esc_attr( $args['title'] ) : 'Untitled Section';
302
+ $description = isset( $args['description'] ) ? esc_attr( $args['description'] ) : '';
303
+ $panel = isset( $args['panel'] ) ? $prefix . esc_attr( $args['panel'] ) : '';
304
+ $priority = isset( $args['priority'] ) ? $args['priority'] : 160;
305
+ $theme_supports = isset( $args['theme_supports'] ) ? $args['theme_supports'] : '';
306
+ $active_callback = isset( $args['active_callback'] ) ? $this->active_callback( $args['active_callback'] ) : '';
307
+
308
+ $this->customize->add_section( $prefix . esc_attr( $id ), array(
309
+ 'title' => $title,
310
+ 'description' => $description,
311
+ 'panel' => $panel,
312
+ 'priority' => $priority,
313
+ 'capability' => $this->capability,
314
+ 'theme_supports' => $theme_supports,
315
+ 'active_callback' => $active_callback,
316
+ ) );
317
+ }
318
+
319
+ /**
320
+ * Add a customize control.
321
+ *
322
+ * @since 1.0.0
323
+ * @param numder $id Settings ID.
324
+ * @param array $args Control arguments.
325
+ */
326
+ public function add_control( $id, $args ) {
327
+ static $control_priority = 0;
328
+
329
+ $prefix = $this->prefix . '_';
330
+ $section = $this->get_control_section( $args );
331
+ $id = ( 'option' === $this->type ) ? sprintf( '%1$s_options[%2$s]', $this->prefix, esc_attr( $id ) ) : esc_attr( $id );
332
+ $priority = isset( $args['priority'] ) ? $args['priority'] : ++$control_priority;
333
+ $default = isset( $args['default'] ) ? $args['default'] : '';
334
+ $title = isset( $args['title'] ) ? esc_attr( $args['title'] ) : 'Untitled Control';
335
+ $description = isset( $args['description'] ) ? esc_attr( $args['description'] ) : '';
336
+ $transport = isset( $args['transport'] ) ? esc_attr( $args['transport'] ) : 'refresh';
337
+ $field_type = isset( $args['field'] ) ? esc_attr( $args['field'] ) : 'text';
338
+
339
+ $sanitize_callback = isset( $args['sanitize_callback'] ) ? esc_attr( $args['sanitize_callback'] ) : array( $this, 'sanitize_' . $field_type );
340
+ $sanitize_callback = is_callable( $sanitize_callback ) ? $sanitize_callback : 'sanitize_text_field';
341
+ $sanitize_js_callback = isset( $args['sanitize_js_callback'] ) ? esc_attr( $args['sanitize_js_callback'] ) : '';
342
+ $active_callback = isset( $args['active_callback'] ) ? $this->active_callback( $args['active_callback'] ) : '';
343
+
344
+ // Add a customize setting.
345
+ $this->customize->add_setting( $id, array(
346
+ 'type' => $this->type,
347
+ 'capability' => $this->capability,
348
+ 'default' => $default,
349
+ 'transport' => $transport,
350
+ 'sanitize_callback' => $sanitize_callback,
351
+ 'sanitize_js_callback' => $sanitize_js_callback,
352
+ ) );
353
+
354
+ // Prepare arguments for a customize control.
355
+ $control_args = array(
356
+ 'priority' => $priority,
357
+ 'section' => $section,
358
+ 'label' => $title,
359
+ 'description' => $description,
360
+ 'active_callback' => $active_callback,
361
+ 'choices' => '', // select, radio
362
+ );
363
+ $control_class = '';
364
+
365
+ switch ( $field_type ) {
366
+
367
+ case 'text':
368
+ case 'textarea':
369
+ case 'email':
370
+ case 'url':
371
+ case 'password':
372
+ case 'checkbox':
373
+ $control_args = wp_parse_args( array( 'type' => $field_type ), $control_args );
374
+ break;
375
+
376
+ case 'range':
377
+ case 'number':
378
+ $input_attrs = ( isset( $args['input_attrs'] ) ) ? $args['input_attrs'] : array();
379
+ $control_args = wp_parse_args( array( 'type' => $field_type, 'input_attrs' => $input_attrs ), $control_args );
380
+ break;
381
+
382
+ case 'select':
383
+ $choices = ( isset( $args['choices'] ) ) ? $args['choices'] : array();
384
+ $control_args = wp_parse_args( array( 'type' => 'select', 'choices' => $choices ), $control_args );
385
+ break;
386
+
387
+ case 'fonts':
388
+ $choices = ( isset( $args['choices'] ) ) ? $args['choices'] : $this->get_fonts();
389
+ $control_args = wp_parse_args( array( 'type' => 'select', 'choices' => $choices ), $control_args );
390
+ break;
391
+
392
+ case 'radio':
393
+ $choices = ( isset( $args['choices'] ) ) ? $args['choices'] : array();
394
+ $control_args = wp_parse_args( array( 'type' => 'radio', 'choices' => $choices ), $control_args );
395
+ break;
396
+
397
+ case 'hex_color':
398
+ $control_class = 'WP_Customize_Color_Control';
399
+ break;
400
+
401
+ case 'image':
402
+ $control_class = 'WP_Customize_Image_Control';
403
+ break;
404
+
405
+ case 'file':
406
+ $control_class = 'WP_Customize_Upload_Control';
407
+ break;
408
+ case 'iconpicker':
409
+ $control_class = 'Cherry_WP_Customize_Iconpicker';
410
+ $icon_data = ( isset( $args['icon_data'] ) ) ? $args['icon_data'] : array();
411
+ $control_args = wp_parse_args( array( 'icon_data' => $icon_data ), $control_args );
412
+ break;
413
+ default:
414
+ /**
415
+ * Filter arguments for a `$field_type` customize control.
416
+ *
417
+ * @since 1.0.0
418
+ * @param array $control_args Control's arguments.
419
+ * @param string $id Control's ID.
420
+ * @param object $this Cherry_Customizer instance.
421
+ */
422
+ $control_args = apply_filters( 'cherry_customizer_control_args_for_{$field_type}', $control_args, $id, $this );
423
+ break;
424
+ }
425
+
426
+ /**
427
+ * Filter arguments for a customize control.
428
+ *
429
+ * @since 1.0.0
430
+ * @param array $control_args Control's arguments.
431
+ * @param string $id Control's ID.
432
+ * @param object $this Cherry_Customizer instance.
433
+ */
434
+ $control_args = apply_filters( 'cherry_customizer_control_args', $control_args, $id, $this );
435
+
436
+ /**
437
+ * Filter PHP-class name for a customize control (maybe custom).
438
+ *
439
+ * @since 1.0.0
440
+ * @param array $control_args Control's PHP-class name.
441
+ * @param string $id Control's ID.
442
+ * @param object $this Cherry_Customizer instance.
443
+ */
444
+ $control_class = apply_filters( 'cherry_customizer_control_class', $control_class, $id, $this );
445
+
446
+ if ( class_exists( $control_class ) ) {
447
+ $this->customize->add_control( new $control_class( $this->customize, $id, $control_args ) );
448
+ } else {
449
+ $this->customize->add_control( $id, $control_args );
450
+ }
451
+ }
452
+
453
+ /**
454
+ * Get section name from arguments - prefixed, if is custom section, unprefixed - if is core section.
455
+ *
456
+ * @since 1.0.0
457
+ * @param array $args Control arguments.
458
+ * @return string
459
+ */
460
+ public function get_control_section( $args ) {
461
+
462
+ if ( ! isset( $args['section'] ) ) {
463
+ return '';
464
+ }
465
+
466
+ $default_sections = apply_filters( 'cherry_customizer_core_sections', array(
467
+ 'title_tagline',
468
+ 'colors',
469
+ 'header_image',
470
+ 'background_image',
471
+ 'nav',
472
+ 'widgets',
473
+ 'static_front_page',
474
+ ) );
475
+
476
+ if ( in_array( esc_attr( $args['section'] ), $default_sections ) ) {
477
+ return esc_attr( $args['section'] );
478
+ }
479
+
480
+ return $this->prefix . '_' . esc_attr( $args['section'] );
481
+ }
482
+
483
+ /**
484
+ * Retrieve a prefix.
485
+ *
486
+ * @since 1.0.0
487
+ * @return string
488
+ */
489
+ public function prepare_prefix( $prefix ) {
490
+ $prefix = preg_replace( '/\W/', '-', strtolower( $prefix ) );
491
+ $prefix = sanitize_key( $prefix );
492
+
493
+ return $prefix;
494
+ }
495
+
496
+ /**
497
+ * Save WP_Customize_Manager instance to prorerty.
498
+ *
499
+ * @since 1.0.0
500
+ * @param object $customize WP_Customize_Manager instance.
501
+ */
502
+ public function set_customize( $customize ) {
503
+ $this->customize = $customize;
504
+ }
505
+
506
+ /**
507
+ * Retrieve the version number.
508
+ *
509
+ * @since 1.0.0
510
+ * @return string The version number of the module.
511
+ */
512
+ public function get_version() {
513
+ return $this->version;
514
+ }
515
+
516
+ /**
517
+ * Retrieve a option value by ID.
518
+ *
519
+ * @since 1.0.0
520
+ * @param mixed $id Settings ID.
521
+ * @return bool|mixed
522
+ */
523
+ public function get_value( $id, $default = null ) {
524
+
525
+ if ( null === $default ) {
526
+ $default = $this->get_default( $id );
527
+ }
528
+
529
+ if ( 'theme_mod' === $this->type ) {
530
+ return get_theme_mod( $id, $default );
531
+ }
532
+
533
+ if ( 'option' === $this->type ) {
534
+ $options = get_option( $this->prefix . '_options', array() );
535
+
536
+ return isset( $options[ $id ] ) ? $options[ $id ] : $default;
537
+ }
538
+
539
+ return $default;
540
+ }
541
+
542
+ /**
543
+ * Retrieve a default option value.
544
+ *
545
+ * @since 1.0.0
546
+ * @param [string] $id Settings ID.
547
+ * @return mixed
548
+ */
549
+ public function get_default( $id ) {
550
+ return isset( $this->options[ $id ]['default'] ) ? $this->options[ $id ]['default'] : null;
551
+ }
552
+
553
+ /**
554
+ * Whitelist for setting type.
555
+ *
556
+ * @since 1.0.0
557
+ * @param [string] $type Settings type.
558
+ * @return bool
559
+ */
560
+ public function sanitize_type( $type ) {
561
+ return in_array( $type, array( 'theme_mod', 'option' ) );
562
+ }
563
+
564
+ /**
565
+ * Text sanitization callback.
566
+ *
567
+ * - Sanitization: html
568
+ * - Control: text, textarea
569
+ *
570
+ * Sanitization callback for 'html' type text inputs. This callback sanitizes `$html`
571
+ * for HTML allowable in posts.
572
+ *
573
+ * NOTE: wp_filter_post_kses() can be passed directly as `$wp_customize->add_setting()`
574
+ * 'sanitize_callback'. It is wrapped in a callback here merely for example purposes.
575
+ *
576
+ * @author WPTRT <https://github.com/WPTRT>
577
+ * @author Cherry Team <cherryframework@gmail.com>
578
+ * @see wp_filter_post_kses() https://developer.wordpress.org/reference/functions/wp_filter_post_kses/
579
+ * @since 1.0.0
580
+ * @param [string] $html HTML to sanitize.
581
+ * @return string Sanitized HTML.
582
+ */
583
+ public function sanitize_text( $html ) {
584
+ return wp_filter_post_kses( $html );
585
+ }
586
+
587
+ /**
588
+ * Email sanitization callback.
589
+ *
590
+ * - Sanitization: email
591
+ * - Control: text
592
+ *
593
+ * Sanitization callback for 'email' type text controls. This callback sanitizes `$email`
594
+ * as a valid email address.
595
+ *
596
+ * @author WPTRT <https://github.com/WPTRT>
597
+ * @author Cherry Team <cherryframework@gmail.com>
598
+ * @see sanitize_email() https://developer.wordpress.org/reference/functions/sanitize_key/
599
+ * @link sanitize_email() https://codex.wordpress.org/Function_Reference/sanitize_email
600
+ * @since 1.0.0
601
+ * @param [string] $email Email address to sanitize.
602
+ * @param WP_Customize_Setting $setting Setting instance.
603
+ * @return string The sanitized email if not null; otherwise, the setting default.
604
+ */
605
+ public function sanitize_email( $email, $setting ) {
606
+ // Sanitize $input as a hex value without the hash prefix.
607
+ $email = sanitize_email( $email );
608
+
609
+ // If $email is a valid email, return it; otherwise, return the default.
610
+ return ( '' === $email ) ? $setting->default : $email;
611
+ }
612
+
613
+ /**
614
+ * Textarea sanitization callback.
615
+ *
616
+ * @since 1.0.0
617
+ * @param [string] $html HTML to sanitize.
618
+ * @return string Sanitized HTML.
619
+ */
620
+ public function sanitize_textarea( $html ) {
621
+ return $this->sanitize_text( $html );
622
+ }
623
+
624
+ /**
625
+ * Select sanitization callback.
626
+ *
627
+ * - Sanitization: select
628
+ * - Control: select, radio
629
+ *
630
+ * Sanitization callback for 'select' and 'radio' type controls. This callback sanitizes `$input`
631
+ * as a slug, and then validates `$input` against the choices defined for the control.
632
+ *
633
+ * @author WPTRT <https://github.com/WPTRT>
634
+ * @author Cherry Team <cherryframework@gmail.com>
635
+ * @see sanitize_key() https://developer.wordpress.org/reference/functions/sanitize_key/
636
+ * @see $wp_customize->get_control() https://developer.wordpress.org/reference/classes/wp_customize_manager/get_control/
637
+ * @since 1.0.0
638
+ * @param [string] $input Slug to sanitize.
639
+ * @param WP_Customize_Setting $setting Setting instance.
640
+ * @return string Sanitized slug if it is a valid choice; otherwise, the setting default.
641
+ */
642
+ public function sanitize_select( $input, $setting ) {
643
+
644
+ // Ensure input is a slug.
645
+ $input = sanitize_key( $input );
646
+
647
+ // Get list of choices from the control associated with the setting.
648
+ $choices = $setting->manager->get_control( $setting->id )->choices;
649
+
650
+ // If the input is a valid key, return it; otherwise, return the default.
651
+ return ( array_key_exists( $input, $choices ) ? $input : $setting->default );
652
+ }
653
+
654
+ /**
655
+ * Function sanitize_radio
656
+ */
657
+ public function sanitize_radio( $input, $setting ) {
658
+ return $this->sanitize_select( $input, $setting );
659
+ }
660
+
661
+ /**
662
+ * Checkbox sanitization callback.
663
+ *
664
+ * Sanitization callback for 'checkbox' type controls. This callback sanitizes `$checked`
665
+ * as a boolean value, either TRUE or FALSE.
666
+ *
667
+ * @author WPTRT <https://github.com/WPTRT>
668
+ * @author Cherry Team <cherryframework@gmail.com>
669
+ * @since 1.0.0
670
+ * @param bool $checked Whether the checkbox is checked.
671
+ * @return bool Whether the checkbox is checked.
672
+ */
673
+ public function sanitize_checkbox( $checked ) {
674
+ return ( ( isset( $checked ) && true == $checked ) ? true : false );
675
+ }
676
+
677
+ /**
678
+ * HEX Color sanitization callback example.
679
+ *
680
+ * - Sanitization: hex_color
681
+ * - Control: text, WP_Customize_Color_Control
682
+ *
683
+ * Note: sanitize_hex_color_no_hash() can also be used here, depending on whether
684
+ * or not the hash prefix should be stored/retrieved with the hex color value.
685
+ *
686
+ * @author WPTRT <https://github.com/WPTRT>
687
+ * @author Cherry Team <cherryframework@gmail.com>
688
+ * @see sanitize_hex_color() https://developer.wordpress.org/reference/functions/sanitize_hex_color/
689
+ * @link sanitize_hex_color_no_hash() https://developer.wordpress.org/reference/functions/sanitize_hex_color_no_hash/
690
+ * @since 1.0.0
691
+ * @param [string] $hex_color HEX color to sanitize.
692
+ * @param WP_Customize_Setting $setting Setting instance.
693
+ * @return string The sanitized hex color if not null; otherwise, the setting default.
694
+ */
695
+ public function sanitize_hex_color( $hex_color, $setting ) {
696
+ // Sanitize $input as a hex value without the hash prefix.
697
+ $hex_color = sanitize_hex_color( $hex_color );
698
+
699
+ // If $input is a valid hex value, return it; otherwise, return the default.
700
+ return ( '' === $hex_color ) ? $setting->default : $hex_color;
701
+ }
702
+
703
+ /**
704
+ * Image sanitization callback.
705
+ *
706
+ * Checks the image's file extension and mime type against a whitelist. If they're allowed,
707
+ * send back the filename, otherwise, return the setting default.
708
+ *
709
+ * - Sanitization: image file extension
710
+ * - Control: text, WP_Customize_Image_Control
711
+ *
712
+ * @author WPTRT <https://github.com/WPTRT>
713
+ * @author Cherry Team <cherryframework@gmail.com>
714
+ * @see wp_check_filetype() https://developer.wordpress.org/reference/functions/wp_check_filetype/
715
+ * @since 1.0.0
716
+ * @param [string] $image Image filename.
717
+ * @param WP_Customize_Setting $setting Setting instance.
718
+ * @return string The image filename if the extension is allowed; otherwise, the setting default.
719
+ */
720
+ public function sanitize_image( $image, $setting ) {
721
+
722
+ // Allow to correctly remove selected image
723
+ if ( empty( $image ) ) {
724
+ return $image;
725
+ }
726
+
727
+ $mimes = $this->get_image_types();
728
+
729
+ // Return an array with file extension and mime_type.
730
+ $file = wp_check_filetype( $image, $mimes );
731
+
732
+ // If $image has a valid mime_type, return it; otherwise, return the default.
733
+ return ( $file['ext'] ? $image : $setting->default );
734
+ }
735
+
736
+ /**
737
+ * URL sanitization callback.
738
+ *
739
+ * - Sanitization: url
740
+ * - Control: text, url
741
+ *
742
+ * Sanitization callback for 'url' type text inputs. This callback sanitizes `$url` as a valid URL.
743
+ *
744
+ * NOTE: esc_url_raw() can be passed directly as `$wp_customize->add_setting()` 'sanitize_callback'.
745
+ * It is wrapped in a callback here merely for example purposes.
746
+ *
747
+ * @author WPTRT <https://github.com/WPTRT>
748
+ * @author Cherry Team <cherryframework@gmail.com>
749
+ * @see esc_url_raw() https://developer.wordpress.org/reference/functions/esc_url_raw/
750
+ * @since 1.0.0
751
+ * @param [string] $url URL to sanitize.
752
+ * @return string Sanitized URL.
753
+ */
754
+ public function sanitize_url( $url ) {
755
+ return esc_url_raw( $url );
756
+ }
757
+
758
+ /**
759
+ * File URL sanitization callback.
760
+ *
761
+ * @since 1.0.0
762
+ * @param [string] $url File URL to sanitize.
763
+ * @return string Sanitized URL.
764
+ */
765
+ public function sanitize_file( $url ) {
766
+ return $this->sanitize_url( $url );
767
+ }
768
+
769
+ /**
770
+ * Range sanitization callback.
771
+ *
772
+ * - Sanitization: number_range
773
+ * - Control: number, tel
774
+ *
775
+ * Sanitization callback for 'number' or 'tel' type text inputs. This callback sanitizes
776
+ * `$number` as an absolute integer within a defined min-max range.
777
+ *
778
+ * @author WPTRT <https://github.com/WPTRT>
779
+ * @author Cherry Team <cherryframework@gmail.com>
780
+ * @see absint() https://developer.wordpress.org/reference/functions/absint/
781
+ * @since 1.0.0
782
+ * @param int $number Number to check within the numeric range defined by the setting.
783
+ * @param WP_Customize_Setting $setting Setting instance.
784
+ * @return int|string The number, if it is zero or greater and falls within the defined range;
785
+ * otherwise, the setting default.
786
+ */
787
+ public function sanitize_range( $number, $setting ) {
788
+ // Get the input attributes associated with the setting.
789
+ $atts = $setting->manager->get_control( $setting->id )->input_attrs;
790
+
791
+ // Get step.
792
+ $step = ( isset( $atts['step'] ) ? $atts['step'] : 1 );
793
+
794
+ if ( is_float( $step ) ) {
795
+
796
+ // Ensure input is a float value.
797
+ $number = floatval( $number );
798
+ $checker = is_float( $number / $step );
799
+ } else {
800
+
801
+ // Ensure input is an absolute integer.
802
+ $number = absint( $number );
803
+ $checker = is_int( $number / $step );
804
+ }
805
+
806
+ // Get minimum number in the range.
807
+ $min = ( isset( $atts['min'] ) ? $atts['min'] : $number );
808
+
809
+ // Get maximum number in the range.
810
+ $max = ( isset( $atts['max'] ) ? $atts['max'] : $number );
811
+
812
+ // If the number is within the valid range, return it; otherwise, return the default
813
+ return ( $min <= $number && $number <= $max && $checker ? $number : $setting->default );
814
+ }
815
+
816
+ /**
817
+ * Number sanitization callback.
818
+ *
819
+ * @since 1.0.0
820
+ * @param int $number Number to check within the numeric range defined by the setting.
821
+ * @param WP_Customize_Setting $setting Setting instance.
822
+ * @return int|string The number, if it is zero or greater and falls within the defined range;
823
+ * otherwise, the setting default.
824
+ */
825
+ public function sanitize_number( $number, $setting ) {
826
+ return $this->sanitize_range( $number, $setting );
827
+ }
828
+
829
+ /**
830
+ * Retrieve array of image file types.
831
+ *
832
+ * @author WPTRT <https://github.com/WPTRT>
833
+ * @author Cherry Team <cherryframework@gmail.com>
834
+ * @since 1.0.0
835
+ * @return array
836
+ */
837
+ public function get_image_types() {
838
+ /**
839
+ * Filter array of valid image file types.
840
+ *
841
+ * The array includes image mime types that are included in wp_get_mime_types()
842
+ *
843
+ * @since 1.0.0
844
+ * @param array $mimes Image mime types.
845
+ * @param object $this Cherry_Customiser instance.
846
+ */
847
+ return apply_filters( 'cherry_customizer_get_image_types', array(
848
+ 'jpg|jpeg|jpe' => 'image/jpeg',
849
+ 'gif' => 'image/gif',
850
+ 'png' => 'image/png',
851
+ 'bmp' => 'image/bmp',
852
+ 'tif|tiff' => 'image/tiff',
853
+ 'ico' => 'image/x-icon',
854
+ ), $this );
855
+ }
856
+
857
+ /**
858
+ * Fonts initialization.
859
+ * Once add records to the `wp_options` table.
860
+ *
861
+ * @since 1.0.0
862
+ */
863
+ public function init_fonts() {
864
+ $fonts_data = $this->get_fonts_data();
865
+ $fonts_data = (array) $fonts_data;
866
+
867
+ foreach ( $fonts_data as $type => $file ) {
868
+ $data = $this->read_font_file( $file );
869
+ add_option( 'cherry_customiser_fonts_' . $type, $data );
870
+ }
871
+ }
872
+
873
+ /**
874
+ * Prepare fonts.
875
+ *
876
+ * @since 1.0.0
877
+ */
878
+ public function prepare_fonts() {
879
+ $fonts_data = $this->get_fonts_data();
880
+ $fonts_data = (array) $fonts_data;
881
+
882
+ foreach ( $fonts_data as $type => $file ) {
883
+
884
+ $fonts = get_option( 'cherry_customiser_fonts_' . $type, false );
885
+
886
+ if ( false === $fonts ) {
887
+ $fonts = $this->read_font_file( $file );
888
+ update_option( 'cherry_customiser_fonts_' . $type, $fonts );
889
+ }
890
+
891
+ if ( is_array( $fonts ) ) {
892
+ $this->fonts = array_merge( $this->fonts, $this->satizite_font_family( $fonts ) );
893
+ }
894
+ }
895
+ }
896
+
897
+ /**
898
+ * Retrieve array with fonts file path.
899
+ *
900
+ * @since 1.0.0
901
+ * @return array
902
+ */
903
+ public function get_fonts_data() {
904
+ /**
905
+ * Filter array of fonts data.
906
+ *
907
+ * @since 1.0.0
908
+ * @param array $data Set of fonts data.
909
+ * @param object $this Cherry_Customiser instance.
910
+ */
911
+ return apply_filters( 'cherry_customizer_get_fonts_data', array(
912
+ 'standard' => __DIR__ . '/assets/fonts/standard.json',
913
+ 'google' => __DIR__ . '/assets/fonts/google.json',
914
+ ), $this );
915
+ }
916
+
917
+ /**
918
+ * Retrieve array with font-family (for select element).
919
+ *
920
+ * @since 1.0.0
921
+ * @param [string] $type Font type.
922
+ * @return array
923
+ */
924
+ public function get_fonts( $type = '' ) {
925
+
926
+ if ( ! empty( $this->fonts[ $type ] ) ) {
927
+ return $this->fonts[ $type ];
928
+ }
929
+
930
+ if ( ! empty( $this->fonts ) ) {
931
+ return $this->fonts;
932
+ }
933
+
934
+ $this->prepare_fonts( $type );
935
+
936
+ return ! empty( $type ) && isset( $this->fonts[ $type ] ) ? $this->fonts[ $type ] : $this->fonts;
937
+ }
938
+
939
+ /**
940
+ * Retrieve a data from font's file.
941
+ *
942
+ * @since 1.0.0
943
+ * @global object $wp_filesystem
944
+ * @param [string] $file File path.
945
+ * @return array Fonts data.
946
+ */
947
+ public function read_font_file( $file ) {
948
+
949
+ if ( ! function_exists( 'WP_Filesystem' ) ) {
950
+ include_once( ABSPATH . '/wp-admin/includes/file.php' );
951
+ }
952
+
953
+ WP_Filesystem();
954
+ global $wp_filesystem;
955
+
956
+ if ( ! $wp_filesystem->exists( $file ) ) {
957
+ return false;
958
+ }
959
+
960
+ // Read the file.
961
+ $json = $wp_filesystem->get_contents( $file );
962
+
963
+ if ( ! $json ) {
964
+ return new WP_Error( 'reading_error', 'Error when reading file' );
965
+ }
966
+
967
+ $content = json_decode( $json, true );
968
+
969
+ return is_array( $content ) ? $content['items'] : false;
970
+ }
971
+
972
+ /**
973
+ * Retrieve a set with `font-family` ( 'foo' => 'foo' ).
974
+ *
975
+ * @since 1.0.0
976
+ * @param array $data All fonts data.
977
+ * @return array
978
+ */
979
+ public function satizite_font_family( $data ) {
980
+ $keys = array_map( array( $this, '_build_keys' ), $data );
981
+ $values = array_map( array( $this, '_build_values' ), $data );
982
+
983
+ array_filter( $keys );
984
+ array_filter( $values );
985
+
986
+ return array_combine( $keys, $values );
987
+ }
988
+
989
+ /**
990
+ * Function _build_keys
991
+ */
992
+ public function _build_keys( $item ) {
993
+
994
+ if ( empty( $item['family'] ) ) {
995
+ return false;
996
+ }
997
+
998
+ return sprintf( '%1$s, %2$s', $item['family'], $item['category'] );
999
+ }
1000
+
1001
+ /**
1002
+ * Function _build_values
1003
+ */
1004
+ public function _build_values( $item ) {
1005
+
1006
+ if ( empty( $item['family'] ) ) {
1007
+ return false;
1008
+ }
1009
+
1010
+ return $item['family'];
1011
+ }
1012
+
1013
+ /**
1014
+ * Function add_options
1015
+ */
1016
+ public function add_options() {
1017
+
1018
+ if ( empty( $this->options ) ) {
1019
+ return;
1020
+ }
1021
+
1022
+ $mods = get_theme_mods();
1023
+
1024
+ foreach ( $this->options as $id => $option ) {
1025
+
1026
+ if ( 'control' != $option['type'] ) {
1027
+ continue;
1028
+ }
1029
+
1030
+ if ( isset( $mods[ $id ] ) ) {
1031
+ continue;
1032
+ }
1033
+
1034
+ $mods[ $id ] = $this->get_default( $id );
1035
+ }
1036
+
1037
+ $theme = get_option( 'stylesheet' );
1038
+ update_option( "theme_mods_$theme", $mods );
1039
+ }
1040
+
1041
+ /**
1042
+ * Callback-function for `upgrader_process_complete` hook (for clear fonts data).
1043
+ *
1044
+ * @since 1.0.0
1045
+ * @param WP_Upgrader $updater Upgrader instance.
1046
+ * @param array $data Array of bulk item update data.
1047
+ */
1048
+ public function fire_clear_fonts( $updater, $data ) {
1049
+ $this->clear_fonts();
1050
+ }
1051
+
1052
+ /**
1053
+ * Clear customizer fonts.
1054
+ *
1055
+ * @since 1.0.0
1056
+ */
1057
+ public function clear_fonts() {
1058
+ $fonts_data = $this->get_fonts_data();
1059
+ $fonts_data = (array) $fonts_data;
1060
+
1061
+ foreach ( $fonts_data as $type => $file ) {
1062
+ delete_option( 'cherry_customiser_fonts_' . $type );
1063
+ }
1064
+
1065
+ $this->fonts = array();
1066
+ }
1067
+
1068
+ /**
1069
+ * Handler for custom `active_callback` feature.
1070
+ *
1071
+ * @since 1.0.0
1072
+ * @param [string] $callback Callback-function.
1073
+ * @return mixed
1074
+ */
1075
+ public function active_callback( $callback ) {
1076
+ $callback = esc_attr( $callback );
1077
+
1078
+ if ( is_callable( array( $this, $callback ) ) ) {
1079
+ return array( $this, $callback );
1080
+ }
1081
+
1082
+ return $callback;
1083
+ }
1084
+
1085
+ /**
1086
+ * Is the customizer preview a single post?
1087
+ *
1088
+ * @since 1.0.0
1089
+ * @return bool
1090
+ */
1091
+ public function callback_single() {
1092
+ return is_single();
1093
+ }
1094
+
1095
+ /**
1096
+ * Returns the instance.
1097
+ *
1098
+ * @since 1.0.0
1099
+ * @return object
1100
+ */
1101
+ public static function get_instance( $core, $args ) {
1102
+ return new self( $core, $args );
1103
+ }
1104
+ }
1105
+ }
cherry-framework/modules/cherry-customizer/inc/class-cherry-wp-customize-iconpicker.php ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Iconpicker customizer control
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Modules/Customizer
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ if ( class_exists( 'WP_Customize_Control' ) ) {
14
+
15
+ /**
16
+ * Iconpicker control for customizer
17
+ */
18
+ class Cherry_WP_Customize_Iconpicker extends WP_Customize_Control {
19
+
20
+ /**
21
+ * Cherry Core instance
22
+ *
23
+ * @var array
24
+ */
25
+ public $icon_data = array();
26
+
27
+ /**
28
+ * UI instance
29
+ *
30
+ * @var object
31
+ */
32
+ private $iconpicker = null;
33
+
34
+ /**
35
+ * Render the control's content.
36
+ */
37
+ public function render_content() {
38
+ ?>
39
+ <label>
40
+ <span class="customize-control-title">
41
+ <?php echo esc_html( $this->label ); ?>
42
+ </span>
43
+
44
+ </label>
45
+ <?php
46
+ echo str_replace(
47
+ 'id="' . $this->id . '"',
48
+ 'id="' . $this->id . '" ' . $this->get_link(),
49
+ $this->iconpicker->render()
50
+ );
51
+ }
52
+
53
+ /**
54
+ * Enqueue assets
55
+ */
56
+ public function enqueue() {
57
+
58
+ $core = apply_filters( 'cherry_customizer_get_core', false );
59
+ $ui_builder = $core->init_module(
60
+ 'cherry-ui-elements',
61
+ array( 'ui_elements' => array( 'iconpicker' ) )
62
+ );
63
+
64
+ $args = array(
65
+ 'type' => 'iconpicker',
66
+ 'id' => $this->id,
67
+ 'name' => $this->id,
68
+ 'value' => $this->value(),
69
+ 'icon_data' => $this->icon_data,
70
+ );
71
+
72
+ add_action( 'customize_controls_print_styles', array( $this, 'print_sets' ) );
73
+
74
+ $this->iconpicker = $ui_builder->get_ui_element_instance( 'iconpicker', $args );
75
+ $this->iconpicker->enqueue_assets();
76
+ }
77
+
78
+ /**
79
+ * Print JS var with sets data
80
+ *
81
+ * @return void
82
+ */
83
+ public function print_sets() {
84
+ $this->iconpicker->prepare_icon_set();
85
+ UI_Iconpicker::$printed = false;
86
+ $this->iconpicker->print_icon_set();
87
+ }
88
+ }
89
+
90
+ }
cherry-framework/modules/cherry-dynamic-css/cherry-dynamic-css.php ADDED
@@ -0,0 +1,452 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Dynamic CSS
4
+ * Description: CSS parser which uses variables & functions for CSS code optimization
5
+ * Version: 1.1.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Dynamic_Css' ) ) {
26
+
27
+ /**
28
+ * Dynamic CSS parser
29
+ */
30
+ class Cherry_Dynamic_Css {
31
+
32
+ /**
33
+ * Module version
34
+ *
35
+ * @var string
36
+ */
37
+ public $module_version = '1.1.0';
38
+
39
+ /**
40
+ * Module arguments
41
+ *
42
+ * @var array
43
+ */
44
+ public $args = array();
45
+
46
+ /**
47
+ * Core instance
48
+ *
49
+ * @var object
50
+ */
51
+ public $core = null;
52
+
53
+ /**
54
+ * Holder for processed variables array
55
+ *
56
+ * @var array
57
+ */
58
+ public $variables = null;
59
+
60
+ /**
61
+ * Variable pattern
62
+ *
63
+ * @var array
64
+ */
65
+ public $var_pattern = '/\$(([-_a-zA-Z0-9]+)(\[[\'\"]*([-_a-zA-Z0-9]+)[\'\"]*\])?({([a-z%]+)})?)/';
66
+
67
+ /**
68
+ * Function pattern
69
+ *
70
+ * @var array
71
+ */
72
+ public $func_pattern = '/@(([a-zA-Z_]+)\(([^@\)]*)?\))/';
73
+
74
+ /**
75
+ * Constructor for the module
76
+ */
77
+ function __construct( $core, $args ) {
78
+
79
+ $this->core = $core;
80
+ $this->args = wp_parse_args( $args, array(
81
+ 'prefix' => 'blank',
82
+ 'type' => 'theme_mod',
83
+ 'single' => true,
84
+ 'css_files' => null,
85
+ 'options' => array(),
86
+ ) );
87
+
88
+ add_action( 'wp_head', array( $this, 'print_inline_css' ), 99 );
89
+ }
90
+
91
+ /**
92
+ * Get CSS variables into array
93
+ *
94
+ * @since 1.0.0
95
+ * @return array dynamic CSS variables
96
+ */
97
+ public function get_css_varaibles() {
98
+
99
+ if ( null !== $this->variables ) {
100
+ return $this->variables;
101
+ }
102
+
103
+ $variables = $this->get_standard_vars();
104
+ $var_list = ! empty( $this->args['options'] ) ? $this->args['options'] : array();
105
+
106
+ /**
107
+ * Filter options names list to use it as varaibles
108
+ *
109
+ * @since 1.0.0
110
+ * @param array $var_list default variables list.
111
+ * @param array $this->args module arguments.
112
+ */
113
+ $var_list = apply_filters( 'cherry_css_var_list', $var_list, $this->args );
114
+
115
+ if ( empty( $var_list ) ) {
116
+ return $variables;
117
+ }
118
+
119
+ $custom_vars = array();
120
+
121
+ foreach ( $var_list as $var ) {
122
+ $custom_vars[ $var ] = $this->get_setting( $var );
123
+ }
124
+
125
+ $variables = array_merge( $variables, $custom_vars );
126
+
127
+ /**
128
+ * Filter result variables list with values
129
+ *
130
+ * @since 1.0.0
131
+ * @param array $variables default variables list.
132
+ * @param array $this->args module arguments.
133
+ */
134
+ $this->variables = apply_filters( 'cherry_css_variables', $variables, $this->args );
135
+
136
+ return $this->variables;
137
+ }
138
+
139
+ /**
140
+ * Get current setting by name
141
+ *
142
+ * @since 1.0.0
143
+ * @return mixed
144
+ */
145
+ public function get_setting( $name ) {
146
+
147
+ $type = $this->args['type'];
148
+
149
+ if ( 'theme_mod' == $type ) {
150
+ $setting = get_theme_mod( $name );
151
+ return $setting;
152
+ }
153
+
154
+ if ( true != $this->args['single'] ) {
155
+ $setting = get_option( $name );
156
+ return $setting;
157
+ }
158
+
159
+ $settings = get_option( $this->args['prefix'] );
160
+
161
+ if ( ! empty( $settings ) && isset( $settings[ $name ] ) ) {
162
+ return $settings[ $name ];
163
+ }
164
+
165
+ return false;
166
+
167
+ }
168
+
169
+ /**
170
+ * Get standard WordPress variables from customizer - header image, background image etc.
171
+ *
172
+ * @since 1.0.0
173
+ * @return array
174
+ */
175
+ public function get_standard_vars() {
176
+
177
+ $standard_vars = array(
178
+ 'header_image',
179
+ 'background_image',
180
+ 'background_repeat',
181
+ 'background_position_x',
182
+ 'background_attachment',
183
+ );
184
+
185
+ $result = array();
186
+
187
+ foreach ( $standard_vars as $var ) {
188
+ $result[ $var ] = get_theme_mod( $var );
189
+ }
190
+
191
+ return $result;
192
+
193
+ }
194
+
195
+ /**
196
+ * Get path inside of current module
197
+ *
198
+ * @since 1.0.0
199
+ * @param [type] $path file inside module directory to get path for.
200
+ * @return string
201
+ */
202
+ public function get_path( $path = null ) {
203
+
204
+ $result = trailingslashit( __DIR__ );
205
+
206
+ if ( null !== $path ) {
207
+ $result .= $path;
208
+ }
209
+
210
+ return $result;
211
+
212
+ }
213
+
214
+ /**
215
+ * Get avaliable functions into array
216
+ *
217
+ * @since 1.0.0
218
+ * @return array dynamic CSS variables
219
+ */
220
+ public function get_css_functions() {
221
+
222
+ require_once $this->get_path( 'inc/class-cherry-dynamic-css-utilities.php' );
223
+ $utilities = Cherry_Dynamic_Css_Utilities::get_instance();
224
+
225
+ $func_list = array(
226
+ 'darken' => array( $utilities, 'color_darken' ),
227
+ 'lighten' => array( $utilities, 'color_lighten' ),
228
+ 'contrast' => array( $utilities, 'color_contrast' ),
229
+ 'alpha' => array( $utilities, 'color_alpha' ),
230
+ 'background' => array( $utilities, 'background_css' ),
231
+ 'typography' => array( $utilities, 'get_typography_css' ),
232
+ 'box' => array( $utilities, 'get_box_model_css' ),
233
+ 'emph' => array( $utilities, 'element_emphasis' ),
234
+ 'font_family' => array( $utilities, 'typography_font_family' ),
235
+ 'font_size' => array( $utilities, 'typography_size' ),
236
+ 'container_compare' => array( $utilities, 'container_width_compare' ),
237
+ 'sum' => array( $utilities, 'simple_sum' ),
238
+ 'diff' => array( $utilities, 'simple_diff' ),
239
+ 'menu_toogle_endpoint' => array( $utilities, 'menu_toogle_endpoint' ),
240
+ );
241
+
242
+ /**
243
+ * Filter available CSS functions list
244
+ *
245
+ * @since 1.0.0
246
+ * @param array $func_list default functions list.
247
+ * @param array $this->args module arguments.
248
+ */
249
+ return apply_filters( 'cherry_css_func_list', $func_list, $this->args );
250
+
251
+ }
252
+
253
+ /**
254
+ * Parse CSS string and replasce varaibles and functions
255
+ *
256
+ * @since 1.0.0
257
+ * @param [type] $css CSS to parse.
258
+ * @return string
259
+ */
260
+ public function parse( $css ) {
261
+
262
+ $replce_vars = preg_replace_callback( $this->var_pattern, array( $this, 'replace_vars' ), $css );
263
+ $replace_func = preg_replace_callback( $this->func_pattern, array( $this, 'replace_func' ), $replce_vars );
264
+
265
+ $result = preg_replace( '/\t|\r|\n|\s{2,}/', '', $replace_func );
266
+
267
+ return $result;
268
+
269
+ }
270
+
271
+ /**
272
+ * Print inline CSS after current theme stylesheet
273
+ *
274
+ * @since 1.0.0
275
+ * @return void|bool false
276
+ */
277
+ public function print_inline_css() {
278
+
279
+ if ( ! $this->args['css_files'] ) {
280
+ return false;
281
+ }
282
+
283
+ if ( ! is_array( $this->args['css_files'] ) ) {
284
+ $this->args['css_files'] = array( $this->args['css_files'] );
285
+ }
286
+
287
+ ob_start();
288
+
289
+ foreach ( $this->args['css_files'] as $file ) {
290
+
291
+ if ( ! file_exists( $file ) ) {
292
+ continue;
293
+ }
294
+
295
+ include $file;
296
+
297
+ }
298
+
299
+ /**
300
+ * Allow to include custom dynamic CSS files
301
+ *
302
+ * @since 1.0.0
303
+ * @param array $this->args Current dynamic CSS arguments array.
304
+ * @param array $this->core Current core instance.
305
+ */
306
+ do_action( 'cherry_dynamic_css_include_custom_files', $this->args, $this->core );
307
+
308
+ $css = ob_get_clean();
309
+ $parsed_css = $this->parse( $css );
310
+
311
+ /**
312
+ * Filter parsed dynamic CSS
313
+ *
314
+ * @since 1.0.0
315
+ * @param string $parsed_css default functions list.
316
+ * @param array $this->args module arguments.
317
+ */
318
+ $parsed_css = apply_filters( 'cherry_dynamic_css_parsed_styles', $parsed_css, $this->args );
319
+
320
+ printf( '<style type="text/css">%s</style>', $parsed_css );
321
+
322
+ }
323
+
324
+ /**
325
+ * Callback function to replace CSS vars
326
+ *
327
+ * @since 1.0.0
328
+ * @param [string] $matches founded vars.
329
+ */
330
+ function replace_vars( $matches ) {
331
+
332
+ $not_found = '/* Variable not found */';
333
+
334
+ // check if variable name found
335
+ if ( empty( $matches[2] ) ) {
336
+ return $not_found;
337
+ }
338
+
339
+ $variables = $this->get_css_varaibles();
340
+
341
+ // check if var exists
342
+ if ( ! array_key_exists( $matches[2], $variables ) ) {
343
+ return $not_found;
344
+ }
345
+
346
+ $val = $variables[ $matches[2] ];
347
+
348
+ $maybe_units = '';
349
+
350
+ // check if we need to add units after value
351
+ if ( ! empty( $matches[6] ) ) {
352
+ $maybe_units = $matches[6];
353
+ }
354
+
355
+ // check if we search for array val
356
+ if ( ! empty( $matches[4] ) && is_array( $val ) && isset( $val[ $matches[4] ] ) ) {
357
+ return $val[ $matches[4] ] . $maybe_units;
358
+ }
359
+
360
+ if ( ! is_array( $val ) ) {
361
+ return $val . $maybe_units;
362
+ } else {
363
+ return $matches[0];
364
+ }
365
+
366
+ }
367
+
368
+ /**
369
+ * Callback function to replace CSS functions
370
+ *
371
+ * @since 1.0.0
372
+ * @param [string] $matches founded dunction.
373
+ */
374
+ function replace_func( $matches ) {
375
+
376
+ $not_found = '/* Function does not exist */';
377
+
378
+ // check if functions name found
379
+ if ( empty( $matches[2] ) ) {
380
+ return $not_found;
381
+ }
382
+
383
+ $functions = $this->get_css_functions();
384
+
385
+ // check if function exists and is not CSS @media query
386
+ if ( ! array_key_exists( $matches[2], $functions ) && 'media' !== $matches[2] ) {
387
+ return $not_found;
388
+ } elseif ( 'media' == $matches[2] ) {
389
+ return $matches[0];
390
+ }
391
+
392
+ $function = $functions[ $matches[2] ];
393
+ $args = isset( $matches[3] ) ? $matches[3] : array();
394
+
395
+ if ( empty( $args ) ) {
396
+ $result = call_user_func( $function );
397
+ return $result;
398
+ }
399
+
400
+ if ( 'font_family' == $matches[2] ) {
401
+ $result = call_user_func( $function, $args );
402
+ return $result;
403
+ }
404
+
405
+ $args = str_replace( ' ', '', $args );
406
+ $args = explode( ',', $args );
407
+
408
+ if ( ! is_callable( $function ) ) {
409
+ return $not_found;
410
+ }
411
+
412
+ if ( ! empty( $args ) ) {
413
+ $args = array_map( array( $this, 'prepare_args' ), $args );
414
+ }
415
+
416
+ $result = call_user_func_array( $function, $args );
417
+
418
+ return $result;
419
+
420
+ }
421
+
422
+ /**
423
+ * Filter user function arguments
424
+ *
425
+ * @since 4.0.0
426
+ */
427
+ function prepare_args( $item ) {
428
+
429
+ $name = str_replace( '$', '', $item );
430
+ $variables = $this->get_css_varaibles();
431
+
432
+ if ( ! array_key_exists( $name, $variables ) ) {
433
+
434
+ return $item;
435
+ }
436
+
437
+ return $variables[ $name ];
438
+
439
+ }
440
+
441
+ /**
442
+ * Returns the instance.
443
+ *
444
+ * @since 1.0.0
445
+ * @return object
446
+ */
447
+ public static function get_instance( $core, $args ) {
448
+ return new self( $core, $args );
449
+ }
450
+ }
451
+
452
+ }
cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-utilities.php ADDED
@@ -0,0 +1,841 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Define CSS functions callbacks
4
+ *
5
+ * @package package_name
6
+ * @author Cherry Team
7
+ * @license GPL-2.0+
8
+ */
9
+
10
+ // If this file is called directly, abort.
11
+ if ( ! defined( 'WPINC' ) ) {
12
+ die;
13
+ }
14
+
15
+ if ( ! class_exists( 'Cherry_Dynamic_Css_Utilities' ) ) {
16
+
17
+ /**
18
+ * Define Cherry_Dynamic_Css_Utilities class
19
+ */
20
+ class Cherry_Dynamic_Css_Utilities {
21
+
22
+ /**
23
+ * A reference to an instance of this class.
24
+ *
25
+ * @since 1.0.0
26
+ * @var object
27
+ */
28
+ private static $instance = null;
29
+
30
+ /**
31
+ * Make passed color darken.
32
+ *
33
+ * @since 1.0.0
34
+ * @param [string] $color HEX or RGB(A) color value.
35
+ * @param [float] $darken Darken percent (0-100).
36
+ * @return string Processed color.
37
+ */
38
+ public function color_darken( $color, $darken = 0 ) {
39
+
40
+ if ( ! $color ) {
41
+ return false;
42
+ }
43
+
44
+ $prepared_data = $this->prepare_color_mod( $color, $darken );
45
+
46
+ if ( ! $prepared_data || ! is_array( $prepared_data ) ) {
47
+ return false;
48
+ }
49
+
50
+ $r = $prepared_data['r'];
51
+ $g = $prepared_data['g'];
52
+ $b = $prepared_data['b'];
53
+ $a = $prepared_data['a'];
54
+ $percent = $prepared_data['percent'];
55
+
56
+ // Calc darken vals.
57
+ $r = round( $r - 255 * $percent, 0 );
58
+ $g = round( $g - 255 * $percent, 0 );
59
+ $b = round( $b - 255 * $percent, 0 );
60
+
61
+ $r = $r < 0 ? 0 : $r;
62
+ $g = $g < 0 ? 0 : $g;
63
+ $b = $b < 0 ? 0 : $b;
64
+
65
+ if ( false !== $a ) {
66
+ return sprintf( 'rgba(%s,%s,%s,%s)', $r, $g, $b, $a );
67
+ } else {
68
+ return sprintf( 'rgb(%s,%s,%s)', $r, $g, $b );
69
+ }
70
+ }
71
+
72
+ /**
73
+ * Make passed color lighten.
74
+ *
75
+ * @since 1.0.0
76
+ * @param [string] $color HEX or RGB(A) color value.
77
+ * @param [float] $lighten Lighten percent (0-100).
78
+ * @return string Processed color.
79
+ */
80
+ public function color_lighten( $color, $lighten = 0 ) {
81
+
82
+ if ( ! $color ) {
83
+ return false;
84
+ }
85
+
86
+ $prepared_data = $this->prepare_color_mod( $color, $lighten );
87
+
88
+ if ( ! $prepared_data || ! is_array( $prepared_data ) ) {
89
+ return false;
90
+ }
91
+
92
+ $r = $prepared_data['r'];
93
+ $g = $prepared_data['g'];
94
+ $b = $prepared_data['b'];
95
+ $a = $prepared_data['a'];
96
+ $percent = $prepared_data['percent'];
97
+
98
+ // Calc lighten vals
99
+ $r = round( $r + 255 * $percent, 0 );
100
+ $g = round( $g + 255 * $percent, 0 );
101
+ $b = round( $b + 255 * $percent, 0 );
102
+
103
+ $r = $r > 255 ? 255 : $r;
104
+ $g = $g > 255 ? 255 : $g;
105
+ $b = $b > 255 ? 255 : $b;
106
+
107
+ if ( false !== $a ) {
108
+ return sprintf( 'rgba(%s,%s,%s,%s)', $r, $g, $b, $a );
109
+ } else {
110
+ return sprintf( 'rgb(%s,%s,%s)', $r, $g, $b );
111
+ }
112
+ }
113
+
114
+ /**
115
+ * Convert passed color into RGBa with passed opacity.
116
+ *
117
+ * @since 1.0.0
118
+ * @param [string] $color Color to convert.
119
+ * @param [integer] $opacity Opacity.
120
+ * @return string
121
+ */
122
+ public function color_alpha( $color, $opacity = 100 ) {
123
+
124
+ if ( ! $color ) {
125
+ return false;
126
+ }
127
+
128
+ $prepared_data = $this->prepare_color_mod( $color, 100 );
129
+
130
+ if ( ! $prepared_data || ! is_array( $prepared_data ) ) {
131
+ return false;
132
+ }
133
+
134
+ $r = $prepared_data['r'];
135
+ $g = $prepared_data['g'];
136
+ $b = $prepared_data['b'];
137
+ $a = intval( $opacity ) / 100;
138
+
139
+ return sprintf( 'rgba(%s,%s,%s,%s)', $r, $g, $b, $a );
140
+ }
141
+
142
+ /**
143
+ * Select contrast color for passed from 2 proposed.
144
+ *
145
+ * 1st proposed color must be light - it will selected if passed color is dark,
146
+ * 2nd selected if passed is light, so it must be darken.
147
+ *
148
+ * @since 1.0.0
149
+ * @param [string] $color Color to get contrast for.
150
+ * @param [string] $if_dark Return this if we had dark color.
151
+ * @param [string] $if_light Return this if we had light color.
152
+ * @return string Color.
153
+ */
154
+ public function color_contrast( $color, $if_dark = '#ffffff', $if_light = '#000000' ) {
155
+
156
+ if ( ! $color ) {
157
+ return false;
158
+ }
159
+
160
+ $prepared_data = $this->prepare_color_mod( $color, 100 );
161
+
162
+ if ( ! $prepared_data || ! is_array( $prepared_data ) ) {
163
+ return false;
164
+ }
165
+
166
+ $r = $prepared_data['r'];
167
+ $g = $prepared_data['g'];
168
+ $b = $prepared_data['b'];
169
+
170
+ $luminance = 0.299 * $r + 0.587 * $g + 0.114 * $b;
171
+
172
+ if ( $luminance >= 128 ) {
173
+ return $if_light;
174
+ } else {
175
+ return $if_dark;
176
+ }
177
+ }
178
+
179
+ /**
180
+ * Prepare color to modify.
181
+ *
182
+ * Bring passed color and change percent to array
183
+ * with R, G, B color values, opacity (if provided)
184
+ * and change percentage.
185
+ *
186
+ * @since 1.0.0
187
+ * @param [string] $color HEX or RGB(A) color value.
188
+ * @param [float] $percent Modify percent (0-100).
189
+ * @return array Prepared color and modify percent.
190
+ */
191
+ public function prepare_color_mod( $color, $percent = 0 ) {
192
+ $is_rgba = ( false !== strpos( $color, 'rgba' ) ) ? true : false;
193
+ $is_rgb = ( false !== strpos( $color, 'rgb' ) && false === $is_rgba ) ? true : false;
194
+ $is_hex = ( false === $is_rgba && false === $is_rgb ) ? true : false;
195
+
196
+ $percent = round( ( double ) $percent / 100, 4 );
197
+
198
+ if ( $is_hex && '#' == $color[0] ) {
199
+ $color = substr( $color, 1 );
200
+ }
201
+
202
+ // Prepare hex color.
203
+ if ( $is_hex && strlen( $color ) == 6 ) {
204
+ list( $r, $g, $b ) = array( $color[0] . $color[1], $color[2] . $color[3], $color[4] . $color[5] );
205
+ } elseif ( $is_hex && strlen( $color ) == 3 ) {
206
+ list( $r, $g, $b ) = array( $color[0] . $color[0], $color[1] . $color[1], $color[2] . $color[2] );
207
+ } elseif ( $is_hex ) {
208
+ return false;
209
+ }
210
+
211
+ if ( $is_hex ) {
212
+ $r = hexdec( $r );
213
+ $g = hexdec( $g );
214
+ $b = hexdec( $b );
215
+ }
216
+
217
+ $color = str_replace( ' ', '', $color );
218
+
219
+ // Prepare RGBA.
220
+ if ( $is_rgba ) {
221
+ preg_match( '/rgba\((.*)\)/', $color, $matches );
222
+ if ( ! is_array( $matches ) || empty( $matches[1] ) ) {
223
+ return false;
224
+ }
225
+ list( $r, $g, $b, $a ) = explode( ',', $matches[1] );
226
+ }
227
+
228
+ // Prepare RGB.
229
+ if ( $is_rgb ) {
230
+ preg_match( '/rgb\((.*)\)/', $color, $matches );
231
+ if ( ! is_array( $matches ) || empty( $matches[1] ) ) {
232
+ return false;
233
+ }
234
+ list( $r, $g, $b ) = explode( ',', $matches[1] );
235
+ }
236
+
237
+ $result = array(
238
+ 'r' => $r,
239
+ 'g' => $g,
240
+ 'b' => $b,
241
+ 'a' => isset( $a ) ? $a : false,
242
+ 'percent' => $percent,
243
+ );
244
+
245
+ return $result;
246
+ }
247
+
248
+ /**
249
+ * Get background CSS by bg data from options and selector.
250
+ * If passed multiplie images - returns retina ready CSS.
251
+ *
252
+ * @since 1.0.0
253
+ * @param [string] $selector CSS selector to apply bg for.
254
+ * @param [array] $data data-array from options.
255
+ * @return string
256
+ */
257
+ public function get_background_css( $selector, $data ) {
258
+
259
+ if ( ! $selector ) {
260
+ return;
261
+ }
262
+
263
+ if ( ! is_array( $data ) ) {
264
+ return;
265
+ }
266
+
267
+ if ( empty( $data['image'] ) && empty( $data['color'] ) ) {
268
+ return;
269
+ }
270
+
271
+ $standard_bg = cherry_prepare_background( $data );
272
+
273
+ if ( empty( $data['image'] ) ) {
274
+ $standard_bg .= 'background-image:none;';
275
+ return $selector . '{' . $standard_bg . '}';
276
+ }
277
+
278
+ $images = explode( ',', $data['image'] );
279
+
280
+ $property_format = "%1$s {background-image: url(%2$s);%3$s}";
281
+
282
+ if ( 1 == count( $images ) && wp_attachment_is_image( $images[0] ) ) {
283
+
284
+ $img = wp_get_attachment_image_src( $images[0], 'full' );
285
+ $result = sprintf( $property_format, $selector, $img[0], $standard_bg );
286
+
287
+ return $result;
288
+ }
289
+
290
+ $img1x = null;
291
+ $img2x = null;
292
+ $width1x = 0;
293
+ $count = 2;
294
+
295
+ for ( $i = 0; $i < $count; $i++ ) {
296
+
297
+ if ( ( ! isset( $images[ $i ] ) ) || ( ! wp_attachment_is_image( $images[ $i ] ) ) ) {
298
+ continue;
299
+ }
300
+
301
+ $img = wp_get_attachment_image_src( $images[ $i ], 'full' );
302
+
303
+ if ( ! is_array( $img ) ) {
304
+ continue;
305
+ }
306
+
307
+ $img_url = $img[0];
308
+ $img_width = intval( $img[1] );
309
+
310
+ if ( null == $img1x ) {
311
+ $img1x = $img_url;
312
+ $img2x = $img_url;
313
+ $width1x = $img_width;
314
+ } elseif ( $img_width > $width1x ) {
315
+ $img2x = $img_url;
316
+ } else {
317
+ $img1x = $img_url;
318
+ }
319
+ }
320
+
321
+ $bg1 = sprintf( $property_format, $selector, $img1x, $standard_bg );
322
+ $bg2 = sprintf( $property_format, $selector, $img2x, '' );
323
+ $result = $bg1 . ' @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {' . $bg2 . '}';
324
+
325
+ return $result;
326
+ }
327
+
328
+ /**
329
+ * Sanitizes a hex color.
330
+ *
331
+ * Always adds hash to color use `sanitize_hex_color` if exist.
332
+ *
333
+ * @since 1.0.0
334
+ * @param [string] $color Maybe HEX color.
335
+ * @return string|null Sanitized color.
336
+ */
337
+ public function sanitize_hex_color( $color ) {
338
+ $color = ltrim( $color, '#' );
339
+ $color = '#' . $color;
340
+
341
+ if ( '' === $color ) {
342
+ return '';
343
+ }
344
+
345
+ if ( function_exists( 'sanitize_hex_color' ) ) {
346
+ return sanitize_hex_color( $color );
347
+ }
348
+
349
+ // 3 or 6 hex digits, or the empty string.
350
+ if ( preg_match( '|^#([A-Fa-f0-9]{3}){1,2}$|', $color ) ) {
351
+ return $color;
352
+ }
353
+
354
+ return null;
355
+ }
356
+
357
+ /**
358
+ * Implode background properties array into CSS string.
359
+ *
360
+ * @since 1.0.0
361
+ * @param [array] $data Background data-array.
362
+ * @return string Set of background rules.
363
+ */
364
+ public function prepare_background( $data ) {
365
+
366
+ if ( ! is_array( $data ) ) {
367
+ return;
368
+ }
369
+
370
+ unset( $data['image'] );
371
+
372
+ $result = '';
373
+ $format = 'background-%s:%s;';
374
+
375
+ foreach ( $data as $prop => $value ) {
376
+
377
+ if ( ! $value ) {
378
+ continue;
379
+ }
380
+
381
+ switch ( $prop ) {
382
+ case 'color':
383
+ $value = $this->sanitize_hex_color( $value );
384
+ break;
385
+
386
+ case 'position':
387
+ $value = str_replace( '-', ' ', $value );
388
+ break;
389
+ }
390
+
391
+ $result .= sprintf( $format, $prop, $value );
392
+ }
393
+
394
+ return $result;
395
+ }
396
+
397
+ /**
398
+ * Implode typography data array from options into CSS string.
399
+ *
400
+ * @since 1.0.0
401
+ * @param [array] $data Typography parameters array from options.
402
+ * @param [array] $mod Optional parameter - pass function name and arg to modify values inside typography array.
403
+ * @return string Font, letter-spacing, text-align, color CSS properties string.
404
+ */
405
+ public function cherry_get_typography_css( $data, $mod = array() ) {
406
+
407
+ if ( ! is_array( $data ) || empty( $data ) ) {
408
+ return;
409
+ }
410
+
411
+ $defaults = array(
412
+ 'family' => '',
413
+ 'style' => '',
414
+ 'color' => '',
415
+ 'size' => '',
416
+ 'lineheight' => '',
417
+ 'letterspacing' => '',
418
+ 'align' => '',
419
+ );
420
+
421
+ $data = wp_parse_args( $data, $defaults );
422
+
423
+ $result = array();
424
+
425
+ if ( '' !== $data['letterspacing'] ) {
426
+ $units = '0' != $data['letterspacing'] ? 'px' : '';
427
+ $result[] = 'letter-spacing:' . $data['letterspacing'] . $units;
428
+ }
429
+
430
+ if ( 'notdefined' != $data['align'] ) {
431
+ $result[] = 'text-align:' . $data['align'];
432
+ }
433
+
434
+ if ( '' != $data['color'] ) {
435
+ $color = $this->sanitize_hex_color( $data['color'] );
436
+
437
+ if ( 1 < count( $mod ) && ( in_array( $mod[0], array( 'cherry_colors_lighten', 'cherry_colors_darken' ) ) ) ) {
438
+ $color = $mod[0]( $color, $mod[1] );
439
+ }
440
+
441
+ $result[] = 'color:' . $color;
442
+ }
443
+
444
+ $family = stripcslashes( $data['family'] );
445
+ $family = explode( ',', $family );
446
+
447
+ array_walk( $family, array( $this, 'typography_prepare_family' ) );
448
+
449
+ $family[] = ! empty( $data['category'] ) ? $data['category'] : 'sans-serif';
450
+ $family = array_unique( $family );
451
+
452
+ $font_style = false;
453
+ $font_weight = false;
454
+ $font_size = $data['size'] . 'px';
455
+ $line_height = $data['lineheight'] . 'px';
456
+
457
+ $font_family = implode( ', ', $family );
458
+
459
+ preg_match( '/^(\d*)(\w*)/i', $data['style'], $matches );
460
+
461
+ if ( is_array( $matches ) ) {
462
+ $font_style = ( 'regular' != $matches[2] ) ? $matches[2] : false;
463
+ $font_weight = $matches[1];
464
+ }
465
+
466
+ $font = array(
467
+ $font_style,
468
+ $font_weight,
469
+ $font_size . '/' . $line_height,
470
+ $font_family,
471
+ );
472
+
473
+ $font = implode( ' ', array_filter( $font ) );
474
+
475
+ $result[] = 'font:' . ltrim( $font );
476
+
477
+ $result = implode( ';', $result ) . ';';
478
+
479
+ return $result;
480
+ }
481
+
482
+ /**
483
+ * Prepare font family for passing into typography function.
484
+ *
485
+ * @since 4.0.5
486
+ * @param [string] $item Array item.
487
+ * @param [int] $index Array item index.
488
+ * @return void
489
+ */
490
+ public function typography_prepare_family( &$item, $index ) {
491
+ $item = trim( $item );
492
+
493
+ if ( strpos( $item, ' ' ) ) {
494
+ $item = '"' . $item . '"';
495
+ }
496
+ }
497
+
498
+ /**
499
+ * Get box model CSS from layout editor option.
500
+ *
501
+ * @since 1.0.0
502
+ * @param [array] $data Layout parameters array from options.
503
+ * @param [array] $mod Optional parameter - pass function name and arg to modify values inside layout array.
504
+ * @return string Indents, border etc.
505
+ */
506
+ public function cherry_get_box_model_css( $data, $mod = array() ) {
507
+
508
+ if ( ! is_array( $data ) || empty( $data ) ) {
509
+ return;
510
+ }
511
+
512
+ $defaults = array(
513
+ 'position' => array(),
514
+ 'margin' => array(),
515
+ 'border' => array(),
516
+ 'padding' => array(),
517
+ 'container' => array(),
518
+ );
519
+
520
+ $box_defaults = array(
521
+ 'top' => '',
522
+ 'right' => '',
523
+ 'bottom' => '',
524
+ 'left' => '',
525
+ );
526
+
527
+ $data = wp_parse_args( $data, $defaults );
528
+
529
+ $result = '';
530
+
531
+ // Prepare postion
532
+ $data['position'] = array_filter( $data['position'] );
533
+ if ( ! empty( $data['position'] ) ) {
534
+
535
+ $data['position'] = array_intersect_key( $data['position'], $box_defaults );
536
+
537
+ $parser_data = array(
538
+ 'prefix' => '',
539
+ 'allowed' => $box_defaults,
540
+ );
541
+
542
+ array_walk( $data['position'], 'cherry_prepare_box_item', $parser_data );
543
+
544
+ $result .= implode( ';', array_filter( $data['position'] ) ) . ';';
545
+ }
546
+
547
+ // Prepare indents.
548
+ $result .= cherry_prepare_css_indents( $data['margin'], 'margin' );
549
+ $result .= cherry_prepare_css_indents( $data['padding'], 'padding' );
550
+
551
+ // Prepare borders
552
+ if ( ! empty( $data['border'] ) ) {
553
+
554
+ $border_style = ! empty( $data['border']['style'] ) ? $data['border']['style'] : '';
555
+ $border_color = ! empty( $data['border']['color'] ) ? $data['border']['color'] : '';
556
+ $border_radius = ! empty( $data['border']['radius'] ) ? $data['border']['radius'] : '';
557
+
558
+ if ( '' != $border_radius ) {
559
+ $result .= 'border-radius:' . $border_radius . ';';
560
+ }
561
+
562
+ $border_format = 'border-%1$s:%2$s %3$s %4$s;';
563
+
564
+ foreach ( $data['border'] as $property => $value ) {
565
+
566
+ if ( ! array_key_exists( $property, $box_defaults ) ) {
567
+ continue;
568
+ }
569
+
570
+ if ( empty( $value ) ) {
571
+ continue;
572
+ }
573
+
574
+ $result .= sprintf(
575
+ $border_format,
576
+ $property, $value, $border_style, $border_color
577
+ );
578
+ }
579
+ }
580
+
581
+ // Prepare dimensions.
582
+ if ( ! empty( $data['container']['width'] ) ) {
583
+ $result .= 'width:' . $data['container']['width'] . ';';
584
+ }
585
+
586
+ if ( ! empty( $data['container']['height'] ) ) {
587
+ $result .= 'height:' . $data['container']['height'] . ';';
588
+ }
589
+
590
+ return $result;
591
+ }
592
+
593
+ /**
594
+ * Service function to grab CSS indents from data array into string.
595
+ *
596
+ * @since 1.0.0
597
+ * @param [array] $data data-array.
598
+ * @param [string] $property CSS property.
599
+ * @return string
600
+ */
601
+ public function cherry_prepare_css_indents( $data, $property ) {
602
+
603
+ if ( empty( $data ) ) {
604
+ return;
605
+ }
606
+
607
+ $box_defaults = array(
608
+ 'top' => '',
609
+ 'right' => '',
610
+ 'bottom' => '',
611
+ 'left' => '',
612
+ );
613
+
614
+ $data = array_intersect_key( $data, $box_defaults );
615
+ $data = array_filter( $data );
616
+
617
+ if ( 4 == count( $data ) ) {
618
+ $result = $property . ':' . implode( ' ', $data ) . ';';
619
+ return $result;
620
+ }
621
+
622
+ $parser_data = array(
623
+ 'prefix' => $property,
624
+ 'allowed' => $box_defaults,
625
+ );
626
+
627
+ array_walk( $data, 'cherry_prepare_box_item', $parser_data );
628
+
629
+ $result = implode( ';', array_filter( $data ) ) . ';';
630
+
631
+ return $result;
632
+ }
633
+
634
+ /**
635
+ * Service callback function for.
636
+ *
637
+ * @since 1.0.0
638
+ * @param [string] $item Position value.
639
+ * @param [string] $key Position key.
640
+ * @param [array] $data Array of allowed positions and property prefix.
641
+ * @return void
642
+ */
643
+ public function cherry_prepare_box_item( &$item, $key, $data ) {
644
+
645
+ if ( ! array_key_exists( $key, $data['allowed'] ) ) {
646
+ $item = false;
647
+ return;
648
+ }
649
+
650
+ if ( empty( $item ) ) {
651
+ $item = false;
652
+ return;
653
+ }
654
+
655
+ $prefix = '';
656
+
657
+ if ( ! empty( $data['prefix'] ) ) {
658
+ $prefix = $data['prefix'] . '-';
659
+ }
660
+
661
+ $item = $prefix . $key . ':' . $item;
662
+ }
663
+
664
+ /**
665
+ * Prepare font family to the using in CSS.
666
+ *
667
+ * @since 1.0.1
668
+ * @param [string] $font_family Font name.
669
+ * @return string
670
+ */
671
+ public function typography_font_family( $font_family ) {
672
+ $font_family = trim( $font_family );
673
+ $family_args = explode( ',', $font_family );
674
+
675
+ $names = '';
676
+ $type = end( $family_args );
677
+ $type = trim( $type );
678
+
679
+ for ( $i = 0; $i < count( $family_args ) - 1; $i++ ) {
680
+
681
+ if ( strpos( $family_args[ $i ], ' ' ) ) {
682
+ $names .= "'" . $family_args[ $i ] . "',";
683
+ } else {
684
+ $names .= $family_args[ $i ] . ',';
685
+ }
686
+ }
687
+
688
+ return sprintf( '%1$s, %2$s', trim( $names, ',' ), $type );
689
+ }
690
+
691
+ /**
692
+ * Make float size.
693
+ *
694
+ * @since 1.0.0
695
+ * @param [double] $size Font size.
696
+ * @param [string] $operation Arithmetic operator (multiple, addition).
697
+ * @param [string] $func Function name (floor, ceil, round, abs).
698
+ * @param [double] $percent Font size in percent.
699
+ * @return double Size.
700
+ */
701
+ public function typography_size( $size, $operation = ' ', $func = 'round', $percent ) {
702
+
703
+ if ( ! $size ) {
704
+ return false;
705
+ }
706
+
707
+ switch ( $operation ) {
708
+ case 'multiple' :
709
+ $size = ( double ) $size * ( double ) $percent;
710
+ break;
711
+ case 'addition' :
712
+ $size = ( double ) $size + ( double ) $percent;
713
+ break;
714
+ }
715
+
716
+ switch ( $func ) {
717
+ case 'floor' :
718
+ $size = floor( $size );
719
+ break;
720
+ case 'ceil' :
721
+ $size = ceil( $size );
722
+ break;
723
+ case 'round' :
724
+ $size = round( $size );
725
+ break;
726
+ case 'abs' :
727
+ $size = abs( $size );
728
+ break;
729
+ }
730
+
731
+ return $size;
732
+ }
733
+
734
+ /**
735
+ * Build a CSS-rule.
736
+ *
737
+ * @since 1.0.0
738
+ * @param [string|int] $value CSS-proterty value.
739
+ * @param [string] $rule CSS-proterty name.
740
+ * @return string CSS-rule.
741
+ */
742
+ public function empty_value( $value, $rule ) {
743
+
744
+ if ( '' == $value || 'notdefined' == $value ) {
745
+ return;
746
+ }
747
+
748
+ echo $rule . ': ' . $value;
749
+
750
+ if ( is_numeric( $value ) ) {
751
+ echo 'px; ';
752
+ } else {
753
+ echo '; ';
754
+ }
755
+ }
756
+
757
+ /**
758
+ * Set element emphasis.
759
+ *
760
+ * @since 1.0.0
761
+ * @param [string] $parent Parent selector.
762
+ * @param [string] $color Color.
763
+ * @param [string] $property To define.
764
+ */
765
+ public function element_emphasis( $parent, $color, $property ) {
766
+ $result = $parent . ' {' . $property . ':' . $color . ';}';
767
+ $result .= $parent . ':hover {' . $property . ':' . $this->color_darken( $color, 10 ) . ';}';
768
+
769
+ return $result;
770
+ }
771
+
772
+ /**
773
+ * Return width value for container.
774
+ *
775
+ * @since 1.0.0
776
+ * @param [int] $container_width A container width value.
777
+ * @param [int] $element_width Some-block (parent-block for container) width value.
778
+ * @return int Width value.
779
+ */
780
+ public function container_width_compare( $container_width, $element_width ) {
781
+ return ( $container_width > $element_width ) ? $element_width : $container_width;
782
+ }
783
+
784
+ /**
785
+ * Sum of $a and $b.
786
+ *
787
+ * @since 1.0.0
788
+ * @param [int] $a Operand 1.
789
+ * @param [int] $b Operand 2.
790
+ * @return int Addition.
791
+ */
792
+ public function simple_sum( $a, $b ) {
793
+ return intval( $a ) + intval( $b );
794
+ }
795
+
796
+ /**
797
+ * Difference of $a and $b.
798
+ *
799
+ * @since 1.0.0
800
+ * @param [int] $a Operand 1.
801
+ * @param [int] $b Operand 2.
802
+ * @return int Subtraction.
803
+ */
804
+ public function simple_diff( $a, $b ) {
805
+ return intval( $a ) - intval( $b );
806
+ }
807
+
808
+ /**
809
+ * Retrieve a width to swith on mobile menu from.
810
+ *
811
+ * @since 1.0.0
812
+ * @return int Width value.
813
+ */
814
+ public function menu_toogle_endpoint() {
815
+
816
+ /**
817
+ * Filters a value when mobile menu switched.
818
+ *
819
+ * @since 1.0.0
820
+ * @param int $value Width value.
821
+ */
822
+ return apply_filters( 'cherry_menu_toogle_endpoint', 600 );
823
+ }
824
+
825
+ /**
826
+ * Returns the instance.
827
+ *
828
+ * @since 1.0.0
829
+ * @return object
830
+ */
831
+ public static function get_instance() {
832
+
833
+ // If the single instance hasn't been set, set it now.
834
+ if ( null == self::$instance ) {
835
+ self::$instance = new self;
836
+ }
837
+ return self::$instance;
838
+ }
839
+ }
840
+
841
+ }
cherry-framework/modules/cherry-google-fonts-loader/cherry-google-fonts-loader.php ADDED
@@ -0,0 +1,372 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Google Fonts Loader
4
+ * Description: Enqueue Google fonts
5
+ * Version: 1.1.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Google_Fonts_Loader' ) ) {
26
+
27
+ /**
28
+ * Google fonts loader main class
29
+ */
30
+ class Cherry_Google_Fonts_Loader {
31
+
32
+ /**
33
+ * Module version
34
+ *
35
+ * @var string
36
+ */
37
+ public $module_version = '1.1.0';
38
+
39
+ /**
40
+ * Module version
41
+ *
42
+ * @var string
43
+ */
44
+ public $module_slug = 'cherry-google-fonts-loader';
45
+
46
+ /**
47
+ * Module arguments
48
+ *
49
+ * @var array
50
+ */
51
+ public $args = array();
52
+
53
+ /**
54
+ * Core instance
55
+ *
56
+ * @var object
57
+ */
58
+ public $core = null;
59
+
60
+ /**
61
+ * Define fonts server URL
62
+ *
63
+ * @var string
64
+ */
65
+ public $fonts_host = '//fonts.googleapis.com/css';
66
+
67
+ /**
68
+ * Google fonts set
69
+ *
70
+ * @var array
71
+ */
72
+ public $google_fonts = null;
73
+
74
+ /**
75
+ * Array of stored google fonts data
76
+ *
77
+ * @var array
78
+ */
79
+ public $fonts_data = array();
80
+
81
+ /**
82
+ * Constructor for the class
83
+ */
84
+ function __construct( $core, $args ) {
85
+
86
+ $this->core = $core;
87
+ $this->args = wp_parse_args( $args, array( 'options' => array() ) );
88
+
89
+ $this->fonts_host = apply_filters( 'cherry_google_fonts_cdn', $this->fonts_host );
90
+
91
+ add_action( 'customize_preview_init', array( $this, 'reset_fonts_cache' ) );
92
+ add_action( 'customize_save_after', array( $this, 'reset_fonts_cache' ) );
93
+ add_action( 'switch_theme', array( $this, 'reset_fonts_cache' ) );
94
+
95
+ if ( is_admin() ) {
96
+ return;
97
+ }
98
+
99
+ add_action( 'wp_enqueue_scripts', array( $this, 'prepare_fonts' ) );
100
+
101
+ }
102
+
103
+ /**
104
+ * Get fonts data and enqueue URL
105
+ *
106
+ * @since 1.0.0
107
+ */
108
+ public function prepare_fonts() {
109
+
110
+ $font_url = $this->get_fonts_url();
111
+ wp_enqueue_style( 'cherry-google-fonts', $font_url );
112
+ }
113
+
114
+ /**
115
+ * Return theme Google fonts URL to enqueue it
116
+ *
117
+ * @since 1.0.0
118
+ * @return string
119
+ */
120
+ public function get_fonts_url() {
121
+
122
+ $font_url = get_transient( 'cherry_google_fonts_url' );
123
+
124
+ if ( ! $font_url ) {
125
+
126
+ // Get typography options list
127
+ $options_set = $this->get_options_set();
128
+
129
+ // build Google fonts data array
130
+ foreach ( $options_set as $option ) {
131
+ $this->add_font( $option );
132
+ }
133
+
134
+ $font_url = $this->build_fonts_url();
135
+
136
+ if ( false == $font_url ) {
137
+ return;
138
+ }
139
+
140
+ global $wp_customize;
141
+ if ( ! isset( $wp_customize ) ) {
142
+ set_transient( 'cherry_google_fonts_url', $font_url, WEEK_IN_SECONDS );
143
+ }
144
+ }
145
+
146
+ return $font_url;
147
+
148
+ }
149
+
150
+ /**
151
+ * Get options set from module arguments
152
+ *
153
+ * @return array
154
+ */
155
+ public function get_options_set() {
156
+ return $this->args['options'];
157
+ }
158
+
159
+ /**
160
+ * Get current setting by name
161
+ *
162
+ * @since 1.0.0
163
+ * @return mixed
164
+ */
165
+ public function get_setting( $name ) {
166
+
167
+ $type = $this->args['type'];
168
+
169
+ if ( 'theme_mod' == $type ) {
170
+ $setting = get_theme_mod( $name );
171
+ return $setting;
172
+ }
173
+
174
+ if ( true != $this->args['single'] ) {
175
+ $setting = get_option( $name );
176
+ return $setting;
177
+ }
178
+
179
+ $settings = get_option( $this->args['prefix'] );
180
+
181
+ if ( ! empty( $settings ) && isset( $settings[ $name ] ) ) {
182
+ return $settings[ $name ];
183
+ }
184
+
185
+ return false;
186
+
187
+ }
188
+
189
+ /**
190
+ * Build Google fonts stylesheet URL from stored data
191
+ *
192
+ * @since 1.0.0
193
+ */
194
+ public function build_fonts_url() {
195
+
196
+ $font_families = array();
197
+ $subsets = array();
198
+
199
+ if ( empty( $this->fonts_data ) ) {
200
+ return false;
201
+ }
202
+
203
+ foreach ( $this->fonts_data as $family => $data ) {
204
+ $styles = implode( ',', array_unique( array_filter( $data['style'] ) ) );
205
+ $font_families[] = $family . ':' . $styles;
206
+ $subsets = array_merge( $subsets, $data['character'] );
207
+ }
208
+
209
+ $subsets = array_unique( array_filter( $subsets ) );
210
+
211
+ $query_args = array(
212
+ 'family' => urlencode( implode( '|', $font_families ) ),
213
+ 'subset' => urlencode( implode( ',', $subsets ) ),
214
+ );
215
+
216
+ $fonts_url = add_query_arg( $query_args, $this->fonts_host );
217
+
218
+ return $fonts_url;
219
+ }
220
+
221
+ /**
222
+ * Get single typography option value from database and store it in object property
223
+ *
224
+ * @since 1.0.0
225
+ * @param [type] $font option name to get from database.
226
+ */
227
+ public function add_font( $font ) {
228
+
229
+ $font = wp_parse_args( $font, array(
230
+ 'family' => '',
231
+ 'style' => 'normal',
232
+ 'weight' => '400',
233
+ 'charset' => 'latin',
234
+ ) );
235
+
236
+ $family = $this->get_setting( $font['family'] );
237
+ $family = explode( ',', $family );
238
+ $family = trim( $family[0], "'" );
239
+
240
+ if ( ! $this->is_google_font( $family ) ) {
241
+ return;
242
+ }
243
+
244
+ $load_style = $this->get_setting( $font['weight'] );
245
+ $font_style = $this->get_setting( $font['style'] );
246
+
247
+ if ( 'italic' === $font_style ) {
248
+ $load_style .= $font_style;
249
+ }
250
+
251
+ if ( ! isset( $this->fonts_data[ $family ] ) ) {
252
+
253
+ $this->fonts_data[ $family ] = array(
254
+ 'style' => array( $load_style ),
255
+ 'character' => array( $this->get_setting( $font['charset'] ) ),
256
+ );
257
+
258
+ } else {
259
+
260
+ $this->fonts_data[ $family ] = array(
261
+ 'style' => $this->add_font_prop(
262
+ $load_style,
263
+ $this->fonts_data[ $family ]['style']
264
+ ),
265
+ 'character' => $this->add_font_prop(
266
+ $this->get_setting( $font['charset'] ),
267
+ $this->fonts_data[ $family ]['character']
268
+ ),
269
+ );
270
+
271
+ }
272
+
273
+ }
274
+
275
+ /**
276
+ * Add new font property to existaing properties array
277
+ *
278
+ * @since 1.0.0
279
+ * @param [type] $new property to add.
280
+ * @param array $existing existing properties.
281
+ */
282
+ public function add_font_prop( $new, $existing ) {
283
+
284
+ if ( ! is_array( $existing ) ) {
285
+ return array( $new );
286
+ }
287
+
288
+ if ( ! in_array( $new, $existing ) ) {
289
+ $existing[] = $new;
290
+ }
291
+
292
+ return $existing;
293
+
294
+ }
295
+
296
+ /**
297
+ * Check if selected font is google font
298
+ *
299
+ * @since 1.0.0
300
+ * @param array $font_family font family to check.
301
+ * @return boolean
302
+ */
303
+ public function is_google_font( $font_family ) {
304
+
305
+ $google_fonts = $this->get_google_fonts();
306
+
307
+ if ( empty( $google_fonts ) ) {
308
+
309
+ $customizer = isset( $this->core->modules['cherry-customizer'] ) ? $this->core->modules['cherry-customizer'] : false;
310
+
311
+ if ( ! $customizer ) {
312
+ return false;
313
+ }
314
+
315
+ $customizer->init_fonts();
316
+
317
+ $google_fonts = $this->get_google_fonts();
318
+
319
+ if ( empty( $google_fonts ) ) {
320
+ return false;
321
+ }
322
+ }
323
+
324
+ $font_family = explode( ',', $font_family );
325
+ $font_family = trim( $font_family[0], "'" );
326
+
327
+ foreach ( $google_fonts as $font ) {
328
+ if ( $font_family === $font['family'] ) {
329
+ return true;
330
+ }
331
+ }
332
+
333
+ return false;
334
+
335
+ }
336
+
337
+ /**
338
+ * Get google fonts array
339
+ *
340
+ * @since 1.0.0
341
+ * @return array
342
+ */
343
+ public function get_google_fonts() {
344
+
345
+ if ( null === $this->google_fonts ) {
346
+ $this->google_fonts = get_option( 'cherry_customiser_fonts_google', null );
347
+ }
348
+
349
+ return $this->google_fonts;
350
+ }
351
+
352
+ /**
353
+ * Reset fonts cache
354
+ *
355
+ * @since 1.0.0
356
+ */
357
+ public function reset_fonts_cache() {
358
+ delete_transient( 'cherry_google_fonts_url' );
359
+ }
360
+
361
+ /**
362
+ * Returns the instance.
363
+ *
364
+ * @since 1.0.0
365
+ * @return object
366
+ */
367
+ public static function get_instance( $core, $args ) {
368
+ return new self( $core, $args );
369
+ }
370
+ }
371
+
372
+ }
cherry-framework/modules/cherry-js-core/assets/js/cherry-js-core.js ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var CherryJsCore = {};
2
+
3
+ ( function( $ ) {
4
+ 'use strict';
5
+
6
+ CherryJsCore = {
7
+ name: 'Cherry Js Core',
8
+ version: '1.0.0',
9
+ author: 'Cherry Team',
10
+
11
+ variable: {
12
+ $document: $( document ),
13
+ $window: $( window ),
14
+ browser: $.browser,
15
+ browser_supported: true,
16
+ security: window.cherry_ajax,
17
+ loaded_assets: {
18
+ script: window.wp_load_script,
19
+ style: window.wp_load_style
20
+ },
21
+ ui_auto_init: ( 'true' === window.ui_init_object.auto_init ) ? true : false,
22
+ ui_auto_target: window.ui_init_object.targets
23
+ },
24
+
25
+ status: {
26
+ on_load: false,
27
+ is_ready: false
28
+ },
29
+
30
+ init: function(){
31
+
32
+ CherryJsCore.set_variable();
33
+
34
+ $( document ).on( 'ready', CherryJsCore.ready );
35
+
36
+ $( window ).on( 'load', CherryJsCore.load );
37
+ },
38
+
39
+ set_variable: function() {
40
+ //Set variable browser_supported
41
+ CherryJsCore.variable.browser_supported = ( function (){
42
+ var uset_browser = CherryJsCore.variable.browser,
43
+ not_supported = { 'msie': [8] };
44
+
45
+ for ( var browser in not_supported ) {
46
+ if( uset_browser.browser !== 'undefined' ){
47
+ for ( var version in not_supported[ browser ] ) {
48
+ if( uset_browser.version <= not_supported [ browser ] [ version ] ){
49
+ return false;
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ return true;
56
+ }() );
57
+ },
58
+
59
+ ready: function() {
60
+ CherryJsCore.status.is_ready = true;
61
+
62
+ // UI init after widget adding to sidebar
63
+ CherryJsCore.expressions.widget_ui_init();
64
+ },
65
+
66
+ load: function() {
67
+ CherryJsCore.status.on_load = true;
68
+ },
69
+
70
+ expressions: {
71
+ widget_ui_init: function() {
72
+ $( document ).on( 'widget-added widget-updated', function( event, data ) {
73
+ $( window ).trigger( {
74
+ type: 'cherry-ui-elements-init',
75
+ _target: data
76
+ } );
77
+ } );
78
+ },
79
+ },
80
+
81
+ utilites: {
82
+ namespace: function( space_path ) {
83
+ var parts = space_path.split( '.' ),
84
+ parent = CherryJsCore,
85
+ length = parts.length,
86
+ i = 0;
87
+
88
+ for(i = 0; i < length; i += 1 ){
89
+ if( typeof parent[ parts[ i ] ] === 'undefined' ){
90
+ parent[ parts[ i ] ] = {};
91
+ }
92
+ parent = parent[ parts[ i ] ];
93
+ }
94
+ return parent;
95
+ },
96
+ get_compress_assets: function( url, callback ) {
97
+ var data = {
98
+ action: 'get_compress_assets',
99
+ security: CherryJsCore.variable.security,
100
+ style: [],
101
+ script: []
102
+ },
103
+ reg_name = /([\S.]+\/)/gmi,
104
+ reg_type = /(\.js|\.css)/gmi,
105
+ callback_function = callback || function() {};
106
+
107
+ if( !$.isArray( url ) ){
108
+ url = [ url ];
109
+ }
110
+
111
+ for( var index in url ){
112
+ var file_url = url[ index ],
113
+ file_name = file_url.replace( reg_name, '' ),
114
+ file_type = file_url.match( reg_type )[ 0 ];
115
+
116
+ if( '.js' === file_type && -1 === $.inArray( file_name, CherryJsCore.variable.loaded_assets.script ) ){
117
+ data.script.push( file_url );
118
+ CherryJsCore.variable.loaded_assets.script.push( file_name );
119
+ }
120
+
121
+ if( '.css' === file_type && -1 === $.inArray( file_name, CherryJsCore.variable.loaded_assets.style ) ){
122
+ data.style.push( file_url );
123
+ CherryJsCore.variable.loaded_assets.style.push( file_name );
124
+ }
125
+ }
126
+
127
+ $.get( window.ajaxurl, data, function( response ) {
128
+ var json = $.parseJSON(response),
129
+ compressStyle = json.style,
130
+ compressScript = json.script,
131
+ script = null;
132
+
133
+ if(compressStyle){
134
+ var style = document.createElement('style');
135
+
136
+ style.type = 'text/css';
137
+ style.media = 'all';
138
+ style.innerHTML = compressStyle;
139
+
140
+ $('body', document).append(style);
141
+
142
+ }
143
+
144
+ if ( compressScript ) {
145
+ script = new Function( compressScript ) ();
146
+ }
147
+
148
+ return callback_function();
149
+ });
150
+ }
151
+ }
152
+ };
153
+
154
+ CherryJsCore.init();
155
+ }(jQuery));
cherry-framework/modules/cherry-js-core/assets/js/min/cherry-js-core.min.js ADDED
@@ -0,0 +1 @@
 
1
+ var CherryJsCore={};!function(e){"use strict";CherryJsCore={name:"Cherry Js Core",version:"1.0.0",author:"Cherry Team",variable:{$document:e(document),$window:e(window),browser:e.browser,browser_supported:!0,security:window.cherry_ajax,loaded_assets:{script:window.wp_load_script,style:window.wp_load_style},ui_auto_init:"true"===window.ui_init_object.auto_init?!0:!1,ui_auto_target:window.ui_init_object.targets},status:{on_load:!1,is_ready:!1},init:function(){CherryJsCore.set_variable(),e(document).on("ready",CherryJsCore.ready),e(window).on("load",CherryJsCore.load)},set_variable:function(){CherryJsCore.variable.browser_supported=function(){var e=CherryJsCore.variable.browser,r={msie:[8]};for(var s in r)if("undefined"!==e.browser)for(var t in r[s])if(e.version<=r[s][t])return!1;return!0}()},ready:function(){CherryJsCore.status.is_ready=!0,CherryJsCore.expressions.widget_ui_init()},load:function(){CherryJsCore.status.on_load=!0},expressions:{widget_ui_init:function(){e(document).on("widget-added widget-updated",function(r,s){e(window).trigger({type:"cherry-ui-elements-init",_target:s})})}},utilites:{namespace:function(e){var r=e.split("."),s=CherryJsCore,t=r.length,i=0;for(i=0;t>i;i+=1)"undefined"==typeof s[r[i]]&&(s[r[i]]={}),s=s[r[i]];return s},get_compress_assets:function(r,s){var t={action:"get_compress_assets",security:CherryJsCore.variable.security,style:[],script:[]},i=/([\S.]+\/)/gim,o=/(\.js|\.css)/gim,a=s||function(){};e.isArray(r)||(r=[r]);for(var n in r){var d=r[n],u=d.replace(i,""),y=d.match(o)[0];".js"===y&&-1===e.inArray(u,CherryJsCore.variable.loaded_assets.script)&&(t.script.push(d),CherryJsCore.variable.loaded_assets.script.push(u)),".css"===y&&-1===e.inArray(u,CherryJsCore.variable.loaded_assets.style)&&(t.style.push(d),CherryJsCore.variable.loaded_assets.style.push(u))}e.get(window.ajaxurl,t,function(r){var s=e.parseJSON(r),t=s.style,i=s.script,o=null;if(t){var n=document.createElement("style");n.type="text/css",n.media="all",n.innerHTML=t,e("body",document).append(n)}return i&&(o=new Function(i)()),a()})}}},CherryJsCore.init()}(jQuery);
cherry-framework/modules/cherry-js-core/cherry-js-core.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: JS Core
4
+ * Description: Initializes global JS object which provides additional plugin functionality
5
+ * Version: 1.1.2
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.2
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Js_Core' ) ) {
26
+
27
+ /**
28
+ * JS-core class.
29
+ *
30
+ * @since 1.0.0
31
+ * @since 1.0.1 Removed `module_directory` and `module_directory_uri` properties.
32
+ */
33
+ class Cherry_Js_Core {
34
+
35
+ /**
36
+ * A reference to an instance of this class.
37
+ *
38
+ * @since 1.0.0
39
+ * @var object
40
+ */
41
+ private static $instance = null;
42
+
43
+ /**
44
+ * Module version.
45
+ *
46
+ * @since 1.0.0
47
+ * @var string
48
+ */
49
+ private $module_version = '1.1.0';
50
+
51
+ /**
52
+ * Default options.
53
+ *
54
+ * @since 1.0.0
55
+ * @var array
56
+ */
57
+ private $options = array(
58
+ 'product_type' => 'framework',
59
+ 'src' => false,
60
+ 'version' => false,
61
+ );
62
+
63
+ /**
64
+ * Class constructor.
65
+ *
66
+ * @since 1.0.0
67
+ * @param object $core Core instance.
68
+ * @param array $args Class args.
69
+ */
70
+ public function __construct( $core, $args = array() ) {
71
+ $this->options = array_merge( $this->options, $args );
72
+
73
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_cherry_scripts' ), 0 );
74
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_cherry_scripts' ), 0 );
75
+ add_action( 'wp_print_scripts', array( $this, 'localize_script' ) );
76
+ }
77
+
78
+ /**
79
+ * Register and enqueue JS-core.
80
+ *
81
+ * @since 1.0.0
82
+ */
83
+ public function enqueue_cherry_scripts() {
84
+
85
+ if ( 'framework' === $this->options['product_type'] ) {
86
+ $src = esc_url( Cherry_Core::base_url( 'assets/js/min/cherry-js-core.min.js', __FILE__ ) );
87
+ $version = $this->module_version;
88
+ } else {
89
+ $src = ( ! empty( $this->options['src'] ) ? esc_url( $this->options['src'] ) : false );
90
+ $version = ( ! empty( $this->options['version'] ) ? absint( $this->options['src'] ) : false );
91
+ }
92
+
93
+ wp_enqueue_script( 'cherry-js-core', $src, array( 'jquery' ), $version, true );
94
+ }
95
+
96
+ /**
97
+ * Retrieve a scripts list.
98
+ *
99
+ * @since 1.0.0
100
+ * @return $array
101
+ */
102
+ private function get_include_script() {
103
+ return $this->add_suffix( '.js', wp_scripts()->queue );
104
+ }
105
+
106
+ /**
107
+ * Retrieve a styles list.
108
+ *
109
+ * @since 1.0.0
110
+ * @return $array
111
+ */
112
+ private function get_include_style() {
113
+ return $this->add_suffix( '.css', wp_styles()->queue );
114
+ }
115
+
116
+ /**
117
+ * [get_ui_init_settings]
118
+ *
119
+ * @since 1.0.0
120
+ * @return $array
121
+ */
122
+ private function get_ui_init_settings() {
123
+
124
+ // Default auto ui init settings.
125
+ $ui_init_settings = array(
126
+ 'auto_init' => false,
127
+ 'targets' => array(),
128
+ );
129
+
130
+ /**
131
+ * Filter to determine the list of selectors and the value of the automatic initialization ui js scripts
132
+ *
133
+ * @var array
134
+ */
135
+ return apply_filters( 'cherry_core_js_ui_init_settings', $ui_init_settings );
136
+ }
137
+
138
+ /**
139
+ * Add suffix to array.
140
+ *
141
+ * @since 1.0.0
142
+ */
143
+ private function add_suffix( $suffix, $array ) {
144
+
145
+ foreach ( $array as $key => $value ) {
146
+ $array[ $key ] = $value . $suffix;
147
+ }
148
+
149
+ return $array;
150
+ }
151
+
152
+ /**
153
+ * Prepare data for API script.
154
+ *
155
+ * @since 1.0.0
156
+ * @return void
157
+ */
158
+ public function localize_script() {
159
+ wp_localize_script( 'cherry-js-core', 'wp_load_style', $this->get_include_style() );
160
+ wp_localize_script( 'cherry-js-core', 'wp_load_script', $this->get_include_script() );
161
+ wp_localize_script( 'cherry-js-core', 'cherry_ajax', wp_create_nonce( 'cherry_ajax_nonce' ) );
162
+
163
+ $ui_init_settings = $this->get_ui_init_settings();
164
+ $ui_init_settings['auto_init'] = ( true == $ui_init_settings['auto_init'] ) ? 'true' : 'false';
165
+ wp_localize_script( 'cherry-js-core', 'ui_init_object', $ui_init_settings );
166
+ }
167
+
168
+ /**
169
+ * Returns the instance.
170
+ *
171
+ * @since 1.0.0
172
+ * @return object
173
+ */
174
+ public static function get_instance( $core, $args ) {
175
+
176
+ // If the single instance hasn't been set, set it now.
177
+ if ( null == self::$instance ) {
178
+ self::$instance = new self( $core, $args );
179
+ }
180
+
181
+ return self::$instance;
182
+ }
183
+ }
184
+ }
cherry-framework/modules/cherry-page-builder/assets/css/min/page-settings.min.css ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cherry-settings-page .description:after { content: ' '; clear: both; height: 10px; width: 100%; }
2
+
3
+ .notice-box { background: #222222; position: fixed; margin: 5px 0; border-left: 5px solid #2a445d; box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); box-sizing: border-box; padding: 15px 20px 15px 15px; min-width: 200px; overflow: hidden; z-index: 999; -webkit-transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1); transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1); }
4
+ .notice-box span.dashicons { position: relative; margin-right: 20px; }
5
+ .notice-box span.dashicons:before { position: absolute; font-size: 40px; left: -10px; top: -10px; }
6
+ .notice-box.success-notice { border-color: #8bc735; }
7
+ .notice-box.success-notice span.dashicons { color: #8bc735; }
8
+ .notice-box.success-notice span.dashicons:before { content: "\f147"; }
9
+ .notice-box.success-notice .inner b { color: #8bc735; }
10
+ .notice-box.info-notice { border-color: #ffcc00; }
11
+ .notice-box.info-notice span.dashicons { color: #ffcc00; }
12
+ .notice-box.info-notice span.dashicons:before { content: "\f348"; }
13
+ .notice-box.info-notice .inner b { color: #ffcc00; }
14
+ .notice-box.error-notice { border-color: #f62e46; }
15
+ .notice-box.error-notice span.dashicons { color: #f62e46; }
16
+ .notice-box.error-notice span.dashicons:before { content: "\f158"; }
17
+ .notice-box.show-state { -webkit-transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1); transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1); }
18
+ .notice-box .inner { display: inline-block; color: #fff; }
cherry-framework/modules/cherry-page-builder/assets/js/min/page-settings.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e){"use strict";window.CherryJsCore.utilites.namespace("page_builder"),window.CherryJsCore.page_builder={init:function(){var e=this;e.tabs(".cherry-settings-tabs").saveEvent(".cherry-settings-tabs form")},tabs:function(e){return jQuery(e+" .tabs-section a").each(function(t){var s=jQuery(this),i=s.attr("href");t?jQuery(e+" .section"+i).hide():s.addClass("nav-tab-active")}),jQuery(e+" .tabs-section a").on("click",function(t){var s=jQuery(this),i=s.attr("href");jQuery(e+" .section").hide(),jQuery(e+" .section"+i).show(),jQuery(e+" .tabs-section a").removeClass("nav-tab-active"),s.addClass("nav-tab-active"),t.preventDefault()}),this},saveEvent:function(e){var t=this;return jQuery(e).submit(function(e){var s=jQuery(this);s.ajaxSubmit({success:function(){t.noticeCreate("success",window.TMRealEstateMessage.success)},error:function(){t.noticeCreate("failed",window.TMRealEstateMessage.failed)},timeout:5e3}),e.preventDefault()}),this},noticeCreate:function(t,s){function i(){var t=100;e(".notice-box").each(function(){e(this).css({top:t}),t+=e(this).outerHeight(!0)})}var a,n=e('<div class="notice-box '+t+'-notice"><span class="dashicons"></span><div class="inner">'+s+"</div></div>"),r=0;return jQuery("body").prepend(n),i(),r=-1*(n.outerWidth(!0)+10),n.css({right:r}),a=setTimeout(function(){n.css({right:10}).addClass("show-state")},100),a=setTimeout(function(){r=-1*(n.outerWidth(!0)+10),n.css({right:r}).removeClass("show-state")},4e3),a=setTimeout(function(){n.remove(),clearTimeout(a)},4500),this}},window.CherryJsCore.page_builder.init()}(jQuery);
cherry-framework/modules/cherry-page-builder/assets/js/page-settings.js ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Page settings
3
+ */
4
+ (function( $ ) {
5
+ 'use strict';
6
+
7
+ window.CherryJsCore.utilites.namespace( 'page_builder' );
8
+ window.CherryJsCore.page_builder = {
9
+
10
+ init: function() {
11
+ var self = this;
12
+ self.tabs( '.cherry-settings-tabs' ).saveEvent( '.cherry-settings-tabs form' );
13
+ },
14
+
15
+ tabs: function( selectors ) {
16
+ jQuery( selectors + ' .tabs-section a' ).each( function( index ) {
17
+ var $this = jQuery( this );
18
+ var id = $this.attr( 'href' );
19
+ if ( ! index ) {
20
+ $this.addClass( 'nav-tab-active' );
21
+ } else {
22
+ jQuery( selectors + ' .section' + id ).hide();
23
+ }
24
+ });
25
+ jQuery( selectors + ' .tabs-section a' ).on( 'click', function( e ) {
26
+ var $this = jQuery( this );
27
+ var id = $this.attr( 'href' );
28
+ jQuery( selectors + ' .section' ).hide();
29
+ jQuery( selectors + ' .section' + id ).show();
30
+ jQuery( selectors + ' .tabs-section a' ).removeClass( 'nav-tab-active' );
31
+ $this.addClass( 'nav-tab-active' );
32
+ e.preventDefault();
33
+ });
34
+ return this;
35
+ },
36
+
37
+ saveEvent: function( selectors ) {
38
+ var self = this;
39
+ jQuery( selectors ).submit( function( e ) {
40
+ var $this = jQuery( this );
41
+ $this.ajaxSubmit({
42
+ success: function() {
43
+ self.noticeCreate( 'success', window.TMRealEstateMessage.success );
44
+ },
45
+ error: function() {
46
+ self.noticeCreate( 'failed', window.TMRealEstateMessage.failed );
47
+ },
48
+ timeout: 5000
49
+ });
50
+
51
+ e.preventDefault();
52
+ });
53
+ return this;
54
+ },
55
+
56
+ noticeCreate: function( type, message ) {
57
+ var
58
+ notice = $( '<div class="notice-box ' + type + '-notice"><span class="dashicons"></span><div class="inner">' + message + '</div></div>' ),
59
+ rightDelta = 0,
60
+ timeoutId;
61
+
62
+ jQuery( 'body' ).prepend( notice );
63
+ reposition();
64
+ rightDelta = -1 * ( notice.outerWidth( true ) + 10 );
65
+ notice.css( { 'right': rightDelta } );
66
+
67
+ timeoutId = setTimeout( function() {
68
+ notice.css( { 'right': 10 } ).addClass( 'show-state' );
69
+ }, 100 );
70
+ timeoutId = setTimeout( function() {
71
+ rightDelta = -1 * ( notice.outerWidth( true ) + 10 );
72
+ notice.css( { right: rightDelta } ).removeClass( 'show-state' );
73
+ }, 4000 );
74
+ timeoutId = setTimeout( function() {
75
+ notice.remove();
76
+ clearTimeout( timeoutId );
77
+ }, 4500 );
78
+
79
+ function reposition() {
80
+ var
81
+ topDelta = 100;
82
+ $( '.notice-box' ).each(function() {
83
+ $( this ).css( { top: topDelta } );
84
+ topDelta += $( this ).outerHeight( true );
85
+ });
86
+ }
87
+ return this;
88
+ }
89
+ };
90
+
91
+ window.CherryJsCore.page_builder.init();
92
+ }( jQuery ) );
cherry-framework/modules/cherry-page-builder/assets/scss/page-setting.scss ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cherry-settings-page {
2
+ .description {
3
+ &:after {
4
+ content: ' ';
5
+ clear: both;
6
+ height: 10px;
7
+ width: 100%;
8
+ }
9
+ }
10
+ }
11
+
12
+ .notice-box{
13
+ background: #222222;
14
+ position: fixed;
15
+ margin: 5px 0;
16
+ border-left: 5px solid #2a445d;
17
+ box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
18
+ box-sizing: border-box;
19
+ padding: 15px 20px 15px 15px;
20
+ min-width: 200px;
21
+ overflow: hidden;
22
+ z-index: 999;
23
+ -webkit-transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1);
24
+ transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1);
25
+ span.dashicons{
26
+ position: relative;
27
+ margin-right: 20px;
28
+ &:before{
29
+ position: absolute;
30
+ font-size: 40px;
31
+ left: -10px;
32
+ top: -10px;
33
+ }
34
+ }
35
+ &.success-notice{
36
+ border-color: #8bc735;
37
+ span.dashicons{
38
+ color: #8bc735;
39
+ &:before{
40
+ content: "\f147";
41
+ }
42
+ }
43
+ .inner{
44
+ b{
45
+ color: #8bc735;
46
+ }
47
+ }
48
+ }
49
+ &.info-notice{
50
+ border-color: #ffcc00;
51
+ span.dashicons{
52
+ color: #ffcc00;
53
+ &:before{
54
+ content: "\f348";
55
+ }
56
+ }
57
+ .inner{
58
+ b{
59
+ color: #ffcc00;
60
+ }
61
+ }
62
+ }
63
+ &.error-notice{
64
+ border-color: #f62e46;
65
+ span.dashicons{
66
+ color: #f62e46;
67
+ &:before{
68
+ content: "\f158";
69
+ }
70
+ }
71
+ }
72
+ &.show-state{
73
+ -webkit-transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);
74
+ transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);
75
+ }
76
+ .inner{
77
+ display: inline-block;
78
+ color: #fff;
79
+ }
80
+ }
cherry-framework/modules/cherry-page-builder/cherry-page-builder.php ADDED
@@ -0,0 +1,406 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Page Builder
4
+ * Description: Provides functionality for building custom options pages
5
+ * Version: 1.1.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Page_Builder' ) ) {
26
+
27
+ /**
28
+ * Create options page
29
+ */
30
+ class Cherry_Page_Builder {
31
+
32
+ /**
33
+ * Module version
34
+ *
35
+ * @var string
36
+ */
37
+ public $module_version = '1.1.0';
38
+
39
+ /**
40
+ * Module slug
41
+ *
42
+ * @var string
43
+ */
44
+ public $module_slug = 'cherry-page-builder';
45
+
46
+ /**
47
+ * Module arguments
48
+ *
49
+ * @var array
50
+ */
51
+ public $args = array();
52
+
53
+ /**
54
+ * Page data
55
+ *
56
+ * @var array
57
+ */
58
+ public $data = array();
59
+
60
+ /**
61
+ * Core instance
62
+ *
63
+ * @var object
64
+ */
65
+ public $core = null;
66
+
67
+ /**
68
+ * Current nonce name to check
69
+ *
70
+ * @var string
71
+ */
72
+ public $nonce = 'cherry-admin-menu-nonce';
73
+
74
+ /**
75
+ * The page properties.
76
+ *
77
+ * @var DataContainer
78
+ */
79
+ public $views;
80
+
81
+ /**
82
+ * The page sections.
83
+ *
84
+ * @var array
85
+ */
86
+ protected $sections;
87
+
88
+ /**
89
+ * The page settings.
90
+ *
91
+ * @var array
92
+ */
93
+ protected $settings;
94
+
95
+ /**
96
+ * Constructor for the module
97
+ */
98
+ function __construct( $core, $args = array() ) {
99
+
100
+ $this->core = $core;
101
+ $this->args = wp_parse_args(
102
+ $args,
103
+ array(
104
+ 'capability' => 'manage_options',
105
+ 'position' => 20,
106
+ 'icon' => 'dashicons-admin-site',
107
+ 'sections' => array(),
108
+ 'settings' => array(),
109
+ 'before' => '',
110
+ 'after' => '',
111
+ 'before_button' => '',
112
+ 'after_button' => '',
113
+ )
114
+ );
115
+
116
+ $this->views = __DIR__ . '/views/';
117
+ add_action( 'admin_enqueue_scripts', array( $this, 'assets' ) );
118
+ }
119
+
120
+ /**
121
+ * Add admin menu page
122
+ */
123
+ function add_admin_page() {
124
+ $page = $this->make( $this->args['slug'], $this->args['title'], $this->args['parent'], $this->args['views'] )->set(
125
+ array(
126
+ 'capability' => $this->args['capability'],
127
+ 'icon' => $this->args['icon'],
128
+ 'position' => $this->args['position'],
129
+ 'tabs' => $this->args['tabs'],
130
+ 'sections' => $this->args['sections'],
131
+ 'settings' => $this->args['settings'],
132
+ )
133
+ );
134
+ $page->add_sections( $this->args['sections'] );
135
+ $page->add_settings( $this->args['settings'] );
136
+ }
137
+
138
+ /**
139
+ * Set base data of page
140
+ *
141
+ * @param type string $slug The page slug name.
142
+ * @param type string $title The page display title.
143
+ * @param type string $parent The parent's page slug if a subpage.
144
+ *
145
+ * @return object
146
+ */
147
+ public function make( $slug, $title, $parent = null ) {
148
+ $page = new Cherry_Page_Builder( $this->core, $this->args );
149
+
150
+ // Set the page properties.
151
+ $page->data['slug'] = $slug;
152
+ $page->data['title'] = $title;
153
+ $page->data['parent'] = $parent;
154
+ $page->data['args'] = array(
155
+ 'capability' => 'manage_options',
156
+ 'icon' => '',
157
+ 'position' => null,
158
+ 'tabs' => true,
159
+ 'menu' => $title,
160
+ );
161
+ $page->data['rules'] = array();
162
+
163
+ return $page;
164
+ }
165
+
166
+ /**
167
+ * Set the custom page. Allow user to override
168
+ * the default page properties and add its own
169
+ * properties.
170
+ *
171
+ * @param array $params Base parameter.
172
+ * @return object
173
+ */
174
+ public function set( array $params = array() ) {
175
+ $this->args = $params;
176
+
177
+ $this->add_sections( $params['sections'] );
178
+ $this->add_settings( $params['settings'] );
179
+
180
+ add_action( 'admin_menu', array( $this, 'build' ) );
181
+
182
+ return $this;
183
+ }
184
+
185
+ /**
186
+ * Triggered by the 'admin_menu' action event.
187
+ * Register/display the custom page in the WordPress admin.
188
+ *
189
+ * @return void
190
+ */
191
+ public function build() {
192
+ if ( ! is_null( $this->data['parent'] ) ) {
193
+ add_submenu_page( $this->data['parent'], $this->data['title'], $this->data['args']['menu'], $this->data['args']['capability'], $this->data['slug'], array( $this, 'render' ) );
194
+ } else {
195
+ add_menu_page( $this->data['title'], $this->data['args']['menu'], $this->data['args']['capability'], $this->data['slug'], array( $this, 'render' ), $this->data['args']['icon'], $this->args['position'] );
196
+ }
197
+ }
198
+
199
+ /**
200
+ * Triggered by the 'add_menu_page' or 'add_submenu_page'.
201
+ *
202
+ * @return void
203
+ */
204
+ public function render() {
205
+ $title = ! empty( $this->data['title'] ) ? $this->data['title'] : '';
206
+ $page_slug = ! empty( $this->data['slug'] ) ? $this->data['slug'] : '';
207
+ $page_before = ! empty( $this->args['before'] ) ? $this->args['before'] : '';
208
+ $page_after = ! empty( $this->args['after'] ) ? $this->args['after'] : '';
209
+ $button_before = ! empty( $this->args['button_before'] ) ? $this->args['button_before'] : '';
210
+ $button_after = ! empty( $this->args['button_after'] ) ? $this->args['button_after'] : '';
211
+ $sections = ( ! empty( $this->sections ) && is_array( $this->sections ) ) ? $this->sections : array();
212
+
213
+ $html = Cherry_Toolkit::render_view(
214
+ $this->views . 'page.php',
215
+ array(
216
+ 'title' => $title,
217
+ 'page_slug' => $page_slug,
218
+ 'page_before' => $page_before,
219
+ 'page_after' => $page_after,
220
+ 'button_before' => $button_before,
221
+ 'button_after' => $button_after,
222
+ 'sections' => $sections,
223
+ )
224
+ );
225
+
226
+ echo $html;
227
+ }
228
+
229
+ /**
230
+ * Add custom sections for your settings.
231
+ *
232
+ * @param array $sections List of sections.
233
+ * @return void
234
+ */
235
+ public function add_sections( array $sections = array() ) {
236
+ $this->sections = $sections;
237
+ }
238
+
239
+ /**
240
+ * Check if the page has sections.
241
+ *
242
+ * @return bool
243
+ */
244
+ public function has_sections() {
245
+ return count( $this->sections ) ? true : false;
246
+ }
247
+
248
+ /**
249
+ * Check if the page has settings.
250
+ *
251
+ * @return bool
252
+ */
253
+ public function has_settings() {
254
+ return count( $this->settings ) ? true : false;
255
+ }
256
+
257
+ /**
258
+ * Add settings to the page. Define settings per section
259
+ * by setting the 'key' name equal to a registered section and
260
+ * pass it an array of 'settings' fields.
261
+ *
262
+ * @param array $settings The page settings.
263
+ * @return object
264
+ */
265
+ public function add_settings( array $settings = array() ) {
266
+ $this->settings = $settings;
267
+
268
+ add_action( 'admin_init', array( $this, 'install_settings' ) );
269
+
270
+ return $this;
271
+ }
272
+
273
+ /**
274
+ * Triggered by the 'admin_init' action.
275
+ * Perform the WordPress settings API.
276
+ *
277
+ * @return void
278
+ */
279
+ public function install_settings() {
280
+ if ( $this->has_sections() ) {
281
+ foreach ( $this->sections as $section ) {
282
+ if ( false === get_option( $section['slug'] ) ) {
283
+ add_option( $section['slug'] );
284
+ }
285
+ add_settings_section( $section['slug'], $section['name'], array( $this, 'display_sections' ), $section['slug'] );
286
+ }
287
+ }
288
+
289
+ if ( $this->has_settings() ) {
290
+ foreach ( $this->settings as $section => $settings ) {
291
+ foreach ( $settings as &$setting ) {
292
+ $setting['section'] = $section;
293
+ add_settings_field( $setting['slug'], $setting['title'], array( $this, 'display_settings' ), $section, $section, $setting );
294
+ }
295
+ register_setting( $section, $section );
296
+ }
297
+ }
298
+ }
299
+
300
+ /**
301
+ * Clear sections
302
+ */
303
+ public function clear_sections() {
304
+ if ( $this->has_sections() ) {
305
+ foreach ( $this->sections as $section ) {
306
+ delete_option( $section['slug'] );
307
+ }
308
+ }
309
+ }
310
+
311
+ /**
312
+ * Handle section display of the Settings API.
313
+ *
314
+ * @param array $args Page parameter.
315
+ * @return void
316
+ */
317
+ public function display_sections( array $args ) {
318
+ $description = '';
319
+ if ( ! empty( $this->sections[ $args['id'] ] ) ) {
320
+ if ( ! empty( $this->sections[ $args['id'] ]['description'] ) ) {
321
+ $description = $this->sections[ $args['id'] ]['description'];
322
+ }
323
+ }
324
+
325
+ $html = Cherry_Toolkit::render_view(
326
+ $this->views . 'section.php',
327
+ array(
328
+ 'description' => $description,
329
+ )
330
+ );
331
+ echo $html;
332
+ }
333
+
334
+ /**
335
+ * Handle setting display of the Settings API.
336
+ *
337
+ * @param array $setting Fields setting.
338
+ * @return void
339
+ */
340
+ public function display_settings( $setting ) {
341
+
342
+ // Check if a registered value exists.
343
+ $value = get_option( $setting['section'] );
344
+
345
+ if ( isset( $value[ $setting['slug'] ] ) ) {
346
+ $setting['field']['value'] = $value[ $setting['slug'] ];
347
+ } else {
348
+ $setting['field']['value'] = '';
349
+ }
350
+
351
+ // Set the name attribute.
352
+ $setting['field']['name'] = $setting['section'] . '[' . $setting['slug'] . ']';
353
+
354
+ if ( isset( $setting['custom_callback'] ) && is_callable( $setting['custom_callback'] ) ) {
355
+ echo call_user_func( $setting['custom_callback'], $setting['field'] );
356
+
357
+ } else if ( class_exists( 'UI_' . ucfirst( $setting['type'] ) ) ) {
358
+ $ui_class = 'UI_' . ucfirst( $setting['type'] );
359
+ $ui_element = new $ui_class( $setting['field'] );
360
+
361
+ // Display the field.
362
+ echo $ui_element->render();
363
+ }
364
+ }
365
+
366
+ /**
367
+ * Add styles and scripts
368
+ *
369
+ * @return void
370
+ */
371
+ public function assets() {
372
+ wp_enqueue_script( 'jquery-form' );
373
+
374
+ wp_localize_script( 'cherry-settings-page', 'TMRealEstateMessage', array(
375
+ 'success' => 'Successfully',
376
+ 'failed' => 'Failed',
377
+ ) );
378
+
379
+ wp_enqueue_script(
380
+ 'cherry-settings-page',
381
+ Cherry_Core::base_url( 'assets/js/min/page-settings.min.js', __FILE__ ),
382
+ array( 'jquery' ),
383
+ '0.2.0',
384
+ true
385
+ );
386
+
387
+ wp_enqueue_style(
388
+ 'cherry-settings-page',
389
+ Cherry_Core::base_url( 'assets/css/min/page-settings.min.css', __FILE__ ),
390
+ array(),
391
+ '0.1.0',
392
+ 'all'
393
+ );
394
+ }
395
+
396
+ /**
397
+ * Returns the instance.
398
+ *
399
+ * @since 1.0.0
400
+ * @return object
401
+ */
402
+ public static function get_instance( $core, $args ) {
403
+ return new self( $core, $args );
404
+ }
405
+ }
406
+ }
cherry-framework/modules/cherry-page-builder/views/page.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View for options page
4
+ *
5
+ * @package TM Real Estate
6
+ * @author Guriev Eugen & Sergyj Osadchij
7
+ * @license GPL-2.0+
8
+ */
9
+ ?>
10
+ <div class="wrap cherry-settings-page">
11
+ <h2><?php echo $__data['title'] ?></h2>
12
+ <?php if ( ! empty( $__data['page_before'] ) ) : ?>
13
+ <div class="description"><?php echo $__data['page_before'] ?></div>
14
+ <?php endif; ?>
15
+ <?php if ( ! empty( $__data['sections'] ) && is_array( $__data['sections'] ) ) : ?>
16
+ <div class="cherry-settings-tabs">
17
+ <h2 class="nav-tab-wrapper tabs-section">
18
+ <?php foreach ( $__data['sections'] as $section_slug => $section ) : ?>
19
+ <a href="#<?php echo $section_slug ?>" class="nav-tab"><?php echo $section['name'] ?></a>
20
+ <?php endforeach; ?>
21
+ </h2>
22
+
23
+ <?php foreach ( $__data['sections'] as $section_slug => $section ) : ?>
24
+ <div id="<?php echo $section_slug ?>" class="section">
25
+ <form method="POST" action="options.php" id="form-<?php echo $section_slug ?>">
26
+ <?php settings_fields( $section_slug ); ?>
27
+ <?php do_settings_sections( $section_slug ); ?>
28
+
29
+ <?php if ( ! empty( $__data['button_before'] ) ) : ?>
30
+ <?php echo $__data['button_before'] ?>
31
+ <?php endif; ?>
32
+
33
+ <?php submit_button( 'Save ' . $section['name'], 'primary small', null, true, array( 'data-ajax' => true ) ); ?>
34
+
35
+ <?php if ( ! empty( $__data['button_after'] ) ) : ?>
36
+ <?php echo $__data['button_after'] ?>
37
+ <?php endif; ?>
38
+ </form>
39
+ </div>
40
+ <?php endforeach; ?>
41
+ </div>
42
+ <?php endif; ?>
43
+ <?php if ( ! empty( $__data['page_after'] ) ) : ?>
44
+ <div class="description"><?php echo $__data['page_after'] ?></div>
45
+ <?php endif; ?>
46
+ </div>
cherry-framework/modules/cherry-page-builder/views/section.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View for section of settings
4
+ *
5
+ * @package TM Real Estate
6
+ * @author Guriev Eugen & Sergyj Osadchij
7
+ * @license GPL-2.0+
8
+ */
9
+ ?>
10
+ <div class="description"><?php echo $__data['description'] ?></div>
cherry-framework/modules/cherry-plugin-updater/cherry-plugin-updater.php ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * Module Name: Plugin Updater
5
+ * Description: Provides functionality for updating plugins
6
+ * Version: 1.1.0
7
+ * Author: Cherry Team
8
+ * Author URI: http://www.cherryframework.com/
9
+ * License: GPLv3
10
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
+ *
12
+ * @package Cherry_Framework
13
+ * @subpackage Modules
14
+ * @version 1.1.0
15
+ * @author Cherry Team <cherryframework@gmail.com>
16
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
17
+ * @link http://www.cherryframework.com/
18
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
19
+ */
20
+
21
+ // If this file is called directly, abort.
22
+ if ( ! defined( 'WPINC' ) ) {
23
+ die;
24
+ }
25
+
26
+ if ( ! class_exists( 'Cherry_Plugin_Updater' ) ) {
27
+ require_once( '/inc/cherry-base-updater.php' );
28
+
29
+ /**
30
+ * Define plugin updater class.
31
+ *
32
+ * @since 1.0.0
33
+ */
34
+ class Cherry_Plugin_Updater extends Cherry_Base_Updater {
35
+ /**
36
+ * Updater settings.
37
+ *
38
+ * @var array
39
+ */
40
+ protected $settings = array();
41
+
42
+ /**
43
+ * A reference to an instance of this class.
44
+ *
45
+ * @since 1.0.0
46
+ * @var object
47
+ */
48
+ private static $instance = null;
49
+
50
+ /**
51
+ * Init class parameters.
52
+ *
53
+ * @since 1.0.0
54
+ * @param object $core Core of framework.
55
+ * @param array $args Argument of base init.
56
+ * @return void
57
+ */
58
+ public function __construct( $core, $args = array() ) {
59
+ $this->base_init( $args );
60
+
61
+ /**
62
+ * Need for test update - set_site_transient( 'update_plugins', null );
63
+ */
64
+ add_action( 'pre_set_site_transient_update_plugins', array( $this, 'update' ) );
65
+ add_filter( 'upgrader_source_selection', array( $this, 'rename_github_folder' ), 11, 3 );
66
+ add_action( 'admin_footer', array( $this, 'change_details_url' ) );
67
+ }
68
+
69
+ /**
70
+ * Process update.
71
+ *
72
+ * @since 1.0.0
73
+ * @param object $data Update data.
74
+ * @return object
75
+ */
76
+ public function update( $data ) {
77
+ $new_update = $this->check_update();
78
+
79
+ if ( $new_update['version'] ) {
80
+ $this->settings['plugin'] = $this->settings['slug'] . '/' . $this->settings['slug'] . '.php';
81
+
82
+ $update = new stdClass();
83
+
84
+ $update->slug = $this->settings['slug'];
85
+ $update->plugin = $this->settings['plugin'];
86
+ $update->new_version = $new_update['version'];
87
+ $update->url = $this->settings['details_url'];
88
+ $update->package = $new_update['package'];
89
+
90
+ $data->response[ $this->settings['plugin'] ] = $update;
91
+
92
+ }
93
+
94
+ return $data;
95
+ }
96
+
97
+ /**
98
+ * Change plugin detail URL.
99
+ *
100
+ * @since 1.0.0
101
+ * @return void
102
+ */
103
+ public function change_details_url() {
104
+ global $change_details_plugin_url_script, $pagenow;
105
+
106
+ $plugins = get_plugin_updates();
107
+
108
+ if ( ! $change_details_plugin_url_script && in_array( $pagenow, array( 'update-core.php', 'plugins.php' ) ) && ! empty( $plugins ) ) {
109
+
110
+ $plugins_string = '';
111
+
112
+ foreach ( $plugins as $plugin_key => $plugin_value ) {
113
+ $plugin_key = strtolower( $plugin_key );
114
+ if ( strpos( $plugin_key, 'cherry' ) !== false ) {
115
+ $plugins_string .= '"' . $plugin_value ->update ->slug . '" : "' . $plugin_value ->update ->url .'", ';
116
+ }
117
+ }
118
+
119
+ ?>
120
+ <script>
121
+ ( function( $ ){
122
+ var plugin_updates = {<?php echo $plugins_string; ?>};
123
+ for ( var plugin in plugin_updates ) {
124
+ $('[href*="' + plugin + '"].thickbox').removeClass('thickbox').attr( {'href': plugin_updates[plugin], 'target' : "_blank" } );
125
+ };
126
+ }( jQuery ) )
127
+ </script>
128
+ <?php
129
+ }
130
+
131
+ $change_details_plugin_url_script = true;
132
+ }
133
+ /**
134
+ * Returns the instance.
135
+ *
136
+ * @since 1.0.0
137
+ * @return object
138
+ */
139
+ public static function get_instance( $core, $args ) {
140
+ return new self( $core, $args );
141
+ }
142
+ }
143
+ }
cherry-framework/modules/cherry-plugin-updater/inc/cherry-base-updater.php ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the base update.
4
+ *
5
+ * @package Cherry_Base_Updater
6
+ * @subpackage Base_Update
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'Cherry_Base_Updater' ) ) {
19
+
20
+ /**
21
+ * Test definitions to allow alpha and beta updates
22
+ *
23
+ * Disable updates - define('CHERRY_UPDATE', false);
24
+ * Enable auto updates - define('CHERRY_ALPHA_UPDATE', true);
25
+ * Enable beta updates - define('CHERRY_BETA_UPDATE', true);
26
+ */
27
+
28
+ /**
29
+ * Base updater class.
30
+ *
31
+ * @since 4.0.0
32
+ */
33
+ class Cherry_Base_Updater {
34
+
35
+ /**
36
+ * Default Settings.
37
+ *
38
+ * @since 4.0.0
39
+ * @access protected
40
+ * @var array
41
+ */
42
+ protected $default_settings = array(
43
+ 'version' => '',
44
+ 'slug' => '',
45
+ 'cloud_url' => 'https://cloud.cherryframework.com/cherry-update/',
46
+ 'product_name' => 'CherryFramework',
47
+ 'repository_name' => '',
48
+ );
49
+
50
+ /**
51
+ * Init class parameters.
52
+ *
53
+ * @since 4.0.0
54
+ * @param array $settings Settings array.
55
+ * @return void
56
+ */
57
+ protected function base_init( $settings = array() ) {
58
+ $this->settings = array_merge( $this->default_settings, $settings );
59
+ }
60
+
61
+ /**
62
+ * Check if update are avaliable.
63
+ *
64
+ * @since 4.0.0
65
+ * @return array
66
+ */
67
+ protected function check_update() {
68
+ $args = array(
69
+ 'user-agent' => 'WordPress',
70
+ 'github_repository' => $this->settings['product_name'] . '/' . $this->settings['repository_name'],
71
+ 'current_version' => $this->settings['version'],
72
+ 'up_query_limit' => false,
73
+ 'get_alpha' => false,
74
+ 'get_beta' => false,
75
+ );
76
+
77
+ if ( defined( 'CHERRY_ALPHA_UPDATE' ) ) {
78
+ $args['get_alpha'] = true;
79
+ }
80
+
81
+ if ( defined( 'CHERRY_BETA_UPDATE' ) ) {
82
+ $args['get_beta'] = true;
83
+ }
84
+
85
+ if ( defined( 'CHERRY_UP_QUERY_LIMIT' ) ) {
86
+ $args['up_query_limit'] = true;
87
+ }
88
+
89
+ $response = $this -> remote_query( $args );
90
+
91
+ if ( $response && 'not_update' !== $response ) {
92
+ $this->settings['details_url'] = $response->details_url;
93
+ return array( 'version' => $response->new_version, 'package' => $response->package );
94
+ }
95
+
96
+ return array( 'version' => false );
97
+ }
98
+
99
+ /**
100
+ * Remote request to updater API.
101
+ *
102
+ * @since 4.0.0
103
+ * @param array $args Request paprams.
104
+ * @return array|bool
105
+ */
106
+ protected function remote_query( $args ) {
107
+ $query = add_query_arg( $args, $this->settings['cloud_url'] );
108
+
109
+ $response = wp_remote_get( $query );
110
+
111
+ if ( is_wp_error( $response ) || wp_remote_retrieve_response_code( $response ) != '200' ) {
112
+ return false;
113
+ }
114
+
115
+ $response = json_decode( $response['body'] );
116
+
117
+ return $response;
118
+ }
119
+
120
+ /**
121
+ * Rename github folder on update.
122
+ *
123
+ * @since 4.0.0
124
+ * @param [type] $upgrate_dir Theme folder name.
125
+ * @param [type] $remote_dir Remote folder name.
126
+ * @param object $skin_upgrader Upgrader object instance.
127
+ * @return string
128
+ */
129
+ public function rename_github_folder( $upgrate_dir, $remote_dir, $skin_upgrader ) {
130
+
131
+ $slug = $this->settings['slug'];
132
+ $is_theme = isset( $skin_upgrader->skin->theme ) || isset( $skin_upgrader->skin->theme_info ) ? true : false ;
133
+ $is_plugin = isset( $skin_upgrader->skin->plugin_info ) ? true : false ;
134
+ $domain_plugin = $is_plugin ? $skin_upgrader->skin->plugin_info['TextDomain'] : '' ;
135
+ $title_plugin = $is_plugin ? str_replace( ' ', '-', strtolower( $skin_upgrader->skin->plugin_info['Title'] ) ) : '' ;
136
+ $name_plugin = $is_plugin ? str_replace( ' ', '-', strtolower( $skin_upgrader->skin->plugin_info['Name'] ) ) : '' ;
137
+
138
+ if ( $is_theme && strpos( $upgrate_dir, $slug ) !== false
139
+ || $is_plugin && $domain_plugin === $slug
140
+ || $is_plugin && $title_plugin === $slug
141
+ || $is_plugin && $name_plugin === $slug
142
+ ) {
143
+ $upgrate_dir_path = pathinfo( $upgrate_dir );
144
+ $new_upgrate_dir = trailingslashit( $upgrate_dir_path['dirname'] ) . trailingslashit( $slug );
145
+
146
+ rename( $upgrate_dir, $new_upgrate_dir );
147
+
148
+ $upgrate_dir = $new_upgrate_dir;
149
+
150
+ remove_filter( 'upgrader_source_selection', array( $this, 'rename_github_folder' ), 11, 3 );
151
+ }
152
+
153
+ return $upgrate_dir;
154
+ }
155
+ }
156
+ }
cherry-framework/modules/cherry-post-formats-api/assets/js/cherry-post-formats.js ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Post formats related scripts
3
+ * @use CherryJsCore
4
+ */
5
+ ( function($, CherryJsCore){
6
+ 'use strict';
7
+
8
+ CherryJsCore.utilites.namespace( 'post_formats' );
9
+ CherryJsCore.post_formats = {
10
+
11
+ init: function () {
12
+
13
+ var self = this;
14
+
15
+ if ( CherryJsCore.status.document_ready ) {
16
+ self.render( self );
17
+ } else {
18
+ CherryJsCore.variable.$document.on( 'ready', self.render( self ) );
19
+ }
20
+ },
21
+
22
+ render: function ( self ) {
23
+
24
+ // Init slider scripts
25
+ self.initalize( 'slider' );
26
+
27
+ // Init popup scripts
28
+ self.initalize( 'popup' );
29
+
30
+ },
31
+
32
+ initalize: function( object ) {
33
+
34
+ $(window).load(function () {
35
+
36
+ $( '*[data-cherry' + object + '="1"]' ).each( function() {
37
+ var plugin = $( this ).data( object ),
38
+ init = $( this ).data( 'init' );
39
+
40
+ $( this ).data( 'initalized', false );
41
+ $( this ).trigger({
42
+ type: 'cherry-post-formats-custom-init',
43
+ item: $( this ),
44
+ object: object
45
+ });
46
+
47
+ if ( true === $( this ).data( 'initalized' ) ) {
48
+ return 1;
49
+ }
50
+
51
+ if ( ! plugin ) {
52
+ return !1;
53
+ }
54
+
55
+ if ( ! $.isFunction( jQuery.fn[ plugin ] ) ) {
56
+ return !1;
57
+ }
58
+
59
+ $( this )[ plugin ]( init );
60
+ });
61
+ });
62
+
63
+ }
64
+ };
65
+
66
+ CherryJsCore.post_formats.init();
67
+
68
+ } (jQuery, window.CherryJsCore) );
cherry-framework/modules/cherry-post-formats-api/assets/js/min/cherry-post-formats.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(t,i){"use strict";i.utilites.namespace("post_formats"),i.post_formats={init:function(){var t=this;i.status.document_ready?t.render(t):i.variable.$document.on("ready",t.render(t))},render:function(t){t.initalize("slider"),t.initalize("popup")},initalize:function(i){t(window).load(function(){t("*[data-cherry"+i+'="1"]').each(function(){var n=t(this).data(i),e=t(this).data("init");return t(this).data("initalized",!1),t(this).trigger({type:"cherry-post-formats-custom-init",item:t(this),object:i}),!0===t(this).data("initalized")?1:n?t.isFunction(jQuery.fn[n])?(t(this)[n](e),void 0):!1:!1})})}},i.post_formats.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-post-formats-api/cherry-post-formats-api.php ADDED
@@ -0,0 +1,1079 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * API functions for post formats specific content
4
+ * Module Name: Post Formats API
5
+ * Description: API for post formats specific content
6
+ * Version: 1.1.0
7
+ * Author: Cherry Team
8
+ * Author URI: http://www.cherryframework.com/
9
+ * License: GPLv3
10
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
+ *
12
+ * @package Cherry_Framework
13
+ * @subpackage Modules
14
+ * @version 1.1.0
15
+ * @author Cherry Team <cherryframework@gmail.com>
16
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
17
+ * @link http://www.cherryframework.com/
18
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
19
+ */
20
+
21
+ // If this file is called directly, abort.
22
+ if ( ! defined( 'WPINC' ) ) {
23
+ die;
24
+ }
25
+
26
+ if ( ! class_exists( 'Cherry_Post_Formats_Api' ) ) {
27
+
28
+ /**
29
+ * API functions for post formats specific content
30
+ */
31
+ class Cherry_Post_Formats_Api {
32
+
33
+ /**
34
+ * Module version
35
+ *
36
+ * @var string
37
+ */
38
+ public $module_version = '1.1.0';
39
+
40
+ /**
41
+ * Module slug
42
+ *
43
+ * @var string
44
+ */
45
+ public $module_slug = 'cherry-post-formats-api';
46
+
47
+ /**
48
+ * Module arguments
49
+ *
50
+ * @var array
51
+ */
52
+ public $args = array();
53
+
54
+ /**
55
+ * Core instance
56
+ *
57
+ * @var object
58
+ */
59
+ public $core = null;
60
+
61
+ /**
62
+ * Constructor for the module
63
+ */
64
+ function __construct( $core, $args ) {
65
+
66
+ $this->core = $core;
67
+ $this->args = wp_parse_args( $args, array(
68
+ 'rewrite_default_gallery' => false,
69
+ 'gallery_args' => array(),
70
+ 'image_args' => array(),
71
+ 'link_args' => array(),
72
+ 'video_args' => array(),
73
+ ) );
74
+
75
+ $this->args['gallery_args'] = wp_parse_args( $this->args['gallery_args'], array(
76
+ 'base_class' => 'post-gallery',
77
+ 'container' => '<div class="%2$s" %3$s>%1$s</div>',
78
+ 'slide' => '<figure class="%2$s">%1$s</figure>',
79
+ 'slide_item' => '<a href="%3$s" %4$s>%1$s</a>%2$s',
80
+ 'slide_item_alt' => '%1$s%2$s',
81
+ 'img_class' => '',
82
+ 'size' => 'post-thumbnail',
83
+ 'link' => 'file',
84
+ 'slider' => false,
85
+ 'slider_init' => false,
86
+ 'slider_handle' => false,
87
+ 'popup' => false,
88
+ 'popup_init' => false,
89
+ 'popup_handle' => false,
90
+ ) );
91
+
92
+ $this->args['image_args'] = wp_parse_args( $this->args['image_args'], array(
93
+ 'base_class' => 'post-thumbnail',
94
+ 'container' => '<figure class="%2$s">%1$s</figure>',
95
+ 'item' => '<a href="%3$s" class="%2$s" %4$s>%1$s</a>',
96
+ 'size' => 'post-thumbnail',
97
+ 'link' => 'file',
98
+ 'popup' => false,
99
+ 'popup_init' => false,
100
+ 'popup_handle' => false,
101
+ ) );
102
+
103
+ $this->args['link_args'] = wp_parse_args( $this->args['link_args'], array(
104
+ 'render' => false,
105
+ 'class' => '',
106
+ ) );
107
+
108
+ $this->args['video_args'] = wp_parse_args( $this->args['video_args'], array(
109
+ 'width' => 600,
110
+ 'height' => 400,
111
+ ) );
112
+
113
+ $formats = array(
114
+ 'image',
115
+ 'gallery',
116
+ 'video',
117
+ 'audio',
118
+ 'link',
119
+ 'quote',
120
+ 'status',
121
+ );
122
+
123
+ // Register default post formats
124
+ foreach ( $formats as $format ) {
125
+ add_action( 'cherry_post_format_' . $format, array( $this, 'post_format_' . $format ) );
126
+ }
127
+
128
+ // Register an embed post formats
129
+ add_filter( 'cherry_get_embed_post_formats', array( $this, 'embed_post_formats' ), 10, 2 );
130
+
131
+ if ( true === $this->args['rewrite_default_gallery'] ) {
132
+ // Replace gallery shortcode
133
+ add_filter( 'post_gallery', array( $this, 'gallery_shortcode' ), 10, 3 );
134
+ }
135
+
136
+ add_action( 'wp_enqueue_scripts', array( $this, 'assets' ) );
137
+
138
+ $this->includes();
139
+
140
+ }
141
+
142
+ /**
143
+ * Register extra post formats rendering.
144
+ * Currently supported - facebook, twitter, soundcloud.
145
+ *
146
+ * @param bool $embed Default embed value - false.
147
+ * @return string|bool
148
+ */
149
+ public function embed_post_formats( $embed, $args = array() ) {
150
+
151
+ $args = wp_parse_args( $args, array(
152
+ 'fields' => array(),
153
+ 'width' => 350,
154
+ 'height' => 350,
155
+ ) );
156
+
157
+ if ( empty( $args['fields'] ) ) {
158
+ return $embed;
159
+ }
160
+
161
+ $extra_formats = array(
162
+ 'twitter' => 'https://twitter.com',
163
+ 'facebook' => 'https://www.facebook.com',
164
+ 'soundcloud' => 'https://soundcloud.com',
165
+ );
166
+
167
+ global $post;
168
+
169
+ if ( ! $post ) {
170
+ return $embed;
171
+ }
172
+
173
+ $excerpt = substr( $post->post_content, 0, 200 );
174
+
175
+ foreach ( $args['fields'] as $name ) {
176
+
177
+ $trigger = isset( $extra_formats[ $name ] ) ? $extra_formats[ $name ] : '';
178
+
179
+ if ( ! $trigger ) {
180
+ return $embed;
181
+ }
182
+
183
+ if ( false === strpos( $excerpt, $trigger ) ) {
184
+ continue;
185
+ }
186
+
187
+ $url = $this->get_content_url( $post->post_content );
188
+
189
+ if ( ! empty( $url ) ) {
190
+ return wp_oembed_get( $url, $args );
191
+ }
192
+ }
193
+
194
+ return $embed;
195
+
196
+ }
197
+
198
+ /**
199
+ * Include required API files
200
+ *
201
+ * @since 1.0.0
202
+ * @return void
203
+ */
204
+ public function includes() {
205
+ require_once __DIR__ . '/inc/class-cherry-facebook-embed.php';
206
+
207
+ // Register Facebook Embed.
208
+ if ( class_exists( 'Cherry_Facebook_Embed' ) ) {
209
+ Cherry_Facebook_Embed::get_instance();
210
+ }
211
+ }
212
+
213
+ /**
214
+ * Enqueue required assets
215
+ *
216
+ * @since 1.0.0
217
+ * @return void
218
+ */
219
+ public function assets() {
220
+ wp_enqueue_script(
221
+ 'cherry-post-formats',
222
+ Cherry_Core::base_url( 'assets/js/min/cherry-post-formats.min.js', __FILE__ ),
223
+ array( 'jquery', 'cherry-js-core' ),
224
+ $this->module_version,
225
+ true
226
+ );
227
+ }
228
+
229
+ /**
230
+ * If did not find a URL, check the post content for one. If nothing is found, return the post permalink.
231
+ *
232
+ * @author Justin Tadlock <justin@justintadlock.com>
233
+ * @author Cherry Team <support@cherryframework.com>
234
+ * @since 1.0.0
235
+ * @param array $args API arguments.
236
+ * @param object $post Post object.
237
+ * @return string
238
+ */
239
+ public function get_post_format_link( $args = array(), $post = null ) {
240
+
241
+ $args = wp_parse_args( $args, $this->args['link_args'] );
242
+
243
+ $post = is_null( $post ) ? get_post() : $post;
244
+ $content_url = $this->get_content_url( $post->post_content );
245
+ $url = ! empty( $content_url ) ? $content_url : get_permalink( $post->ID );
246
+
247
+ if ( false === $args['render'] ) {
248
+ return esc_url( $url );
249
+ } else {
250
+ return sprintf(
251
+ '<a href="%1$s" class="post-format-link %2$s">%1$s</a>',
252
+ esc_url( $url ), esc_attr( $args['class'] )
253
+ );
254
+ }
255
+
256
+ }
257
+
258
+ /**
259
+ * Callback for apropriate hook to show link post format related link.
260
+ *
261
+ * @since 1.0.0
262
+ * @param array $args Set of arguments.
263
+ */
264
+ public function post_format_link( $args = array() ) {
265
+
266
+ echo $this->get_post_format_link( $args );
267
+
268
+ }
269
+
270
+ /**
271
+ * Returns first blockquote from content. If not - returns excerpt.
272
+ *
273
+ * @author Cherry Team <support@cherryframework.com>
274
+ * @since 1.0.0
275
+ * @param object $post Post object.
276
+ * @return string UblockquoteRL.
277
+ */
278
+ public function get_post_format_quote( $post = null ) {
279
+
280
+ $post = is_null( $post ) ? get_post() : $post;
281
+ $quote = $this->get_content_quote( $post->post_content );
282
+ $quote = ! empty( $quote ) ? $quote : get_the_excerpt();
283
+
284
+ return sprintf( '<blockquote class="post-format-quote">%s</blockquote>', $quote );
285
+
286
+ }
287
+
288
+ /**
289
+ * Callback for apropriate hook to show link post format related link.
290
+ *
291
+ * @since 1.0.0
292
+ * @param array $args Set of arguments.
293
+ */
294
+ public function post_format_quote( $args ) {
295
+
296
+ echo $this->get_post_format_quote();
297
+
298
+ }
299
+
300
+ /**
301
+ * Retrieve a featured audio.
302
+ *
303
+ * Returns first finded audio tag in page content.
304
+ *
305
+ * @since 1.0.0
306
+ */
307
+ public function get_post_format_audio() {
308
+
309
+ /**
310
+ * Filter post format audio output to rewrite audio from child theme or plugins.
311
+ *
312
+ * @since 1.0.0
313
+ * @param bool|mixed $result Value to return instead of the featured audio.
314
+ * Default false to skip it.
315
+ */
316
+ $result = apply_filters( 'cherry_pre_get_post_audio', false );
317
+
318
+ if ( false !== $result ) {
319
+ return $result;
320
+ }
321
+
322
+ $content = get_the_content();
323
+ $embeds = get_media_embedded_in_content( apply_filters( 'the_content', $content ), array( 'audio' ) );
324
+
325
+ if ( empty( $embeds ) ) {
326
+ return false;
327
+ }
328
+
329
+ if ( false == preg_match( '/<audio[^>]*>(.*?)<\/audio>/', $embeds[0], $matches ) ) {
330
+ return false;
331
+ }
332
+
333
+ /**
334
+ * Filter a featured audio.
335
+ *
336
+ * @since 1.0.0
337
+ * @param string $output Featured audio.
338
+ */
339
+ return apply_filters( 'cherry_get_the_post_audio', $matches[0] );
340
+
341
+ }
342
+
343
+ /**
344
+ * Callback for apropriate hook to show audio post format related audio.
345
+ *
346
+ * @since 1.0.0
347
+ * @param array $args Set of arguments.
348
+ */
349
+ public function post_format_audio( $args ) {
350
+
351
+ echo $this->get_post_format_audio();
352
+
353
+ }
354
+
355
+ /**
356
+ * Retrieve a featured video.
357
+ *
358
+ * Returns first finded video, iframe, object or embed tag in content.
359
+ *
360
+ * @since 1.0.0
361
+ * @param array $args Set of arguments.
362
+ */
363
+ public function get_post_format_video( $args ) {
364
+
365
+ $args = wp_parse_args( $args, $this->args['video_args'] );
366
+
367
+ /**
368
+ * Filter post format video output to rewrite video from child theme or plugins.
369
+ *
370
+ * @since 1.0.0
371
+ * @param bool|mixed $result Value to return instead of the featured video.
372
+ * Default false to skip it.
373
+ */
374
+ $result = apply_filters( 'cherry_pre_get_post_video', false );
375
+
376
+ if ( false !== $result ) {
377
+ return $result;
378
+ }
379
+
380
+ $post_content = get_the_content();
381
+
382
+ if ( has_shortcode( $post_content, 'video' ) ) {
383
+ $result_format = '%s';
384
+ } else {
385
+ $result_format = '<div class="entry-video embed-responsive embed-responsive-16by9">%s</div>';
386
+ }
387
+
388
+ /** This filter is documented in wp-includes/post-template.php */
389
+ $content = apply_filters( 'the_content', $post_content );
390
+ $types = array( 'video', 'object', 'embed', 'iframe' );
391
+ $embeds = get_media_embedded_in_content( $content, $types );
392
+
393
+ if ( empty( $embeds ) ) {
394
+ return;
395
+ }
396
+
397
+ foreach ( $types as $tag ) {
398
+ if ( preg_match( "/<{$tag}[^>]*>(.*?)<\/{$tag}>/", $embeds[0], $matches ) ) {
399
+ $result = $matches[0];
400
+ break;
401
+ }
402
+ }
403
+
404
+ if ( false === $result ) {
405
+ return false;
406
+ }
407
+
408
+ $regex = array(
409
+ '/width=[\'\"](\d+)[\'\"]/',
410
+ '/height=[\'\"](\d+)[\'\"]/',
411
+ );
412
+
413
+ $replace = array(
414
+ 'width="' . $args['width'] . '"',
415
+ 'height="' . $args['height'] . '"',
416
+ );
417
+
418
+ $result = preg_replace( $regex, $replace, $result );
419
+ $result = sprintf( $result_format, $result );
420
+
421
+ /**
422
+ * Filter a featured video.
423
+ *
424
+ * @since 1.0.0
425
+ * @param string $result Featured video.
426
+ */
427
+ return apply_filters( 'cherry_get_the_post_video', $result );
428
+
429
+ }
430
+
431
+ /**
432
+ * Callback for apropriate hook to show video post format related video.
433
+ *
434
+ * @since 1.0.0
435
+ * @param array $args Set of arguments.
436
+ */
437
+ public function post_format_video( $args = array() ) {
438
+
439
+ echo $this->get_post_format_video( $args );
440
+
441
+ }
442
+
443
+ /**
444
+ * Retrieve a featured image.
445
+ *
446
+ * If has post thumbnail - will get post thumbnail, else - get first image from content.
447
+ *
448
+ * @since 1.0.0
449
+ * @param array $args Set of arguments.
450
+ * @return string Featured image.
451
+ */
452
+ public function get_post_format_image( $args ) {
453
+
454
+ /**
455
+ * Filter post format image output to rewrite image from child theme or plugins.
456
+ *
457
+ * @since 1.0.0
458
+ * @param bool|mixed $result Value to return instead of the featured image.
459
+ * Default false to skip it.
460
+ */
461
+ $result = apply_filters( 'cherry_pre_get_post_image', false );
462
+
463
+ if ( false !== $result ) {
464
+ return $result;
465
+ }
466
+
467
+ $post_id = get_the_ID();
468
+ $post_type = get_post_type( $post_id );
469
+
470
+ /**
471
+ * Filter the default arguments used to display a post image.
472
+ *
473
+ * @since 1.0.0
474
+ * @param array $defaults Array of arguments.
475
+ * @param int $post_id The post ID.
476
+ * @param string $post_type The post type of the current post.
477
+ */
478
+ $defaults = apply_filters(
479
+ 'cherry_get_the_post_image_defaults',
480
+ $this->args['image_args'],
481
+ $post_id,
482
+ $post_type
483
+ );
484
+
485
+ $args = wp_parse_args( $args, $defaults );
486
+
487
+ /**
488
+ * Filter image CSS model
489
+ *
490
+ * @param array $css_model Default CSS model.
491
+ * @param array $args Post formats module arguments.
492
+ */
493
+ $css_model = apply_filters( 'cherry_post_formats_image_css_model', array(
494
+ 'container' => $args['base_class'],
495
+ 'link' => $args['base_class'] . '__link',
496
+ 'image' => $args['base_class'] . '__img',
497
+ ), $args );
498
+
499
+ /**
500
+ * Filter image attributes array passed to post format image
501
+ *
502
+ * @since 1.0.0
503
+ * @param array existing attributes.
504
+ */
505
+ $img_atts = apply_filters( 'cherry_post_image_attributes', array( 'class' => $css_model['image'] ) );
506
+
507
+ if ( has_post_thumbnail( $post_id ) ) {
508
+
509
+ $thumb = get_the_post_thumbnail( $post_id, $args['size'], $img_atts );
510
+ $url = wp_get_attachment_url( get_post_thumbnail_id( $post_id ) );
511
+
512
+ } else {
513
+
514
+ $img = $this->get_post_images();
515
+
516
+ if ( ! $img || empty( $img ) || empty( $img[0] ) ) {
517
+ return false;
518
+
519
+ } elseif ( is_int( $img[0] ) ) {
520
+
521
+ $thumb = wp_get_attachment_image( $img[0], $args['size'], 0, $img_atts );
522
+ $url = wp_get_attachment_url( $img[0] );
523
+
524
+ } else {
525
+
526
+ global $_wp_additional_image_sizes;
527
+
528
+ if ( ! isset( $_wp_additional_image_sizes[ $args['size'] ] ) ) {
529
+ return false;
530
+ }
531
+
532
+ if ( has_excerpt( $post_id ) ) {
533
+ $alt = trim( strip_tags( get_the_excerpt() ) );
534
+ } else {
535
+ $alt = trim( strip_tags( get_the_title( $post_id ) ) );
536
+ }
537
+
538
+ $default_atts = array(
539
+ 'width' => $_wp_additional_image_sizes[ $args['size'] ]['width'],
540
+ 'alt' => esc_attr( $alt ),
541
+ );
542
+
543
+ $img_atts = array_merge( $default_atts, $img_atts );
544
+ $thumb = sprintf( '<img src="%s" %s>', esc_url( $img[0] ), $this->prepare_atts( $img_atts ) );
545
+ $url = $img[0];
546
+
547
+ }
548
+ }
549
+
550
+ if ( 'file' !== $args['link'] ) {
551
+ $url = get_permalink( $post_id );
552
+ }
553
+
554
+ $data_atts = array( 'data-cherrypopup' => true );
555
+
556
+ if ( false !== $args['popup_init'] ) {
557
+ $init = json_encode( $args['popup_init'] );
558
+ $data_atts['data-init'] = $init;
559
+ }
560
+
561
+ if ( false !== $args['popup'] ) {
562
+ $data_atts['data-popup'] = $args['popup'];
563
+ }
564
+
565
+ $data_string = $this->prepare_atts( $data_atts );
566
+
567
+ if ( ! empty( $args['popup_handle'] ) ) {
568
+ wp_enqueue_script( $args['popup_handle'] );
569
+ }
570
+
571
+ $item = sprintf( $args['item'], $thumb, $css_model['link'], $url, $data_string );
572
+ $result = sprintf( $args['container'], $item, $css_model['container'] );
573
+
574
+ /**
575
+ * Filter a featured image.
576
+ *
577
+ * @since 1.0.0
578
+ * @param string $result Featured image.
579
+ * @param array $args Array of arguments.
580
+ */
581
+ return apply_filters( 'cherry_get_the_post_image', $result, $args );
582
+
583
+ }
584
+
585
+ /**
586
+ * Callback for apropriate hook to show image post format related thumbnail.
587
+ *
588
+ * @since 1.0.0
589
+ * @param array $args Set of arguments.
590
+ */
591
+ public function post_format_image( $args ) {
592
+
593
+ echo $this->get_post_format_image( $args );
594
+
595
+ }
596
+
597
+ /**
598
+ * Retrieve a featured gallery.
599
+ *
600
+ * If has post thumbnail - will get post thumbnail, else - get first image from content.
601
+ *
602
+ * @since 1.0.0
603
+ * @return string $output Featured gallery.
604
+ */
605
+ public function get_post_format_gallery( $args ) {
606
+
607
+ if ( ! $args ) {
608
+ $args = array();
609
+ }
610
+
611
+ $args = wp_parse_args( $args, $this->args['gallery_args'] );
612
+
613
+ /**
614
+ * Filter post format gallery output to rewrite gallery from child theme or plugins.
615
+ *
616
+ * @since 1.0.0
617
+ * @param bool|mixed $result Value to return instead of the featured gallery.
618
+ * Default false to skip it.
619
+ */
620
+ $result = apply_filters( 'cherry_pre_get_post_gallery', false );
621
+
622
+ if ( false !== $result ) {
623
+ return $result;
624
+ }
625
+
626
+ // First - try to get images from galleries in post.
627
+ $is_html = ( true === $this->args['rewrite_default_gallery'] ) ? true : false;
628
+
629
+ // Temporary replace default global args with currently parsed
630
+ $temp_args = $this->args;
631
+ $this->args['gallery_args'] = $args;
632
+
633
+ $post_gallery = $this->get_gallery_images( $is_html, $args );
634
+
635
+ // Restore default arguments list
636
+ $this->args = null;
637
+ $this->args = $temp_args;
638
+
639
+ // If stanadrd gallery shortcode replaced with cherry - return HTML.
640
+ if ( is_string( $post_gallery ) && ! empty( $post_gallery ) ) {
641
+ return $post_gallery;
642
+ } else if ( empty( $post_gallery ) ) {
643
+ return false;
644
+ }
645
+
646
+ $output = $this->get_gallery_html( $post_gallery, $args );
647
+
648
+ /**
649
+ * Filter a post gallery.
650
+ *
651
+ * @since 1.0.0
652
+ * @param string $output Post gallery.
653
+ */
654
+ return apply_filters( 'cherry_get_the_post_gallery', $output );
655
+ }
656
+
657
+ /**
658
+ * Get galeery images list or try to get gallery HTML
659
+ *
660
+ * @param bool $is_html is HTML returns or not.
661
+ * @param array $args argumnets array.
662
+ * @return mixed
663
+ */
664
+ public function get_gallery_images( $is_html, $args = array() ) {
665
+
666
+ $post_id = get_the_ID();
667
+
668
+ $post_gallery = get_post_gallery( $post_id, $is_html );
669
+
670
+ // If stanadrd gallery shortcode replaced with cherry - return HTML.
671
+ if ( is_string( $post_gallery ) && ! empty( $post_gallery ) ) {
672
+ return $post_gallery;
673
+ }
674
+
675
+ if ( ! empty( $post_gallery['ids'] ) ) {
676
+ $post_gallery = explode( ',', $post_gallery['ids'] );
677
+ } elseif ( ! empty( $post_gallery['src'] ) ) {
678
+ $post_gallery = $post_gallery['src'];
679
+ } else {
680
+ $post_gallery = false;
681
+ }
682
+
683
+ // If can't try to catch images inserted into post.
684
+ if ( ! $post_gallery ) {
685
+ $post_gallery = $this->get_post_images( $post_id, 15 );
686
+ }
687
+
688
+ // And if not find any images - try to get images attached to post.
689
+ if ( ! $post_gallery || empty( $post_gallery ) ) {
690
+
691
+ $attachments = get_children( array(
692
+ 'post_parent' => $post_id,
693
+ 'posts_per_page' => 3,
694
+ 'post_status' => 'inherit',
695
+ 'post_type' => 'attachment',
696
+ 'post_mime_type' => 'image',
697
+ ) );
698
+
699
+ if ( $attachments && is_array( $attachments ) ) {
700
+ $post_gallery = array_keys( $attachments );
701
+ }
702
+ }
703
+
704
+ return $post_gallery;
705
+ }
706
+
707
+ /**
708
+ * Callback for apropriate hook to show gallery post format related gallery.
709
+ *
710
+ * @since 1.0.0
711
+ * @param array $args Set of arguments.
712
+ */
713
+ public function post_format_gallery( $args ) {
714
+
715
+ echo $this->get_post_format_gallery( $args );
716
+
717
+ }
718
+
719
+ /**
720
+ * Custom output for gallery shortcode.
721
+ *
722
+ * @since 1.0.0
723
+ * @param array $result S Value to return instead of the gallery shortcode.
724
+ * @param array $attr Shortcode attributes.
725
+ * @return string Gallery HTML.
726
+ */
727
+ public function gallery_shortcode( $result, $attr ) {
728
+
729
+ /**
730
+ * Filter a gallery output.
731
+ *
732
+ * @since 1.0.0
733
+ * @param bool|mixed $result Value to return instead of the gallery shortcode. Default false to skip it.
734
+ * @param array $attr Shortcode attributes.
735
+ * @param object $this Current class instance.
736
+ */
737
+ $result = apply_filters( 'cherry_pre_get_gallery_shortcode', false, $attr, $this );
738
+
739
+ if ( false !== $result ) {
740
+ return $result;
741
+ }
742
+
743
+ $post = get_post();
744
+
745
+ $atts = shortcode_atts( array(
746
+ 'order' => 'ASC',
747
+ 'orderby' => 'menu_order ID',
748
+ 'id' => $post ? $post->ID : 0,
749
+ 'include' => '',
750
+ 'exclude' => '',
751
+ 'link' => '',
752
+ ), $attr, 'gallery' );
753
+
754
+ $id = intval( $atts['id'] );
755
+
756
+ if ( ! empty( $atts['include'] ) ) {
757
+
758
+ $attachments = explode( ',', str_replace( ' ', '', $atts['include'] ) );
759
+
760
+ } elseif ( ! empty( $atts['exclude'] ) ) {
761
+
762
+ $attachments = get_children(
763
+ array(
764
+ 'post_parent' => $id,
765
+ 'exclude' => $atts['exclude'],
766
+ 'post_status' => 'inherit',
767
+ 'post_type' => 'attachment',
768
+ 'post_mime_type' => 'image',
769
+ 'order' => $atts['order'],
770
+ 'orderby' => $atts['orderby'],
771
+ )
772
+ );
773
+ $attachments = array_keys( $attachments );
774
+
775
+ } else {
776
+
777
+ $attachments = get_children(
778
+ array(
779
+ 'post_parent' => $id,
780
+ 'post_status' => 'inherit',
781
+ 'post_type' => 'attachment',
782
+ 'post_mime_type' => 'image',
783
+ 'order' => $atts['order'],
784
+ 'orderby' => $atts['orderby'],
785
+ )
786
+ );
787
+ $attachments = array_keys( $attachments );
788
+
789
+ }
790
+
791
+ if ( empty( $attachments ) || ! is_array( $attachments ) ) {
792
+ return;
793
+ }
794
+
795
+ $atts = array_merge( $atts, $this->args['gallery_args'] );
796
+ $result = $this->get_gallery_html( $attachments, $atts );
797
+
798
+ return $result;
799
+
800
+ }
801
+
802
+ /**
803
+ * Build default gallery HTML from images array.
804
+ *
805
+ * @since 1.0.0
806
+ * @param array $images Images array can contain image IDs or URLs.
807
+ * @param array $args Shortcode/user attributes array.
808
+ * @return string Gallery HTML markup.
809
+ */
810
+ public function get_gallery_html( $images, $args = array() ) {
811
+
812
+ $post_id = get_the_ID();
813
+ $post_type = get_post_type( $post_id );
814
+
815
+ /**
816
+ * Filter the default arguments used to display a post gallery.
817
+ *
818
+ * @since 1.0.0
819
+ * @param array $defaults Array of arguments.
820
+ * @param int $post_id The post ID.
821
+ * @param string $post_type The post type of the current post.
822
+ */
823
+ $defaults = apply_filters(
824
+ 'cherry_get_the_post_gallery_defaults',
825
+ $this->args['gallery_args'],
826
+ $post_id,
827
+ $post_type
828
+ );
829
+
830
+ $args = wp_parse_args( $args, $defaults );
831
+
832
+ /**
833
+ * Filter image CSS model
834
+ *
835
+ * @param array $css_model Default CSS model.
836
+ * @param array $args Post formats module arguments.
837
+ */
838
+ $css_model = apply_filters( 'cherry_post_formats_gallery_css_model', array(
839
+ 'container' => $args['base_class'],
840
+ 'slide' => $args['base_class'] . '__slide',
841
+ 'link' => $args['base_class'] . '__link',
842
+ 'image' => $args['base_class'] . '__image',
843
+ 'caption' => $args['base_class'] . '__caption',
844
+ ) );
845
+
846
+ if ( ! empty( $args['img_class'] ) ) {
847
+ $css_model['image'] .= ' ' . esc_attr( $args['img_class'] );
848
+ }
849
+
850
+ if ( ! empty( $args['slider_handle'] ) ) {
851
+ wp_enqueue_script( $args['slider_handle'] );
852
+ }
853
+
854
+ if ( ! empty( $args['popup_handle'] ) ) {
855
+ wp_enqueue_script( $args['popup_handle'] );
856
+ }
857
+
858
+ $slider_data = array( 'data-cherryslider' => true );
859
+ $popup_data = array( 'data-cherrypopup' => true );
860
+
861
+ if ( false !== $args['slider'] ) {
862
+ $slider_data['data-slider'] = $args['slider'];
863
+ }
864
+
865
+ if ( false !== $args['slider_init'] ) {
866
+ $slider_data['data-init'] = json_encode( $args['slider_init'] );
867
+ }
868
+
869
+ if ( false !== $args['popup'] ) {
870
+ $popup_data['data-popup'] = $args['popup'];
871
+ }
872
+
873
+ if ( false !== $args['popup_init'] ) {
874
+ $popup_data['data-init'] = json_encode( $args['popup_init'] );
875
+ }
876
+
877
+ $items = array();
878
+ $is_first = true;
879
+
880
+ foreach ( $images as $img ) {
881
+
882
+ $caption = '';
883
+
884
+ if ( true === $is_first ) {
885
+ $nth_class = '';
886
+ $is_first = false;
887
+ } else {
888
+ $nth_class = ' nth-child';
889
+ }
890
+
891
+ /**
892
+ * Filter image attributes for gallery item image
893
+ *
894
+ * @since 1.0.0
895
+ * @param array existing attributes.
896
+ * @param int|string $img current image,
897
+ */
898
+ $img_atts = apply_filters(
899
+ 'cherry_post_gallery_image_attributes',
900
+ array( 'class' => $css_model['image'] ),
901
+ $img
902
+ );
903
+
904
+ if ( 0 < intval( $img ) ) {
905
+
906
+ $image = wp_get_attachment_image( $img, $args['size'], '', $img_atts );
907
+ $attachment = get_post( $img );
908
+
909
+ if ( '' === $args['link'] ) {
910
+ $url = get_permalink( $img );
911
+ } else {
912
+ $url = wp_get_attachment_url( $img );
913
+ }
914
+
915
+ if ( ! empty( $attachment->post_excerpt ) ) {
916
+ $capt_txt = wptexturize( $attachment->post_excerpt );
917
+ $caption = '<figcaption class="' . $css_model['caption'] . '">' . $capt_txt . '</figcaption>';
918
+ }
919
+ } else {
920
+
921
+ global $_wp_additional_image_sizes;
922
+
923
+ if ( ! isset( $_wp_additional_image_sizes[ $args['size'] ] ) ) {
924
+ $width = 'auto';
925
+ } else {
926
+ $width = $_wp_additional_image_sizes[ $args['size'] ]['width'];
927
+ }
928
+
929
+ $default_atts = array( 'width' => $width );
930
+ $img_atts = array_merge( $default_atts, $img_atts );
931
+ $thumb = sprintf( '<img src="%s" %s>', esc_url( $img ), $this->prepare_atts( $img_atts ) );
932
+ $url = $img;
933
+
934
+ }
935
+
936
+ if ( 'none' === $args['link'] ) {
937
+ $format = $args['slide_item_alt'];
938
+ } else {
939
+ $format = $args['slide_item'];
940
+ }
941
+
942
+ $slide_atts = $this->prepare_atts(
943
+ array_merge( array( 'class' => $css_model['link'] . $nth_class ), $popup_data )
944
+ );
945
+
946
+ $slide_content = sprintf( $format, $image, $caption, $url, $slide_atts );
947
+ $items[] = sprintf( $args['slide'], $slide_content, $css_model['slide'] . $nth_class );
948
+ }
949
+
950
+ $items = implode( "\r\n", $items );
951
+
952
+ $slider_data_str = $this->prepare_atts( $slider_data );
953
+ $slider_id = 'gallery-' . rand( 100, 999 );
954
+
955
+ $result = sprintf(
956
+ $args['container'],
957
+ $items, $css_model['container'], $slider_data_str, $slider_id
958
+ );
959
+
960
+ return $result;
961
+ }
962
+
963
+ /**
964
+ * Prepare attributes string from array
965
+ *
966
+ * @since 1.0.0
967
+ * @param array $atts attributes array to parse.
968
+ * @return string
969
+ */
970
+ public function prepare_atts( $atts ) {
971
+
972
+ $result = '';
973
+
974
+ if ( empty( $atts ) ) {
975
+ return '';
976
+ }
977
+
978
+ foreach ( $atts as $attr => $value ) {
979
+ $result .= ' ' . $attr . '=\'' . esc_attr( $value ) . '\'';
980
+ }
981
+
982
+ return $result;
983
+
984
+ }
985
+
986
+ /**
987
+ * Retrieve images from post content.
988
+ *
989
+ * Returns image ID's if can find this image in database,
990
+ * returns image URL or boolean false in other case.
991
+ *
992
+ * @since 1.0.0
993
+ * @param int $post_id Post ID to search image in.
994
+ * @param int $limit Max images count to search.
995
+ * @return mixed Images.
996
+ */
997
+ public function get_post_images( $post_id = null, $limit = 1 ) {
998
+
999
+ $post_id = ( null === $post_id ) ? get_the_ID() : $post_id;
1000
+ $content = get_the_content();
1001
+
1002
+ // Gets first image from content.
1003
+ preg_match_all( '/< *img[^>]*src *= *["\']?([^"\']*)/i', $content, $matches );
1004
+
1005
+ if ( ! isset( $matches[1] ) ) {
1006
+ return false;
1007
+ }
1008
+
1009
+ $result = array();
1010
+
1011
+ global $wpdb;
1012
+
1013
+ for ( $i = 0; $i < $limit; $i++ ) {
1014
+
1015
+ if ( empty( $matches[1][ $i ] ) ) {
1016
+ continue;
1017
+ }
1018
+
1019
+ $image_src = esc_url( $matches[1][ $i ] );
1020
+ $image_src = preg_replace( '/^(.+)(-\d+x\d+)(\..+)$/', '$1$3', $image_src );
1021
+
1022
+ // Try to get current image ID.
1023
+ $query = "SELECT ID FROM {$wpdb->posts} WHERE guid='$image_src'";
1024
+ $id = $wpdb->get_var( $query );
1025
+
1026
+ if ( ! $id ) {
1027
+ $result[] = $image_src;
1028
+ } else {
1029
+ $result[] = (int) $id;
1030
+ }
1031
+ }
1032
+
1033
+ return $result;
1034
+ }
1035
+
1036
+ /**
1037
+ * Gets the first URL from the content, even if it's not wrapped in an <a> tag.
1038
+ *
1039
+ * @author Justin Tadlock <justin@justintadlock.com>
1040
+ * @author Cherry Team <support@cherryframework.com>
1041
+ * @since 1.0.0
1042
+ * @param [type] $content Post content.
1043
+ * @return string URL.
1044
+ */
1045
+ public function get_content_url( $content ) {
1046
+
1047
+ // Catch links that are not wrapped in an '<a>' tag.
1048
+ preg_match( '/<a\s[^>]*?href=[\'"](.+?)[\'"]/is', make_clickable( $content ), $matches );
1049
+
1050
+ return ! empty( $matches[1] ) ? esc_url_raw( $matches[1] ) : '';
1051
+ }
1052
+
1053
+ /**
1054
+ * Gets the first blockquote from post content.
1055
+ *
1056
+ * @author Cherry Team <support@cherryframework.com>
1057
+ * @since 1.0.0
1058
+ * @param [type] $content Post content.
1059
+ * @return string Quote.
1060
+ */
1061
+ public function get_content_quote( $content ) {
1062
+
1063
+ // Catch links that are not wrapped in an '<a>' tag.
1064
+ preg_match( '/<blockquote[^>]*>(.*?)<\/blockquote>/im', $content, $matches );
1065
+
1066
+ return ! empty( $matches[1] ) ? wp_kses_post( $matches[1] ) : '';
1067
+ }
1068
+
1069
+ /**
1070
+ * Returns the instance.
1071
+ *
1072
+ * @since 1.0.0
1073
+ * @return object
1074
+ */
1075
+ public static function get_instance( $core, $args ) {
1076
+ return new self( $core, $args );
1077
+ }
1078
+ }
1079
+ }
cherry-framework/modules/cherry-post-formats-api/inc/class-cherry-facebook-embed.php ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Facebook embed
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'Cherry_Facebook_Embed' ) ) {
19
+
20
+ /**
21
+ * Define Cherry_Facebook_Embed class
22
+ */
23
+ class Cherry_Facebook_Embed {
24
+
25
+ /**
26
+ * A reference to an instance of this class.
27
+ *
28
+ * @since 1.0.0
29
+ * @var object
30
+ */
31
+ private static $instance = null;
32
+
33
+ /**
34
+ * Constructor for the class
35
+ */
36
+ function __construct() {
37
+ add_filter( 'init', array( $this, 'add_facebook' ) );
38
+ }
39
+
40
+ /**
41
+ * Register Facebook provider
42
+ *
43
+ * @since 1.0.0
44
+ * @param array $providers Existing providers.
45
+ */
46
+ public function add_facebook( $providers ) {
47
+
48
+ $endpoints = array(
49
+ '#https?://www\.facebook\.com/video.php.*#i' => 'https://www.facebook.com/plugins/video/oembed.json/',
50
+ '#https?://www\.facebook\.com/.*/videos/.*#i' => 'https://www.facebook.com/plugins/video/oembed.json/',
51
+ '#https?://www\.facebook\.com/.*/posts/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
52
+ '#https?://www\.facebook\.com/.*/activity/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
53
+ '#https?://www\.facebook\.com/photo(s/|.php).*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
54
+ '#https?://www\.facebook\.com/permalink.php.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
55
+ '#https?://www\.facebook\.com/media/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
56
+ '#https?://www\.facebook\.com/questions/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
57
+ '#https?://www\.facebook\.com/notes/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
58
+ );
59
+
60
+ foreach ( $endpoints as $pattern => $endpoint ) {
61
+ wp_oembed_add_provider( $pattern, $endpoint, true );
62
+ }
63
+ }
64
+
65
+ /**
66
+ * Returns the instance.
67
+ *
68
+ * @since 1.0.0
69
+ * @return object
70
+ */
71
+ public static function get_instance() {
72
+
73
+ // If the single instance hasn't been set, set it now.
74
+ if ( null == self::$instance ) {
75
+ self::$instance = new self;
76
+ }
77
+ return self::$instance;
78
+ }
79
+ }
80
+
81
+ }
cherry-framework/modules/cherry-post-meta/cherry-post-meta.php ADDED
@@ -0,0 +1,454 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Post Meta
4
+ * Description: Manage post meta
5
+ * Version: 1.1.3
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.3
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Post_Meta' ) ) {
26
+
27
+ /**
28
+ * Post meta management module.
29
+ *
30
+ * @since 1.0.0
31
+ * @since 1.0.2 Removed `module_directory` property.
32
+ */
33
+ class Cherry_Post_Meta {
34
+
35
+ /**
36
+ * Module version
37
+ *
38
+ * @var string
39
+ */
40
+ public $module_version = '1.1.3';
41
+
42
+ /**
43
+ * Module slug
44
+ *
45
+ * @var string
46
+ */
47
+ public $module_slug = 'cherry-post-meta';
48
+
49
+ /**
50
+ * Module arguments
51
+ *
52
+ * @var array
53
+ */
54
+ public $args = array();
55
+
56
+ /**
57
+ * Existing field types
58
+ *
59
+ * @var array
60
+ */
61
+ public $field_types = array();
62
+
63
+ /**
64
+ * UI builder instance
65
+ *
66
+ * @var object
67
+ */
68
+ public $ui_builder = null;
69
+
70
+ /**
71
+ * Core instance
72
+ *
73
+ * @var object
74
+ */
75
+ public $core = null;
76
+
77
+ /**
78
+ * Current nonce name to check
79
+ *
80
+ * @var null
81
+ */
82
+ public $nonce = 'cherry-meta-nonce';
83
+
84
+ /**
85
+ * Storage of meta values.
86
+ *
87
+ * @since 1.0.0
88
+ * @var array
89
+ */
90
+ public $meta_values = array();
91
+
92
+ /**
93
+ * Constructor for the module.
94
+ *
95
+ * @since 1.0.0
96
+ */
97
+ public function __construct( $core, $args ) {
98
+ $this->core = $core;
99
+ $this->args = wp_parse_args(
100
+ $args,
101
+ array(
102
+ 'id' => 'cherry-post-metabox',
103
+ 'title' => '',
104
+ 'page' => array( 'post' ),
105
+ 'context' => 'normal',
106
+ 'priority' => 'high',
107
+ 'single' => false,
108
+ 'callback_args' => false,
109
+ 'fields' => array(),
110
+ )
111
+ );
112
+
113
+ if ( empty( $this->args['fields'] ) ) {
114
+ return;
115
+ }
116
+
117
+ add_action( 'admin_enqueue_scripts', array( $this, 'init_ui' ), 1 );
118
+ add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 10, 2 );
119
+ add_action( 'save_post', array( $this, 'save_meta' ), 10, 2 );
120
+ }
121
+
122
+ /**
123
+ * Init UI builder.
124
+ *
125
+ * @since 1.0.0
126
+ * @return bool
127
+ */
128
+ public function init_ui() {
129
+
130
+ if ( ! $this->is_allowed_page() ) {
131
+ return;
132
+ }
133
+
134
+ array_walk( $this->args['fields'], array( $this, 'set_field_types' ) );
135
+
136
+ $this->ui_builder = $this->core->init_module( 'cherry-ui-elements', array( 'ui_elements' => $this->field_types ) );
137
+
138
+ return true;
139
+ }
140
+
141
+ /**
142
+ * Check if defined metabox is allowed on current page
143
+ *
144
+ * @since 1.0.0
145
+ * @return boolean
146
+ */
147
+ public function is_allowed_page() {
148
+
149
+ global $current_screen;
150
+
151
+ if ( empty( $current_screen ) ) {
152
+ return false;
153
+ }
154
+
155
+ if ( is_array( $this->args['page'] ) && ! in_array( $current_screen->id, $this->args['page'] ) ) {
156
+ return false;
157
+ }
158
+
159
+ if ( is_string( $this->args['page'] ) && $current_screen->id !== $this->args['page'] ) {
160
+ return false;
161
+ }
162
+
163
+ return true;
164
+ }
165
+
166
+ /**
167
+ * Add meta box handler
168
+ *
169
+ * @since 1.0.0
170
+ * @param [type] $post_type The post type of the current post being edited.
171
+ * @param object $post The current post object.
172
+ * @return void
173
+ */
174
+ public function add_meta_boxes( $post_type, $post ) {
175
+
176
+ if ( ! $this->is_allowed_page() ) {
177
+ return;
178
+ }
179
+
180
+ add_meta_box(
181
+ $this->args['id'],
182
+ $this->args['title'],
183
+ array( $this, 'render_metabox' ),
184
+ $this->args['page'],
185
+ $this->args['context'],
186
+ $this->args['priority'],
187
+ $this->args['callback_args']
188
+ );
189
+ }
190
+
191
+ /**
192
+ * Render metabox funciton
193
+ *
194
+ * @since 1.0.0
195
+ * @param object $post The post object currently being edited.
196
+ * @param array $metabox Specific information about the meta box being loaded.
197
+ * @return void
198
+ */
199
+ public function render_metabox( $post, $metabox ) {
200
+
201
+ wp_nonce_field( $this->nonce, $this->nonce );
202
+ echo $this->get_fields( $post, '<div style="padding:10px 0">%s</div>' );
203
+ }
204
+
205
+ /**
206
+ * Get registered control fields
207
+ *
208
+ * @since 1.0.0
209
+ * @param mixed $post Current post object.
210
+ * @param [type] $format Current format name.
211
+ * @return string
212
+ */
213
+ public function get_fields( $post, $format = '%s' ) {
214
+
215
+ $elements = array();
216
+
217
+ if ( is_array( $this->args['single'] ) && isset( $this->args['single']['key'] ) ) {
218
+ $this->meta_values = get_post_meta( $post->ID, $this->args['single']['key'], true );
219
+ }
220
+
221
+ foreach ( $this->args['fields'] as $key => $field ) {
222
+ $value = $this->get_meta( $post, $key );
223
+ $value = ( false !== $value ) ? $value : Cherry_Toolkit::get_arg( $field, 'value', '' );
224
+
225
+ if ( isset( $field['options_callback'] ) ) {
226
+ $options = call_user_func( $field['options_callback'] );
227
+ } else {
228
+ $options = Cherry_Toolkit::get_arg( $field, 'options', array() );
229
+ }
230
+
231
+ $args = array(
232
+ 'type' => Cherry_Toolkit::get_arg( $field, 'type', 'text' ),
233
+ 'id' => Cherry_Toolkit::get_arg( $field, 'id', $key ),
234
+ 'name' => Cherry_Toolkit::get_arg( $field, 'name', $key ),
235
+ 'value' => $value,
236
+ 'label' => Cherry_Toolkit::get_arg( $field, 'label', '' ),
237
+ 'add_label' => Cherry_Toolkit::get_arg( $field, 'add_label', '' ),
238
+ 'options' => $options,
239
+ 'multiple' => Cherry_Toolkit::get_arg( $field, 'multiple', false ),
240
+ 'filter' => Cherry_Toolkit::get_arg( $field, 'filter', false ),
241
+ 'size' => Cherry_Toolkit::get_arg( $field, 'size', 1 ),
242
+ 'null_option' => Cherry_Toolkit::get_arg( $field, 'null_option', 'None' ),
243
+ 'multi_upload' => Cherry_Toolkit::get_arg( $field, 'multi_upload', true ),
244
+ 'library_type' => Cherry_Toolkit::get_arg( $field, 'library_type', 'image' ),
245
+ 'upload_button_text' => Cherry_Toolkit::get_arg( $field, 'upload_button_text', 'Choose' ),
246
+ 'max_value' => Cherry_Toolkit::get_arg( $field, 'max_value', '100' ),
247
+ 'min_value' => Cherry_Toolkit::get_arg( $field, 'min_value', '0' ),
248
+ 'max' => Cherry_Toolkit::get_arg( $field, 'max', '100' ),
249
+ 'min' => Cherry_Toolkit::get_arg( $field, 'min', '0' ),
250
+ 'step_value' => Cherry_Toolkit::get_arg( $field, 'step_value', '1' ),
251
+ 'style' => Cherry_Toolkit::get_arg( $field, 'style', 'normal' ),
252
+ 'display_input' => Cherry_Toolkit::get_arg( $field, 'display_input', true ),
253
+ 'controls' => Cherry_Toolkit::get_arg( $field, 'controls', array() ),
254
+ 'fields' => Cherry_Toolkit::get_arg( $field, 'fields', array() ),
255
+ 'auto_parse' => Cherry_Toolkit::get_arg( $field, 'auto_parse', false ),
256
+ 'icon_data' => Cherry_Toolkit::get_arg( $field, 'icon_data', array() ),
257
+ 'toggle' => Cherry_Toolkit::get_arg( $field, 'toggle', array(
258
+ 'true_toggle' => 'On',
259
+ 'false_toggle' => 'Off',
260
+ 'true_slave' => '',
261
+ 'false_slave' => '',
262
+ ) ),
263
+ 'required' => Cherry_Toolkit::get_arg( $field, 'required', false ),
264
+ 'placeholder' => Cherry_Toolkit::get_arg( $field, 'placeholder' ),
265
+ 'master' => Cherry_Toolkit::get_arg( $field, 'master' ),
266
+ 'title_field' => Cherry_Toolkit::get_arg( $field, 'title_field' ),
267
+ );
268
+
269
+ $current_element = $this->ui_builder->get_ui_element_instance( $args['type'], $args );
270
+
271
+ $elements[] = array(
272
+ 'html' => $current_element->render(),
273
+ 'field' => $field,
274
+ );
275
+
276
+ }
277
+ return Cherry_Toolkit::render_view(
278
+ __DIR__ . '/views/meta.php',
279
+ array(
280
+ 'elements' => $elements,
281
+ )
282
+ );
283
+ }
284
+
285
+ /**
286
+ * Store field types used in this widget into class property
287
+ *
288
+ * @since 1.0.0
289
+ * @param array $field field data.
290
+ * @param [type] $id field key.
291
+ * @return bool
292
+ */
293
+ public function set_field_types( $field, $id ) {
294
+
295
+ if ( ! is_array( $field ) || ! isset( $field['type'] ) ) {
296
+ return false;
297
+ }
298
+
299
+ if ( ! in_array( $field['type'], $this->field_types ) ) {
300
+ $this->field_types[] = $field['type'];
301
+ }
302
+
303
+ $this->maybe_add_repeater_fields( $field );
304
+
305
+ return true;
306
+
307
+ }
308
+
309
+ /**
310
+ * Maybe add reapeater sub-fields to required elements list
311
+ *
312
+ * @since 1.0.1
313
+ * @param array $field field data.
314
+ * @return bool
315
+ */
316
+ public function maybe_add_repeater_fields( $field ) {
317
+
318
+ if ( 'repeater' !== $field['type'] || empty( $field['fields'] ) ) {
319
+ return false;
320
+ }
321
+
322
+ foreach ( $field['fields'] as $repeater_field ) {
323
+ $this->set_field_types( $repeater_field, null );
324
+ }
325
+
326
+ return true;
327
+
328
+ }
329
+
330
+ /**
331
+ * Save additional taxonomy meta on edit or create tax
332
+ *
333
+ * @since 1.0.0
334
+ * @param int $post_id The ID of the current post being saved.
335
+ * @param object $post The post object currently being saved.
336
+ * @return void|int
337
+ */
338
+ public function save_meta( $post_id, $post = '' ) {
339
+
340
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
341
+ return;
342
+ }
343
+
344
+ if ( ! isset( $_POST[ $this->nonce ] ) || ! wp_verify_nonce( $_POST[ $this->nonce ], $this->nonce ) ) {
345
+ return;
346
+ }
347
+
348
+ if ( ! current_user_can( 'edit_posts' ) ) {
349
+ return;
350
+ }
351
+
352
+ if ( ! $this->is_allowed_page() ) {
353
+ return;
354
+ }
355
+
356
+ if ( ! is_object( $post ) ) {
357
+ $post = get_post();
358
+ }
359
+
360
+ if ( is_array( $this->args['single'] ) && isset( $this->args['single']['key'] ) ) {
361
+ $this->save_meta_mod( $post_id );
362
+ } else {
363
+ $this->save_meta_option( $post_id );
364
+ }
365
+ }
366
+
367
+ /**
368
+ * Save all meta values as a one array value in `wp_postmeta` table.
369
+ *
370
+ * @since 1.1.0
371
+ * @param int $post_id Post ID.
372
+ */
373
+ public function save_meta_mod( $post_id ) {
374
+ $meta_key = $this->args['single']['key'];
375
+
376
+ // Array of new post meta value.
377
+ $new_meta_value = array();
378
+
379
+ foreach ( $_POST[ $meta_key ] as $key => $value ) {
380
+
381
+ // @TODO - add sanitation by element type & hook for custom sanitation method.
382
+ $new_meta_value[ $key ] = sanitize_text_field( $value );
383
+ }
384
+
385
+ // Get current post meta data.
386
+ $meta_value = get_post_meta( $post_id, $meta_key, true );
387
+
388
+ if ( $new_meta_value && '' == $meta_value ) {
389
+ add_post_meta( $post_id, $meta_key, $new_meta_value, true );
390
+ } elseif ( $new_meta_value && $new_meta_value != $meta_value ) {
391
+ update_post_meta( $post_id, $meta_key, $new_meta_value );
392
+ } elseif ( '' == $new_meta_value && $meta_value ) {
393
+ delete_post_meta( $post_id, $meta_key, $meta_value );
394
+ }
395
+ }
396
+
397
+ /**
398
+ * Save each meta value as a single value in `wp_postmeta` table.
399
+ *
400
+ * @since 1.1.0
401
+ * @param int $post_id Post ID.
402
+ */
403
+ public function save_meta_option( $post_id ) {
404
+ foreach ( $this->args['fields'] as $key => $field ) {
405
+
406
+ if ( empty( $_POST[ $key ] ) ) {
407
+ update_post_meta( $post_id, $key, false );
408
+ continue;
409
+ }
410
+
411
+ // @TODO - add sanitation by element type & hook for custom sanitation method.
412
+ update_post_meta( $post_id, $key, $_POST[ $key ] );
413
+ }
414
+ }
415
+
416
+ /**
417
+ * Retrieve post meta field.
418
+ *
419
+ * @since 1.1.0
420
+ * @param object $post Current post object.
421
+ * @param string $key The meta key to retrieve.
422
+ * @return string
423
+ */
424
+ public function get_meta( $post, $key ) {
425
+
426
+ if ( ! is_object( $post ) ) {
427
+ return '';
428
+ }
429
+
430
+ if ( is_array( $this->args['single'] ) && isset( $this->args['single']['key'] ) ) {
431
+ $meta = isset( $this->meta_values[ $key ] ) ? $this->meta_values[ $key ] : '';
432
+ } else {
433
+ $meta = get_post_meta( $post->ID, $key, true );
434
+ }
435
+
436
+ return $meta;
437
+ }
438
+
439
+ /**
440
+ * Returns the instance.
441
+ *
442
+ * @since 1.0.0
443
+ * @return object
444
+ */
445
+ public static function get_instance( $core, $args ) {
446
+
447
+ if ( ! is_admin() ) {
448
+ return;
449
+ }
450
+
451
+ return new self( $core, $args );
452
+ }
453
+ }
454
+ }
cherry-framework/modules/cherry-post-meta/views/meta.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * POst meta view
4
+ *
5
+ * @package Cherry_Framework
6
+ */?>
7
+ <?php if ( is_array( $__data['elements'] ) && count( $__data['elements'] ) ) : ?>
8
+ <table class="form-table">
9
+ <tbody>
10
+ <?php foreach ( $__data['elements'] as $el ) : ?>
11
+ <tr>
12
+ <?php if ( array_key_exists( 'name', $el['field'] ) && array_key_exists( 'left_label', $el['field'] ) ) : ?>
13
+ <th><label for="<?php echo $el['field']['name']; ?>"><?php echo $el['field']['left_label']; ?></label></th>
14
+ <?php endif; ?>
15
+ <td><?php echo $el['html']; ?></td>
16
+ </tr>
17
+ <?php endforeach; ?>
18
+ </tbody>
19
+ </table>
20
+ <?php endif;
cherry-framework/modules/cherry-post-types/cherry-post-types.php ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Create custom post type
4
+ * Module Name: Post Types
5
+ * Description: Provides functionality for creating custom post types
6
+ * Version: 1.1.0
7
+ * Author: Cherry Team
8
+ * Author URI: http://www.cherryframework.com/
9
+ * License: GPLv3
10
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
+ *
12
+ * @package Cherry_Framework
13
+ * @subpackage Modules
14
+ * @version 1.1.0
15
+ * @author Cherry Team <cherryframework@gmail.com>
16
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
17
+ * @link http://www.cherryframework.com/
18
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
19
+ */
20
+
21
+ // If this file is called directly, abort.
22
+ if ( ! defined( 'WPINC' ) ) {
23
+ die;
24
+ }
25
+
26
+ if ( ! class_exists( 'Cherry_Post_Types' ) ) {
27
+
28
+ /**
29
+ * Cherry Post Types.
30
+ *
31
+ * @since 1.0.0
32
+ * @since 1.0.1 Removed `module_directory` property.
33
+ */
34
+ class Cherry_Post_Types {
35
+ /**
36
+ * Module version
37
+ *
38
+ * @var string
39
+ */
40
+ public $module_version = '1.1.0';
41
+
42
+ /**
43
+ * Module slug
44
+ *
45
+ * @var string
46
+ */
47
+ public $module_slug = 'cherry-post-types';
48
+
49
+ /**
50
+ * Default post type arguments
51
+ *
52
+ * @var null
53
+ */
54
+ private $defaults = null;
55
+
56
+ /**
57
+ * Created popst types list
58
+ *
59
+ * @var array
60
+ */
61
+ public static $created_post_types = array();
62
+
63
+ /**
64
+ * Cherry_Post_Type class constructor
65
+ */
66
+ public function __construct( $core, $args = array() ) {
67
+ $this->defaults = $args;
68
+
69
+ if ( ! class_exists( 'Cherry_Post_Type' ) ) {
70
+ require_once( __DIR__ . '/inc/cherry-post-type.php' );
71
+ }
72
+ }
73
+
74
+ /**
75
+ * Create new Post Type.
76
+ *
77
+ * @param [type] $slug The post type slug name.
78
+ * @param [type] $plural The post type plural name for display.
79
+ * @param [type] $singular The post type singular name for display.
80
+ * @param array $args The custom post type arguments.
81
+ * @throws Exception Invalid custom post type parameter.
82
+ * @return Cherry_Post_Type
83
+ */
84
+ public function create( $slug, $plural, $singular, $args = array() ) {
85
+ $params = array(
86
+ 'slug' => $slug,
87
+ 'plural' => $plural,
88
+ 'singular' => $singular,
89
+ );
90
+
91
+ foreach ( $params as $name => $param ) {
92
+ if ( ! is_string( $param ) ) {
93
+ throw new Exception( 'Invalid custom post type parameter "'.$name.'". Accepts string only.' );
94
+ }
95
+ }
96
+
97
+ // Set main properties.
98
+ $this->defaults = array_merge(
99
+ $this->get_default_arguments( $plural, $singular ),
100
+ $this->defaults
101
+ );
102
+ $args = array_merge( $this->defaults, $args );
103
+ // Register post type
104
+ self::$created_post_types[ $slug ] = new Cherry_Post_Type( $slug, $args );
105
+
106
+ return self::$created_post_types[ $slug ];
107
+ }
108
+
109
+ /**
110
+ * Get the custom post type default arguments.
111
+ *
112
+ * @param [type] $plural The post type plural display name.
113
+ * @param [type] $singular The post type singular display name.
114
+ * @return array
115
+ */
116
+ private function get_default_arguments( $plural, $singular ) {
117
+ $labels = array(
118
+ 'name' => 'cherry',
119
+ 'singular_name' => $singular,
120
+ 'add_new' => 'Add New',
121
+ 'add_new_item' => 'Add New '. $singular,
122
+ 'edit_item' => 'Edit '. $singular,
123
+ 'new_item' => 'New ' . $singular,
124
+ 'all_items' => 'All ' . $plural,
125
+ 'view_item' => 'View ' . $singular,
126
+ 'search_items' => 'Search ' . $singular,
127
+ 'not_found' => 'No '. $singular .' found',
128
+ 'not_found_in_trash' => 'No '. $singular .' found in Trash',
129
+ 'parent_item_colon' => '',
130
+ 'menu_name' => $plural,
131
+ );
132
+
133
+ $defaults = array(
134
+ 'label' => $plural,
135
+ 'labels' => $labels,
136
+ 'description' => '',
137
+ 'public' => true,
138
+ 'menu_position' => 20,
139
+ 'has_archive' => true,
140
+ );
141
+
142
+ return $defaults;
143
+ }
144
+
145
+ /**
146
+ * Returns the instance.
147
+ *
148
+ * @since 1.0.0
149
+ * @return object
150
+ */
151
+ public static function get_instance( $core, $args ) {
152
+ return new self( $core, $args );
153
+ }
154
+ }
155
+ }
cherry-framework/modules/cherry-post-types/inc/cherry-post-type.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Custom post type
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ /**
14
+ * Cherry_Post_Type class
15
+ */
16
+ class Cherry_Post_Type {
17
+
18
+ /**
19
+ * Post type slug
20
+ *
21
+ * @var null
22
+ */
23
+ private $slug = null;
24
+
25
+ /**
26
+ * Post type arguments
27
+ *
28
+ * @var null
29
+ */
30
+ private $args = null;
31
+
32
+ /**
33
+ * The registered custom post type.
34
+ *
35
+ * @var Object|\WP_Error
36
+ */
37
+ private $post_type;
38
+
39
+ /**
40
+ * Font awesome icon name.
41
+ *
42
+ * @var null
43
+ */
44
+ private $icon = null;
45
+
46
+ /**
47
+ * Cherry Post Type Builder class constructor
48
+ *
49
+ * @param [type] $slug post type slug.
50
+ * @param [type] $args post type arguments.
51
+ */
52
+ public function __construct( $slug, $args ) {
53
+
54
+ $this->slug = $slug;
55
+ $this->args = $args;
56
+
57
+ // Register post type
58
+ add_action( 'init', array( &$this, 'register' ) );
59
+ }
60
+
61
+ /**
62
+ * Triggered by the 'init' action event.
63
+ * Register a WordPress custom post type.
64
+ *
65
+ * @return void
66
+ */
67
+ public function register() {
68
+ $this->post_type = register_post_type(
69
+ $this->slug,
70
+ $this->args
71
+ );
72
+ }
73
+
74
+ /**
75
+ * Add font awesome icon to menu
76
+ *
77
+ * @param [type] $icon font awesome icon code.
78
+ * @return boolen true if succes | false if not.
79
+ */
80
+ public function font_awesome_icon( $icon = '' ) {
81
+ if ( '' === $icon ) {
82
+ return false;
83
+ }
84
+
85
+ $this->icon = $icon;
86
+
87
+ add_action( 'admin_enqueue_scripts', array( &$this, 'load_font_awesome' ) );
88
+
89
+ return true;
90
+ }
91
+
92
+ /**
93
+ * Load font awesome fonts to admin menu.
94
+ *
95
+ * @return void
96
+ */
97
+ public function load_font_awesome() {
98
+ wp_enqueue_style(
99
+ 'font-awesome',
100
+ '//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'
101
+ );
102
+
103
+ ?>
104
+ <style type='text/css' media='screen'>
105
+ #adminmenu .menu-icon-<?php echo $this->slug; ?> div.wp-menu-image:before {
106
+ font-family: Fontawesome !important;
107
+ content: '\<?php echo $this->icon; ?>';
108
+ }
109
+ </style>
110
+ <?php
111
+ }
112
+ }
cherry-framework/modules/cherry-taxonomies/cherry-taxonomies.php ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Taxanomies
4
+ * Description: Provides functionality for creating custom taxanomies
5
+ * Version: 1.1.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Taxonomies' ) ) {
26
+
27
+ /**
28
+ * Cherry Taxonomies.
29
+ *
30
+ * @since 1.0.0
31
+ * @since 1.0.1 Removed `module_directory` property.
32
+ */
33
+ class Cherry_Taxonomies {
34
+ /**
35
+ * Module version
36
+ *
37
+ * @var string
38
+ */
39
+ public $module_version = '1.1.0';
40
+
41
+ /**
42
+ * Module slug
43
+ *
44
+ * @var string
45
+ */
46
+ public $module_slug = 'cherry-taxonomies';
47
+
48
+ /**
49
+ * Default post type arguments
50
+ *
51
+ * @var null
52
+ */
53
+ private $defaults = null;
54
+
55
+ /**
56
+ * Cherry_Post_Type class constructor
57
+ */
58
+ public function __construct( $core, $args = array() ) {
59
+ $this->defaults = $args;
60
+
61
+ if ( ! class_exists( 'Cherry_Taxonomy' ) ) {
62
+ require_once( __DIR__ . '/inc/cherry-taxonomy.php' );
63
+ }
64
+ }
65
+
66
+ /**
67
+ * Create new Post Type.
68
+ *
69
+ * @param [type] $single name.
70
+ * @param [type] $post_type_slug post types slug.
71
+ * @param [type] $plural name.
72
+ * @return Cherry_Post_Type
73
+ */
74
+ public function create( $single, $post_type_slug = 'post', $plural = '' ) {
75
+ $tax = new Cherry_Taxonomy( $single, $post_type_slug, $plural );
76
+
77
+ $this->defaults = array_merge(
78
+ $this->defaults,
79
+ $this->get_default_arguments(
80
+ $tax->get_single(),
81
+ $tax->get_plural(),
82
+ $tax->get_post_type_slug()
83
+ )
84
+ );
85
+ $tax->set_arguments( $this->defaults );
86
+
87
+ return $tax;
88
+ }
89
+
90
+ /**
91
+ * Get the taxonomy default arguments.
92
+ *
93
+ * @param [type] $plural The post type plural display name.
94
+ * @param [type] $singular The post type singular display name.
95
+ * @return array
96
+ */
97
+ public function get_default_arguments( $plural, $singular, $post_type_slug ) {
98
+ $labels = array(
99
+ 'name' => $plural,
100
+ 'singular_name' => $singular,
101
+ 'search_items' => 'Search ' . $plural,
102
+ 'all_items' => 'All ' . $plural,
103
+ 'parent_item' => 'Parent ' . $singular,
104
+ 'parent_item_colon' => 'Parent ' . $singular . ' :',
105
+ 'edit_item' => 'Edit ' . $singular,
106
+ 'update_item' => 'Update ' . $singular,
107
+ 'add_new_item' => 'Add New ' . $singular,
108
+ 'new_item_name' => 'New ' . $singular . ' Name',
109
+ 'menu_name' => $plural,
110
+ );
111
+
112
+ return array(
113
+ 'hierarchical' => true,
114
+ 'labels' => $labels,
115
+ 'show_ui' => true,
116
+ 'show_admin_column' => true,
117
+ 'query_var' => true,
118
+ 'rewrite' => array( 'slug' => $post_type_slug ),
119
+ );
120
+ }
121
+
122
+ /**
123
+ * Returns the instance.
124
+ *
125
+ * @since 1.0.0
126
+ * @return object
127
+ */
128
+ public static function get_instance( $core, $args ) {
129
+ return new self( $core, $args );
130
+ }
131
+ }
132
+ }
cherry-framework/modules/cherry-taxonomies/inc/cherry-taxonomy.php ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Custom taxonomy
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ /**
14
+ * Cherry_Taxonomy class
15
+ */
16
+ class Cherry_Taxonomy {
17
+
18
+ /**
19
+ * Single taxonomy name.
20
+ *
21
+ * @var null
22
+ */
23
+ private $single = null;
24
+
25
+ /**
26
+ * Taxonomy slug
27
+ *
28
+ * @var null
29
+ */
30
+ private $slug = null;
31
+
32
+ /**
33
+ * Post type slug
34
+ *
35
+ * @var null
36
+ */
37
+ private $post_type_slug = null;
38
+
39
+ /**
40
+ * Plural taxonomy name.
41
+ *
42
+ * @var null
43
+ */
44
+ private $plural = null;
45
+
46
+ /**
47
+ * Taxonomy arguments
48
+ *
49
+ * @var array
50
+ */
51
+ private $arguments = array();
52
+
53
+ /**
54
+ * Cherry taxonomy
55
+ *
56
+ * @param [type] $single name.
57
+ * @param [type] $post_type_slug post type slug.
58
+ * @param [type] $plural name.
59
+ * @param array $args arguments.
60
+ */
61
+ public function __construct( $single, $post_type_slug = 'post', $plural = '', $args = array() ) {
62
+ $this->set_single( $single );
63
+ $this->set_plural( $plural );
64
+ $this->set_post_type_slug( $post_type_slug );
65
+ $this->set_slug();
66
+ $this->set_arguments( $args );
67
+ }
68
+
69
+ /**
70
+ * Init actions
71
+ *
72
+ * @return Cherry_Taxonomy object
73
+ */
74
+ public function init() {
75
+ // Register Taxonomy
76
+ add_action( 'init', array( &$this, 'register' ), 0 );
77
+ return $this;
78
+ }
79
+
80
+ /**
81
+ * Set single property
82
+ *
83
+ * @param [type] $single property.
84
+ * @return Cherry_Taxonomy object
85
+ */
86
+ public function set_single( $single ) {
87
+ if ( '' !== $single ) {
88
+ $this->single = $single;
89
+ }
90
+ return $this;
91
+ }
92
+
93
+ /**
94
+ * Get single property
95
+ *
96
+ * @return string property.
97
+ */
98
+ public function get_single() {
99
+ return $this->single;
100
+ }
101
+
102
+ /**
103
+ * Set plural property
104
+ *
105
+ * @param [type] $plural property.
106
+ * @return Cherry_Taxonomy object
107
+ */
108
+ public function set_plural( $plural = '' ) {
109
+ if ( '' != $plural ) {
110
+ $this->plural = $plural;
111
+ } else {
112
+ $this->plural = $this->get_single() . 's';
113
+ }
114
+ return $this;
115
+ }
116
+
117
+ /**
118
+ * Get plural property
119
+ *
120
+ * @return string plural property.
121
+ */
122
+ public function get_plural() {
123
+ return $this->plural;
124
+ }
125
+
126
+ /**
127
+ * Set slug
128
+ *
129
+ * @param type string $slug taxonomy slug.
130
+ * @return Cherry_Taxonomy object
131
+ */
132
+ public function set_slug( $slug = '' ) {
133
+ if ( '' != $slug ) {
134
+ $this->slug = $slug;
135
+ } else {
136
+ $slug = $this->get_single();
137
+ $slug = strtolower( $slug );
138
+ $slug = str_replace( ' ', '_', $slug );
139
+ $this->slug = $slug;
140
+ }
141
+ return $this;
142
+ }
143
+
144
+ /**
145
+ * Get slug taxonomy
146
+ *
147
+ * @return string taxonomy slug.
148
+ */
149
+ public function get_slug() {
150
+ return $this->slug;
151
+ }
152
+
153
+ /**
154
+ * Set post type slug
155
+ *
156
+ * @param type string $slug post types slug.
157
+ * @return Cherry_Taxonomy object
158
+ */
159
+ public function set_post_type_slug( $slug = '' ) {
160
+ if ( '' != $slug ) {
161
+ $this->post_type_slug = $slug;
162
+ } else {
163
+ $this->post_type_slug = 'post';
164
+ }
165
+ return $this;
166
+ }
167
+
168
+ /**
169
+ * Get post type slug
170
+ *
171
+ * @return string post type slug.
172
+ */
173
+ public function get_post_type_slug() {
174
+ return $this->post_type_slug;
175
+ }
176
+
177
+ /**
178
+ * Set arguments
179
+ *
180
+ * @param array $args arguments.
181
+ */
182
+ public function set_arguments( $args = array() ) {
183
+ $this->arguments = array_merge( $this->arguments, (array) $args );
184
+ return $this;
185
+ }
186
+
187
+ /**
188
+ * Get arguments
189
+ *
190
+ * @return array taxonomy arguments.
191
+ */
192
+ public function get_arguments() {
193
+ return (array) $this->arguments;
194
+ }
195
+
196
+ /**
197
+ * Triggered by the 'init' action event.
198
+ * Register a WordPress custom taxonomy.
199
+ *
200
+ * @return Cherry_Taxonomy object
201
+ */
202
+ public function register() {
203
+ register_taxonomy(
204
+ $this->slug,
205
+ $this->post_type_slug,
206
+ $this->arguments
207
+ );
208
+ return $this;
209
+ }
210
+ }
cherry-framework/modules/cherry-term-meta/cherry-term-meta.php ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Term Meta
4
+ * Description: Manage term metadata
5
+ * Version: 1.1.1
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.1
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Term_Meta' ) ) {
26
+
27
+ /**
28
+ * Term meta management module
29
+ */
30
+ class Cherry_Term_Meta {
31
+
32
+ /**
33
+ * Module version
34
+ *
35
+ * @var string
36
+ */
37
+ public $module_version = '1.1.1';
38
+
39
+ /**
40
+ * Module slug
41
+ *
42
+ * @var string
43
+ */
44
+ public $module_slug = 'cherry-term-meta';
45
+
46
+ /**
47
+ * Module arguments
48
+ *
49
+ * @var array
50
+ */
51
+ public $args = array();
52
+
53
+ /**
54
+ * Existing field types
55
+ *
56
+ * @var array
57
+ */
58
+ public $field_types = array();
59
+
60
+ /**
61
+ * UI builder instance
62
+ *
63
+ * @var object
64
+ */
65
+ public $ui_builder = null;
66
+
67
+ /**
68
+ * Already registered field.
69
+ *
70
+ * @since 1.0.2
71
+ * @var array
72
+ */
73
+ static public $register_fields = array();
74
+
75
+ /**
76
+ * Core instance
77
+ *
78
+ * @var object
79
+ */
80
+ public $core = null;
81
+
82
+ /**
83
+ * Constructor for the module
84
+ */
85
+ function __construct( $core, $args ) {
86
+
87
+ $this->core = $core;
88
+ $this->args = wp_parse_args( $args, array(
89
+ 'tax' => 'category',
90
+ 'priority' => 10,
91
+ 'fields' => array(),
92
+ ) );
93
+
94
+ if ( empty( $this->args['fields'] ) ) {
95
+ return;
96
+ }
97
+
98
+ add_action( 'admin_enqueue_scripts', array( $this, 'init_ui' ), 1 );
99
+
100
+ $priority = intval( $this->args['priority'] );
101
+ $tax = esc_attr( $this->args['tax'] );
102
+
103
+ add_action( "{$tax}_add_form_fields", array( $this, 'render_add_fields' ), $priority );
104
+ add_action( "{$tax}_edit_form_fields", array( $this, 'render_edit_fields' ), $priority, 2 );
105
+
106
+ add_action( "created_{$tax}", array( $this, 'save_meta' ) );
107
+ add_action( "edited_{$tax}", array( $this, 'save_meta' ) );
108
+ }
109
+
110
+ /**
111
+ * Init UI builder.
112
+ *
113
+ * @since 1.0.0
114
+ * @return bool
115
+ */
116
+ public function init_ui() {
117
+
118
+ global $current_screen;
119
+
120
+ if ( empty( $current_screen ) || ! in_array( $current_screen->base, array( 'edit-tags', 'term' ) ) ) {
121
+ return false;
122
+ }
123
+
124
+ array_walk( $this->args['fields'], array( $this, 'set_field_types' ) );
125
+
126
+ $this->ui_builder = $this->core->init_module( 'cherry-ui-elements', $this->field_types );
127
+
128
+ return true;
129
+ }
130
+
131
+ /**
132
+ * Render add term form fields
133
+ *
134
+ * @since 1.0.0
135
+ * @param [type] $taxonomy taxonomy name.
136
+ * @return void
137
+ */
138
+ public function render_add_fields( $taxonomy ) {
139
+
140
+ $format = '<div style="padding:10px 0;">%s</div>';
141
+ echo $this->get_fields( false, $taxonomy, $format );
142
+ }
143
+
144
+ /**
145
+ * Render edit term form fields
146
+ *
147
+ * @since 1.0.0
148
+ * @param object $term current term object.
149
+ * @param [type] $taxonomy taxonomy name.
150
+ * @return void
151
+ */
152
+ public function render_edit_fields( $term, $taxonomy ) {
153
+
154
+ $format = '<tr class="form-field cherry-term-meta-wrap"><th>&nbsp;</th><td>%s</td></tr>';
155
+ echo $this->get_fields( $term, $taxonomy, $format );
156
+ }
157
+
158
+ /**
159
+ * Get registered control fields
160
+ *
161
+ * @since 1.0.0
162
+ * @param mixed $term current term object.
163
+ * @param [type] $taxonomy current taxonomy name.
164
+ * @return string
165
+ */
166
+ public function get_fields( $term, $taxonomy, $format = '%s' ) {
167
+
168
+ $result = '';
169
+
170
+ foreach ( $this->args['fields'] as $key => $field ) {
171
+
172
+ if ( in_array( $key, Cherry_Term_Meta::$register_fields ) ) {
173
+ continue;
174
+ } else {
175
+ Cherry_Term_Meta::$register_fields[] = $key;
176
+ }
177
+
178
+ if ( false !== $term ) {
179
+ $value = get_term_meta( $term->term_id, $key, true );
180
+ } else {
181
+ $value = '';
182
+ }
183
+
184
+ $value = ! empty( $value ) ? $value : Cherry_Toolkit::get_arg( $field, 'value', '' );
185
+
186
+ if ( isset( $field['options_callback'] ) ) {
187
+ $options = call_user_func( $field['options_callback'] );
188
+ } else {
189
+ $options = Cherry_Toolkit::get_arg( $field, 'options', array() );
190
+ }
191
+
192
+ $args = array(
193
+ 'type' => Cherry_Toolkit::get_arg( $field, 'type', 'text' ),
194
+ 'id' => $key,
195
+ 'name' => $key,
196
+ 'value' => $value,
197
+ 'label' => Cherry_Toolkit::get_arg( $field, 'label', '' ),
198
+ 'options' => $options,
199
+ 'multiple' => Cherry_Toolkit::get_arg( $field, 'multiple', false ),
200
+ 'filter' => Cherry_Toolkit::get_arg( $field, 'filter', false ),
201
+ 'size' => Cherry_Toolkit::get_arg( $field, 'size', 1 ),
202
+ 'null_option' => Cherry_Toolkit::get_arg( $field, 'null_option', 'None' ),
203
+ 'multi_upload' => Cherry_Toolkit::get_arg( $field, 'multi_upload', true ),
204
+ 'library_type' => Cherry_Toolkit::get_arg( $field, 'library_type', 'image' ),
205
+ 'upload_button_text' => Cherry_Toolkit::get_arg( $field, 'upload_button_text', 'Choose' ),
206
+ 'max_value' => Cherry_Toolkit::get_arg( $field, 'max_value', '100' ),
207
+ 'min_value' => Cherry_Toolkit::get_arg( $field, 'min_value', '0' ),
208
+ 'step_value' => Cherry_Toolkit::get_arg( $field, 'step_value', '1' ),
209
+ 'style' => Cherry_Toolkit::get_arg( $field, 'style', 'normal' ),
210
+ 'toggle' => Cherry_Toolkit::get_arg( $field, 'toggle', array(
211
+ 'true_toggle' => 'On',
212
+ 'false_toggle' => 'Off',
213
+ 'true_slave' => '',
214
+ 'false_slave' => '',
215
+ ) ),
216
+ );
217
+
218
+ $current_element = $this->ui_builder->get_ui_element_instance( $args['type'], $args );
219
+
220
+ $result .= sprintf( $format, $current_element->render() );
221
+
222
+ }
223
+
224
+ return $result;
225
+
226
+ }
227
+
228
+ /**
229
+ * Store field types used in this widget into class property
230
+ *
231
+ * @since 1.0.0
232
+ * @param array $field field data.
233
+ * @param [type] $id field key.
234
+ * @return bool
235
+ */
236
+ public function set_field_types( $field, $id ) {
237
+
238
+ if ( is_array( $field ) || ! isset( $field['type'] ) ) {
239
+ return false;
240
+ }
241
+
242
+ if ( ! in_array( $field['type'], $this->field_types ) ) {
243
+ $this->field_types[] = $field['type'];
244
+ }
245
+
246
+ return true;
247
+
248
+ }
249
+
250
+ /**
251
+ * Save additional taxonomy meta on edit or create tax
252
+ *
253
+ * @since 1.0.0
254
+ * @param int $term_id Term ID.
255
+ * @return bool
256
+ */
257
+ public function save_meta( $term_id ) {
258
+
259
+ if ( ! current_user_can( 'edit_posts' ) ) {
260
+ return false;
261
+ }
262
+
263
+ foreach ( $this->args['fields'] as $key => $field ) {
264
+
265
+ if ( ! isset( $_POST[ $key ] ) ) {
266
+ continue;
267
+ }
268
+
269
+ if ( is_array( $_POST[ $key ] ) ) {
270
+ $new_val = array_filter( $_POST[ $key ] );
271
+ } else {
272
+ $new_val = esc_attr( $_POST[ $key ] );
273
+ }
274
+
275
+ update_term_meta( $term_id, $key, $new_val );
276
+
277
+ }
278
+
279
+ return true;
280
+
281
+ }
282
+
283
+ /**
284
+ * Returns the instance.
285
+ *
286
+ * @since 1.0.0
287
+ * @return object
288
+ */
289
+ public static function get_instance( $core, $args ) {
290
+ return new self( $core, $args );
291
+ }
292
+ }
293
+ }
cherry-framework/modules/cherry-theme-updater/cherry-theme-updater.php ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * Module Name: Theme Updater
5
+ * Description: Provides functionality for updating themes
6
+ * Version: 1.1.0
7
+ * Author: Cherry Team
8
+ * Author URI: http://www.cherryframework.com/
9
+ * License: GPLv3
10
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
+ *
12
+ * @package Cherry_Framework
13
+ * @subpackage Modules
14
+ * @version 1.1.0
15
+ * @author Cherry Team <cherryframework@gmail.com>
16
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
17
+ * @link http://www.cherryframework.com/
18
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
19
+ */
20
+
21
+ // If this file is called directly, abort.
22
+ if ( ! defined( 'WPINC' ) ) {
23
+ die;
24
+ }
25
+
26
+ if ( ! class_exists( 'Cherry_Theme_Updater' ) ) {
27
+ require_once( '/inc/cherry-base-updater.php' );
28
+
29
+ /**
30
+ * Define theme updater class.
31
+ *
32
+ * @since 1.0.0
33
+ */
34
+ class Cherry_Theme_Updater extends Cherry_Base_Updater {
35
+ /**
36
+ * Updater settings.
37
+ *
38
+ * @var array
39
+ */
40
+ protected $settings = array();
41
+
42
+ /**
43
+ * A reference to an instance of this class.
44
+ *
45
+ * @since 1.0.0
46
+ * @var object
47
+ */
48
+ private static $instance = null;
49
+
50
+ /**
51
+ * Init class parameters.
52
+ *
53
+ * @since 1.0.0
54
+ * @param object $core core.
55
+ * @param array $args Input attributes array.
56
+ * @return void
57
+ */
58
+ public function __construct( $core, $args = array() ) {
59
+ /**
60
+ * Set default settings
61
+ */
62
+ $theme_headers = wp_get_theme();
63
+
64
+ $this->default_settings['slug'] = $theme_headers->get( 'Name' );
65
+ $this->default_settings['repository_name'] = $theme_headers->get( 'Name' );
66
+ $this->default_settings['version'] = $theme_headers->get( 'Version' );
67
+
68
+ $this->base_init( $args );
69
+
70
+ /**
71
+ * Need for test update - set_site_transient( 'pre_set_site_transient_', null );
72
+ */
73
+ add_action( 'pre_set_site_transient_update_themes', array( $this, 'update' ), 1, 1 );
74
+ add_filter( 'upgrader_source_selection', array( $this, 'rename_github_folder' ), 11, 3 );
75
+ add_filter( 'wp_prepare_themes_for_js', array( $this, 'change_details_url' ) );
76
+ }
77
+
78
+ /**
79
+ * Process update.
80
+ *
81
+ * @since 1.0.0
82
+ * @param object $data Update data.
83
+ * @return object
84
+ */
85
+ public function update( $data ) {
86
+ $new_update = $this->check_update();
87
+
88
+ if ( $new_update['version'] ) {
89
+
90
+ $update = array(
91
+ 'theme' => $this->settings['slug'],
92
+ 'new_version' => $new_update['version'],
93
+ 'url' => $this->settings['details_url'],
94
+ 'package' => $new_update['package'],
95
+ );
96
+
97
+ $data->response[ $this->settings['slug'] ] = $update;
98
+ }
99
+ return $data;
100
+ }
101
+
102
+ /**
103
+ * Change theme detail URL.
104
+ *
105
+ * @since 1.0.0
106
+ * @param array $prepared_themes array with update parametr.
107
+ *
108
+ * @return array
109
+ */
110
+ public function change_details_url( $prepared_themes ) {
111
+
112
+ if ( ! empty( $prepared_themes ) ) {
113
+
114
+ foreach ( $prepared_themes as $theme_key => $theme_value ) {
115
+
116
+ if ( 'cherryframework4' === $theme_key || 'Cherry Framework' === $theme_value['parent'] ) {
117
+
118
+ if ( $theme_value['hasUpdate'] ) {
119
+
120
+ $prepared_themes[ $theme_key ]['update'] = str_replace( 'class="thickbox"', 'target ="_blank"', $theme_value['update'] );
121
+ }
122
+
123
+ remove_filter( 'wp_prepare_themes_for_js', array( $this, 'change_details_url' ) );
124
+ }
125
+ }
126
+ }
127
+
128
+ return $prepared_themes;
129
+ }
130
+
131
+ /**
132
+ * Returns the instance.
133
+ *
134
+ * @since 1.0.0
135
+ * @return object
136
+ */
137
+ public static function get_instance( $core, $args ) {
138
+ return new self( $core, $args );
139
+ }
140
+ }
141
+ }
cherry-framework/modules/cherry-theme-updater/inc/cherry-base-updater.php ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the base update.
4
+ *
5
+ * @package Cherry_Base_Updater
6
+ * @subpackage Base_Update
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'Cherry_Base_Updater' ) ) {
19
+
20
+ /**
21
+ * Test definitions to allow alpha and beta updates
22
+ *
23
+ * Disable updates - define('CHERRY_UPDATE', false);
24
+ * Enable auto updates - define('CHERRY_ALPHA_UPDATE', true);
25
+ * Enable beta updates - define('CHERRY_BETA_UPDATE', true);
26
+ */
27
+
28
+ /**
29
+ * Base updater class.
30
+ *
31
+ * @since 4.0.0
32
+ */
33
+ class Cherry_Base_Updater {
34
+
35
+ /**
36
+ * Default Settings.
37
+ *
38
+ * @since 4.0.0
39
+ * @access protected
40
+ * @var array
41
+ */
42
+ protected $default_settings = array(
43
+ 'version' => '',
44
+ 'slug' => '',
45
+ 'cloud_url' => 'https://cloud.cherryframework.com/cherry-update/',
46
+ 'product_name' => 'CherryFramework',
47
+ 'repository_name' => '',
48
+ );
49
+
50
+ /**
51
+ * Init class parameters.
52
+ *
53
+ * @since 4.0.0
54
+ * @param array $settings Input attributes array.
55
+ * @return void
56
+ */
57
+ protected function base_init( $settings = array() ) {
58
+ $this->settings = array_merge( $this->default_settings, $settings );
59
+ }
60
+
61
+ /**
62
+ * Check if update are avaliable.
63
+ *
64
+ * @since 4.0.0
65
+ * @return array
66
+ */
67
+ protected function check_update() {
68
+ $args = array(
69
+ 'user-agent' => 'WordPress',
70
+ 'github_repository' => $this->settings['product_name'] . '/' . $this->settings['repository_name'],
71
+ 'current_version' => $this->settings['version'],
72
+ 'up_query_limit' => false,
73
+ 'get_alpha' => false,
74
+ 'get_beta' => false,
75
+ );
76
+
77
+ if ( defined( 'CHERRY_ALPHA_UPDATE' ) ) {
78
+ $args['get_alpha'] = true;
79
+ }
80
+
81
+ if ( defined( 'CHERRY_BETA_UPDATE' ) ) {
82
+ $args['get_beta'] = true;
83
+ }
84
+
85
+ if ( defined( 'CHERRY_UP_QUERY_LIMIT' ) ) {
86
+ $args['up_query_limit'] = true;
87
+ }
88
+
89
+ $response = $this -> remote_query( $args );
90
+
91
+ if ( $response && 'not_update' !== $response ) {
92
+ $this->settings['details_url'] = $response->details_url;
93
+ return array( 'version' => $response->new_version, 'package' => $response->package );
94
+ }
95
+
96
+ return array( 'version' => false );
97
+ }
98
+
99
+ /**
100
+ * Remote request to updater API.
101
+ *
102
+ * @since 4.0.0
103
+ * @param array $args Request paprams.
104
+ * @return array|bool
105
+ */
106
+ protected function remote_query( $args ) {
107
+ $query = add_query_arg( $args, $this->settings['cloud_url'] );
108
+
109
+ $response = wp_remote_get( $query );
110
+
111
+ if ( is_wp_error( $response ) || wp_remote_retrieve_response_code( $response ) != '200' ) {
112
+ return false;
113
+ }
114
+
115
+ $response = json_decode( $response['body'] );
116
+
117
+ return $response;
118
+ }
119
+
120
+ /**
121
+ * Rename github folder on update.
122
+ *
123
+ * @since 4.0.0
124
+ * @param [type] $upgrate_dir Theme folder name.
125
+ * @param [type] $remote_dir Remote folder name.
126
+ * @param object $skin_upgrader Upgrader object instance.
127
+ * @return string
128
+ */
129
+ public function rename_github_folder( $upgrate_dir, $remote_dir, $skin_upgrader ) {
130
+
131
+ $slug = $this->settings['slug'];
132
+ $is_theme = isset( $skin_upgrader->skin->theme ) || isset( $skin_upgrader->skin->theme_info ) ? true : false ;
133
+ $is_plugin = isset( $skin_upgrader->skin->plugin_info ) ? true : false ;
134
+ $domain_plugin = $is_plugin ? $skin_upgrader->skin->plugin_info['TextDomain'] : '' ;
135
+ $title_plugin = $is_plugin ? str_replace( ' ', '-', strtolower( $skin_upgrader->skin->plugin_info['Title'] ) ) : '' ;
136
+ $name_plugin = $is_plugin ? str_replace( ' ', '-', strtolower( $skin_upgrader->skin->plugin_info['Name'] ) ) : '' ;
137
+
138
+ if ( $is_theme && strpos( $upgrate_dir, $slug ) !== false
139
+ || $is_plugin && $domain_plugin === $slug
140
+ || $is_plugin && $title_plugin === $slug
141
+ || $is_plugin && $name_plugin === $slug
142
+ ) {
143
+ $upgrate_dir_path = pathinfo( $upgrate_dir );
144
+ $new_upgrate_dir = trailingslashit( $upgrate_dir_path['dirname'] ) . trailingslashit( $slug );
145
+
146
+ rename( $upgrate_dir, $new_upgrate_dir );
147
+
148
+ $upgrate_dir = $new_upgrate_dir;
149
+
150
+ remove_filter( 'upgrader_source_selection', array( $this, 'rename_github_folder' ), 11, 3 );
151
+ }
152
+
153
+ return $upgrate_dir;
154
+ }
155
+ }
156
+ }
cherry-framework/modules/cherry-toolkit/cherry-toolkit.php ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Framework Toolkit
4
+ * Description: Framework Toolkit contains various PHP utilities
5
+ * Version: 1.1.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Class
13
+ * @author Cherry Team <cherryframework@gmail.com>
14
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
15
+ * @link http://www.cherryframework.com/
16
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
17
+ */
18
+
19
+ // If this file is called directly, abort.
20
+ if ( ! defined( 'WPINC' ) ) {
21
+ die;
22
+ }
23
+
24
+ if ( ! class_exists( 'Cherry_Toolkit' ) ) {
25
+
26
+ /**
27
+ * Various PHP utilities
28
+ */
29
+ class Cherry_Toolkit {
30
+
31
+ /**
32
+ * Module version
33
+ *
34
+ * @var string Module version
35
+ */
36
+ public $module_version = '1.1.0';
37
+
38
+ /**
39
+ * Module slug
40
+ *
41
+ * @var string Module slug
42
+ */
43
+ public $module_slug = 'cherry-toolkit';
44
+
45
+ /**
46
+ * Constructor for the module
47
+ *
48
+ * @param Cherry_Core $core Core instance.
49
+ * @param array $args Module arguments.
50
+ */
51
+ public function __construct( $core, $args ) {}
52
+
53
+ /**
54
+ * Returns the instance.
55
+ *
56
+ * @since 1.0.0
57
+ * @return object
58
+ */
59
+ public static function get_instance( $core, $args ) {
60
+ return new self( $core, $args );
61
+ }
62
+
63
+ /**
64
+ * Safely get attribute from field settings array.
65
+ *
66
+ * @since 1.0.0
67
+ * @param array $field arguments array.
68
+ * @param string|int|float $arg argument key.
69
+ * @param mixed $default default argument value.
70
+ * @return mixed
71
+ */
72
+ public static function get_arg( $field, $arg, $default = '' ) {
73
+
74
+ if ( is_array( $field ) && isset( $field[ $arg ] ) ) {
75
+ return $field[ $arg ];
76
+ }
77
+
78
+ return $default;
79
+ }
80
+
81
+ /**
82
+ * Get class instance
83
+ *
84
+ * @param string $class_name Class name.
85
+ * @param Cherry_Core $core Core instance.
86
+ * @param array $args Additional arguments.
87
+ * @return object New class instance.
88
+ * @throws InvalidArgumentException If class does not exists.
89
+ */
90
+ public static function get_class_instance( $class_name = '', $core, $args ) {
91
+ if ( ! class_exists( $class_name ) ) {
92
+ throw new InvalidArgumentException( 'Class "' . $class_name . '" doesn\'t exists' );
93
+ }
94
+
95
+ return new $class_name( $core, $args );
96
+ }
97
+
98
+ /**
99
+ * Render view
100
+ *
101
+ * @param string $path View path.
102
+ * @param array $data Include data.
103
+ * @return string Rendered html.
104
+ */
105
+ public static function render_view( $path, array $data = array() ) {
106
+
107
+ // Add parameters to temporary query variable.
108
+ if ( array_key_exists( 'wp_query', $GLOBALS ) ) {
109
+ if ( is_array( $GLOBALS['wp_query']->query_vars ) ) {
110
+ $GLOBALS['wp_query']->query_vars['__data'] = $data;
111
+ }
112
+ }
113
+
114
+ ob_start();
115
+ load_template( $path, false );
116
+ $result = ltrim( ob_get_clean() );
117
+
118
+ /**
119
+ * Remove temporary wp query variable
120
+ * Yeah. I'm paranoic.
121
+ */
122
+ if ( array_key_exists( 'wp_query', $GLOBALS ) ) {
123
+ if ( is_array( $GLOBALS['wp_query']->query_vars ) ) {
124
+ unset( $GLOBALS['wp_query']->query_vars['__data'] );
125
+ }
126
+ }
127
+
128
+ // Return the compiled view and terminate the output buffer.
129
+ return $result;
130
+ }
131
+
132
+ /**
133
+ * Remove empty elements
134
+ *
135
+ * @param array $arr --- array with empty elements.
136
+ * @return array --- array without empty elements
137
+ */
138
+ public static function remove_empty( $arr ) {
139
+ return array_filter( $arr, array( __CLASS__, 'remove_empty_check' ) );
140
+ }
141
+
142
+ /**
143
+ * Check if empty.
144
+ * It's need for PHP 5.2.4 version
145
+ *
146
+ * @param [type] $var variable.
147
+ * @return boolean
148
+ */
149
+ public static function remove_empty_check( $var ) {
150
+ return '' != $var;
151
+ }
152
+
153
+ /**
154
+ * Join array to string
155
+ *
156
+ * @param array $arr --- array like 'key' => 'value'.
157
+ * @return string --- joined string
158
+ */
159
+ public static function join( $arr = array() ) {
160
+ $arr = self::remove_empty( $arr );
161
+ $result = array();
162
+ foreach ( $arr as $key => $value ) {
163
+ $result[] = sprintf( '%s="%s"', $key, $value );
164
+ }
165
+ return implode( ' ', $result );
166
+ }
167
+
168
+ /**
169
+ * Lave just right keys in array
170
+ *
171
+ * @param array $right_keys right keys to leave.
172
+ * @param array $array list.
173
+ * @return array
174
+ */
175
+ public static function leave_right_keys( $right_keys, $array ) {
176
+ $right_keys = (array) $right_keys;
177
+ $array = (array) $array;
178
+ if ( count( $array ) ) {
179
+ foreach ( $array as $key => $value ) {
180
+ if ( ! in_array( $key, $right_keys ) ) {
181
+ unset( $array[ $key ] );
182
+ }
183
+ }
184
+ }
185
+ return $array;
186
+ }
187
+
188
+ /**
189
+ * Remove some keys form array
190
+ *
191
+ * @param [type] $right_keys keys to remove.
192
+ * @param [type] $array where we want remove this keys.
193
+ * @return array without keys
194
+ */
195
+ public static function remove_right_keys( $right_keys, $array ) {
196
+ $right_keys = (array) $right_keys;
197
+ $array = (array) $array;
198
+ if ( count( $right_keys ) ) {
199
+ foreach ( $right_keys as $key ) {
200
+ if ( array_key_exists( $key, $array ) ) {
201
+ unset( $array[ $key ] );
202
+ }
203
+ }
204
+ }
205
+ return $array;
206
+ }
207
+ }
208
+ }
cherry-framework/modules/cherry-ui-elements/cherry-ui-elements.php ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: UI Elements
4
+ * Description: Class for the building ui elements
5
+ * Version: 1.1.3
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.3
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_UI_Elements' ) ) {
26
+
27
+ /**
28
+ * Class for the building ui elements.
29
+ *
30
+ * @since 1.0.0
31
+ * @since 1.0.3 Removed `module_directory` and `module_directory_uri` properties.
32
+ */
33
+ class Cherry_UI_Elements {
34
+
35
+ /**
36
+ * Default arguments.
37
+ *
38
+ * @since 1.0.0
39
+ * @var array
40
+ */
41
+ private $args = array(
42
+ 'ui_elements' => array(
43
+ 'text',
44
+ 'textarea',
45
+ 'select',
46
+ 'checkbox',
47
+ 'radio',
48
+ 'colorpicker',
49
+ 'media',
50
+ 'stepper',
51
+ 'switcher',
52
+ 'slider',
53
+ 'repeater',
54
+ 'iconpicker',
55
+ ),
56
+ );
57
+
58
+ /**
59
+ * Constructor.
60
+ *
61
+ * @since 1.0.0
62
+ * @param object $core Core.
63
+ * @param array $args Arguments.
64
+ */
65
+ public function __construct( $core, $args ) {
66
+ $this->args = array_merge( $this->args, $args );
67
+ $this->ui_elements_require();
68
+
69
+ // Load admin assets.
70
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_assets' ), 9 );
71
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_admin_assets' ), 9 );
72
+ }
73
+
74
+ /**
75
+ * Get UI-element instance.
76
+ *
77
+ * @since 1.0.0
78
+ * @param [type] $ui_slug ui element.
79
+ * @param array $args arguments.
80
+ * @return object
81
+ */
82
+ public function get_ui_element_instance( $ui_slug, $args ) {
83
+
84
+ if ( empty( $ui_slug ) ) {
85
+ echo '<p>Set an empty slug</p>';
86
+ return false;
87
+ }
88
+
89
+ if ( ! in_array( $ui_slug, $this->args['ui_elements'] ) ) {
90
+ echo '<p> Element <b>' . $ui_slug . '</b> has not been initialized in this instance!</p>';
91
+ return false;
92
+ }
93
+
94
+ $ui_class_name = 'UI_' . ucwords( $ui_slug );
95
+
96
+ if ( ! class_exists( $ui_class_name ) ) {
97
+ echo '<p>Class <b>' . $ui_class_name . '</b> not exist!</p>';
98
+ return false;
99
+ }
100
+ return new $ui_class_name( $args );
101
+ }
102
+
103
+ /**
104
+ * Require UI-elements.
105
+ *
106
+ * @since 1.0.0
107
+ * @return void
108
+ */
109
+ public function ui_elements_require() {
110
+
111
+ // Add I_UI interface.
112
+ if ( ! interface_exists( 'I_UI' ) ) {
113
+ require_once( __DIR__ . '/i-ui.php' );
114
+ }
115
+
116
+ if ( ! class_exists( 'UI_Element' ) ) {
117
+ require_once( __DIR__ . '/ui-element.php' );
118
+ }
119
+
120
+ if ( ! empty( $this->args['ui_elements'] ) ) {
121
+ foreach ( $this->args['ui_elements'] as $ui_element ) {
122
+ require_once( __DIR__ . '/inc/ui-elements/ui-' . $ui_element . '/ui-' . $ui_element . '.php' );
123
+ }
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Load admin assets.
129
+ *
130
+ * @since 1.0.0
131
+ */
132
+ public function enqueue_admin_assets() {
133
+ if ( ! empty( $this->args['ui_elements'] ) ) {
134
+ foreach ( $this->args['ui_elements'] as $ui_element ) {
135
+ $ui_class_name = 'UI_' . ucwords( $ui_element );
136
+ call_user_func( array( $ui_class_name, 'enqueue_assets' ) );
137
+
138
+ }
139
+ }
140
+ }
141
+
142
+ /**
143
+ * Returns the instance.
144
+ *
145
+ * @since 1.0.0
146
+ * @return object
147
+ */
148
+ public static function get_instance( $core, $args ) {
149
+ return new self( $core, $args );
150
+ }
151
+ }
152
+ }
cherry-framework/modules/cherry-ui-elements/i-ui.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * I'am UI interface
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ /**
14
+ * UI element interface
15
+ */
16
+
17
+ interface I_UI {
18
+
19
+ /**
20
+ * Enqueue javascript and stylesheet to UI element.
21
+ */
22
+ public static function enqueue_assets();
23
+
24
+ /**
25
+ * Render UI element.
26
+ *
27
+ * @return string.
28
+ */
29
+ public function render();
30
+
31
+ /**
32
+ * Get control name
33
+ *
34
+ * @return string control name.
35
+ */
36
+ public function get_name();
37
+
38
+ /**
39
+ * Set control name
40
+ *
41
+ * @param [type] $name new control name.
42
+ */
43
+ public function set_name( $name );
44
+
45
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.css ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cherry-ui-container {
2
+ margin: 10px 0 20px 0; }
3
+
4
+ label.cherry-label {
5
+ margin: 0 0 5px 0;
6
+ display: block; }
7
+
8
+ .cherry-checkbox-item {
9
+ width: 26px;
10
+ height: 26px;
11
+ display: inline-block;
12
+ border-radius: 2px;
13
+ margin-right: 10px;
14
+ margin-bottom: 6px;
15
+ cursor: pointer;
16
+ position: relative;
17
+ background-color: #f1f1f1;
18
+ -webkit-user-select: none;
19
+ -moz-user-select: none;
20
+ -ms-user-select: none;
21
+ user-select: none;
22
+ -webkit-transition: all 0.2s ease-out;
23
+ transition: all 0.2s ease-out; }
24
+ .cherry-checkbox-item .marker {
25
+ position: absolute;
26
+ width: 26px;
27
+ height: 26px;
28
+ top: 0px;
29
+ left: 0px;
30
+ color: #fff;
31
+ font-size: 28px;
32
+ -webkit-transform: scale(0);
33
+ -ms-transform: scale(0);
34
+ transform: scale(0);
35
+ -webkit-transition: all 0.3s cubic-bezier(0.27, 0.63, 0.54, 0.96);
36
+ transition: all 0.3s cubic-bezier(0.27, 0.63, 0.54, 0.96); }
37
+ .cherry-checkbox-item .marker:before {
38
+ position: relative;
39
+ left: -2px; }
40
+ .cherry-checkbox-item.checked {
41
+ background-color: #48c569; }
42
+ .cherry-checkbox-item.checked .marker {
43
+ -webkit-transform: scale(1);
44
+ -ms-transform: scale(1);
45
+ transform: scale(1); }
46
+
47
+ .cherry-checkbox-label {
48
+ display: inline-block;
49
+ vertical-align: top;
50
+ font-size: 14px;
51
+ line-height: 26px;
52
+ color: #23282d;
53
+ -webkit-user-select: none;
54
+ -moz-user-select: none;
55
+ -ms-user-select: none;
56
+ user-select: none; }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,c){"use strict";c.utilites.namespace("ui_elements.checkbox"),c.ui_elements.checkbox={init:function(){e(document).on("ready",this.render),e(window).on("cherry-ui-elements-init",this.render)},render:function(c){var i=c._target?c._target:e("body");e('.cherry-checkbox-input[type="hidden"]',i).each(function(){var c=e(this),t=c.data("slave"),s="true"===c.val();s||e("."+t,i).stop().hide()}),e(".cherry-checkbox-item",i).on("click",function(){var c=e(this).siblings('.cherry-checkbox-input[type="hidden"]'),t=c.data("slave"),s="true"===c.val();e(this).hasClass("checked")?(e(this).removeClass("checked"),c.val("false"),s=!1,e("."+t,i).hide()):(e(this).addClass("checked"),c.val("true"),s=!0,e("."+t,i).show()),c.trigger("change")}),e(".cherry-checkbox-label",i).on("click",function(){var c=e(this).siblings('.cherry-checkbox-input[type="hidden"]'),t=e(this).siblings(".cherry-checkbox-item"),s=c.data("slave"),h="true"===c.val();t.hasClass("checked")?(t.removeClass("checked"),c.val("false"),h=!1,e("."+s,i).hide()):(t.addClass("checked"),c.val("true"),h=!0,e("."+s,i).show()),c.trigger("change")})}},c.ui_elements.checkbox.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.js ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Checkbox
3
+ */
4
+ (function($, CherryJsCore){
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace('ui_elements.checkbox');
8
+ CherryJsCore.ui_elements.checkbox = {
9
+ init: function () {
10
+ $( document ).on( 'ready', this.render );
11
+ $( window ).on( 'cherry-ui-elements-init', this.render );
12
+ },
13
+ render: function ( event ) {
14
+ var target = ( event._target ) ? event._target : $( 'body' );
15
+
16
+ $( '.cherry-checkbox-input[type="hidden"]', target ).each( function() {
17
+ var $this = $( this ),
18
+ this_slave = $this.data( 'slave' ),
19
+ state = ( $this.val() === 'true' );
20
+
21
+ if ( ! state ) {
22
+ $( '.'+ this_slave, target ).stop().hide();
23
+ }
24
+ });
25
+
26
+ $( '.cherry-checkbox-item', target ).on( 'click', function() {
27
+ var input = $( this ).siblings( '.cherry-checkbox-input[type="hidden"]' ),
28
+ slave = input.data( 'slave' ),
29
+ state = ( input.val() === 'true' );
30
+
31
+ if ( $( this ).hasClass( 'checked' ) ) {
32
+ $( this ).removeClass( 'checked' );
33
+ input.val( 'false' );
34
+ state = false;
35
+
36
+ $( '.' + slave, target ).hide();
37
+ } else {
38
+ $( this ).addClass( 'checked' );
39
+ input.val( 'true' );
40
+ state = true;
41
+
42
+ $( '.' + slave, target ).show();
43
+ }
44
+
45
+ input.trigger( 'change' );
46
+ } );
47
+
48
+ $( '.cherry-checkbox-label', target ).on( 'click', function() {
49
+ var input = $( this ).siblings( '.cherry-checkbox-input[type="hidden"]' ),
50
+ item = $( this ).siblings( '.cherry-checkbox-item' ),
51
+ slave = input.data( 'slave' ),
52
+ state = ( input.val() === 'true' );
53
+
54
+ if ( item.hasClass( 'checked' ) ) {
55
+ item.removeClass( 'checked' );
56
+ input.val( 'false' );
57
+ state = false;
58
+
59
+ $( '.' + slave, target ).hide();
60
+ } else {
61
+ item.addClass( 'checked' );
62
+ input.val( 'true' );
63
+ state = true;
64
+
65
+ $( '.' + slave, target ).show();
66
+ }
67
+
68
+ input.trigger( 'change' );
69
+ } );
70
+ }
71
+ };
72
+
73
+ CherryJsCore.ui_elements.checkbox.init();
74
+ }(jQuery, window.CherryJsCore));
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.scss ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-container{
5
+ margin: 10px 0 20px 0;
6
+ }
7
+ label.cherry-label{
8
+ margin: 0 0 5px 0;
9
+ display: block;
10
+ }
11
+ .cherry-checkbox-item{
12
+ width: 26px;
13
+ height: 26px;
14
+ display: inline-block;
15
+ border-radius: $border_radius_extra_small;
16
+ margin-right: 10px;
17
+ margin-bottom: 6px;
18
+ cursor: pointer;
19
+ position: relative;
20
+ background-color: $grey_color_3;
21
+ user-select: none;
22
+ transition: all 0.2s ease-out;
23
+ .marker{
24
+ position: absolute;
25
+ width: 26px;
26
+ height: 26px;
27
+ top: 0px;
28
+ left: 0px;
29
+ color: #fff;
30
+ font-size: 28px;
31
+ transform: scale(0);
32
+ transition: all 0.3s cubic-bezier(.27,.63,.54,.96);
33
+ &:before{
34
+ position: relative;
35
+ left: -2px;
36
+ }
37
+ }
38
+ &.checked{
39
+ background-color: $green_color;
40
+ .marker{
41
+ transform: scale(1);
42
+ }
43
+ }
44
+ }
45
+ .cherry-checkbox-label{
46
+ display: inline-block;
47
+ vertical-align: top;
48
+ font-size: 14px;
49
+ line-height: 26px;
50
+ color: $dark_color_1;
51
+ user-select: none;
52
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius_small;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ &:hover {
14
+ color: #fff;
15
+ box-shadow: none;
16
+ }
17
+ &:focus,
18
+ &:active {
19
+ outline: none;
20
+ box-shadow: none;
21
+ color: #fff;
22
+ }
23
+ }
24
+
25
+ @mixin button_normal() {
26
+ background: $dark_color_2;
27
+ &:hover {
28
+ background: $dark_color_2_h;
29
+ }
30
+ }
31
+
32
+ @mixin button_primary() {
33
+ background: $blue_color;
34
+ &:hover {
35
+ background: $blue_color_h;
36
+ }
37
+ }
38
+
39
+ @mixin button_success() {
40
+ background: $green_color;
41
+ &:hover {
42
+ background: $green_color_h;
43
+ }
44
+ }
45
+
46
+ @mixin button_danger() {
47
+ background: $red_color;
48
+ &:hover {
49
+ background: $red_color_h;
50
+ }
51
+ }
52
+
53
+ @mixin button_warning() {
54
+ background: $orange_color;
55
+ &:hover {
56
+ background: $orange_color_h;
57
+ }
58
+ }
59
+
60
+ @mixin input() {
61
+ font-size: 14px;
62
+ line-height: 20px;
63
+ color: $dark_color_1;
64
+ background-color: $grey_color_3;
65
+ border-radius: $border_radius_extra_small;
66
+ padding: 10px 20px;
67
+ height: 50px;
68
+ border: 1px solid $grey_color_3;
69
+ box-shadow: none;
70
+ &:focus{
71
+ border-color: rgba(72,197,105,.6);
72
+ box-shadow: 0 0 2px rgba(72,197,105,.6);
73
+ }
74
+ }
75
+
76
+ @mixin button_icon( $icon ) {
77
+ content: $icon;
78
+ display: inline-block;
79
+ font-family: dashicons;
80
+ font-size: 16px;
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ height: 18px;
84
+ line-height: 18px;
85
+ text-align: center;
86
+ text-decoration: inherit;
87
+ transition: all 200ms linear;
88
+ vertical-align: middle;
89
+ }
90
+
91
+ @mixin button_icon_before( $icon ) {
92
+ &:before {
93
+ @include button_icon( $icon );
94
+ padding: 0 5px 0 0;
95
+ }
96
+ }
97
+
98
+ @mixin button_icon_after( $icon ) {
99
+ &:after {
100
+ @include button_icon( $icon );
101
+ padding: 0 0 0 5px;
102
+ }
103
+ }
104
+
105
+ @mixin button_icon_middle( $icon ) {
106
+ &:before {
107
+ @include button_icon( $icon );
108
+ margin: 0 -5px;
109
+ }
110
+ }
111
+
112
+ @mixin link() {
113
+ display: inline-block;
114
+ text-decoration: none;
115
+ font-size: 12px;
116
+ line-height: 20px;
117
+ font-weight: bold;
118
+ color: $blue_color;
119
+ text-transform: uppercase;
120
+ transition: all 200ms linear;
121
+ &:hover {
122
+ color: $dark_color_1;
123
+ box-shadow: none;
124
+ }
125
+ &:focus,
126
+ &:active {
127
+ outline: none;
128
+ box-shadow: none;
129
+ color: $blue_color;
130
+ }
131
+ }
132
+
133
+ @mixin link_icon_before( $icon ) {
134
+ &:before {
135
+ @include button_icon( $icon );
136
+ padding: 0 5px 0 0;
137
+ color: $grey_color_4;
138
+ }
139
+ &:hover {
140
+ &:before {
141
+ color: $blue_color;
142
+ }
143
+ }
144
+ }
145
+
146
+ @mixin container() {
147
+ padding: 30px;
148
+ border: 2px solid $grey_color_2;
149
+ background: $grey_color_3;
150
+ border-radius: $border_radius_large;
151
+ }
152
+
153
+ @mixin container_heading() {
154
+ margin: -30px -30px 30px -30px;
155
+ border-radius: $border_radius_large $border_radius_large 0 0;
156
+ border-bottom: 1px solid $grey_color_2;
157
+ padding: 20px 30px;
158
+ font-weight: bold;
159
+ font-size: 16px;
160
+ line-height: 18px;
161
+ text-align: center;
162
+ background: #fff;
163
+ }
164
+
165
+ @mixin box() {
166
+ margin: 0 0 30px;
167
+ padding: 20px;
168
+ background: #fff;
169
+ box-shadow: $box_shadow_box;
170
+ border-radius: $border_radius;
171
+ }
172
+
173
+ @mixin box_heading() {
174
+ margin: -20px -20px 20px -20px;
175
+ border-radius: $border_radius_small $border_radius_small 0 0;
176
+ border-bottom: 1px solid $grey_color_2;
177
+ padding: 20px 30px;
178
+ font-weight: bold;
179
+ font-size: 16px;
180
+ line-height: 18px;
181
+ background: #fff;
182
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius_extra_small: 2px;
18
+ $border_radius_small: 4px;
19
+ $border_radius_medium: 6px;
20
+ $border_radius_large: 8px;
21
+
22
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
23
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/ui-checkbox.php ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-checkbox elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Checkbox' ) ) {
19
+
20
+ /**
21
+ * Class for the building UI_Checkbox elements.
22
+ */
23
+ class UI_Checkbox extends UI_Element implements I_UI {
24
+ /**
25
+ * Default settings
26
+ *
27
+ * @var array
28
+ */
29
+ private $defaults_settings = array(
30
+ 'id' => 'cherry-ui-checkbox-id',
31
+ 'name' => 'cherry-ui-checkbox-name',
32
+ 'value' => array(
33
+ 'checkbox-1' => 'true',
34
+ 'checkbox-2' => 'true',
35
+ 'checkbox-3' => 'true',
36
+ ),
37
+ 'options' => array(
38
+ 'checkbox-1' => 'checkbox 1',
39
+ 'checkbox-2' => 'checkbox 2',
40
+ 'checkbox-3' => 'checkbox 3',
41
+ ),
42
+ 'label' => '',
43
+ 'class' => '',
44
+ 'master' => '',
45
+ );
46
+
47
+ /**
48
+ * Constructor method for the UI_Checkbox class.
49
+ *
50
+ * @since 4.0.0
51
+ */
52
+ function __construct( $args = array() ) {
53
+ $this->defaults_settings['id'] = 'cherry-ui-checkbox-'.uniqid();
54
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
55
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
56
+ }
57
+
58
+ /**
59
+ * Render html UI_Checkbox.
60
+ *
61
+ * @since 4.0.0
62
+ */
63
+ public function render() {
64
+ $html = '';
65
+ $master_class = ! empty( $this->settings['master'] ) && isset( $this->settings['master'] ) ? esc_html( $this->settings['master'] ) : '';
66
+
67
+ $html .= '<div class="cherry-ui-container ' . $master_class . '">';
68
+
69
+ $counter = 0;
70
+ if ( $this->settings['options'] && ! empty( $this->settings['options'] ) && is_array( $this->settings['options'] ) ) {
71
+ if ( ! is_array( $this->settings['value'] ) ) {
72
+ $this->settings['value'] = array( $this->settings['value'] );
73
+ }
74
+ if ( '' !== $this->settings['label'] ) {
75
+ $html .= '<label class="cherry-label" for="' . esc_attr( $this->settings['id'] ) . '">' . esc_html( $this->settings['label'] ) . '</label> ';
76
+ }
77
+
78
+ foreach ( $this->settings['options'] as $option => $option_value ) {
79
+
80
+ if ( ! empty( $this->settings['value'] ) ) {
81
+ $option_checked = array_key_exists( $option, $this->settings['value'] ) ? $option : '';
82
+ $item_value = ! empty( $option_checked ) ? $this->settings['value'][ $option ] : 'false';
83
+ } else {
84
+ $option_checked = '';
85
+ $item_value = 'false';
86
+ }
87
+
88
+ $checked = ( ! empty( $option_checked ) && 'true' === $item_value ) ? 'checked' : '';
89
+
90
+ $option_label = isset( $option_value ) && is_array( $option_value ) ? $option_value['label'] : $option_value;
91
+ $data_slave = isset( $option_value['slave'] ) && ! empty( $option_value['slave'] ) ? ' data-slave="' . $option_value['slave'] . '"' : '';
92
+
93
+ $html .= '<div class="cherry-checkbox-item-wrap ' . esc_attr( $this->settings['class'] ) . '">';
94
+ $html .= '<div class="cherry-checkbox-item ' . $checked . '"><span class="marker dashicons dashicons-yes"></span></div>';
95
+ $html .= '<input type="hidden" id="' . esc_attr( $this->settings['id'] ) . '-' . $counter . '" class="cherry-checkbox-input" name="' . esc_attr( $this->settings['name'] ) . '['. $option .']" value="' . esc_html( $item_value ) . '"' . $data_slave . '>';
96
+ $html .= '<label class="cherry-checkbox-label" for="' . esc_attr( $this->settings['id'] ) . '-' . $counter . '">' . esc_html( $option_label ) . '</label> ';
97
+ $html .= '</div>';
98
+
99
+ $counter++;
100
+ }
101
+ }
102
+ $html .= '</div>';
103
+
104
+ return $html;
105
+ }
106
+
107
+ /**
108
+ * Enqueue javascript and stylesheet UI_Checkbox
109
+ *
110
+ * @since 4.0.0
111
+ */
112
+ public static function enqueue_assets() {
113
+ wp_enqueue_script(
114
+ 'ui-checkbox-min',
115
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-checkbox.min.js', __FILE__ ) ),
116
+ array( 'jquery' ),
117
+ '1.0.0',
118
+ true
119
+ );
120
+
121
+ wp_enqueue_style(
122
+ 'ui-checkbox-min',
123
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-checkbox.min.css', __FILE__ ) ),
124
+ array(),
125
+ '1.0.0',
126
+ 'all'
127
+ );
128
+ }
129
+ }
130
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/min/ui-colorpicker.min.css ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cherry-ui-container {
2
+ margin: 10px 0 20px 0; }
3
+
4
+ label.cherry-label {
5
+ margin: 0 0 5px 0;
6
+ display: block; }
7
+
8
+ .wp-picker-container {
9
+ display: block;
10
+ background-color: #f1f1f1;
11
+ border-radius: 2px;
12
+ display: inline-block;
13
+ padding: 8px;
14
+ max-width: 380px; }
15
+ .wp-picker-container a.wp-color-result {
16
+ border: medium none;
17
+ box-shadow: none;
18
+ height: 36px;
19
+ margin: 0;
20
+ border-radius: 0;
21
+ padding-left: 36px; }
22
+ .wp-picker-container a.wp-color-result:after {
23
+ background-color: #f1f1f1;
24
+ border: medium none;
25
+ border-radius: 0;
26
+ line-height: 36px;
27
+ font-size: 14px;
28
+ color: #23282d;
29
+ padding: 0 80px 0 20px; }
30
+ @media screen and (max-width: 782px) {
31
+ .wp-picker-container a.wp-color-result {
32
+ height: 36px; }
33
+ .wp-picker-container a.wp-color-result:after {
34
+ line-height: 36px; } }
35
+ .wp-picker-container .wp-picker-holder {
36
+ position: absolute;
37
+ z-index: 1000; }
38
+ .wp-picker-container .wp-picker-input-wrap input[type="text"] {
39
+ padding: 7px 4px; }
40
+ .wp-picker-container .wp-picker-input-wrap input.wp-picker-clear {
41
+ height: 32px; }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/min/ui-colorpicker.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,r){"use strict";r.utilites.namespace("ui_elements.colorpicker"),r.ui_elements.colorpicker={init:function(){e(document).on("ready",this.render),e(window).on("cherry-ui-elements-init",this.render)},render:function(r){var i=r._target?r._target:e("body"),n=e('input.cherry-ui-colorpicker:not([name*="__i__"])',i);n[0]&&n.wpColorPicker()}},r.ui_elements.colorpicker.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-colorpicker.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * ColorPicker
3
+ */
4
+ ( function( $, CherryJsCore ) {
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace('ui_elements.colorpicker');
8
+ CherryJsCore.ui_elements.colorpicker = {
9
+ init: function () {
10
+ $( document ).on( 'ready', this.render );
11
+ $( window ).on( 'cherry-ui-elements-init', this.render );
12
+ },
13
+ render: function ( event ) {
14
+ var target = ( event._target ) ? event._target : $( 'body' ),
15
+ input = $( 'input.cherry-ui-colorpicker:not([name*="__i__"])', target );
16
+
17
+ if ( input[0] ) {
18
+ input.wpColorPicker();
19
+ }
20
+ }
21
+ };
22
+
23
+ CherryJsCore.ui_elements.colorpicker.init();
24
+
25
+ }( jQuery, window.CherryJsCore ));
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-colorpicker.scss ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-container{
5
+ margin: 10px 0 20px 0;
6
+ }
7
+ label.cherry-label{
8
+ margin: 0 0 5px 0;
9
+ display: block;
10
+ }
11
+ .wp-picker-container{
12
+ display: block;
13
+ background-color: $grey_color_3;
14
+ border-radius: $border_radius_extra_small;
15
+ display: inline-block;
16
+ padding: 8px;
17
+ max-width: 380px;
18
+ a.wp-color-result{
19
+ border: medium none;
20
+ box-shadow: none;
21
+ height: 36px;
22
+ margin: 0;
23
+ border-radius: 0;
24
+ padding-left: 36px;
25
+ &:after{
26
+ background-color: $grey_color_3;
27
+ border: medium none;
28
+ border-radius: 0;
29
+ line-height: 36px;
30
+ font-size: 14px;
31
+ color: $dark_color_1;
32
+ padding: 0 80px 0 20px;
33
+ }
34
+ @media screen and (max-width: 782px){
35
+ height: 36px;
36
+ &:after{
37
+ line-height: 36px;
38
+ }
39
+ }
40
+ }
41
+ .wp-picker-holder{
42
+ position: absolute;
43
+ z-index: 1000;
44
+ }
45
+ .wp-picker-input-wrap{
46
+ input[type="text"]{
47
+ padding: 7px 4px;
48
+ }
49
+ input.wp-picker-clear{
50
+ height: 32px;
51
+ }
52
+ }
53
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius_small;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ &:hover {
14
+ color: #fff;
15
+ box-shadow: none;
16
+ }
17
+ &:focus,
18
+ &:active {
19
+ outline: none;
20
+ box-shadow: none;
21
+ color: #fff;
22
+ }
23
+ }
24
+
25
+ @mixin button_normal() {
26
+ background: $dark_color_2;
27
+ &:hover {
28
+ background: $dark_color_2_h;
29
+ }
30
+ }
31
+
32
+ @mixin button_primary() {
33
+ background: $blue_color;
34
+ &:hover {
35
+ background: $blue_color_h;
36
+ }
37
+ }
38
+
39
+ @mixin button_success() {
40
+ background: $green_color;
41
+ &:hover {
42
+ background: $green_color_h;
43
+ }
44
+ }
45
+
46
+ @mixin button_danger() {
47
+ background: $red_color;
48
+ &:hover {
49
+ background: $red_color_h;
50
+ }
51
+ }
52
+
53
+ @mixin button_warning() {
54
+ background: $orange_color;
55
+ &:hover {
56
+ background: $orange_color_h;
57
+ }
58
+ }
59
+
60
+ @mixin input() {
61
+ font-size: 14px;
62
+ line-height: 20px;
63
+ color: $dark_color_1;
64
+ background-color: $grey_color_3;
65
+ border-radius: $border_radius_extra_small;
66
+ padding: 10px 20px;
67
+ height: 50px;
68
+ border: 1px solid $grey_color_3;
69
+ box-shadow: none;
70
+ &:focus{
71
+ border-color: rgba(72,197,105,.6);
72
+ box-shadow: 0 0 2px rgba(72,197,105,.6);
73
+ }
74
+ }
75
+
76
+ @mixin button_icon( $icon ) {
77
+ content: $icon;
78
+ display: inline-block;
79
+ font-family: dashicons;
80
+ font-size: 16px;
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ height: 18px;
84
+ line-height: 18px;
85
+ text-align: center;
86
+ text-decoration: inherit;
87
+ transition: all 200ms linear;
88
+ vertical-align: middle;
89
+ }
90
+
91
+ @mixin button_icon_before( $icon ) {
92
+ &:before {
93
+ @include button_icon( $icon );
94
+ padding: 0 5px 0 0;
95
+ }
96
+ }
97
+
98
+ @mixin button_icon_after( $icon ) {
99
+ &:after {
100
+ @include button_icon( $icon );
101
+ padding: 0 0 0 5px;
102
+ }
103
+ }
104
+
105
+ @mixin button_icon_middle( $icon ) {
106
+ &:before {
107
+ @include button_icon( $icon );
108
+ margin: 0 -5px;
109
+ }
110
+ }
111
+
112
+ @mixin link() {
113
+ display: inline-block;
114
+ text-decoration: none;
115
+ font-size: 12px;
116
+ line-height: 20px;
117
+ font-weight: bold;
118
+ color: $blue_color;
119
+ text-transform: uppercase;
120
+ transition: all 200ms linear;
121
+ &:hover {
122
+ color: $dark_color_1;
123
+ box-shadow: none;
124
+ }
125
+ &:focus,
126
+ &:active {
127
+ outline: none;
128
+ box-shadow: none;
129
+ color: $blue_color;
130
+ }
131
+ }
132
+
133
+ @mixin link_icon_before( $icon ) {
134
+ &:before {
135
+ @include button_icon( $icon );
136
+ padding: 0 5px 0 0;
137
+ color: $grey_color_4;
138
+ }
139
+ &:hover {
140
+ &:before {
141
+ color: $blue_color;
142
+ }
143
+ }
144
+ }
145
+
146
+ @mixin container() {
147
+ padding: 30px;
148
+ border: 2px solid $grey_color_2;
149
+ background: $grey_color_3;
150
+ border-radius: $border_radius_large;
151
+ }
152
+
153
+ @mixin container_heading() {
154
+ margin: -30px -30px 30px -30px;
155
+ border-radius: $border_radius_large $border_radius_large 0 0;
156
+ border-bottom: 1px solid $grey_color_2;
157
+ padding: 20px 30px;
158
+ font-weight: bold;
159
+ font-size: 16px;
160
+ line-height: 18px;
161
+ text-align: center;
162
+ background: #fff;
163
+ }
164
+
165
+ @mixin box() {
166
+ margin: 0 0 30px;
167
+ padding: 20px;
168
+ background: #fff;
169
+ box-shadow: $box_shadow_box;
170
+ border-radius: $border_radius;
171
+ }
172
+
173
+ @mixin box_heading() {
174
+ margin: -20px -20px 20px -20px;
175
+ border-radius: $border_radius_small $border_radius_small 0 0;
176
+ border-bottom: 1px solid $grey_color_2;
177
+ padding: 20px 30px;
178
+ font-weight: bold;
179
+ font-size: 16px;
180
+ line-height: 18px;
181
+ background: #fff;
182
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius_extra_small: 2px;
18
+ $border_radius_small: 4px;
19
+ $border_radius_medium: 6px;
20
+ $border_radius_large: 8px;
21
+
22
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
23
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/ui-colorpicker.php ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-colorpicker elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Colorpicker' ) ) {
19
+
20
+ /**
21
+ * Class for the building UI_Colorpicker elements.
22
+ */
23
+ class UI_Colorpicker extends UI_Element implements I_UI {
24
+
25
+ /**
26
+ * Default settings
27
+ *
28
+ * @var array
29
+ */
30
+ private $defaults_settings = array(
31
+ 'id' => 'cherry-ui-colorpicker-id',
32
+ 'name' => 'cherry-ui-colorpicker-name',
33
+ 'value' => '',
34
+ 'label' => '',
35
+ 'class' => '',
36
+ 'master' => '',
37
+ );
38
+
39
+ /**
40
+ * Constructor method for the UI_Colorpicker class.
41
+ *
42
+ * @since 4.0.0
43
+ */
44
+ function __construct( $args = array() ) {
45
+
46
+ $this->defaults_settings['id'] = 'cherry-ui-colorpicker-'.uniqid();
47
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
48
+
49
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
50
+ }
51
+
52
+ /**
53
+ * Render html UI_Colorpicker.
54
+ *
55
+ * @since 4.0.0
56
+ */
57
+ public function render() {
58
+ $html = '';
59
+
60
+ $master_class = ! empty( $this->settings['master'] ) && isset( $this->settings['master'] ) ? esc_html( $this->settings['master'] ) : '';
61
+
62
+ $html .= '<div class="cherry-ui-container ' . $master_class . '">';
63
+ if ( '' !== $this->settings['label'] ) {
64
+ $html .= '<label class="cherry-label" for="' . esc_attr( $this->settings['id'] ) . '">' . esc_html( $this->settings['label'] ) . '</label> ';
65
+ }
66
+ $html .= '<div class="cherry-ui-colorpicker-wrapper">';
67
+ $html .= '<input type="text" id="' . esc_attr( $this->settings['id'] ) . '" class="cherry-ui-colorpicker '. esc_attr( $this->settings['class'] ) . '" name="' . esc_attr( $this->settings['name'] ) . '" value="' . esc_html( $this->settings['value'] ) . '"/>';
68
+ $html .= '</div>';
69
+ $html .= '</div>';
70
+
71
+ return $html;
72
+ }
73
+
74
+ /**
75
+ * Enqueue javascript and stylesheet UI_Colorpicker
76
+ *
77
+ * @since 4.0.0
78
+ */
79
+ public static function enqueue_assets() {
80
+
81
+ wp_enqueue_script(
82
+ 'ui-colorpicker-min',
83
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-colorpicker.min.js', __FILE__ ) ),
84
+ array( 'jquery', 'wp-color-picker' ),
85
+ '1.0.0',
86
+ true
87
+ );
88
+
89
+ wp_enqueue_style(
90
+ 'ui-colorpicker-min',
91
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-colorpicker.min.css', __FILE__ ) ),
92
+ array( 'wp-color-picker' ),
93
+ '1.0.0',
94
+ 'all'
95
+ );
96
+ }
97
+ }
98
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/jquery-iconpicker.js ADDED
@@ -0,0 +1,1445 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Font Awesome Icon Picker
3
+ * http://mjolnic.github.io/fontawesome-iconpicker/
4
+ *
5
+ * Originally written by (c) 2014 Javier Aguilar @mjolnic
6
+ * Licensed under the MIT License
7
+ * https://github.com/mjolnic/fontawesome-iconpicker/blob/master/LICENSE
8
+ *
9
+ */
10
+
11
+ (function(factory) {
12
+ "use strict";
13
+ if (typeof define === 'function' && define.amd) {
14
+ define(['jquery'], factory);
15
+ } else if (window.jQuery && !window.jQuery.fn.iconpicker) {
16
+ factory(window.jQuery);
17
+ }
18
+ }
19
+ (function($) {
20
+ 'use strict';
21
+
22
+ var _helpers = {
23
+ isEmpty: function(val) {
24
+ return ((val === false) || (val === '') || (val === null) || (val === undefined));
25
+ },
26
+ isEmptyObject: function(val) {
27
+ return (this.isEmpty(val) === true) || (val.length === 0);
28
+ },
29
+ isElement: function(selector) {
30
+ return ($(selector).length > 0);
31
+ },
32
+ isString: function(val) {
33
+ return ((typeof val === 'string') || (val instanceof String));
34
+ },
35
+ isArray: function(val) {
36
+ return $.isArray(val);
37
+ },
38
+ inArray: function(val, arr) {
39
+ return ($.inArray(val, arr) !== -1);
40
+ },
41
+ throwError: function(text) {
42
+ throw "Font Awesome Icon Picker Exception: " + text;
43
+ }
44
+ };
45
+
46
+ var Iconpicker = function(element, options) {
47
+ this._id = Iconpicker._idCounter++;
48
+ this.element = $(element).addClass('iconpicker-element');
49
+ this._trigger('iconpickerCreate');
50
+ this.options = $.extend({}, Iconpicker.defaultOptions, this.element.data(), options);
51
+ this.options.templates = $.extend({}, Iconpicker.defaultOptions.templates, this.options.templates);
52
+ this.options.originalPlacement = this.options.placement;
53
+
54
+ // Iconpicker container element
55
+ this.container = (_helpers.isElement(this.options.container) ? $(this.options.container) : false);
56
+ if (this.container === false) {
57
+ if (this.element.is('.dropdown-toggle')) {
58
+ this.container = $('~ .dropdown-menu:first', this.element);
59
+ } else {
60
+ this.container = (this.element.is('input,textarea,button,.btn') ? this.element.parent() : this.element);
61
+ }
62
+ }
63
+ this.container.addClass('iconpicker-container');
64
+
65
+ if (this.isDropdownMenu()) {
66
+ // if you try to click the dropdown, it is closed, because of that
67
+ // we'll hide some picker controls
68
+ this.options.templates.search = false;
69
+ this.options.templates.buttons = false;
70
+ this.options.placement = 'inline';
71
+ }
72
+
73
+ // Is the element an input? Should we search inside for any input?
74
+ this.input = (this.element.is('input,textarea') ? this.element.addClass('iconpicker-input') : false);
75
+ if (this.input === false) {
76
+ this.input = (this.container.find(this.options.input));
77
+ if (!this.input.is('input,textarea')) {
78
+ this.input = false;
79
+ }
80
+ }
81
+
82
+ // Plugin as component ?
83
+ this.component = this.isDropdownMenu() ? this.container.parent().find(this.options.component) : this.container.find(this.options.component);
84
+ if (this.component.length === 0) {
85
+ this.component = false;
86
+ } else {
87
+ this.component.find('i').addClass('iconpicker-component');
88
+ }
89
+
90
+ // Create popover and iconpicker HTML
91
+ this._createPopover();
92
+ this._createIconpicker();
93
+
94
+ if (this.getAcceptButton().length === 0) {
95
+ // disable this because we don't have accept buttons
96
+ this.options.mustAccept = false;
97
+ }
98
+
99
+ // Avoid CSS issues with input-group-addon(s)
100
+ if (this.isInputGroup()) {
101
+ this.container.parent().append(this.popover);
102
+ } else {
103
+ this.container.append(this.popover);
104
+ }
105
+
106
+ // Bind events
107
+ this._bindElementEvents();
108
+ this._bindWindowEvents();
109
+
110
+ // Refresh everything
111
+ this.update(this.options.selected);
112
+
113
+ if (this.isInline()) {
114
+ this.show();
115
+ }
116
+
117
+ this._trigger('iconpickerCreated');
118
+ };
119
+
120
+ // Instance identifier counter
121
+ Iconpicker._idCounter = 0;
122
+
123
+ Iconpicker.defaultOptions = {
124
+ title: false, // Popover title (optional) only if specified in the template
125
+ selected: false, // use this value as the current item and ignore the original
126
+ defaultValue: false, // use this value as the current item if input or element value is empty
127
+ placement: 'bottom', // (has some issues with auto and CSS). auto, top, bottom, left, right
128
+ collision: 'none', // If true, the popover will be repositioned to another position when collapses with the window borders
129
+ animation: true, // fade in/out on show/hide ?
130
+ //hide iconpicker automatically when a value is picked. it is ignored if mustAccept is not false and the accept button is visible
131
+ hideOnSelect: false,
132
+ showFooter: false,
133
+ searchInFooter: false, // If true, the search will be added to the footer instead of the title
134
+ mustAccept: false, // only applicable when there's an iconpicker-btn-accept button in the popover footer
135
+ selectedCustomClass: 'bg-primary', // Appends this class when to the selected item
136
+ icons: [], // list of icon classes (declared at the bottom of this script for maintainability)
137
+ iconBaseClass: 'fa',
138
+ iconClassPrefix: 'fa-',
139
+ fullClassFormatter: function(val) {
140
+ return 'fa ' + val;
141
+ },
142
+ input: 'input,.iconpicker-input', // children input selector
143
+ inputSearch: false, // use the input as a search box too?
144
+ container: false, // Appends the popover to a specific element. If not set, the selected element or element parent is used
145
+ component: '.input-group-addon,.iconpicker-component', // children component jQuery selector or object, relative to the container element
146
+ // Plugin templates:
147
+ templates: {
148
+ popover: '<div class="iconpicker-popover popover"><div class="arrow"></div>' +
149
+ '<div class="popover-title"></div><div class="popover-content"></div></div>',
150
+ footer: '<div class="popover-footer"></div>',
151
+ buttons: '<button class="iconpicker-btn iconpicker-btn-cancel btn btn-default btn-sm">Cancel</button>' +
152
+ ' <button class="iconpicker-btn iconpicker-btn-accept btn btn-primary btn-sm">Accept</button>',
153
+ search: '<input type="search" class="form-control iconpicker-search" placeholder="Type to filter" />',
154
+ iconpicker: '<div class="iconpicker"><div class="iconpicker-items"></div></div>',
155
+ iconpickerItem: '<a role="button" href="#" class="iconpicker-item"><i></i></a>',
156
+ }
157
+ };
158
+
159
+ Iconpicker.batch = function(selector, method) {
160
+ var args = Array.prototype.slice.call(arguments, 2);
161
+ return $(selector).each(function() {
162
+ var $inst = $(this).data('iconpicker');
163
+ if (!!$inst) {
164
+ $inst[method].apply($inst, args);
165
+ }
166
+ });
167
+ };
168
+
169
+ Iconpicker.prototype = {
170
+ constructor: Iconpicker,
171
+ options: {},
172
+ _id: 0, // instance identifier for bind/unbind events
173
+ _trigger: function(name, opts) {
174
+ //triggers an event bound to the element
175
+ opts = opts || {};
176
+ this.element.trigger($.extend({
177
+ type: name,
178
+ iconpickerInstance: this
179
+ }, opts));
180
+ //console.log(name + ' triggered for instance #' + this._id);
181
+ },
182
+ _createPopover: function() {
183
+ this.popover = $(this.options.templates.popover);
184
+
185
+ // title (header)
186
+ var _title = this.popover.find('.popover-title');
187
+ if (!!this.options.title) {
188
+ _title.append($('<div class="popover-title-text">' + this.options.title + '</div>'));
189
+ }
190
+ if (this.hasSeparatedSearchInput() && !this.options.searchInFooter) {
191
+ _title.append(this.options.templates.search);
192
+ } else if (!this.options.title) {
193
+ _title.remove();
194
+ }
195
+
196
+ // footer
197
+ if (this.options.showFooter && !_helpers.isEmpty(this.options.templates.footer)) {
198
+ var _footer = $(this.options.templates.footer);
199
+ if (this.hasSeparatedSearchInput() && this.options.searchInFooter) {
200
+ _footer.append($(this.options.templates.search));
201
+ }
202
+ if (!_helpers.isEmpty(this.options.templates.buttons)) {
203
+ _footer.append($(this.options.templates.buttons));
204
+ }
205
+ this.popover.append(_footer);
206
+ }
207
+
208
+ if (this.options.animation === true) {
209
+ this.popover.addClass('fade');
210
+ }
211
+
212
+ return this.popover;
213
+ },
214
+ _createIconpicker: function() {
215
+ var _self = this;
216
+ this.iconpicker = $(this.options.templates.iconpicker);
217
+
218
+ var itemClickFn = function(e) {
219
+ var $this = $(this);
220
+
221
+ if ($this.is('i')) {
222
+ $this = $this.parent();
223
+ }
224
+
225
+ _self._trigger('iconpickerSelect', {
226
+ iconpickerItem: $this,
227
+ iconpickerValue: _self.iconpickerValue
228
+ });
229
+
230
+ if (_self.options.mustAccept === false) {
231
+ _self.update($this.data('iconpickerValue'));
232
+ _self._trigger('iconpickerSelected', {
233
+ iconpickerItem: this,
234
+ iconpickerValue: _self.iconpickerValue
235
+ });
236
+ } else {
237
+ _self.update($this.data('iconpickerValue'), true);
238
+ }
239
+
240
+ if (_self.options.hideOnSelect && (_self.options.mustAccept === false)) {
241
+ // only hide when the accept button is not present
242
+ _self.hide();
243
+ }
244
+ e.preventDefault();
245
+ return false;
246
+ };
247
+
248
+ for (var i in this.options.icons) {
249
+ var itemElement = $(this.options.templates.iconpickerItem);
250
+ itemElement.find('i')
251
+ .addClass( this.options.iconBaseClass + ' ' + this.options.iconClassPrefix + this.options.icons[i]);
252
+ itemElement.data('iconpickerValue', this.options.icons[i])
253
+ .on('click.iconpicker', itemClickFn);
254
+ this.iconpicker.find('.iconpicker-items').append(itemElement
255
+ .attr('title', '.' + this.options.iconClassPrefix + this.options.icons[i]));
256
+ }
257
+
258
+ this.popover.find('.popover-content').append(this.iconpicker);
259
+
260
+ this.component.append( '<i class="' + this.options.iconBaseClass + ' ' + this.input.val() + '"></i>' );
261
+
262
+ return this.iconpicker;
263
+ },
264
+ _isEventInsideIconpicker: function(e) {
265
+ var _t = $(e.target);
266
+
267
+ if ((!_t.hasClass('iconpicker-element')  ||
268
+ (_t.hasClass('iconpicker-element') && !_t.is(this.element))) &&
269
+ (_t.parents('.iconpicker-popover').length === 0)) {
270
+ return false;
271
+ }
272
+ return true;
273
+ },
274
+ _bindElementEvents: function() {
275
+ var _self = this;
276
+
277
+ this.getSearchInput().on('keyup.iconpicker', function() {
278
+ _self.filter($(this).val().toLowerCase());
279
+ });
280
+
281
+ this.getAcceptButton().on('click.iconpicker', function() {
282
+ var _picked = _self.iconpicker.find('.iconpicker-selected').get(0);
283
+
284
+ _self.update(_self.iconpickerValue);
285
+
286
+ _self._trigger('iconpickerSelected', {
287
+ iconpickerItem: _picked,
288
+ iconpickerValue: _self.iconpickerValue
289
+ });
290
+ if (!_self.isInline()) {
291
+ _self.hide();
292
+ }
293
+ });
294
+ this.getCancelButton().on('click.iconpicker', function() {
295
+ if (!_self.isInline()) {
296
+ _self.hide();
297
+ }
298
+ });
299
+
300
+ this.element.on('focus.iconpicker', function(e) {
301
+ _self.show();
302
+ e.stopPropagation();
303
+ });
304
+
305
+ if (this.hasComponent()) {
306
+ this.component.on('click.iconpicker', function() {
307
+ _self.toggle();
308
+ });
309
+ }
310
+
311
+ if (this.hasInput()) {
312
+ // Bind input keyup event
313
+ this.input.on('keyup.iconpicker', function(e) {
314
+ if (!_helpers.inArray(e.keyCode, [38, 40, 37, 39, 16, 17, 18, 9, 8, 91, 93, 20, 46, 186, 190, 46, 78, 188, 44, 86])) {
315
+ _self.update();
316
+ } else {
317
+ _self._updateFormGroupStatus(_self.getValid(this.value) !== false);
318
+ }
319
+ if (_self.options.inputSearch === true) {
320
+ _self.filter($(this).val().toLowerCase());
321
+ }
322
+ //_self.hide();
323
+ });
324
+ }
325
+
326
+ },
327
+ _bindWindowEvents: function() {
328
+ var $doc = $(window.document);
329
+ var _self = this;
330
+
331
+ // Add a namespace to the document events so they can be identified
332
+ // later for every instance separately
333
+ var _eventNs = '.iconpicker.inst' + this._id;
334
+
335
+ $(window).on('resize.iconpicker' + _eventNs + ' orientationchange.iconpicker' + _eventNs, function(e) {
336
+ // reposition popover
337
+ if (_self.popover.hasClass('in')) {
338
+ _self.updatePlacement();
339
+ }
340
+ });
341
+
342
+
343
+ if (!_self.isInline()) {
344
+ $doc.on('mouseup' + _eventNs, function(e) {
345
+ if ( !_self._isEventInsideIconpicker(e) && !_self.isInline()) {
346
+ _self.hide();
347
+ }
348
+ });
349
+ }
350
+
351
+ return false;
352
+ },
353
+ _unbindElementEvents: function() {
354
+ this.popover.off('.iconpicker');
355
+ this.element.off('.iconpicker');
356
+
357
+ if (this.hasInput()) {
358
+ this.input.off('.iconpicker');
359
+ }
360
+
361
+ if (this.hasComponent()) {
362
+ this.component.off('.iconpicker');
363
+ }
364
+
365
+ if (this.hasContainer()) {
366
+ this.container.off('.iconpicker');
367
+ }
368
+ },
369
+ _unbindWindowEvents: function() {
370
+ // destroy window and window.document bound events
371
+ $(window).off('.iconpicker.inst' + this._id);
372
+ $(window.document).off('.iconpicker.inst' + this._id);
373
+ },
374
+ updatePlacement: function(placement, collision) {
375
+ placement = placement || this.options.placement;
376
+ this.options.placement = placement; // set new placement
377
+ collision = collision || this.options.collision;
378
+ collision = (collision === true ? 'flip' : collision);
379
+
380
+ var _pos = {
381
+ // at: Defines which position (or side) on container element to align the
382
+ // popover element against: "horizontal vertical" alignment.
383
+ at: "right bottom",
384
+ // my: Defines which position (or side) on the popover being positioned to align
385
+ // with the container element: "horizontal vertical" alignment
386
+ my: "right top",
387
+ // of: Which element to position against.
388
+ of: (this.hasInput() && !this.isInputGroup()) ? this.input : this.container,
389
+ // collision: When the positioned element overflows the window (or within element)
390
+ // in some direction, move it to an alternative position.
391
+ collision: (collision === true ? 'flip' : collision),
392
+ // within: Element to position within, affecting collision detection.
393
+ within: window
394
+ };
395
+
396
+ // remove previous classes
397
+ this.popover.removeClass('inline topLeftCorner topLeft top topRight topRightCorner ' +
398
+ 'rightTop right rightBottom bottomRight bottomRightCorner ' +
399
+ 'bottom bottomLeft bottomLeftCorner leftBottom left leftTop');
400
+
401
+ if (typeof placement === 'object') {
402
+ // custom position ?
403
+ return this.popover.pos($.extend({}, _pos, placement));
404
+ }
405
+
406
+ switch (placement) {
407
+ case 'inline':
408
+ {
409
+ _pos = false;
410
+ }
411
+ break;
412
+ case 'topLeftCorner':
413
+ {
414
+ _pos.my = 'right bottom';
415
+ _pos.at = 'left top';
416
+ }
417
+ break;
418
+
419
+ case 'topLeft':
420
+ {
421
+ _pos.my = 'left bottom';
422
+ _pos.at = 'left top';
423
+ }
424
+ break;
425
+
426
+ case 'top':
427
+ {
428
+ _pos.my = 'center bottom';
429
+ _pos.at = 'center top';
430
+ }
431
+ break;
432
+
433
+ case 'topRight':
434
+ {
435
+ _pos.my = 'right bottom';
436
+ _pos.at = 'right top';
437
+ }
438
+ break;
439
+
440
+ case 'topRightCorner':
441
+ {
442
+ _pos.my = 'left bottom';
443
+ _pos.at = 'right top';
444
+ }
445
+ break;
446
+
447
+ case 'rightTop':
448
+ {
449
+ _pos.my = 'left bottom';
450
+ _pos.at = 'right center';
451
+ }
452
+ break;
453
+
454
+ case 'right':
455
+ {
456
+ _pos.my = 'left center';
457
+ _pos.at = 'right center';
458
+ }
459
+ break;
460
+
461
+ case 'rightBottom':
462
+ {
463
+ _pos.my = 'left top';
464
+ _pos.at = 'right center';
465
+ }
466
+ break;
467
+
468
+ case 'bottomRightCorner':
469
+ {
470
+ _pos.my = 'left top';
471
+ _pos.at = 'right bottom';
472
+ }
473
+ break;
474
+
475
+ case 'bottomRight':
476
+ {
477
+ _pos.my = 'right top';
478
+ _pos.at = 'right bottom';
479
+ }
480
+ break;
481
+ case 'bottom':
482
+ {
483
+ _pos.my = 'center top';
484
+ _pos.at = 'center bottom';
485
+ }
486
+ break;
487
+
488
+ case 'bottomLeft':
489
+ {
490
+ _pos.my = 'left top';
491
+ _pos.at = 'left bottom';
492
+ }
493
+ break;
494
+
495
+ case 'bottomLeftCorner':
496
+ {
497
+ _pos.my = 'right top';
498
+ _pos.at = 'left bottom';
499
+ }
500
+ break;
501
+
502
+ case 'leftBottom':
503
+ {
504
+ _pos.my = 'right top';
505
+ _pos.at = 'left center';
506
+ }
507
+ break;
508
+
509
+ case 'left':
510
+ {
511
+ _pos.my = 'right center';
512
+ _pos.at = 'left center';
513
+ }
514
+ break;
515
+
516
+ case 'leftTop':
517
+ {
518
+ _pos.my = 'right bottom';
519
+ _pos.at = 'left center';
520
+ }
521
+ break;
522
+
523
+ default:
524
+ {
525
+ return false;
526
+ }
527
+ break;
528
+
529
+ }
530
+
531
+ this.popover.css({
532
+ 'display': (this.options.placement === 'inline') ? '' : 'block'
533
+ });
534
+
535
+ if (_pos !== false) {
536
+ this.popover.pos(_pos).css('maxWidth', $(window).width() - this.container.offset().left - 5);
537
+ } else {
538
+ //reset position
539
+ this.popover.css({
540
+ 'top': 'auto',
541
+ 'right': 'auto',
542
+ 'bottom': 'auto',
543
+ 'left': 'auto',
544
+ 'maxWidth': 'none'
545
+ });
546
+ }
547
+ this.popover.addClass(this.options.placement);
548
+
549
+ return true;
550
+ },
551
+ _updateComponents: function() {
552
+ // Update selected item
553
+ this.iconpicker.find('.iconpicker-item.iconpicker-selected')
554
+ .removeClass('iconpicker-selected ' + this.options.selectedCustomClass);
555
+
556
+ if (this.iconpickerValue) {
557
+ this.iconpicker.find('.' + this.options.fullClassFormatter(this.iconpickerValue).replace(/ /g, '.')).parent()
558
+ .addClass('iconpicker-selected ' + this.options.selectedCustomClass);
559
+ }
560
+
561
+ // Update component item
562
+ if (this.hasComponent()) {
563
+ var icn = this.component.find('i');
564
+ if (icn.length > 0) {
565
+ icn.attr('class', this.options.fullClassFormatter(this.iconpickerValue));
566
+ } else {
567
+ this.component.html(this.getHtml());
568
+ }
569
+ }
570
+
571
+ },
572
+ _updateFormGroupStatus: function(isValid) {
573
+ if (this.hasInput()) {
574
+ if (isValid !== false) {
575
+ // Remove form-group error class if any
576
+ this.input.parents('.form-group:first').removeClass('has-error');
577
+ } else {
578
+ this.input.parents('.form-group:first').addClass('has-error');
579
+ }
580
+ return true;
581
+ }
582
+ return false;
583
+ },
584
+ getValid: function(val) {
585
+ // here we must validate the value (you may change this validation
586
+ // to suit your needs
587
+ if (!_helpers.isString(val)) {
588
+ val = '';
589
+ }
590
+
591
+ var isEmpty = (val === '');
592
+
593
+ // trim string
594
+ val = $.trim(val);
595
+
596
+ if (_helpers.inArray(val, this.options.icons) || isEmpty) {
597
+ return val;
598
+ }
599
+ return false;
600
+ },
601
+ /**
602
+ * Sets the internal item value and updates everything, excepting the input or element.
603
+ * For doing so, call setSourceValue() or update() instead
604
+ */
605
+ setValue: function(val) {
606
+ // sanitize first
607
+ var _val = this.getValid(val);
608
+ if (_val !== false) {
609
+ this.iconpickerValue = _val;
610
+ this._trigger('iconpickerSetValue', {
611
+ iconpickerValue: _val
612
+ });
613
+ return this.iconpickerValue;
614
+ } else {
615
+ this._trigger('iconpickerInvalid', {
616
+ iconpickerValue: val
617
+ });
618
+ return false;
619
+ }
620
+ },
621
+ getHtml: function() {
622
+ return '<i class="' + this.options.fullClassFormatter(this.iconpickerValue) + '"></i>';
623
+ },
624
+ /**
625
+ * Calls setValue and if it's a valid item value, sets the input or element value
626
+ */
627
+ setSourceValue: function(val) {
628
+ val = this.setValue(val);
629
+
630
+ if ((val !== false) && (val !== '')) {
631
+ if (this.hasInput()) {
632
+ this.input.val( this.options.iconClassPrefix + this.iconpickerValue );
633
+ } else {
634
+ this.element.data('iconpickerValue', this.iconpickerValue);
635
+ }
636
+ this._trigger('iconpickerSetSourceValue', {
637
+ iconpickerValue: val
638
+ });
639
+ }
640
+ return val;
641
+ },
642
+ /**
643
+ * Returns the input or element item value, without formatting, or defaultValue
644
+ * if it's empty string, undefined, false or null
645
+ * @param {type} defaultValue
646
+ * @returns string|mixed
647
+ */
648
+ getSourceValue: function(defaultValue) {
649
+ // returns the input or element value, as string
650
+ defaultValue = defaultValue || this.options.defaultValue;
651
+ var val = defaultValue;
652
+
653
+ if (this.hasInput()) {
654
+ val = this.input.val();
655
+ } else {
656
+ val = this.element.data('iconpickerValue');
657
+ }
658
+ if ((val === undefined) || (val === '') || (val === null) || (val === false)) {
659
+ // if not defined or empty, return default
660
+ val = defaultValue;
661
+ }
662
+ return val;
663
+ },
664
+ hasInput: function() {
665
+ return (this.input !== false);
666
+ },
667
+ isInputSearch: function() {
668
+ return (this.hasInput() && (this.options.inputSearch === true));
669
+ },
670
+ isInputGroup: function() {
671
+ return this.container.is('.input-group');
672
+ },
673
+ isDropdownMenu: function() {
674
+ return this.container.is('.dropdown-menu');
675
+ },
676
+ hasSeparatedSearchInput: function() {
677
+ return (this.options.templates.search !== false) && (!this.isInputSearch());
678
+ },
679
+ hasComponent: function() {
680
+ return (this.component !== false);
681
+ },
682
+ hasContainer: function() {
683
+ return (this.container !== false);
684
+ },
685
+ getAcceptButton: function() {
686
+ return this.popover.find('.iconpicker-btn-accept');
687
+ },
688
+ getCancelButton: function() {
689
+ return this.popover.find('.iconpicker-btn-cancel');
690
+ },
691
+ getSearchInput: function() {
692
+ return this.popover.find('.iconpicker-search');
693
+ },
694
+ filter: function(filterText) {
695
+ if (_helpers.isEmpty(filterText)) {
696
+ this.iconpicker.find('.iconpicker-item').show();
697
+ return $(false);
698
+ } else {
699
+ var found = [];
700
+ this.iconpicker.find('.iconpicker-item').each(function() {
701
+ var $this = $(this);
702
+ var text = $this.attr('title').toLowerCase();
703
+ var regex = false;
704
+ try {
705
+ regex = new RegExp(filterText, 'g');
706
+ } catch (e) {
707
+ regex = false;
708
+ }
709
+ if ((regex !== false) && text.match(regex)) {
710
+ found.push($this);
711
+ $this.show();
712
+ } else {
713
+ $this.hide();
714
+ }
715
+ });
716
+ return found;
717
+ }
718
+ },
719
+ show: function() {
720
+ if (this.popover.hasClass('in')) {
721
+ return false;
722
+ }
723
+ // hide other non-inline pickers
724
+ $.iconpicker.batch($('.iconpicker-popover.in:not(.inline)').not(this.popover), 'hide');
725
+
726
+ this._trigger('iconpickerShow');
727
+ this.updatePlacement();
728
+ this.popover.addClass('in');
729
+ setTimeout($.proxy(function() {
730
+ this.popover.css('display', this.isInline() ? '' : 'block');
731
+ this._trigger('iconpickerShown');
732
+ }, this), this.options.animation ? 300 : 1); // animation duration
733
+ },
734
+ hide: function() {
735
+ if (!this.popover.hasClass('in')) {
736
+ return false;
737
+ }
738
+ this._trigger('iconpickerHide');
739
+ this.popover.removeClass('in');
740
+ setTimeout($.proxy(function() {
741
+ this.popover.css('display', 'none');
742
+ this.getSearchInput().val('');
743
+ this.filter(''); // clear filter
744
+ this._trigger('iconpickerHidden');
745
+ }, this), this.options.animation ? 300 : 1);
746
+ },
747
+ toggle: function() {
748
+ if (this.popover.is(":visible")) {
749
+ this.hide();
750
+ } else {
751
+ this.show(true);
752
+ }
753
+ },
754
+ update: function(val, updateOnlyInternal) {
755
+ val = (val ? val :  this.getSourceValue(this.iconpickerValue));
756
+ // reads the input or element value again and tries to update the plugin
757
+ // fallback to the current selected item value
758
+ this._trigger('iconpickerUpdate');
759
+
760
+ if (updateOnlyInternal === true) {
761
+ val = this.setValue(val);
762
+ } else {
763
+ val = this.setSourceValue(val);
764
+ this._updateFormGroupStatus(val !== false);
765
+ }
766
+
767
+ if (val !== false) {
768
+ this._updateComponents();
769
+ }
770
+
771
+ this._trigger('iconpickerUpdated');
772
+ return val;
773
+ },
774
+ destroy: function() {
775
+ this._trigger('iconpickerDestroy');
776
+
777
+ // unbinds events and resets everything to the initial state,
778
+ // including component mode
779
+ this.element.removeData('iconpicker').removeData('iconpickerValue').removeClass('iconpicker-element');
780
+
781
+ this._unbindElementEvents();
782
+ this._unbindWindowEvents();
783
+
784
+ $(this.popover).remove();
785
+
786
+ this._trigger('iconpickerDestroyed');
787
+ },
788
+ disable: function() {
789
+ if (this.hasInput()) {
790
+ this.input.prop('disabled', true);
791
+ return true;
792
+ }
793
+ return false;
794
+ },
795
+ enable: function() {
796
+ if (this.hasInput()) {
797
+ this.input.prop('disabled', false);
798
+ return true;
799
+ }
800
+ return false;
801
+ },
802
+ isDisabled: function() {
803
+ if (this.hasInput()) {
804
+ return (this.input.prop('disabled') === true);
805
+ }
806
+ return false;
807
+ },
808
+ isInline: function() {
809
+ return (this.options.placement === 'inline') || (this.popover.hasClass('inline'));
810
+ }
811
+ };
812
+
813
+ $.iconpicker = Iconpicker;
814
+
815
+ // jQuery plugin
816
+ $.fn.iconpicker = function(options) {
817
+ return this.each(function() {
818
+ var $this = $(this);
819
+ if (!$this.data('iconpicker')) {
820
+ // create plugin instance (only if not exists) and expose the entire instance API
821
+ $this.data('iconpicker', new Iconpicker(this, ((typeof options === 'object') ? options : {})));
822
+ }
823
+ });
824
+ };
825
+
826
+ // List of all Font Awesome icons without class prefix
827
+ Iconpicker.defaultOptions.icons = [
828
+ 'fa-500px','fa-adjust','fa-adn','fa-align-center','fa-align-justify','fa-align-left','fa-align-right','fa-amazon',
829
+ 'fa-ambulance','fa-anchor','fa-android','fa-angellist','fa-angle-double-down','fa-angle-double-left','fa-angle-double-right',
830
+ 'fa-angle-double-up','fa-angle-down','fa-angle-left','fa-angle-right','fa-angle-up','fa-apple','fa-archive','fa-area-chart',
831
+ 'fa-arrow-circle-down','fa-arrow-circle-left','fa-arrow-circle-o-down','fa-arrow-circle-o-left','fa-arrow-circle-o-right',
832
+ 'fa-arrow-circle-o-up','fa-arrow-circle-right','fa-arrow-circle-up','fa-arrow-down','fa-arrow-left','fa-arrow-right',
833
+ 'fa-arrow-up','fa-arrows','fa-arrows-alt','fa-arrows-h','fa-arrows-v','fa-asterisk','fa-at','fa-automobile','fa-backward',
834
+ 'fa-balance-scale','fa-ban','fa-bank','fa-bar-chart','fa-bar-chart-o','fa-barcode','fa-bars','fa-battery-0','fa-battery-1',
835
+ 'fa-battery-2','fa-battery-3','fa-battery-4','fa-battery-empty','fa-battery-full','fa-battery-half','fa-battery-quarter',
836
+ 'fa-battery-three-quarters','fa-bed','fa-beer','fa-behance','fa-behance-square','fa-bell','fa-bell-o','fa-bell-slash',
837
+ 'fa-bell-slash-o','fa-bicycle','fa-binoculars','fa-birthday-cake','fa-bitbucket','fa-bitbucket-square','fa-bitcoin',
838
+ 'fa-black-tie','fa-bold','fa-bolt','fa-bomb','fa-book','fa-bookmark','fa-bookmark-o','fa-briefcase','fa-btc','fa-bug',
839
+ 'fa-building','fa-building-o','fa-bullhorn','fa-bullseye','fa-bus','fa-buysellads','fa-cab','fa-calculator','fa-calendar',
840
+ 'fa-calendar-check-o','fa-calendar-minus-o','fa-calendar-o','fa-calendar-plus-o','fa-calendar-times-o','fa-camera',
841
+ 'fa-camera-retro','fa-car','fa-caret-down','fa-caret-left','fa-caret-right','fa-caret-square-o-down',
842
+ 'fa-caret-square-o-left','fa-caret-square-o-right','fa-caret-square-o-up','fa-caret-up','fa-cart-arrow-down','fa-cart-plus',
843
+ 'fa-cc','fa-cc-amex','fa-cc-diners-club','fa-cc-discover','fa-cc-jcb','fa-cc-mastercard','fa-cc-paypal','fa-cc-stripe',
844
+ 'fa-cc-visa','fa-certificate','fa-chain','fa-chain-broken','fa-check','fa-check-circle','fa-check-circle-o',
845
+ 'fa-check-square','fa-check-square-o','fa-chevron-circle-down','fa-chevron-circle-left','fa-chevron-circle-right',
846
+ 'fa-chevron-circle-up','fa-chevron-down','fa-chevron-left','fa-chevron-right','fa-chevron-up','fa-child','fa-chrome',
847
+ 'fa-circle','fa-circle-o','fa-circle-o-notch','fa-circle-thin','fa-clipboard','fa-clock-o','fa-clone','fa-close','fa-cloud',
848
+ 'fa-cloud-download','fa-cloud-upload','fa-cny','fa-code','fa-code-fork','fa-codepen','fa-coffee','fa-cog','fa-cogs',
849
+ 'fa-columns','fa-comment','fa-comment-o','fa-commenting','fa-commenting-o','fa-comments','fa-comments-o','fa-compass',
850
+ 'fa-compress','fa-connectdevelop','fa-contao','fa-copy','fa-copyright','fa-creative-commons','fa-credit-card','fa-crop',
851
+ 'fa-crosshairs','fa-css3','fa-cube','fa-cubes','fa-cut','fa-cutlery','fa-dashboard','fa-dashcube','fa-database','fa-dedent',
852
+ 'fa-delicious','fa-desktop','fa-deviantart','fa-diamond','fa-digg','fa-dollar','fa-dot-circle-o','fa-download','fa-dribbble',
853
+ 'fa-dropbox','fa-drupal','fa-edit','fa-eject','fa-ellipsis-h','fa-ellipsis-v','fa-empire','fa-envelope','fa-envelope-o',
854
+ 'fa-envelope-square','fa-eraser','fa-eur','fa-euro','fa-exchange','fa-exclamation','fa-exclamation-circle',
855
+ 'fa-exclamation-triangle','fa-expand','fa-expeditedssl','fa-external-link','fa-external-link-square','fa-eye','fa-eye-slash',
856
+ 'fa-eyedropper','fa-facebook','fa-facebook-f','fa-facebook-official','fa-facebook-square','fa-fast-backward','fa-fast-forward',
857
+ 'fa-fax','fa-feed','fa-female','fa-fighter-jet','fa-file','fa-file-archive-o','fa-file-audio-o','fa-file-code-o',
858
+ 'fa-file-excel-o','fa-file-image-o','fa-file-movie-o','fa-file-o','fa-file-pdf-o','fa-file-photo-o','fa-file-picture-o',
859
+ 'fa-file-powerpoint-o','fa-file-sound-o','fa-file-text','fa-file-text-o','fa-file-video-o','fa-file-word-o','fa-file-zip-o',
860
+ 'fa-files-o','fa-film','fa-filter','fa-fire','fa-fire-extinguisher','fa-firefox','fa-flag','fa-flag-checkered','fa-flag-o',
861
+ 'fa-flash','fa-flask','fa-flickr','fa-floppy-o','fa-folder','fa-folder-o','fa-folder-open','fa-folder-open-o','fa-font',
862
+ 'fa-fonticons','fa-forumbee','fa-forward','fa-foursquare','fa-frown-o','fa-futbol-o','fa-gamepad','fa-gavel','fa-gbp','fa-ge',
863
+ 'fa-gear','fa-gears','fa-genderless','fa-get-pocket','fa-gg','fa-gg-circle','fa-gift','fa-git','fa-git-square','fa-github',
864
+ 'fa-github-alt','fa-github-square','fa-gittip','fa-glass','fa-globe','fa-google','fa-google-plus','fa-google-plus-square',
865
+ 'fa-google-wallet','fa-graduation-cap','fa-gratipay','fa-group','fa-h-square','fa-hacker-news','fa-hand-grab-o',
866
+ 'fa-hand-lizard-o','fa-hand-o-down','fa-hand-o-left','fa-hand-o-right','fa-hand-o-up','fa-hand-paper-o','fa-hand-peace-o',
867
+ 'fa-hand-pointer-o','fa-hand-scissors-o','fa-hand-spock-o','fa-hand-stop-o','fa-hdd-o','fa-header','fa-headphones',
868
+ 'fa-heart','fa-heart-o','fa-heartbeat','fa-history','fa-home','fa-hospital-o','fa-hotel','fa-hourglass','fa-hourglass-1',
869
+ 'fa-hourglass-2','fa-hourglass-3','fa-hourglass-end','fa-hourglass-half','fa-hourglass-o','fa-hourglass-start','fa-houzz',
870
+ 'fa-html5','fa-i-cursor','fa-ils','fa-image','fa-inbox','fa-indent','fa-industry','fa-info','fa-info-circle','fa-inr',
871
+ 'fa-instagram','fa-institution','fa-internet-explorer','fa-intersex','fa-ioxhost','fa-italic','fa-joomla','fa-jpy','fa-jsfiddle',
872
+ 'fa-key','fa-keyboard-o','fa-krw','fa-language','fa-laptop','fa-lastfm','fa-lastfm-square','fa-leaf','fa-leanpub','fa-legal',
873
+ 'fa-lemon-o','fa-level-down','fa-level-up','fa-life-bouy','fa-life-buoy','fa-life-ring','fa-life-saver','fa-lightbulb-o',
874
+ 'fa-line-chart','fa-link','fa-linkedin','fa-linkedin-square','fa-linux','fa-list','fa-list-alt','fa-list-ol','fa-list-ul',
875
+ 'fa-location-arrow','fa-lock','fa-long-arrow-down','fa-long-arrow-left','fa-long-arrow-right','fa-long-arrow-up','fa-magic',
876
+ 'fa-magnet','fa-mail-forward','fa-mail-reply','fa-mail-reply-all','fa-male','fa-map','fa-map-marker','fa-map-o','fa-map-pin',
877
+ 'fa-map-signs','fa-mars-double','fa-mars-stroke','fa-mars-stroke-h','fa-mars-stroke-v','fa-maxcdn','fa-meanpath','fa-medium',
878
+ 'fa-medkit','fa-mercury','fa-microphone','fa-microphone-slash','fa-minus','fa-minus-circle','fa-minus-square','fa-minus-square-o',
879
+ 'fa-mobile','fa-mobile-phone','fa-money','fa-moon-o','fa-mortar-board','fa-motorcycle','fa-mouse-pointer','fa-music','fa-navicon',
880
+ 'fa-neuter','fa-newspaper-o','fa-object-group','fa-object-ungroup','fa-odnoklassniki','fa-odnoklassniki-square','fa-opencart',
881
+ 'fa-openid','fa-opera','fa-optin-monster','fa-outdent','fa-pagelines','fa-paint-brush','fa-paper-plane','fa-paper-plane-o',
882
+ 'fa-paperclip','fa-paragraph','fa-paste','fa-pause','fa-paw','fa-paypal','fa-pencil','fa-pencil-square','fa-pencil-square-o',
883
+ 'fa-phone','fa-phone-square','fa-photo','fa-picture-o','fa-pie-chart','fa-pied-piper','fa-pied-piper-alt','fa-pinterest',
884
+ 'fa-pinterest-p','fa-pinterest-square','fa-plane','fa-play','fa-play-circle','fa-play-circle-o','fa-plug','fa-plus','fa-plus-circle',
885
+ 'fa-plus-square','fa-plus-square-o','fa-power-off','fa-print','fa-puzzle-piece','fa-qq','fa-qrcode','fa-question',
886
+ 'fa-question-circle','fa-quote-left','fa-quote-right','fa-ra','fa-random','fa-rebel','fa-recycle','fa-reddit','fa-reddit-square',
887
+ 'fa-refresh','fa-registered','fa-remove','fa-renren','fa-reorder','fa-repeat','fa-reply','fa-reply-all','fa-retweet','fa-rmb',
888
+ 'fa-road','fa-rocket','fa-rotate-left','fa-rotate-right','fa-rouble','fa-rss','fa-rss-square','fa-rub','fa-ruble','fa-rupee',
889
+ 'fa-safari','fa-save','fa-scissors','fa-search','fa-search-minus','fa-search-plus','fa-sellsy','fa-send','fa-send-o','fa-server',
890
+ 'fa-share','fa-share-alt','fa-share-alt-square','fa-share-square','fa-share-square-o','fa-shekel','fa-sheqel','fa-shield',
891
+ 'fa-ship','fa-shirtsinbulk','fa-shopping-cart','fa-sign-in','fa-sign-out','fa-signal','fa-simplybuilt','fa-sitemap','fa-skyatlas',
892
+ 'fa-skype','fa-slack','fa-sliders','fa-slideshare','fa-smile-o','fa-soccer-ball-o','fa-sort','fa-sort-alpha-asc',
893
+ 'fa-sort-alpha-desc','fa-sort-amount-asc','fa-sort-amount-desc','fa-sort-asc','fa-sort-desc','fa-sort-down','fa-sort-numeric-asc',
894
+ 'fa-sort-numeric-desc','fa-sort-up','fa-soundcloud','fa-space-shuttle','fa-spinner','fa-spoon','fa-spotify','fa-square',
895
+ 'fa-square-o','fa-stack-exchange','fa-stack-overflow','fa-steam','fa-steam-square','fa-star','fa-star-half','fa-star-half-empty',
896
+ 'fa-star-half-full','fa-star-half-o','fa-star-o','fa-step-backward','fa-step-forward','fa-stethoscope','fa-sticky-note',
897
+ 'fa-sticky-note-o','fa-stop','fa-street-view','fa-strikethrough','fa-stumbleupon','fa-stumbleupon-circle','fa-subscript',
898
+ 'fa-subway','fa-suitcase','fa-sun-o','fa-superscript','fa-support','fa-table','fa-tablet','fa-tachometer','fa-tag','fa-tags',
899
+ 'fa-tasks','fa-taxi','fa-television','fa-tencent-weibo','fa-terminal','fa-text-height','fa-text-width','fa-th','fa-th-large',
900
+ 'fa-th-list','fa-thumb-tack','fa-thumbs-down','fa-thumbs-o-down','fa-thumbs-o-up','fa-thumbs-up','fa-ticket','fa-times',
901
+ 'fa-times-circle','fa-times-circle-o','fa-tint','fa-toggle-down','fa-toggle-left','fa-toggle-off','fa-toggle-on','fa-toggle-right',
902
+ 'fa-toggle-up','fa-trademark','fa-train','fa-transgender','fa-transgender-alt','fa-trash','fa-trash-o','fa-tree','fa-trello',
903
+ 'fa-tripadvisor','fa-trophy','fa-truck','fa-try','fa-tty','fa-tumblr','fa-tumblr-square','fa-turkish-lira','fa-tv','fa-twitch',
904
+ 'fa-twitter','fa-twitter-square','fa-umbrella','fa-underline','fa-university','fa-unlink','fa-unlock','fa-unlock-alt','fa-unsorted',
905
+ 'fa-upload','fa-usd','fa-user','fa-user-md','fa-user-plus','fa-user-secret','fa-user-times','fa-users','fa-venus','fa-venus-double',
906
+ 'fa-venus-mars','fa-viacoin','fa-video-camera','fa-vimeo','fa-vimeo-square','fa-vine','fa-vk','fa-volume-down','fa-volume-off',
907
+ 'fa-volume-up','fa-warning','fa-wechat','fa-weibo','fa-weixin','fa-whatsapp','fa-wheelchair','fa-wifi','fa-wikipedia-w','fa-windows',
908
+ 'fa-won','fa-wordpress','fa-wrench','fa-xing','fa-xing-square','fa-y-combinator','fa-y-combinator-square','fa-yahoo','fa-yc',
909
+ 'fa-yc-square','fa-yelp','fa-yen','fa-youtube','fa-youtube-play','fa-youtube-square'
910
+ ];
911
+ }));
912
+
913
+ /*!
914
+ * .pos() plugin based on jQuery UI Position 1.10.4, renamed to avoid
915
+ * problems with jQuery native .position(), and added some triggers when position
916
+ * collapses
917
+ *
918
+ * http://jqueryui.com
919
+ *
920
+ * Copyright 2014 jQuery Foundation and other contributors
921
+ * Released under the MIT license.
922
+ * http://jquery.org/license
923
+ *
924
+ * http://api.jqueryui.com/position/
925
+ */
926
+ (function($, undefined) {
927
+
928
+ $.ui = $.ui || {};
929
+
930
+ var cachedScrollbarWidth,
931
+ max = Math.max,
932
+ abs = Math.abs,
933
+ round = Math.round,
934
+ rhorizontal = /left|center|right/,
935
+ rvertical = /top|center|bottom/,
936
+ roffset = /[\+\-]\d+(\.[\d]+)?%?/,
937
+ rposition = /^\w+/,
938
+ rpercent = /%$/,
939
+ _position = $.fn.pos;
940
+
941
+ function getOffsets(offsets, width, height) {
942
+ return [
943
+ parseFloat(offsets[0]) * (rpercent.test(offsets[0]) ? width / 100 : 1),
944
+ parseFloat(offsets[1]) * (rpercent.test(offsets[1]) ? height / 100 : 1)
945
+ ];
946
+ }
947
+
948
+ function parseCss(element, property) {
949
+ return parseInt($.css(element, property), 10) || 0;
950
+ }
951
+
952
+ function getDimensions(elem) {
953
+ var raw = elem[0];
954
+ if (raw.nodeType === 9) {
955
+ return {
956
+ width: elem.width(),
957
+ height: elem.height(),
958
+ offset: {
959
+ top: 0,
960
+ left: 0
961
+ }
962
+ };
963
+ }
964
+ if ($.isWindow(raw)) {
965
+ return {
966
+ width: elem.width(),
967
+ height: elem.height(),
968
+ offset: {
969
+ top: elem.scrollTop(),
970
+ left: elem.scrollLeft()
971
+ }
972
+ };
973
+ }
974
+ if (raw.preventDefault) {
975
+ return {
976
+ width: 0,
977
+ height: 0,
978
+ offset: {
979
+ top: raw.pageY,
980
+ left: raw.pageX
981
+ }
982
+ };
983
+ }
984
+ return {
985
+ width: elem.outerWidth(),
986
+ height: elem.outerHeight(),
987
+ offset: elem.offset()
988
+ };
989
+ }
990
+
991
+ $.pos = {
992
+ scrollbarWidth: function() {
993
+ if (cachedScrollbarWidth !== undefined) {
994
+ return cachedScrollbarWidth;
995
+ }
996
+ var w1, w2,
997
+ div = $("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),
998
+ innerDiv = div.children()[0];
999
+
1000
+ $("body").append(div);
1001
+ w1 = innerDiv.offsetWidth;
1002
+ div.css("overflow", "scroll");
1003
+
1004
+ w2 = innerDiv.offsetWidth;
1005
+
1006
+ if (w1 === w2) {
1007
+ w2 = div[0].clientWidth;
1008
+ }
1009
+
1010
+ div.remove();
1011
+
1012
+ return (cachedScrollbarWidth = w1 - w2);
1013
+ },
1014
+ getScrollInfo: function(within) {
1015
+ var overflowX = within.isWindow || within.isDocument ? "" :
1016
+ within.element.css("overflow-x"),
1017
+ overflowY = within.isWindow || within.isDocument ? "" :
1018
+ within.element.css("overflow-y"),
1019
+ hasOverflowX = overflowX === "scroll" ||
1020
+ (overflowX === "auto" && within.width < within.element[0].scrollWidth),
1021
+ hasOverflowY = overflowY === "scroll" ||
1022
+ (overflowY === "auto" && within.height < within.element[0].scrollHeight);
1023
+ return {
1024
+ width: hasOverflowY ? $.pos.scrollbarWidth() : 0,
1025
+ height: hasOverflowX ? $.pos.scrollbarWidth() : 0
1026
+ };
1027
+ },
1028
+ getWithinInfo: function(element) {
1029
+ var withinElement = $(element || window),
1030
+ isWindow = $.isWindow(withinElement[0]),
1031
+ isDocument = !!withinElement[0] && withinElement[0].nodeType === 9;
1032
+ return {
1033
+ element: withinElement,
1034
+ isWindow: isWindow,
1035
+ isDocument: isDocument,
1036
+ offset: withinElement.offset() || {
1037
+ left: 0,
1038
+ top: 0
1039
+ },
1040
+ scrollLeft: withinElement.scrollLeft(),
1041
+ scrollTop: withinElement.scrollTop(),
1042
+ width: isWindow ? withinElement.width() : withinElement.outerWidth(),
1043
+ height: isWindow ? withinElement.height() : withinElement.outerHeight()
1044
+ };
1045
+ }
1046
+ };
1047
+
1048
+ $.fn.pos = function(options) {
1049
+ if (!options || !options.of) {
1050
+ return _position.apply(this, arguments);
1051
+ }
1052
+
1053
+ // make a copy, we don't want to modify arguments
1054
+ options = $.extend({}, options);
1055
+
1056
+ var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
1057
+ target = $(options.of),
1058
+ within = $.pos.getWithinInfo(options.within),
1059
+ scrollInfo = $.pos.getScrollInfo(within),
1060
+ collision = (options.collision || "flip").split(" "),
1061
+ offsets = {};
1062
+
1063
+ dimensions = getDimensions(target);
1064
+ if (target[0].preventDefault) {
1065
+ // force left top to allow flipping
1066
+ options.at = "left top";
1067
+ }
1068
+ targetWidth = dimensions.width;
1069
+ targetHeight = dimensions.height;
1070
+ targetOffset = dimensions.offset;
1071
+ // clone to reuse original targetOffset later
1072
+ basePosition = $.extend({}, targetOffset);
1073
+
1074
+ // force my and at to have valid horizontal and vertical positions
1075
+ // if a value is missing or invalid, it will be converted to center
1076
+ $.each(["my", "at"], function() {
1077
+ var pos = (options[this] || "").split(" "),
1078
+ horizontalOffset,
1079
+ verticalOffset;
1080
+
1081
+ if (pos.length === 1) {
1082
+ pos = rhorizontal.test(pos[0]) ?
1083
+ pos.concat(["center"]) :
1084
+ rvertical.test(pos[0]) ? ["center"].concat(pos) : ["center", "center"];
1085
+ }
1086
+ pos[0] = rhorizontal.test(pos[0]) ? pos[0] : "center";
1087
+ pos[1] = rvertical.test(pos[1]) ? pos[1] : "center";
1088
+
1089
+ // calculate offsets
1090
+ horizontalOffset = roffset.exec(pos[0]);
1091
+ verticalOffset = roffset.exec(pos[1]);
1092
+ offsets[this] = [
1093
+ horizontalOffset ? horizontalOffset[0] : 0,
1094
+ verticalOffset ? verticalOffset[0] : 0
1095
+ ];
1096
+
1097
+ // reduce to just the positions without the offsets
1098
+ options[this] = [
1099
+ rposition.exec(pos[0])[0],
1100
+ rposition.exec(pos[1])[0]
1101
+ ];
1102
+ });
1103
+
1104
+ // normalize collision option
1105
+ if (collision.length === 1) {
1106
+ collision[1] = collision[0];
1107
+ }
1108
+
1109
+ if (options.at[0] === "right") {
1110
+ basePosition.left += targetWidth;
1111
+ } else if (options.at[0] === "center") {
1112
+ basePosition.left += targetWidth / 2;
1113
+ }
1114
+
1115
+ if (options.at[1] === "bottom") {
1116
+ basePosition.top += targetHeight;
1117
+ } else if (options.at[1] === "center") {
1118
+ basePosition.top += targetHeight / 2;
1119
+ }
1120
+
1121
+ atOffset = getOffsets(offsets.at, targetWidth, targetHeight);
1122
+ basePosition.left += atOffset[0];
1123
+ basePosition.top += atOffset[1];
1124
+
1125
+ return this.each(function() {
1126
+ var collisionPosition, using,
1127
+ elem = $(this),
1128
+ elemWidth = elem.outerWidth(),
1129
+ elemHeight = elem.outerHeight(),
1130
+ marginLeft = parseCss(this, "marginLeft"),
1131
+ marginTop = parseCss(this, "marginTop"),
1132
+ collisionWidth = elemWidth + marginLeft + parseCss(this, "marginRight") + scrollInfo.width,
1133
+ collisionHeight = elemHeight + marginTop + parseCss(this, "marginBottom") + scrollInfo.height,
1134
+ position = $.extend({}, basePosition),
1135
+ myOffset = getOffsets(offsets.my, elem.outerWidth(), elem.outerHeight());
1136
+
1137
+ if (options.my[0] === "right") {
1138
+ position.left -= elemWidth;
1139
+ } else if (options.my[0] === "center") {
1140
+ position.left -= elemWidth / 2;
1141
+ }
1142
+
1143
+ if (options.my[1] === "bottom") {
1144
+ position.top -= elemHeight;
1145
+ } else if (options.my[1] === "center") {
1146
+ position.top -= elemHeight / 2;
1147
+ }
1148
+
1149
+ position.left += myOffset[0];
1150
+ position.top += myOffset[1];
1151
+
1152
+ // if the browser doesn't support fractions, then round for consistent results
1153
+ if (!$.support.offsetFractions) {
1154
+ position.left = round(position.left);
1155
+ position.top = round(position.top);
1156
+ }
1157
+
1158
+ collisionPosition = {
1159
+ marginLeft: marginLeft,
1160
+ marginTop: marginTop
1161
+ };
1162
+
1163
+ $.each(["left", "top"], function(i, dir) {
1164
+ if ($.ui.pos[collision[i]]) {
1165
+ $.ui.pos[collision[i]][dir](position, {
1166
+ targetWidth: targetWidth,
1167
+ targetHeight: targetHeight,
1168
+ elemWidth: elemWidth,
1169
+ elemHeight: elemHeight,
1170
+ collisionPosition: collisionPosition,
1171
+ collisionWidth: collisionWidth,
1172
+ collisionHeight: collisionHeight,
1173
+ offset: [atOffset[0] + myOffset[0], atOffset[1] + myOffset[1]],
1174
+ my: options.my,
1175
+ at: options.at,
1176
+ within: within,
1177
+ elem: elem
1178
+ });
1179
+ }
1180
+ });
1181
+
1182
+ if (options.using) {
1183
+ // adds feedback as second argument to using callback, if present
1184
+ using = function(props) {
1185
+ var left = targetOffset.left - position.left,
1186
+ right = left + targetWidth - elemWidth,
1187
+ top = targetOffset.top - position.top,
1188
+ bottom = top + targetHeight - elemHeight,
1189
+ feedback = {
1190
+ target: {
1191
+ element: target,
1192
+ left: targetOffset.left,
1193
+ top: targetOffset.top,
1194
+ width: targetWidth,
1195
+ height: targetHeight
1196
+ },
1197
+ element: {
1198
+ element: elem,
1199
+ left: position.left,
1200
+ top: position.top,
1201
+ width: elemWidth,
1202
+ height: elemHeight
1203
+ },
1204
+ horizontal: right < 0 ? "left" : left > 0 ? "right" : "center",
1205
+ vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle"
1206
+ };
1207
+ if (targetWidth < elemWidth && abs(left + right) < targetWidth) {
1208
+ feedback.horizontal = "center";
1209
+ }
1210
+ if (targetHeight < elemHeight && abs(top + bottom) < targetHeight) {
1211
+ feedback.vertical = "middle";
1212
+ }
1213
+ if (max(abs(left), abs(right)) > max(abs(top), abs(bottom))) {
1214
+ feedback.important = "horizontal";
1215
+ } else {
1216
+ feedback.important = "vertical";
1217
+ }
1218
+ options.using.call(this, props, feedback);
1219
+ };
1220
+ }
1221
+
1222
+ elem.offset($.extend(position, {
1223
+ using: using
1224
+ }));
1225
+ });
1226
+ };
1227
+
1228
+ $.ui.pos = {
1229
+ _trigger: function(position, data, name, triggered) {
1230
+ if (data.elem) {
1231
+ data.elem.trigger({
1232
+ 'type': name,
1233
+ 'position': position,
1234
+ 'positionData': data,
1235
+ 'triggered': triggered
1236
+ });
1237
+ }
1238
+ },
1239
+ fit: {
1240
+ left: function(position, data) {
1241
+ $.ui.pos._trigger(position, data, 'posCollide', 'fitLeft');
1242
+ var within = data.within,
1243
+ withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
1244
+ outerWidth = within.width,
1245
+ collisionPosLeft = position.left - data.collisionPosition.marginLeft,
1246
+ overLeft = withinOffset - collisionPosLeft,
1247
+ overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset,
1248
+ newOverRight;
1249
+
1250
+ // element is wider than within
1251
+ if (data.collisionWidth > outerWidth) {
1252
+ // element is initially over the left side of within
1253
+ if (overLeft > 0 && overRight <= 0) {
1254
+ newOverRight = position.left + overLeft + data.collisionWidth - outerWidth - withinOffset;
1255
+ position.left += overLeft - newOverRight;
1256
+ // element is initially over right side of within
1257
+ } else if (overRight > 0 && overLeft <= 0) {
1258
+ position.left = withinOffset;
1259
+ // element is initially over both left and right sides of within
1260
+ } else {
1261
+ if (overLeft > overRight) {
1262
+ position.left = withinOffset + outerWidth - data.collisionWidth;
1263
+ } else {
1264
+ position.left = withinOffset;
1265
+ }
1266
+ }
1267
+ // too far left -> align with left edge
1268
+ } else if (overLeft > 0) {
1269
+ position.left += overLeft;
1270
+ // too far right -> align with right edge
1271
+ } else if (overRight > 0) {
1272
+ position.left -= overRight;
1273
+ // adjust based on position and margin
1274
+ } else {
1275
+ position.left = max(position.left - collisionPosLeft, position.left);
1276
+ }
1277
+ $.ui.pos._trigger(position, data, 'posCollided', 'fitLeft');
1278
+ },
1279
+ top: function(position, data) {
1280
+ $.ui.pos._trigger(position, data, 'posCollide', 'fitTop');
1281
+ var within = data.within,
1282
+ withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
1283
+ outerHeight = data.within.height,
1284
+ collisionPosTop = position.top - data.collisionPosition.marginTop,
1285
+ overTop = withinOffset - collisionPosTop,
1286
+ overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset,
1287
+ newOverBottom;
1288
+
1289
+ // element is taller than within
1290
+ if (data.collisionHeight > outerHeight) {
1291
+ // element is initially over the top of within
1292
+ if (overTop > 0 && overBottom <= 0) {
1293
+ newOverBottom = position.top + overTop + data.collisionHeight - outerHeight - withinOffset;
1294
+ position.top += overTop - newOverBottom;
1295
+ // element is initially over bottom of within
1296
+ } else if (overBottom > 0 && overTop <= 0) {
1297
+ position.top = withinOffset;
1298
+ // element is initially over both top and bottom of within
1299
+ } else {
1300
+ if (overTop > overBottom) {
1301
+ position.top = withinOffset + outerHeight - data.collisionHeight;
1302
+ } else {
1303
+ position.top = withinOffset;
1304
+ }
1305
+ }
1306
+ // too far up -> align with top
1307
+ } else if (overTop > 0) {
1308
+ position.top += overTop;
1309
+ // too far down -> align with bottom edge
1310
+ } else if (overBottom > 0) {
1311
+ position.top -= overBottom;
1312
+ // adjust based on position and margin
1313
+ } else {
1314
+ position.top = max(position.top - collisionPosTop, position.top);
1315
+ }
1316
+ $.ui.pos._trigger(position, data, 'posCollided', 'fitTop');
1317
+ }
1318
+ },
1319
+ flip: {
1320
+ left: function(position, data) {
1321
+ $.ui.pos._trigger(position, data, 'posCollide', 'flipLeft');
1322
+ var within = data.within,
1323
+ withinOffset = within.offset.left + within.scrollLeft,
1324
+ outerWidth = within.width,
1325
+ offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left,
1326
+ collisionPosLeft = position.left - data.collisionPosition.marginLeft,
1327
+ overLeft = collisionPosLeft - offsetLeft,
1328
+ overRight = collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft,
1329
+ myOffset = data.my[0] === "left" ?
1330
+ -data.elemWidth :
1331
+ data.my[0] === "right" ?
1332
+ data.elemWidth :
1333
+ 0,
1334
+ atOffset = data.at[0] === "left" ?
1335
+ data.targetWidth :
1336
+ data.at[0] === "right" ?
1337
+ -data.targetWidth :
1338
+ 0,
1339
+ offset = -2 * data.offset[0],
1340
+ newOverRight,
1341
+ newOverLeft;
1342
+
1343
+ if (overLeft < 0) {
1344
+ newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth - outerWidth - withinOffset;
1345
+ if (newOverRight < 0 || newOverRight < abs(overLeft)) {
1346
+ position.left += myOffset + atOffset + offset;
1347
+ }
1348
+ } else if (overRight > 0) {
1349
+ newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset + atOffset + offset - offsetLeft;
1350
+ if (newOverLeft > 0 || abs(newOverLeft) < overRight) {
1351
+ position.left += myOffset + atOffset + offset;
1352
+ }
1353
+ }
1354
+ $.ui.pos._trigger(position, data, 'posCollided', 'flipLeft');
1355
+ },
1356
+ top: function(position, data) {
1357
+ $.ui.pos._trigger(position, data, 'posCollide', 'flipTop');
1358
+ var within = data.within,
1359
+ withinOffset = within.offset.top + within.scrollTop,
1360
+ outerHeight = within.height,
1361
+ offsetTop = within.isWindow ? within.scrollTop : within.offset.top,
1362
+ collisionPosTop = position.top - data.collisionPosition.marginTop,
1363
+ overTop = collisionPosTop - offsetTop,
1364
+ overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop,
1365
+ top = data.my[1] === "top",
1366
+ myOffset = top ?
1367
+ -data.elemHeight :
1368
+ data.my[1] === "bottom" ?
1369
+ data.elemHeight :
1370
+ 0,
1371
+ atOffset = data.at[1] === "top" ?
1372
+ data.targetHeight :
1373
+ data.at[1] === "bottom" ?
1374
+ -data.targetHeight :
1375
+ 0,
1376
+ offset = -2 * data.offset[1],
1377
+ newOverTop,
1378
+ newOverBottom;
1379
+ if (overTop < 0) {
1380
+ newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset;
1381
+ if ((position.top + myOffset + atOffset + offset) > overTop && (newOverBottom < 0 || newOverBottom < abs(overTop))) {
1382
+ position.top += myOffset + atOffset + offset;
1383
+ }
1384
+ } else if (overBottom > 0) {
1385
+ newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop;
1386
+ if ((position.top + myOffset + atOffset + offset) > overBottom && (newOverTop > 0 || abs(newOverTop) < overBottom)) {
1387
+ position.top += myOffset + atOffset + offset;
1388
+ }
1389
+ }
1390
+ $.ui.pos._trigger(position, data, 'posCollided', 'flipTop');
1391
+ }
1392
+ },
1393
+ flipfit: {
1394
+ left: function() {
1395
+ $.ui.pos.flip.left.apply(this, arguments);
1396
+ $.ui.pos.fit.left.apply(this, arguments);
1397
+ },
1398
+ top: function() {
1399
+ $.ui.pos.flip.top.apply(this, arguments);
1400
+ $.ui.pos.fit.top.apply(this, arguments);
1401
+ }
1402
+ }
1403
+ };
1404
+
1405
+ // fraction support test
1406
+ (function() {
1407
+ var testElement, testElementParent, testElementStyle, offsetLeft, i,
1408
+ body = document.getElementsByTagName("body")[0],
1409
+ div = document.createElement("div");
1410
+
1411
+ //Create a "fake body" for testing based on method used in jQuery.support
1412
+ testElement = document.createElement(body ? "div" : "body");
1413
+ testElementStyle = {
1414
+ visibility: "hidden",
1415
+ width: 0,
1416
+ height: 0,
1417
+ border: 0,
1418
+ margin: 0,
1419
+ background: "none"
1420
+ };
1421
+ if (body) {
1422
+ $.extend(testElementStyle, {
1423
+ position: "absolute",
1424
+ left: "-1000px",
1425
+ top: "-1000px"
1426
+ });
1427
+ }
1428
+ for (i in testElementStyle) {
1429
+ testElement.style[i] = testElementStyle[i];
1430
+ }
1431
+ testElement.appendChild(div);
1432
+ testElementParent = body || document.documentElement;
1433
+ testElementParent.insertBefore(testElement, testElementParent.firstChild);
1434
+
1435
+ div.style.cssText = "position: absolute; left: 10.7432222px;";
1436
+
1437
+ offsetLeft = $(div).offset().left;
1438
+ $.support.offsetFractions = offsetLeft > 10 && offsetLeft < 11;
1439
+
1440
+ testElement.innerHTML = "";
1441
+ testElementParent.removeChild(testElement);
1442
+ })();
1443
+
1444
+ }(jQuery));
1445
+
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/jquery-iconpicker.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):window.jQuery&&!window.jQuery.fn.iconpicker&&t(window.jQuery)}(function(t){"use strict";var e={isEmpty:function(t){return t===!1||""===t||null===t||void 0===t},isEmptyObject:function(t){return this.isEmpty(t)===!0||0===t.length},isElement:function(e){return t(e).length>0},isString:function(t){return"string"==typeof t||t instanceof String},isArray:function(e){return t.isArray(e)},inArray:function(e,a){return-1!==t.inArray(e,a)},throwError:function(t){throw"Font Awesome Icon Picker Exception: "+t}},a=function(i,o){this._id=a._idCounter++,this.element=t(i).addClass("iconpicker-element"),this._trigger("iconpickerCreate"),this.options=t.extend({},a.defaultOptions,this.element.data(),o),this.options.templates=t.extend({},a.defaultOptions.templates,this.options.templates),this.options.originalPlacement=this.options.placement,this.container=e.isElement(this.options.container)?t(this.options.container):!1,this.container===!1&&(this.container=this.element.is(".dropdown-toggle")?t("~ .dropdown-menu:first",this.element):this.element.is("input,textarea,button,.btn")?this.element.parent():this.element),this.container.addClass("iconpicker-container"),this.isDropdownMenu()&&(this.options.templates.search=!1,this.options.templates.buttons=!1,this.options.placement="inline"),this.input=this.element.is("input,textarea")?this.element.addClass("iconpicker-input"):!1,this.input===!1&&(this.input=this.container.find(this.options.input),this.input.is("input,textarea")||(this.input=!1)),this.component=this.isDropdownMenu()?this.container.parent().find(this.options.component):this.container.find(this.options.component),0===this.component.length?this.component=!1:this.component.find("i").addClass("iconpicker-component"),this._createPopover(),this._createIconpicker(),0===this.getAcceptButton().length&&(this.options.mustAccept=!1),this.isInputGroup()?this.container.parent().append(this.popover):this.container.append(this.popover),this._bindElementEvents(),this._bindWindowEvents(),this.update(this.options.selected),this.isInline()&&this.show(),this._trigger("iconpickerCreated")};a._idCounter=0,a.defaultOptions={title:!1,selected:!1,defaultValue:!1,placement:"bottom",collision:"none",animation:!0,hideOnSelect:!1,showFooter:!1,searchInFooter:!1,mustAccept:!1,selectedCustomClass:"bg-primary",icons:[],iconBaseClass:"fa",iconClassPrefix:"fa-",fullClassFormatter:function(t){return"fa "+t},input:"input,.iconpicker-input",inputSearch:!1,container:!1,component:".input-group-addon,.iconpicker-component",templates:{popover:'<div class="iconpicker-popover popover"><div class="arrow"></div><div class="popover-title"></div><div class="popover-content"></div></div>',footer:'<div class="popover-footer"></div>',buttons:'<button class="iconpicker-btn iconpicker-btn-cancel btn btn-default btn-sm">Cancel</button> <button class="iconpicker-btn iconpicker-btn-accept btn btn-primary btn-sm">Accept</button>',search:'<input type="search" class="form-control iconpicker-search" placeholder="Type to filter" />',iconpicker:'<div class="iconpicker"><div class="iconpicker-items"></div></div>',iconpickerItem:'<a role="button" href="#" class="iconpicker-item"><i></i></a>'}},a.batch=function(e,a){var i=Array.prototype.slice.call(arguments,2);return t(e).each(function(){var e=t(this).data("iconpicker");e&&e[a].apply(e,i)})},a.prototype={constructor:a,options:{},_id:0,_trigger:function(e,a){a=a||{},this.element.trigger(t.extend({type:e,iconpickerInstance:this},a))},_createPopover:function(){this.popover=t(this.options.templates.popover);var a=this.popover.find(".popover-title");if(this.options.title&&a.append(t('<div class="popover-title-text">'+this.options.title+"</div>")),this.hasSeparatedSearchInput()&&!this.options.searchInFooter?a.append(this.options.templates.search):this.options.title||a.remove(),this.options.showFooter&&!e.isEmpty(this.options.templates.footer)){var i=t(this.options.templates.footer);this.hasSeparatedSearchInput()&&this.options.searchInFooter&&i.append(t(this.options.templates.search)),e.isEmpty(this.options.templates.buttons)||i.append(t(this.options.templates.buttons)),this.popover.append(i)}return this.options.animation===!0&&this.popover.addClass("fade"),this.popover},_createIconpicker:function(){var e=this;this.iconpicker=t(this.options.templates.iconpicker);var a=function(a){var i=t(this);return i.is("i")&&(i=i.parent()),e._trigger("iconpickerSelect",{iconpickerItem:i,iconpickerValue:e.iconpickerValue}),e.options.mustAccept===!1?(e.update(i.data("iconpickerValue")),e._trigger("iconpickerSelected",{iconpickerItem:this,iconpickerValue:e.iconpickerValue})):e.update(i.data("iconpickerValue"),!0),e.options.hideOnSelect&&e.options.mustAccept===!1&&e.hide(),a.preventDefault(),!1};for(var i in this.options.icons){var o=t(this.options.templates.iconpickerItem);o.find("i").addClass(this.options.iconBaseClass+" "+this.options.iconClassPrefix+this.options.icons[i]),o.data("iconpickerValue",this.options.icons[i]).on("click.iconpicker",a),this.iconpicker.find(".iconpicker-items").append(o.attr("title","."+this.options.iconClassPrefix+this.options.icons[i]))}return this.popover.find(".popover-content").append(this.iconpicker),this.component.append('<i class="'+this.options.iconBaseClass+" "+this.input.val()+'"></i>'),this.iconpicker},_isEventInsideIconpicker:function(e){var a=t(e.target);return a.hasClass("iconpicker-element")&&(!a.hasClass("iconpicker-element")||a.is(this.element))||0!==a.parents(".iconpicker-popover").length?!0:!1},_bindElementEvents:function(){var a=this;this.getSearchInput().on("keyup.iconpicker",function(){a.filter(t(this).val().toLowerCase())}),this.getAcceptButton().on("click.iconpicker",function(){var t=a.iconpicker.find(".iconpicker-selected").get(0);a.update(a.iconpickerValue),a._trigger("iconpickerSelected",{iconpickerItem:t,iconpickerValue:a.iconpickerValue}),a.isInline()||a.hide()}),this.getCancelButton().on("click.iconpicker",function(){a.isInline()||a.hide()}),this.element.on("focus.iconpicker",function(t){a.show(),t.stopPropagation()}),this.hasComponent()&&this.component.on("click.iconpicker",function(){a.toggle()}),this.hasInput()&&this.input.on("keyup.iconpicker",function(i){e.inArray(i.keyCode,[38,40,37,39,16,17,18,9,8,91,93,20,46,186,190,46,78,188,44,86])?a._updateFormGroupStatus(a.getValid(this.value)!==!1):a.update(),a.options.inputSearch===!0&&a.filter(t(this).val().toLowerCase())})},_bindWindowEvents:function(){var e=t(window.document),a=this,i=".iconpicker.inst"+this._id;return t(window).on("resize.iconpicker"+i+" orientationchange.iconpicker"+i,function(){a.popover.hasClass("in")&&a.updatePlacement()}),a.isInline()||e.on("mouseup"+i,function(t){a._isEventInsideIconpicker(t)||a.isInline()||a.hide()}),!1},_unbindElementEvents:function(){this.popover.off(".iconpicker"),this.element.off(".iconpicker"),this.hasInput()&&this.input.off(".iconpicker"),this.hasComponent()&&this.component.off(".iconpicker"),this.hasContainer()&&this.container.off(".iconpicker")},_unbindWindowEvents:function(){t(window).off(".iconpicker.inst"+this._id),t(window.document).off(".iconpicker.inst"+this._id)},updatePlacement:function(e,a){e=e||this.options.placement,this.options.placement=e,a=a||this.options.collision,a=a===!0?"flip":a;var i={at:"right bottom",my:"right top",of:this.hasInput()&&!this.isInputGroup()?this.input:this.container,collision:a===!0?"flip":a,within:window};if(this.popover.removeClass("inline topLeftCorner topLeft top topRight topRightCorner rightTop right rightBottom bottomRight bottomRightCorner bottom bottomLeft bottomLeftCorner leftBottom left leftTop"),"object"==typeof e)return this.popover.pos(t.extend({},i,e));switch(e){case"inline":i=!1;break;case"topLeftCorner":i.my="right bottom",i.at="left top";break;case"topLeft":i.my="left bottom",i.at="left top";break;case"top":i.my="center bottom",i.at="center top";break;case"topRight":i.my="right bottom",i.at="right top";break;case"topRightCorner":i.my="left bottom",i.at="right top";break;case"rightTop":i.my="left bottom",i.at="right center";break;case"right":i.my="left center",i.at="right center";break;case"rightBottom":i.my="left top",i.at="right center";break;case"bottomRightCorner":i.my="left top",i.at="right bottom";break;case"bottomRight":i.my="right top",i.at="right bottom";break;case"bottom":i.my="center top",i.at="center bottom";break;case"bottomLeft":i.my="left top",i.at="left bottom";break;case"bottomLeftCorner":i.my="right top",i.at="left bottom";break;case"leftBottom":i.my="right top",i.at="left center";break;case"left":i.my="right center",i.at="left center";break;case"leftTop":i.my="right bottom",i.at="left center";break;default:return!1}return this.popover.css({display:"inline"===this.options.placement?"":"block"}),i!==!1?this.popover.pos(i).css("maxWidth",t(window).width()-this.container.offset().left-5):this.popover.css({top:"auto",right:"auto",bottom:"auto",left:"auto",maxWidth:"none"}),this.popover.addClass(this.options.placement),!0},_updateComponents:function(){if(this.iconpicker.find(".iconpicker-item.iconpicker-selected").removeClass("iconpicker-selected "+this.options.selectedCustomClass),this.iconpickerValue&&this.iconpicker.find("."+this.options.fullClassFormatter(this.iconpickerValue).replace(/ /g,".")).parent().addClass("iconpicker-selected "+this.options.selectedCustomClass),this.hasComponent()){var t=this.component.find("i");t.length>0?t.attr("class",this.options.fullClassFormatter(this.iconpickerValue)):this.component.html(this.getHtml())}},_updateFormGroupStatus:function(t){return this.hasInput()?(t!==!1?this.input.parents(".form-group:first").removeClass("has-error"):this.input.parents(".form-group:first").addClass("has-error"),!0):!1},getValid:function(a){e.isString(a)||(a="");var i=""===a;return a=t.trim(a),e.inArray(a,this.options.icons)||i?a:!1},setValue:function(t){var e=this.getValid(t);return e!==!1?(this.iconpickerValue=e,this._trigger("iconpickerSetValue",{iconpickerValue:e}),this.iconpickerValue):(this._trigger("iconpickerInvalid",{iconpickerValue:t}),!1)},getHtml:function(){return'<i class="'+this.options.fullClassFormatter(this.iconpickerValue)+'"></i>'},setSourceValue:function(t){return t=this.setValue(t),t!==!1&&""!==t&&(this.hasInput()?this.input.val(this.options.iconClassPrefix+this.iconpickerValue):this.element.data("iconpickerValue",this.iconpickerValue),this._trigger("iconpickerSetSourceValue",{iconpickerValue:t})),t},getSourceValue:function(t){t=t||this.options.defaultValue;var e=t;return e=this.hasInput()?this.input.val():this.element.data("iconpickerValue"),(void 0===e||""===e||null===e||e===!1)&&(e=t),e},hasInput:function(){return this.input!==!1},isInputSearch:function(){return this.hasInput()&&this.options.inputSearch===!0},isInputGroup:function(){return this.container.is(".input-group")},isDropdownMenu:function(){return this.container.is(".dropdown-menu")},hasSeparatedSearchInput:function(){return this.options.templates.search!==!1&&!this.isInputSearch()},hasComponent:function(){return this.component!==!1},hasContainer:function(){return this.container!==!1},getAcceptButton:function(){return this.popover.find(".iconpicker-btn-accept")},getCancelButton:function(){return this.popover.find(".iconpicker-btn-cancel")},getSearchInput:function(){return this.popover.find(".iconpicker-search")},filter:function(a){if(e.isEmpty(a))return this.iconpicker.find(".iconpicker-item").show(),t(!1);var i=[];return this.iconpicker.find(".iconpicker-item").each(function(){var e=t(this),o=e.attr("title").toLowerCase(),n=!1;try{n=new RegExp(a,"g")}catch(r){n=!1}n!==!1&&o.match(n)?(i.push(e),e.show()):e.hide()}),i},show:function(){return this.popover.hasClass("in")?!1:(t.iconpicker.batch(t(".iconpicker-popover.in:not(.inline)").not(this.popover),"hide"),this._trigger("iconpickerShow"),this.updatePlacement(),this.popover.addClass("in"),void setTimeout(t.proxy(function(){this.popover.css("display",this.isInline()?"":"block"),this._trigger("iconpickerShown")},this),this.options.animation?300:1))},hide:function(){return this.popover.hasClass("in")?(this._trigger("iconpickerHide"),this.popover.removeClass("in"),void setTimeout(t.proxy(function(){this.popover.css("display","none"),this.getSearchInput().val(""),this.filter(""),this._trigger("iconpickerHidden")},this),this.options.animation?300:1)):!1},toggle:function(){this.popover.is(":visible")?this.hide():this.show(!0)},update:function(t,e){return t=t?t:this.getSourceValue(this.iconpickerValue),this._trigger("iconpickerUpdate"),e===!0?t=this.setValue(t):(t=this.setSourceValue(t),this._updateFormGroupStatus(t!==!1)),t!==!1&&this._updateComponents(),this._trigger("iconpickerUpdated"),t},destroy:function(){this._trigger("iconpickerDestroy"),this.element.removeData("iconpicker").removeData("iconpickerValue").removeClass("iconpicker-element"),this._unbindElementEvents(),this._unbindWindowEvents(),t(this.popover).remove(),this._trigger("iconpickerDestroyed")},disable:function(){return this.hasInput()?(this.input.prop("disabled",!0),!0):!1},enable:function(){return this.hasInput()?(this.input.prop("disabled",!1),!0):!1},isDisabled:function(){return this.hasInput()?this.input.prop("disabled")===!0:!1},isInline:function(){return"inline"===this.options.placement||this.popover.hasClass("inline")}},t.iconpicker=a,t.fn.iconpicker=function(e){return this.each(function(){var i=t(this);i.data("iconpicker")||i.data("iconpicker",new a(this,"object"==typeof e?e:{}))})},a.defaultOptions.icons=["fa-500px","fa-adjust","fa-adn","fa-align-center","fa-align-justify","fa-align-left","fa-align-right","fa-amazon","fa-ambulance","fa-anchor","fa-android","fa-angellist","fa-angle-double-down","fa-angle-double-left","fa-angle-double-right","fa-angle-double-up","fa-angle-down","fa-angle-left","fa-angle-right","fa-angle-up","fa-apple","fa-archive","fa-area-chart","fa-arrow-circle-down","fa-arrow-circle-left","fa-arrow-circle-o-down","fa-arrow-circle-o-left","fa-arrow-circle-o-right","fa-arrow-circle-o-up","fa-arrow-circle-right","fa-arrow-circle-up","fa-arrow-down","fa-arrow-left","fa-arrow-right","fa-arrow-up","fa-arrows","fa-arrows-alt","fa-arrows-h","fa-arrows-v","fa-asterisk","fa-at","fa-automobile","fa-backward","fa-balance-scale","fa-ban","fa-bank","fa-bar-chart","fa-bar-chart-o","fa-barcode","fa-bars","fa-battery-0","fa-battery-1","fa-battery-2","fa-battery-3","fa-battery-4","fa-battery-empty","fa-battery-full","fa-battery-half","fa-battery-quarter","fa-battery-three-quarters","fa-bed","fa-beer","fa-behance","fa-behance-square","fa-bell","fa-bell-o","fa-bell-slash","fa-bell-slash-o","fa-bicycle","fa-binoculars","fa-birthday-cake","fa-bitbucket","fa-bitbucket-square","fa-bitcoin","fa-black-tie","fa-bold","fa-bolt","fa-bomb","fa-book","fa-bookmark","fa-bookmark-o","fa-briefcase","fa-btc","fa-bug","fa-building","fa-building-o","fa-bullhorn","fa-bullseye","fa-bus","fa-buysellads","fa-cab","fa-calculator","fa-calendar","fa-calendar-check-o","fa-calendar-minus-o","fa-calendar-o","fa-calendar-plus-o","fa-calendar-times-o","fa-camera","fa-camera-retro","fa-car","fa-caret-down","fa-caret-left","fa-caret-right","fa-caret-square-o-down","fa-caret-square-o-left","fa-caret-square-o-right","fa-caret-square-o-up","fa-caret-up","fa-cart-arrow-down","fa-cart-plus","fa-cc","fa-cc-amex","fa-cc-diners-club","fa-cc-discover","fa-cc-jcb","fa-cc-mastercard","fa-cc-paypal","fa-cc-stripe","fa-cc-visa","fa-certificate","fa-chain","fa-chain-broken","fa-check","fa-check-circle","fa-check-circle-o","fa-check-square","fa-check-square-o","fa-chevron-circle-down","fa-chevron-circle-left","fa-chevron-circle-right","fa-chevron-circle-up","fa-chevron-down","fa-chevron-left","fa-chevron-right","fa-chevron-up","fa-child","fa-chrome","fa-circle","fa-circle-o","fa-circle-o-notch","fa-circle-thin","fa-clipboard","fa-clock-o","fa-clone","fa-close","fa-cloud","fa-cloud-download","fa-cloud-upload","fa-cny","fa-code","fa-code-fork","fa-codepen","fa-coffee","fa-cog","fa-cogs","fa-columns","fa-comment","fa-comment-o","fa-commenting","fa-commenting-o","fa-comments","fa-comments-o","fa-compass","fa-compress","fa-connectdevelop","fa-contao","fa-copy","fa-copyright","fa-creative-commons","fa-credit-card","fa-crop","fa-crosshairs","fa-css3","fa-cube","fa-cubes","fa-cut","fa-cutlery","fa-dashboard","fa-dashcube","fa-database","fa-dedent","fa-delicious","fa-desktop","fa-deviantart","fa-diamond","fa-digg","fa-dollar","fa-dot-circle-o","fa-download","fa-dribbble","fa-dropbox","fa-drupal","fa-edit","fa-eject","fa-ellipsis-h","fa-ellipsis-v","fa-empire","fa-envelope","fa-envelope-o","fa-envelope-square","fa-eraser","fa-eur","fa-euro","fa-exchange","fa-exclamation","fa-exclamation-circle","fa-exclamation-triangle","fa-expand","fa-expeditedssl","fa-external-link","fa-external-link-square","fa-eye","fa-eye-slash","fa-eyedropper","fa-facebook","fa-facebook-f","fa-facebook-official","fa-facebook-square","fa-fast-backward","fa-fast-forward","fa-fax","fa-feed","fa-female","fa-fighter-jet","fa-file","fa-file-archive-o","fa-file-audio-o","fa-file-code-o","fa-file-excel-o","fa-file-image-o","fa-file-movie-o","fa-file-o","fa-file-pdf-o","fa-file-photo-o","fa-file-picture-o","fa-file-powerpoint-o","fa-file-sound-o","fa-file-text","fa-file-text-o","fa-file-video-o","fa-file-word-o","fa-file-zip-o","fa-files-o","fa-film","fa-filter","fa-fire","fa-fire-extinguisher","fa-firefox","fa-flag","fa-flag-checkered","fa-flag-o","fa-flash","fa-flask","fa-flickr","fa-floppy-o","fa-folder","fa-folder-o","fa-folder-open","fa-folder-open-o","fa-font","fa-fonticons","fa-forumbee","fa-forward","fa-foursquare","fa-frown-o","fa-futbol-o","fa-gamepad","fa-gavel","fa-gbp","fa-ge","fa-gear","fa-gears","fa-genderless","fa-get-pocket","fa-gg","fa-gg-circle","fa-gift","fa-git","fa-git-square","fa-github","fa-github-alt","fa-github-square","fa-gittip","fa-glass","fa-globe","fa-google","fa-google-plus","fa-google-plus-square","fa-google-wallet","fa-graduation-cap","fa-gratipay","fa-group","fa-h-square","fa-hacker-news","fa-hand-grab-o","fa-hand-lizard-o","fa-hand-o-down","fa-hand-o-left","fa-hand-o-right","fa-hand-o-up","fa-hand-paper-o","fa-hand-peace-o","fa-hand-pointer-o","fa-hand-scissors-o","fa-hand-spock-o","fa-hand-stop-o","fa-hdd-o","fa-header","fa-headphones","fa-heart","fa-heart-o","fa-heartbeat","fa-history","fa-home","fa-hospital-o","fa-hotel","fa-hourglass","fa-hourglass-1","fa-hourglass-2","fa-hourglass-3","fa-hourglass-end","fa-hourglass-half","fa-hourglass-o","fa-hourglass-start","fa-houzz","fa-html5","fa-i-cursor","fa-ils","fa-image","fa-inbox","fa-indent","fa-industry","fa-info","fa-info-circle","fa-inr","fa-instagram","fa-institution","fa-internet-explorer","fa-intersex","fa-ioxhost","fa-italic","fa-joomla","fa-jpy","fa-jsfiddle","fa-key","fa-keyboard-o","fa-krw","fa-language","fa-laptop","fa-lastfm","fa-lastfm-square","fa-leaf","fa-leanpub","fa-legal","fa-lemon-o","fa-level-down","fa-level-up","fa-life-bouy","fa-life-buoy","fa-life-ring","fa-life-saver","fa-lightbulb-o","fa-line-chart","fa-link","fa-linkedin","fa-linkedin-square","fa-linux","fa-list","fa-list-alt","fa-list-ol","fa-list-ul","fa-location-arrow","fa-lock","fa-long-arrow-down","fa-long-arrow-left","fa-long-arrow-right","fa-long-arrow-up","fa-magic","fa-magnet","fa-mail-forward","fa-mail-reply","fa-mail-reply-all","fa-male","fa-map","fa-map-marker","fa-map-o","fa-map-pin","fa-map-signs","fa-mars-double","fa-mars-stroke","fa-mars-stroke-h","fa-mars-stroke-v","fa-maxcdn","fa-meanpath","fa-medium","fa-medkit","fa-mercury","fa-microphone","fa-microphone-slash","fa-minus","fa-minus-circle","fa-minus-square","fa-minus-square-o","fa-mobile","fa-mobile-phone","fa-money","fa-moon-o","fa-mortar-board","fa-motorcycle","fa-mouse-pointer","fa-music","fa-navicon","fa-neuter","fa-newspaper-o","fa-object-group","fa-object-ungroup","fa-odnoklassniki","fa-odnoklassniki-square","fa-opencart","fa-openid","fa-opera","fa-optin-monster","fa-outdent","fa-pagelines","fa-paint-brush","fa-paper-plane","fa-paper-plane-o","fa-paperclip","fa-paragraph","fa-paste","fa-pause","fa-paw","fa-paypal","fa-pencil","fa-pencil-square","fa-pencil-square-o","fa-phone","fa-phone-square","fa-photo","fa-picture-o","fa-pie-chart","fa-pied-piper","fa-pied-piper-alt","fa-pinterest","fa-pinterest-p","fa-pinterest-square","fa-plane","fa-play","fa-play-circle","fa-play-circle-o","fa-plug","fa-plus","fa-plus-circle","fa-plus-square","fa-plus-square-o","fa-power-off","fa-print","fa-puzzle-piece","fa-qq","fa-qrcode","fa-question","fa-question-circle","fa-quote-left","fa-quote-right","fa-ra","fa-random","fa-rebel","fa-recycle","fa-reddit","fa-reddit-square","fa-refresh","fa-registered","fa-remove","fa-renren","fa-reorder","fa-repeat","fa-reply","fa-reply-all","fa-retweet","fa-rmb","fa-road","fa-rocket","fa-rotate-left","fa-rotate-right","fa-rouble","fa-rss","fa-rss-square","fa-rub","fa-ruble","fa-rupee","fa-safari","fa-save","fa-scissors","fa-search","fa-search-minus","fa-search-plus","fa-sellsy","fa-send","fa-send-o","fa-server","fa-share","fa-share-alt","fa-share-alt-square","fa-share-square","fa-share-square-o","fa-shekel","fa-sheqel","fa-shield","fa-ship","fa-shirtsinbulk","fa-shopping-cart","fa-sign-in","fa-sign-out","fa-signal","fa-simplybuilt","fa-sitemap","fa-skyatlas","fa-skype","fa-slack","fa-sliders","fa-slideshare","fa-smile-o","fa-soccer-ball-o","fa-sort","fa-sort-alpha-asc","fa-sort-alpha-desc","fa-sort-amount-asc","fa-sort-amount-desc","fa-sort-asc","fa-sort-desc","fa-sort-down","fa-sort-numeric-asc","fa-sort-numeric-desc","fa-sort-up","fa-soundcloud","fa-space-shuttle","fa-spinner","fa-spoon","fa-spotify","fa-square","fa-square-o","fa-stack-exchange","fa-stack-overflow","fa-steam","fa-steam-square","fa-star","fa-star-half","fa-star-half-empty","fa-star-half-full","fa-star-half-o","fa-star-o","fa-step-backward","fa-step-forward","fa-stethoscope","fa-sticky-note","fa-sticky-note-o","fa-stop","fa-street-view","fa-strikethrough","fa-stumbleupon","fa-stumbleupon-circle","fa-subscript","fa-subway","fa-suitcase","fa-sun-o","fa-superscript","fa-support","fa-table","fa-tablet","fa-tachometer","fa-tag","fa-tags","fa-tasks","fa-taxi","fa-television","fa-tencent-weibo","fa-terminal","fa-text-height","fa-text-width","fa-th","fa-th-large","fa-th-list","fa-thumb-tack","fa-thumbs-down","fa-thumbs-o-down","fa-thumbs-o-up","fa-thumbs-up","fa-ticket","fa-times","fa-times-circle","fa-times-circle-o","fa-tint","fa-toggle-down","fa-toggle-left","fa-toggle-off","fa-toggle-on","fa-toggle-right","fa-toggle-up","fa-trademark","fa-train","fa-transgender","fa-transgender-alt","fa-trash","fa-trash-o","fa-tree","fa-trello","fa-tripadvisor","fa-trophy","fa-truck","fa-try","fa-tty","fa-tumblr","fa-tumblr-square","fa-turkish-lira","fa-tv","fa-twitch","fa-twitter","fa-twitter-square","fa-umbrella","fa-underline","fa-university","fa-unlink","fa-unlock","fa-unlock-alt","fa-unsorted","fa-upload","fa-usd","fa-user","fa-user-md","fa-user-plus","fa-user-secret","fa-user-times","fa-users","fa-venus","fa-venus-double","fa-venus-mars","fa-viacoin","fa-video-camera","fa-vimeo","fa-vimeo-square","fa-vine","fa-vk","fa-volume-down","fa-volume-off","fa-volume-up","fa-warning","fa-wechat","fa-weibo","fa-weixin","fa-whatsapp","fa-wheelchair","fa-wifi","fa-wikipedia-w","fa-windows","fa-won","fa-wordpress","fa-wrench","fa-xing","fa-xing-square","fa-y-combinator","fa-y-combinator-square","fa-yahoo","fa-yc","fa-yc-square","fa-yelp","fa-yen","fa-youtube","fa-youtube-play","fa-youtube-square"]}),function(t,e){function a(t,e,a){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?a/100:1)]}function i(e,a){return parseInt(t.css(e,a),10)||0}function o(e){var a=e[0];return 9===a.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(a)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:a.preventDefault?{width:0,height:0,offset:{top:a.pageY,left:a.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var n,r=Math.max,s=Math.abs,f=Math.round,c=/left|center|right/,l=/top|center|bottom/,p=/[\+\-]\d+(\.[\d]+)?%?/,h=/^\w+/,u=/%$/,d=t.fn.pos;t.pos={scrollbarWidth:function(){if(n!==e)return n;var a,i,o=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=o.children()[0];return t("body").append(o),a=r.offsetWidth,o.css("overflow","scroll"),i=r.offsetWidth,a===i&&(i=o[0].clientWidth),o.remove(),n=a-i},getScrollInfo:function(e){var a=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),o="scroll"===a||"auto"===a&&e.width<e.element[0].scrollWidth,n="scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight;return{width:n?t.pos.scrollbarWidth():0,height:o?t.pos.scrollbarWidth():0}},getWithinInfo:function(e){var a=t(e||window),i=t.isWindow(a[0]),o=!!a[0]&&9===a[0].nodeType;return{element:a,isWindow:i,isDocument:o,offset:a.offset()||{left:0,top:0},scrollLeft:a.scrollLeft(),scrollTop:a.scrollTop(),width:i?a.width():a.outerWidth(),height:i?a.height():a.outerHeight()}}},t.fn.pos=function(e){if(!e||!e.of)return d.apply(this,arguments);e=t.extend({},e);var n,u,m,g,b,k,v=t(e.of),w=t.pos.getWithinInfo(e.within),y=t.pos.getScrollInfo(w),C=(e.collision||"flip").split(" "),x={};return k=o(v),v[0].preventDefault&&(e.at="left top"),u=k.width,m=k.height,g=k.offset,b=t.extend({},g),t.each(["my","at"],function(){var t,a,i=(e[this]||"").split(" ");1===i.length&&(i=c.test(i[0])?i.concat(["center"]):l.test(i[0])?["center"].concat(i):["center","center"]),i[0]=c.test(i[0])?i[0]:"center",i[1]=l.test(i[1])?i[1]:"center",t=p.exec(i[0]),a=p.exec(i[1]),x[this]=[t?t[0]:0,a?a[0]:0],e[this]=[h.exec(i[0])[0],h.exec(i[1])[0]]}),1===C.length&&(C[1]=C[0]),"right"===e.at[0]?b.left+=u:"center"===e.at[0]&&(b.left+=u/2),"bottom"===e.at[1]?b.top+=m:"center"===e.at[1]&&(b.top+=m/2),n=a(x.at,u,m),b.left+=n[0],b.top+=n[1],this.each(function(){var o,c,l=t(this),p=l.outerWidth(),h=l.outerHeight(),d=i(this,"marginLeft"),k=i(this,"marginTop"),q=p+d+i(this,"marginRight")+y.width,_=h+k+i(this,"marginBottom")+y.height,I=t.extend({},b),W=a(x.my,l.outerWidth(),l.outerHeight());"right"===e.my[0]?I.left-=p:"center"===e.my[0]&&(I.left-=p/2),"bottom"===e.my[1]?I.top-=h:"center"===e.my[1]&&(I.top-=h/2),I.left+=W[0],I.top+=W[1],t.support.offsetFractions||(I.left=f(I.left),I.top=f(I.top)),o={marginLeft:d,marginTop:k},t.each(["left","top"],function(a,i){t.ui.pos[C[a]]&&t.ui.pos[C[a]][i](I,{targetWidth:u,targetHeight:m,elemWidth:p,elemHeight:h,collisionPosition:o,collisionWidth:q,collisionHeight:_,offset:[n[0]+W[0],n[1]+W[1]],my:e.my,at:e.at,within:w,elem:l})}),e.using&&(c=function(t){var a=g.left-I.left,i=a+u-p,o=g.top-I.top,n=o+m-h,f={target:{element:v,left:g.left,top:g.top,width:u,height:m},element:{element:l,left:I.left,top:I.top,width:p,height:h},horizontal:0>i?"left":a>0?"right":"center",vertical:0>n?"top":o>0?"bottom":"middle"};p>u&&s(a+i)<u&&(f.horizontal="center"),h>m&&s(o+n)<m&&(f.vertical="middle"),f.important=r(s(a),s(i))>r(s(o),s(n))?"horizontal":"vertical",e.using.call(this,t,f)}),l.offset(t.extend(I,{using:c}))})},t.ui.pos={_trigger:function(t,e,a,i){e.elem&&e.elem.trigger({type:a,position:t,positionData:e,triggered:i})},fit:{left:function(e,a){t.ui.pos._trigger(e,a,"posCollide","fitLeft");var i,o=a.within,n=o.isWindow?o.scrollLeft:o.offset.left,s=o.width,f=e.left-a.collisionPosition.marginLeft,c=n-f,l=f+a.collisionWidth-s-n;a.collisionWidth>s?c>0&&0>=l?(i=e.left+c+a.collisionWidth-s-n,e.left+=c-i):e.left=l>0&&0>=c?n:c>l?n+s-a.collisionWidth:n:c>0?e.left+=c:l>0?e.left-=l:e.left=r(e.left-f,e.left),t.ui.pos._trigger(e,a,"posCollided","fitLeft")},top:function(e,a){t.ui.pos._trigger(e,a,"posCollide","fitTop");var i,o=a.within,n=o.isWindow?o.scrollTop:o.offset.top,s=a.within.height,f=e.top-a.collisionPosition.marginTop,c=n-f,l=f+a.collisionHeight-s-n;a.collisionHeight>s?c>0&&0>=l?(i=e.top+c+a.collisionHeight-s-n,e.top+=c-i):e.top=l>0&&0>=c?n:c>l?n+s-a.collisionHeight:n:c>0?e.top+=c:l>0?e.top-=l:e.top=r(e.top-f,e.top),t.ui.pos._trigger(e,a,"posCollided","fitTop")}},flip:{left:function(e,a){t.ui.pos._trigger(e,a,"posCollide","flipLeft");var i,o,n=a.within,r=n.offset.left+n.scrollLeft,f=n.width,c=n.isWindow?n.scrollLeft:n.offset.left,l=e.left-a.collisionPosition.marginLeft,p=l-c,h=l+a.collisionWidth-f-c,u="left"===a.my[0]?-a.elemWidth:"right"===a.my[0]?a.elemWidth:0,d="left"===a.at[0]?a.targetWidth:"right"===a.at[0]?-a.targetWidth:0,m=-2*a.offset[0];0>p?(i=e.left+u+d+m+a.collisionWidth-f-r,(0>i||i<s(p))&&(e.left+=u+d+m)):h>0&&(o=e.left-a.collisionPosition.marginLeft+u+d+m-c,(o>0||s(o)<h)&&(e.left+=u+d+m)),t.ui.pos._trigger(e,a,"posCollided","flipLeft")},top:function(e,a){t.ui.pos._trigger(e,a,"posCollide","flipTop");var i,o,n=a.within,r=n.offset.top+n.scrollTop,f=n.height,c=n.isWindow?n.scrollTop:n.offset.top,l=e.top-a.collisionPosition.marginTop,p=l-c,h=l+a.collisionHeight-f-c,u="top"===a.my[1],d=u?-a.elemHeight:"bottom"===a.my[1]?a.elemHeight:0,m="top"===a.at[1]?a.targetHeight:"bottom"===a.at[1]?-a.targetHeight:0,g=-2*a.offset[1];0>p?(o=e.top+d+m+g+a.collisionHeight-f-r,e.top+d+m+g>p&&(0>o||o<s(p))&&(e.top+=d+m+g)):h>0&&(i=e.top-a.collisionPosition.marginTop+d+m+g-c,e.top+d+m+g>h&&(i>0||s(i)<h)&&(e.top+=d+m+g)),t.ui.pos._trigger(e,a,"posCollided","flipTop")}},flipfit:{left:function(){t.ui.pos.flip.left.apply(this,arguments),t.ui.pos.fit.left.apply(this,arguments)},top:function(){t.ui.pos.flip.top.apply(this,arguments),t.ui.pos.fit.top.apply(this,arguments)}}},function(){var e,a,i,o,n,r=document.getElementsByTagName("body")[0],s=document.createElement("div");e=document.createElement(r?"div":"body"),i={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},r&&t.extend(i,{position:"absolute",left:"-1000px",top:"-1000px"});for(n in i)e.style[n]=i[n];e.appendChild(s),a=r||document.documentElement,a.insertBefore(e,a.firstChild),s.style.cssText="position: absolute; left: 10.7432222px;",o=t(s).offset().left,t.support.offsetFractions=o>10&&11>o,e.innerHTML="",a.removeChild(e)}()}(jQuery);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.css ADDED
@@ -0,0 +1,326 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cherry-ui-iconpicker-group {
2
+ max-width: 230px;
3
+ position: relative; }
4
+ .cherry-ui-iconpicker-group .input-group-addon {
5
+ position: absolute;
6
+ width: 36px;
7
+ height: 36px;
8
+ left: 0px;
9
+ top: 0px;
10
+ background: #f1f1f1;
11
+ font-size: 14px;
12
+ line-height: 36px;
13
+ text-align: center;
14
+ border-radius: 3px 0 0 3px;
15
+ border-right: 1px solid #dddcdc;
16
+ margin: 7px; }
17
+ .cherry-ui-iconpicker-group .cherry-ui-text {
18
+ font-size: 14px;
19
+ line-height: 20px;
20
+ color: #23282d;
21
+ background-color: #f1f1f1;
22
+ border-radius: 2px;
23
+ padding: 10px 20px;
24
+ height: 50px;
25
+ border: 1px solid #f1f1f1;
26
+ box-shadow: none;
27
+ padding-left: 60px; }
28
+ .cherry-ui-iconpicker-group .cherry-ui-text:focus {
29
+ border-color: rgba(72, 197, 105, 0.6);
30
+ box-shadow: 0 0 2px rgba(72, 197, 105, 0.6); }
31
+
32
+ .iconpicker-popover.popover {
33
+ position: absolute;
34
+ top: 0;
35
+ left: 0;
36
+ display: none;
37
+ max-width: none;
38
+ padding: 1px;
39
+ text-align: left;
40
+ width: 242px;
41
+ background: #f0f0f0;
42
+ z-index: 999; }
43
+
44
+ .iconpicker-popover.popover.top,
45
+ .iconpicker-popover.popover.topLeftCorner,
46
+ .iconpicker-popover.popover.topLeft,
47
+ .iconpicker-popover.popover.topRight,
48
+ .iconpicker-popover.popover.topRightCorner {
49
+ margin-top: -10px; }
50
+
51
+ .iconpicker-popover.popover.right,
52
+ .iconpicker-popover.popover.rightTop,
53
+ .iconpicker-popover.popover.rightBottom {
54
+ margin-left: 10px; }
55
+
56
+ .iconpicker-popover.popover.bottom,
57
+ .iconpicker-popover.popover.bottomRightCorner,
58
+ .iconpicker-popover.popover.bottomRight,
59
+ .iconpicker-popover.popover.bottomLeft,
60
+ .iconpicker-popover.popover.bottomLeftCorner {
61
+ margin-top: 10px; }
62
+
63
+ .iconpicker-popover.popover.left,
64
+ .iconpicker-popover.popover.leftBottom,
65
+ .iconpicker-popover.popover.leftTop {
66
+ margin-left: -10px; }
67
+
68
+ .iconpicker-popover.popover.inline {
69
+ margin: 0 0 14px 0;
70
+ position: relative;
71
+ display: inline-block;
72
+ opacity: 1;
73
+ top: auto;
74
+ left: auto;
75
+ bottom: auto;
76
+ right: auto;
77
+ max-width: 100%;
78
+ box-shadow: none;
79
+ z-index: auto;
80
+ vertical-align: top; }
81
+
82
+ .iconpicker-popover.popover.inline > .arrow {
83
+ display: none; }
84
+
85
+ .dropdown-menu .iconpicker-popover.inline {
86
+ margin: 0;
87
+ border: none; }
88
+
89
+ .dropdown-menu.iconpicker-container {
90
+ padding: 0; }
91
+
92
+ .iconpicker-popover.popover .popover-title {
93
+ padding: 14px;
94
+ font-size: 14px;
95
+ line-height: 16px;
96
+ border-bottom: 1px solid #ebebeb;
97
+ background-color: #f0f0f0; }
98
+
99
+ .iconpicker-popover.popover .popover-title input[type=search].iconpicker-search {
100
+ margin: 0 0 2px 0; }
101
+
102
+ .iconpicker-popover.popover .popover-title-text ~ input[type=search].iconpicker-search {
103
+ margin-top: 14px; }
104
+
105
+ .iconpicker-popover.popover .popover-content {
106
+ padding: 0px;
107
+ text-align: center; }
108
+
109
+ .iconpicker-popover .popover-footer {
110
+ float: none;
111
+ clear: both;
112
+ padding: 14px;
113
+ text-align: right;
114
+ margin: 0;
115
+ border-top: 1px solid #ebebeb;
116
+ background-color: #f0f0f0; }
117
+
118
+ .iconpicker-popover .popover-footer:before,
119
+ .iconpicker-popover .popover-footer:after {
120
+ content: " ";
121
+ display: table; }
122
+
123
+ .iconpicker-popover .popover-footer:after {
124
+ clear: both; }
125
+
126
+ .iconpicker-popover .popover-footer .iconpicker-btn {
127
+ margin-left: 10px; }
128
+
129
+ .iconpicker-popover .popover-footer input[type=search].iconpicker-search {
130
+ /*width:auto;
131
+ float:left;*/
132
+ margin-bottom: 14px; }
133
+
134
+ .iconpicker-popover.popover > .arrow,
135
+ .iconpicker-popover.popover > .arrow:after {
136
+ position: absolute;
137
+ display: block;
138
+ width: 0;
139
+ height: 0;
140
+ border-color: transparent;
141
+ border-style: solid; }
142
+
143
+ .iconpicker-popover.popover > .arrow {
144
+ border-width: 11px; }
145
+
146
+ .iconpicker-popover.popover > .arrow:after {
147
+ border-width: 10px;
148
+ content: ""; }
149
+
150
+ .iconpicker-popover.popover.top > .arrow,
151
+ .iconpicker-popover.popover.topLeft > .arrow,
152
+ .iconpicker-popover.popover.topRight > .arrow {
153
+ left: 50%;
154
+ margin-left: -11px;
155
+ border-bottom-width: 0;
156
+ border-top-color: #f0f0f0;
157
+ bottom: -11px; }
158
+
159
+ .iconpicker-popover.popover.top > .arrow:after,
160
+ .iconpicker-popover.popover.topLeft > .arrow:after,
161
+ .iconpicker-popover.popover.topRight > .arrow:after {
162
+ content: " ";
163
+ bottom: 1px;
164
+ margin-left: -10px;
165
+ border-bottom-width: 0;
166
+ border-top-color: #ffffff; }
167
+
168
+ .iconpicker-popover.popover.topLeft > .arrow {
169
+ left: 14px;
170
+ margin-left: 0; }
171
+
172
+ .iconpicker-popover.popover.topRight > .arrow {
173
+ left: auto;
174
+ right: 14px;
175
+ margin-left: 0; }
176
+
177
+ .iconpicker-popover.popover.right > .arrow,
178
+ .iconpicker-popover.popover.rightTop > .arrow,
179
+ .iconpicker-popover.popover.rightBottom > .arrow {
180
+ top: 50%;
181
+ left: -11px;
182
+ margin-top: -11px;
183
+ border-left-width: 0;
184
+ border-right-color: #f0f0f0; }
185
+
186
+ .iconpicker-popover.popover.right > .arrow:after,
187
+ .iconpicker-popover.popover.rightTop > .arrow:after,
188
+ .iconpicker-popover.popover.rightBottom > .arrow:after {
189
+ content: " ";
190
+ left: 1px;
191
+ bottom: -10px;
192
+ border-left-width: 0;
193
+ border-right-color: #ffffff; }
194
+
195
+ .iconpicker-popover.popover.rightTop > .arrow {
196
+ top: auto;
197
+ bottom: 14px;
198
+ margin-top: 0; }
199
+
200
+ .iconpicker-popover.popover.rightBottom > .arrow {
201
+ top: 14px;
202
+ margin-top: 0; }
203
+
204
+ .iconpicker-popover.popover.bottom > .arrow,
205
+ .iconpicker-popover.popover.bottomRight > .arrow,
206
+ .iconpicker-popover.popover.bottomLeft > .arrow {
207
+ left: 50%;
208
+ margin-left: -11px;
209
+ border-top-width: 0;
210
+ border-bottom-color: #f0f0f0;
211
+ top: -11px; }
212
+
213
+ .iconpicker-popover.popover.bottom > .arrow:after,
214
+ .iconpicker-popover.popover.bottomRight > .arrow:after,
215
+ .iconpicker-popover.popover.bottomLeft > .arrow:after {
216
+ content: " ";
217
+ top: 1px;
218
+ margin-left: -10px;
219
+ border-top-width: 0;
220
+ border-bottom-color: #f0f0f0; }
221
+
222
+ .iconpicker-popover.popover.bottomLeft > .arrow {
223
+ left: 14px;
224
+ margin-left: 0; }
225
+
226
+ .iconpicker-popover.popover.bottomRight > .arrow {
227
+ left: auto;
228
+ right: 14px;
229
+ margin-left: 0; }
230
+
231
+ .iconpicker-popover.popover.left > .arrow,
232
+ .iconpicker-popover.popover.leftBottom > .arrow,
233
+ .iconpicker-popover.popover.leftTop > .arrow {
234
+ top: 50%;
235
+ right: -11px;
236
+ margin-top: -11px;
237
+ border-right-width: 0;
238
+ border-left-color: #f0f0f0; }
239
+
240
+ .iconpicker-popover.popover.left > .arrow:after,
241
+ .iconpicker-popover.popover.leftBottom > .arrow:after,
242
+ .iconpicker-popover.popover.leftTop > .arrow:after {
243
+ content: " ";
244
+ right: 1px;
245
+ border-right-width: 0;
246
+ border-left-color: #ffffff;
247
+ bottom: -10px; }
248
+
249
+ .iconpicker-popover.popover.leftBottom > .arrow {
250
+ top: 14px;
251
+ margin-top: 0; }
252
+
253
+ .iconpicker-popover.popover.leftTop > .arrow {
254
+ top: auto;
255
+ bottom: 14px;
256
+ margin-top: 0; }
257
+
258
+ .iconpicker {
259
+ position: relative;
260
+ text-align: left;
261
+ text-shadow: none;
262
+ line-height: 0;
263
+ display: block;
264
+ margin: 0;
265
+ overflow: hidden; }
266
+
267
+ .iconpicker * {
268
+ box-sizing: content-box;
269
+ position: relative; }
270
+
271
+ .iconpicker:before,
272
+ .iconpicker:after {
273
+ content: " ";
274
+ display: table; }
275
+
276
+ .iconpicker:after {
277
+ clear: both; }
278
+
279
+ .iconpicker .iconpicker-items {
280
+ position: relative;
281
+ clear: both;
282
+ float: none;
283
+ padding: 10px 0 0 10px;
284
+ background: #fff;
285
+ margin: 0;
286
+ overflow: hidden;
287
+ overflow-y: auto;
288
+ min-height: 55px;
289
+ max-height: 275px; }
290
+
291
+ .iconpicker .iconpicker-items:before,
292
+ .iconpicker .iconpicker-items:after {
293
+ content: " ";
294
+ display: table; }
295
+
296
+ .iconpicker .iconpicker-items:after {
297
+ clear: both; }
298
+
299
+ .iconpicker .iconpicker-item {
300
+ float: left;
301
+ width: 28px;
302
+ height: 28px;
303
+ line-height: 28px;
304
+ margin: 0 7px 7px 0;
305
+ text-align: center;
306
+ cursor: pointer;
307
+ border-radius: 3px;
308
+ font-size: 18px;
309
+ color: #444;
310
+ box-shadow: 0 0 0 1px #dddddd
311
+ /*&:nth-child(4n+4) {
312
+ margin-right: 0;
313
+ }
314
+ &:nth-last-child(-n+4) {
315
+ margin-bottom: 0;
316
+ }*/ }
317
+
318
+ .iconpicker .iconpicker-item:hover:not(.iconpicker-selected) {
319
+ background-color: #eeeeee; }
320
+
321
+ .iconpicker .iconpicker-item.iconpicker-selected {
322
+ box-shadow: none;
323
+ background: #ddd; }
324
+
325
+ .iconpicker-component {
326
+ cursor: pointer; }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,i){"use strict";i.utilites.namespace("ui_elements.iconpicker"),i.ui_elements.iconpicker={init:function(){e(document).on("ready",this.render),e(window).on("cherry-ui-elements-init",this.render)},render:function(i){var n,t,c,r=i._target?i._target:e("body"),o=e('.cherry-ui-iconpicker:not([name*="__i__"])',r);o.each(function(){n=e(this),t=n.data("set"),c=window[t],n.length&&c.icons&&n.iconpicker({icons:c.icons,iconBaseClass:c.iconBase,iconClassPrefix:c.iconPrefix,fullClassFormatter:function(e){return c.iconBase+" "+c.iconPrefix+e}}).on("iconpickerUpdated",function(){e(this).trigger("change")}),c&&e("body").append('<link rel="stylesheet" type="text/css" href="'+c.iconCSS+'"">')})}},i.ui_elements.iconpicker.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Iconpicker
3
+ */
4
+ (function( $, CherryJsCore ) {
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace( 'ui_elements.iconpicker' );
8
+ CherryJsCore.ui_elements.iconpicker = {
9
+ init: function() {
10
+ $( document ).on( 'ready', this.render );
11
+ $( window ).on( 'cherry-ui-elements-init', this.render );
12
+ },
13
+ render: function( event ) {
14
+ var target = ( event._target ) ? event._target : $( 'body' ),
15
+ $picker = $( '.cherry-ui-iconpicker:not([name*="__i__"])', target ),
16
+ $this,
17
+ set,
18
+ setData;
19
+
20
+ $picker.each( function() {
21
+ $this = $( this );
22
+ set = $this.data( 'set' );
23
+ setData = window[set];
24
+
25
+ if ( $this.length && setData.icons ) {
26
+ $this.iconpicker({
27
+ icons: setData.icons,
28
+ iconBaseClass: setData.iconBase,
29
+ iconClassPrefix: setData.iconPrefix,
30
+ fullClassFormatter: function( val ) {
31
+ return setData.iconBase + ' ' + setData.iconPrefix + val;
32
+ }
33
+ }).on( 'iconpickerUpdated', function() {
34
+ $( this ).trigger( 'change' );
35
+ });
36
+ }
37
+
38
+ if ( setData ) {
39
+ $( 'body' ).append( '<link rel="stylesheet" type="text/css" href="' + setData.iconCSS + '"">' );
40
+ }
41
+ } );
42
+ }
43
+ };
44
+
45
+ CherryJsCore.ui_elements.iconpicker.init();
46
+
47
+ }( jQuery, window.CherryJsCore ) );
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.scss ADDED
@@ -0,0 +1,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-iconpicker-group {
5
+ max-width: 230px;
6
+ position: relative;
7
+ .input-group-addon {
8
+ position: absolute;
9
+ width: 36px;
10
+ height: 36px;
11
+ left: 0px;
12
+ top: 0px;
13
+ background: $grey_color_3;
14
+ font-size: 14px;
15
+ line-height: 36px;
16
+ text-align: center;
17
+ border-radius: 3px 0 0 3px;
18
+ border-right: 1px solid #dddcdc;
19
+ margin: 7px;
20
+ }
21
+ .cherry-ui-text{
22
+ @include input();
23
+ padding-left: 60px;
24
+ }
25
+ }
26
+
27
+ .iconpicker-popover.popover {
28
+ position: absolute;
29
+ top: 0;
30
+ left: 0;
31
+ display: none;
32
+ max-width: none;
33
+ padding: 1px;
34
+ text-align: left;
35
+ width: 242px;
36
+ background: #f0f0f0;
37
+ z-index: 999;
38
+ }
39
+ .iconpicker-popover.popover.top,
40
+ .iconpicker-popover.popover.topLeftCorner,
41
+ .iconpicker-popover.popover.topLeft,
42
+ .iconpicker-popover.popover.topRight,
43
+ .iconpicker-popover.popover.topRightCorner {
44
+ margin-top: -10px;
45
+ }
46
+ .iconpicker-popover.popover.right,
47
+ .iconpicker-popover.popover.rightTop,
48
+ .iconpicker-popover.popover.rightBottom {
49
+ margin-left: 10px;
50
+ }
51
+ .iconpicker-popover.popover.bottom,
52
+ .iconpicker-popover.popover.bottomRightCorner,
53
+ .iconpicker-popover.popover.bottomRight,
54
+ .iconpicker-popover.popover.bottomLeft,
55
+ .iconpicker-popover.popover.bottomLeftCorner {
56
+ margin-top: 10px;
57
+ }
58
+ .iconpicker-popover.popover.left,
59
+ .iconpicker-popover.popover.leftBottom,
60
+ .iconpicker-popover.popover.leftTop {
61
+ margin-left: -10px;
62
+ }
63
+ .iconpicker-popover.popover.inline {
64
+ margin: 0 0 14px 0;
65
+ position: relative;
66
+ display: inline-block;
67
+ opacity: 1;
68
+ top: auto;
69
+ left: auto;
70
+ bottom: auto;
71
+ right: auto;
72
+ max-width: 100%;
73
+ box-shadow: none;
74
+ z-index: auto;
75
+ vertical-align: top;
76
+ }
77
+ .iconpicker-popover.popover.inline > .arrow {
78
+ display: none;
79
+ }
80
+ .dropdown-menu .iconpicker-popover.inline {
81
+ margin: 0;
82
+ border: none;
83
+ }
84
+ .dropdown-menu.iconpicker-container {
85
+ padding: 0;
86
+ }
87
+ .iconpicker-popover.popover .popover-title {
88
+ padding: 14px;
89
+ font-size: 14px;
90
+ line-height: 16px;
91
+ border-bottom: 1px solid #ebebeb;
92
+ background-color: #f0f0f0;
93
+ }
94
+ .iconpicker-popover.popover .popover-title input[type=search].iconpicker-search {
95
+ margin: 0 0 2px 0;
96
+ }
97
+ .iconpicker-popover.popover .popover-title-text ~ input[type=search].iconpicker-search {
98
+ margin-top: 14px;
99
+ }
100
+ .iconpicker-popover.popover .popover-content {
101
+ padding: 0px;
102
+ text-align: center;
103
+ }
104
+ .iconpicker-popover .popover-footer {
105
+ float: none;
106
+ clear: both;
107
+ padding: 14px;
108
+ text-align: right;
109
+ margin: 0;
110
+ border-top: 1px solid #ebebeb;
111
+ background-color: #f0f0f0;
112
+ }
113
+ .iconpicker-popover .popover-footer:before,
114
+ .iconpicker-popover .popover-footer:after {
115
+ content: " ";
116
+ display: table;
117
+ }
118
+ .iconpicker-popover .popover-footer:after {
119
+ clear: both;
120
+ }
121
+ .iconpicker-popover .popover-footer .iconpicker-btn {
122
+ margin-left: 10px;
123
+ }
124
+ .iconpicker-popover .popover-footer input[type=search].iconpicker-search {
125
+ /*width:auto;
126
+ float:left;*/
127
+ margin-bottom: 14px;
128
+ }
129
+ .iconpicker-popover.popover > .arrow,
130
+ .iconpicker-popover.popover > .arrow:after {
131
+ position: absolute;
132
+ display: block;
133
+ width: 0;
134
+ height: 0;
135
+ border-color: transparent;
136
+ border-style: solid;
137
+ }
138
+ .iconpicker-popover.popover > .arrow {
139
+ border-width: 11px;
140
+ }
141
+ .iconpicker-popover.popover > .arrow:after {
142
+ border-width: 10px;
143
+ content: "";
144
+ }
145
+ .iconpicker-popover.popover.top > .arrow,
146
+ .iconpicker-popover.popover.topLeft > .arrow,
147
+ .iconpicker-popover.popover.topRight > .arrow {
148
+ left: 50%;
149
+ margin-left: -11px;
150
+ border-bottom-width: 0;
151
+ border-top-color: #f0f0f0;
152
+ bottom: -11px;
153
+ }
154
+ .iconpicker-popover.popover.top > .arrow:after,
155
+ .iconpicker-popover.popover.topLeft > .arrow:after,
156
+ .iconpicker-popover.popover.topRight > .arrow:after {
157
+ content: " ";
158
+ bottom: 1px;
159
+ margin-left: -10px;
160
+ border-bottom-width: 0;
161
+ border-top-color: #ffffff;
162
+ }
163
+ .iconpicker-popover.popover.topLeft > .arrow {
164
+ left: 14px;
165
+ margin-left: 0;
166
+ }
167
+ .iconpicker-popover.popover.topRight > .arrow {
168
+ left: auto;
169
+ right: 14px;
170
+ margin-left: 0;
171
+ }
172
+ .iconpicker-popover.popover.right > .arrow,
173
+ .iconpicker-popover.popover.rightTop > .arrow,
174
+ .iconpicker-popover.popover.rightBottom > .arrow {
175
+ top: 50%;
176
+ left: -11px;
177
+ margin-top: -11px;
178
+ border-left-width: 0;
179
+ border-right-color: #f0f0f0;
180
+ }
181
+ .iconpicker-popover.popover.right > .arrow:after,
182
+ .iconpicker-popover.popover.rightTop > .arrow:after,
183
+ .iconpicker-popover.popover.rightBottom > .arrow:after {
184
+ content: " ";
185
+ left: 1px;
186
+ bottom: -10px;
187
+ border-left-width: 0;
188
+ border-right-color: #ffffff;
189
+ }
190
+ .iconpicker-popover.popover.rightTop > .arrow {
191
+ top: auto;
192
+ bottom: 14px;
193
+ margin-top: 0;
194
+ }
195
+ .iconpicker-popover.popover.rightBottom > .arrow {
196
+ top: 14px;
197
+ margin-top: 0;
198
+ }
199
+ .iconpicker-popover.popover.bottom > .arrow,
200
+ .iconpicker-popover.popover.bottomRight > .arrow,
201
+ .iconpicker-popover.popover.bottomLeft > .arrow {
202
+ left: 50%;
203
+ margin-left: -11px;
204
+ border-top-width: 0;
205
+ border-bottom-color: #f0f0f0;
206
+ top: -11px;
207
+ }
208
+ .iconpicker-popover.popover.bottom > .arrow:after,
209
+ .iconpicker-popover.popover.bottomRight > .arrow:after,
210
+ .iconpicker-popover.popover.bottomLeft > .arrow:after {
211
+ content: " ";
212
+ top: 1px;
213
+ margin-left: -10px;
214
+ border-top-width: 0;
215
+ border-bottom-color: #f0f0f0;
216
+ }
217
+ .iconpicker-popover.popover.bottomLeft > .arrow {
218
+ left: 14px;
219
+ margin-left: 0;
220
+ }
221
+ .iconpicker-popover.popover.bottomRight > .arrow {
222
+ left: auto;
223
+ right: 14px;
224
+ margin-left: 0;
225
+ }
226
+ .iconpicker-popover.popover.left > .arrow,
227
+ .iconpicker-popover.popover.leftBottom > .arrow,
228
+ .iconpicker-popover.popover.leftTop > .arrow {
229
+ top: 50%;
230
+ right: -11px;
231
+ margin-top: -11px;
232
+ border-right-width: 0;
233
+ border-left-color: #f0f0f0;
234
+ }
235
+ .iconpicker-popover.popover.left > .arrow:after,
236
+ .iconpicker-popover.popover.leftBottom > .arrow:after,
237
+ .iconpicker-popover.popover.leftTop > .arrow:after {
238
+ content: " ";
239
+ right: 1px;
240
+ border-right-width: 0;
241
+ border-left-color: #ffffff;
242
+ bottom: -10px;
243
+ }
244
+ .iconpicker-popover.popover.leftBottom > .arrow {
245
+ top: 14px;
246
+ margin-top: 0;
247
+ }
248
+ .iconpicker-popover.popover.leftTop > .arrow {
249
+ top: auto;
250
+ bottom: 14px;
251
+ margin-top: 0;
252
+ }
253
+ .iconpicker {
254
+ position: relative;
255
+ text-align: left;
256
+ text-shadow: none;
257
+ line-height: 0;
258
+ display: block;
259
+ margin: 0;
260
+ overflow: hidden;
261
+ }
262
+ .iconpicker * {
263
+ -webkit-box-sizing: content-box;
264
+ -moz-box-sizing: content-box;
265
+ box-sizing: content-box;
266
+ position: relative;
267
+ }
268
+ .iconpicker:before,
269
+ .iconpicker:after {
270
+ content: " ";
271
+ display: table;
272
+ }
273
+ .iconpicker:after {
274
+ clear: both;
275
+ }
276
+ .iconpicker .iconpicker-items {
277
+ position: relative;
278
+ clear: both;
279
+ float: none;
280
+ padding: 10px 0 0 10px;
281
+ background: #fff;
282
+ margin: 0;
283
+ overflow: hidden;
284
+ overflow-y: auto;
285
+ min-height: 55px;
286
+ max-height: 275px;
287
+ }
288
+ .iconpicker .iconpicker-items:before,
289
+ .iconpicker .iconpicker-items:after {
290
+ content: " ";
291
+ display: table;
292
+ }
293
+ .iconpicker .iconpicker-items:after {
294
+ clear: both;
295
+ }
296
+ .iconpicker .iconpicker-item {
297
+ float: left;
298
+ width: 28px;
299
+ height: 28px;
300
+ line-height: 28px;
301
+ margin: 0 7px 7px 0;
302
+ text-align: center;
303
+ cursor: pointer;
304
+ border-radius: 3px;
305
+ font-size: 18px;
306
+ color: #444;
307
+ box-shadow: 0 0 0 1px #dddddd;
308
+ /*&:nth-child(4n+4) {
309
+ margin-right: 0;
310
+ }
311
+ &:nth-last-child(-n+4) {
312
+ margin-bottom: 0;
313
+ }*/
314
+ }
315
+ .iconpicker .iconpicker-item:hover:not(.iconpicker-selected) {
316
+ background-color: #eeeeee;
317
+ }
318
+ .iconpicker .iconpicker-item.iconpicker-selected {
319
+ box-shadow: none;
320
+ background: #ddd;
321
+ }
322
+ .iconpicker-component {
323
+ cursor: pointer;
324
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius_small;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ &:hover {
14
+ color: #fff;
15
+ box-shadow: none;
16
+ }
17
+ &:focus,
18
+ &:active {
19
+ outline: none;
20
+ box-shadow: none;
21
+ color: #fff;
22
+ }
23
+ }
24
+
25
+ @mixin button_normal() {
26
+ background: $dark_color_2;
27
+ &:hover {
28
+ background: $dark_color_2_h;
29
+ }
30
+ }
31
+
32
+ @mixin button_primary() {
33
+ background: $blue_color;
34
+ &:hover {
35
+ background: $blue_color_h;
36
+ }
37
+ }
38
+
39
+ @mixin button_success() {
40
+ background: $green_color;
41
+ &:hover {
42
+ background: $green_color_h;
43
+ }
44
+ }
45
+
46
+ @mixin button_danger() {
47
+ background: $red_color;
48
+ &:hover {
49
+ background: $red_color_h;
50
+ }
51
+ }
52
+
53
+ @mixin button_warning() {
54
+ background: $orange_color;
55
+ &:hover {
56
+ background: $orange_color_h;
57
+ }
58
+ }
59
+
60
+ @mixin input() {
61
+ font-size: 14px;
62
+ line-height: 20px;
63
+ color: $dark_color_1;
64
+ background-color: $grey_color_3;
65
+ border-radius: $border_radius_extra_small;
66
+ padding: 10px 20px;
67
+ height: 50px;
68
+ border: 1px solid $grey_color_3;
69
+ box-shadow: none;
70
+ &:focus{
71
+ border-color: rgba(72,197,105,.6);
72
+ box-shadow: 0 0 2px rgba(72,197,105,.6);
73
+ }
74
+ }
75
+
76
+ @mixin button_icon( $icon ) {
77
+ content: $icon;
78
+ display: inline-block;
79
+ font-family: dashicons;
80
+ font-size: 16px;
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ height: 18px;
84
+ line-height: 18px;
85
+ text-align: center;
86
+ text-decoration: inherit;
87
+ transition: all 200ms linear;
88
+ vertical-align: middle;
89
+ }
90
+
91
+ @mixin button_icon_before( $icon ) {
92
+ &:before {
93
+ @include button_icon( $icon );
94
+ padding: 0 5px 0 0;
95
+ }
96
+ }
97
+
98
+ @mixin button_icon_after( $icon ) {
99
+ &:after {
100
+ @include button_icon( $icon );
101
+ padding: 0 0 0 5px;
102
+ }
103
+ }
104
+
105
+ @mixin button_icon_middle( $icon ) {
106
+ &:before {
107
+ @include button_icon( $icon );
108
+ margin: 0 -5px;
109
+ }
110
+ }
111
+
112
+ @mixin link() {
113
+ display: inline-block;
114
+ text-decoration: none;
115
+ font-size: 12px;
116
+ line-height: 20px;
117
+ font-weight: bold;
118
+ color: $blue_color;
119
+ text-transform: uppercase;
120
+ transition: all 200ms linear;
121
+ &:hover {
122
+ color: $dark_color_1;
123
+ box-shadow: none;
124
+ }
125
+ &:focus,
126
+ &:active {
127
+ outline: none;
128
+ box-shadow: none;
129
+ color: $blue_color;
130
+ }
131
+ }
132
+
133
+ @mixin link_icon_before( $icon ) {
134
+ &:before {
135
+ @include button_icon( $icon );
136
+ padding: 0 5px 0 0;
137
+ color: $grey_color_4;
138
+ }
139
+ &:hover {
140
+ &:before {
141
+ color: $blue_color;
142
+ }
143
+ }
144
+ }
145
+
146
+ @mixin container() {
147
+ padding: 30px;
148
+ border: 2px solid $grey_color_2;
149
+ background: $grey_color_3;
150
+ border-radius: $border_radius_large;
151
+ }
152
+
153
+ @mixin container_heading() {
154
+ margin: -30px -30px 30px -30px;
155
+ border-radius: $border_radius_large $border_radius_large 0 0;
156
+ border-bottom: 1px solid $grey_color_2;
157
+ padding: 20px 30px;
158
+ font-weight: bold;
159
+ font-size: 16px;
160
+ line-height: 18px;
161
+ text-align: center;
162
+ background: #fff;
163
+ }
164
+
165
+ @mixin box() {
166
+ margin: 0 0 30px;
167
+ padding: 20px;
168
+ background: #fff;
169
+ box-shadow: $box_shadow_box;
170
+ border-radius: $border_radius;
171
+ }
172
+
173
+ @mixin box_heading() {
174
+ margin: -20px -20px 20px -20px;
175
+ border-radius: $border_radius_small $border_radius_small 0 0;
176
+ border-bottom: 1px solid $grey_color_2;
177
+ padding: 20px 30px;
178
+ font-weight: bold;
179
+ font-size: 16px;
180
+ line-height: 18px;
181
+ background: #fff;
182
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius_extra_small: 2px;
18
+ $border_radius_small: 4px;
19
+ $border_radius_medium: 6px;
20
+ $border_radius_large: 8px;
21
+
22
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
23
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/ui-iconpicker.php ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-iconpicker elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Iconpicker' ) ) {
19
+
20
+ /**
21
+ * Class for the building ui-iconpicker elements.
22
+ */
23
+ class UI_Iconpicker extends UI_Element implements I_UI {
24
+
25
+ /**
26
+ * Default settings
27
+ *
28
+ * @var array
29
+ */
30
+ private $defaults_settings = array(
31
+ 'type' => 'iconpicker',
32
+ 'id' => 'cherry-ui-input-id',
33
+ 'name' => 'cherry-ui-input-name',
34
+ 'value' => '',
35
+ 'placeholder' => '',
36
+ 'icon_data' => array(),
37
+ 'auto_parse' => false,
38
+ 'label' => '',
39
+ 'class' => '',
40
+ 'master' => '',
41
+ 'required' => false,
42
+ );
43
+
44
+ /**
45
+ * Default icon data settings
46
+ *
47
+ * @var array
48
+ */
49
+ private $default_icon_data = array(
50
+ 'icon_set' => '',
51
+ 'icon_css' => '',
52
+ 'icon_base' => 'icon',
53
+ 'icon_prefix' => '',
54
+ 'icons' => '',
55
+ );
56
+
57
+ /**
58
+ * Icons sets
59
+ *
60
+ * @var array
61
+ */
62
+ public static $sets = array();
63
+
64
+ /**
65
+ * Check if sets already printed
66
+ *
67
+ * @var boolean
68
+ */
69
+ public static $printed = false;
70
+
71
+ /**
72
+ * Array of already printed sets to check it before printing current
73
+ *
74
+ * @var array
75
+ */
76
+ public static $printed_sets = array();
77
+
78
+ /**
79
+ * Constructor method for the UI_Text class.
80
+ *
81
+ * @since 4.0.0
82
+ */
83
+ function __construct( $args = array() ) {
84
+ $this->defaults_settings['id'] = 'cherry-ui-input-icon-'.uniqid();
85
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
86
+
87
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
88
+ add_action( 'admin_footer', array( $this, 'print_icon_set' ), 1 );
89
+ add_action( 'customize_controls_print_footer_scripts', array( $this, 'print_icon_set' ), 9999 );
90
+ }
91
+
92
+ /**
93
+ * Get required attribute
94
+ *
95
+ * @return string required attribute
96
+ */
97
+ public function get_required() {
98
+ if ( $this->settings['required'] ) {
99
+ return 'required="required"';
100
+ }
101
+ return '';
102
+ }
103
+
104
+ /**
105
+ * Render html UI_Text.
106
+ *
107
+ * @since 4.0.0
108
+ */
109
+ public function render() {
110
+ $html = '';
111
+
112
+ $html .= '<div class="cherry-ui-container ' . esc_attr( $this->settings['master'] ) . '">';
113
+ if ( '' !== $this->settings['label'] ) {
114
+ $html .= '<label class="cherry-label" for="' . esc_attr( $this->settings['id'] ) . '">' . esc_html( $this->settings['label'] ) . '</label> ';
115
+ }
116
+
117
+ $this->settings['icon_data'] = wp_parse_args(
118
+ $this->settings['icon_data'],
119
+ $this->default_icon_data
120
+ );
121
+
122
+ $this->maybe_parse_set_from_css();
123
+
124
+ $html .= '<div class="cherry-ui-iconpicker-group">';
125
+
126
+ if ( $this->validate_icon_data( $this->settings['icon_data'] ) ) {
127
+ $html .= $this->render_picker();
128
+ } else {
129
+ $html .= 'Incorrect Icon Data Settings';
130
+ }
131
+
132
+ $html .= '</div>';
133
+ $html .= '</div>';
134
+ return $html;
135
+ }
136
+
137
+ /**
138
+ * Returns iconpicker html markup
139
+ *
140
+ * @return string
141
+ */
142
+ private function render_picker() {
143
+
144
+ $format = '<span class="input-group-addon"></span><input type="text" name="%1$s" id="%2$s" value="%3$s" class="widefat cherry-ui-text cherry-ui-iconpicker %4$s" data-set="%5$s">';
145
+
146
+ $this->prepare_icon_set();
147
+
148
+ return sprintf(
149
+ $format,
150
+ $this->settings['name'],
151
+ $this->settings['id'],
152
+ $this->settings['value'],
153
+ $this->settings['class'],
154
+ $this->settings['icon_data']['icon_set']
155
+ );
156
+
157
+ }
158
+
159
+ /**
160
+ * Return JS markup for icon set variable.
161
+ *
162
+ * @return void
163
+ */
164
+ public function prepare_icon_set() {
165
+
166
+ if ( ! array_key_exists( $this->settings['icon_data']['icon_set'], self::$sets ) ) {
167
+ self::$sets[ $this->settings['icon_data']['icon_set'] ] = array(
168
+ 'iconCSS' => $this->settings['icon_data']['icon_css'],
169
+ 'iconBase' => $this->settings['icon_data']['icon_base'],
170
+ 'iconPrefix' => $this->settings['icon_data']['icon_prefix'],
171
+ 'icons' => $this->settings['icon_data']['icons'],
172
+ );
173
+ }
174
+
175
+ }
176
+
177
+ /**
178
+ * Check if 'parse_set' is true and try to get icons set from CSS file
179
+ *
180
+ * @return void
181
+ */
182
+ private function maybe_parse_set_from_css() {
183
+
184
+ if ( true !== $this->settings['auto_parse'] || empty( $this->settings['icon_data']['icon_css'] ) ) {
185
+ return;
186
+ }
187
+
188
+ ob_start();
189
+
190
+ $path = str_replace( WP_CONTENT_URL, WP_CONTENT_DIR, $this->settings['icon_data']['icon_css'] );
191
+ if ( file_exists( $path ) ) {
192
+ include $path;
193
+ }
194
+
195
+ $result = ob_get_clean();
196
+
197
+ preg_match_all( '/\.([-a-zA-Z0-9]+):before[, {]/', $result, $matches );
198
+
199
+ if ( ! is_array( $matches ) || empty( $matches[1] ) ) {
200
+ return;
201
+ }
202
+
203
+ if ( is_array( $this->settings['icon_data']['icons'] ) ) {
204
+ $this->settings['icon_data']['icons'] = array_merge(
205
+ $this->settings['icon_data']['icons'],
206
+ $matches[1]
207
+ );
208
+ } else {
209
+ $this->settings['icon_data']['icons'] = $matches[1];
210
+ }
211
+
212
+ }
213
+
214
+ /**
215
+ * Checks if all required icon data fields are passed
216
+ *
217
+ * @param array $data Icon data.
218
+ * @return bool
219
+ */
220
+ private function validate_icon_data( $data ) {
221
+
222
+ $validate = array_diff( $this->default_icon_data, array( 'icon_base', 'icon_prefix' ) );
223
+
224
+ foreach ( $validate as $key => $field ) {
225
+
226
+ if ( empty( $data[ $key ] ) ) {
227
+ return false;
228
+ }
229
+
230
+ return true;
231
+ }
232
+
233
+ }
234
+
235
+ /**
236
+ * Print icon sets
237
+ *
238
+ * @return void
239
+ */
240
+ public function print_icon_set() {
241
+
242
+ if ( empty( self::$sets ) || true === self::$printed ) {
243
+ return;
244
+ }
245
+
246
+ self::$printed = true;
247
+
248
+ foreach ( self::$sets as $set => $data ) {
249
+
250
+ if ( in_array( $set, self::$printed_sets ) ) {
251
+ continue;
252
+ }
253
+
254
+ self::$printed_sets[] = $set;
255
+ $json = json_encode( $data );
256
+
257
+ printf( '<script>window.%1$s = %2$s</script>', $set, $json );
258
+ }
259
+
260
+ }
261
+
262
+ /**
263
+ * Enqueue javascript and stylesheet UI_Text
264
+ *
265
+ * @since 4.0.0
266
+ */
267
+ public static function enqueue_assets() {
268
+
269
+ wp_enqueue_style(
270
+ 'ui-iconpicker',
271
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-iconpicker.min.css', __FILE__ ) ),
272
+ array(),
273
+ '1.0.0',
274
+ 'all'
275
+ );
276
+
277
+ wp_enqueue_script(
278
+ 'jquery-iconpicker',
279
+ esc_url( Cherry_Core::base_url( 'assets/min/jquery-iconpicker.min.js', __FILE__ ) ),
280
+ array( 'jquery' ),
281
+ '1.0.0',
282
+ true
283
+ );
284
+ wp_enqueue_script(
285
+ 'ui-iconpicker',
286
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-iconpicker.min.js', __FILE__ ) ),
287
+ array( 'jquery' ),
288
+ '1.0.0',
289
+ true
290
+ );
291
+ }
292
+ }
293
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-media-wrap .cherry-upload-preview{display:block;margin:0 0 5px 0}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap{position:relative;display:inline-block;vertical-align:top;width:120px;height:120px}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner{width:110px;height:110px;margin:3px;position:relative;border:2px solid #298ffc;border-radius:2px;overflow:hidden}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder{width:100%;height:100%;position:relative;background:#f1f1f1;box-sizing:border-box}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder .centered{position:absolute;width:100%;height:100%;top:0;left:0;-webkit-transform:translate(50%, 50%);-ms-transform:translate(50%, 50%);transform:translate(50%, 50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder img{max-width:100%;height:auto;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder span{width:auto;height:auto;font-size:60px;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .title{position:absolute;width:100%;padding:5px 0;bottom:0;left:0;color:#fff;background:rgba(41,143,252,0.8);text-align:center;font-size:11px;overflow:hidden}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap:hover .cherry-remove-image{display:block}.cherry-ui-media-wrap .cherry-upload-preview .cherry-media-thumb-sortable-placeholder{width:112px;height:112px;margin:3px;vertical-align:top;border:1px dashed #96989a;display:inline-block;background-color:#f1f1f1}.cherry-ui-media-wrap .upload-button{float:left}.cherry-ui-media-wrap .cherry-remove-image{width:30px;height:30px;color:#e54343;display:block;position:absolute;top:0;right:0;cursor:pointer;text-decoration:none;outline:0;display:none}.cherry-ui-media-wrap .cherry-remove-image i{width:30px;height:30px;font-size:30px}.cherry-ui-media-wrap .cherry-remove-image:hover{color:#c73434}.cherry-ui-media-wrap .cherry-bgsetting{float:left;width:32%;margin-right:1%}.cherry-ui-media-wrap .cherry-bgsetting:nth-child(3n+1){width:34%;margin-right:0}.cherry-ui-media-wrap .cherry-bgsetting select{margin-bottom:10px}.button-default_{display:inline-block;text-decoration:none;font-size:12px;line-height:20px;font-weight:bold;padding:15px 20px;color:#fff;text-transform:uppercase;border-radius:4px;-webkit-transition:all 200ms linear;transition:all 200ms linear;box-shadow:0 5px 13px rgba(0,0,0,0.18);border:none;cursor:pointer;background:#495159}.button-default_:hover{color:#fff;box-shadow:none}.button-default_:focus,.button-default_:active{outline:none;box-shadow:none;color:#fff}.button-default_:hover{background:#393f45}
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,a){"use strict";a.utilites.namespace("ui_elements.media"),a.ui_elements.media={init:function(){e(document).on("ready",this.render),e(window).on("cherry-ui-elements-init",this.render)},render:function(a){var i=a._target?a._target:e("body"),r=e(".upload-button",i);r.each(function(){var a=e(this),i=a.closest(".cherry-ui-media-wrap"),r={input:e(".cherry-upload-input",i),img_holder:e(".cherry-upload-preview",i),title_text:a.data("title"),multiple:a.data("multi-upload"),library_type:a.data("library-type")},t=wp.media.frames.file_frame=wp.media({title:r.title_text,button:{text:r.title_text},multiple:r.multiple,library:{type:r.library_type}});a.on("click",function(){return t.open(),!1}),t.on("select",function(){var a=t.state().get("selection").toJSON(),i=0,n="",c=e(".cherry-all-images-wrap",r.img_holder),l="",o="";for(r.multiple&&(n=r.input.val(),o=",",l=c.html());a[i];){var d=a[i],u=d.id,p=d.mime,m="",h="";switch(p){case"image/jpeg":case"image/png":case"image/gif":void 0!==d.sizes&&(m=d.sizes.thumbnail?d.sizes.thumbnail.url:d.sizes.full.url),h='<img src="'+m+'" alt="" data-img-attr="'+u+'">';break;case"image/x-icon":h='<span class="dashicons dashicons-format-image"></span>';break;case"video/mpeg":case"video/mp4":case"video/quicktime":case"video/webm":case"video/ogg":h='<span class="dashicons dashicons-format-video"></span>';break;case"audio/mpeg":case"audio/wav":case"audio/ogg":h='<span class="dashicons dashicons-format-audio"></span>'}l+='<div class="cherry-image-wrap"><div class="inner"><div class="preview-holder" data-id-attr="'+u+'"><div class="centered">'+h+'</div></div><a class="cherry-remove-image" href="#"><i class="dashicons dashicons-no"></i></a><span class="title">'+d.title+"</span></div></div>",n+=o+u,i++}r.input.val(n.replace(/(^,)/,"")).trigger("change"),c.html(l),e(".cherry-remove-image").on("click",function(){return s(e(this)),!1})});var s=function(e){var a=e.closest(".cherry-ui-media-wrap"),i=jQuery(".cherry-upload-input",a),r=e.parent().parent(".cherry-image-wrap"),t=jQuery(".preview-holder",r).data("id-attr"),s=i.attr("value"),n=new RegExp(""+t+"(,*)","i");s=s.replace(n,""),s=s.replace(/(,$)/,""),i.attr({value:s}).trigger("change"),r.remove()};jQuery(".cherry-remove-image",i).on("click",function(){return s(jQuery(this)),!1})}),jQuery(".cherry-all-images-wrap",i).sortable({items:"div.cherry-image-wrap",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,placeholder:"cherry-media-thumb-sortable-placeholder",start:function(){},stop:function(){},update:function(){var e="";jQuery(".cherry-image-wrap",this).each(function(){var a=jQuery(".preview-holder",this).data("id-attr");e=e+a+","}),e=e.substr(0,e.lastIndexOf(",")),jQuery(this).parent().siblings(".cherry-element-wrap").find("input.cherry-upload-input").val(e).trigger("change")}})}},a.ui_elements.media.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius_small;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ border: none;
14
+ cursor: pointer;
15
+ &:hover {
16
+ color: #fff;
17
+ box-shadow: none;
18
+ }
19
+ &:focus,
20
+ &:active {
21
+ outline: none;
22
+ box-shadow: none;
23
+ color: #fff;
24
+ }
25
+ }
26
+
27
+ @mixin button_normal() {
28
+ background: $dark_color_2;
29
+ &:hover {
30
+ background: $dark_color_2_h;
31
+ }
32
+ }
33
+
34
+ @mixin button_primary() {
35
+ background: $blue_color;
36
+ &:hover {
37
+ background: $blue_color_h;
38
+ }
39
+ }
40
+
41
+ @mixin button_success() {
42
+ background: $green_color;
43
+ &:hover {
44
+ background: $green_color_h;
45
+ }
46
+ }
47
+
48
+ @mixin button_danger() {
49
+ background: $red_color;
50
+ &:hover {
51
+ background: $red_color_h;
52
+ }
53
+ }
54
+
55
+ @mixin button_warning() {
56
+ background: $orange_color;
57
+ &:hover {
58
+ background: $orange_color_h;
59
+ }
60
+ }
61
+
62
+ @mixin input() {
63
+ font-size: 14px;
64
+ line-height: 20px;
65
+ color: $dark_color_1;
66
+ background-color: $grey_color_3;
67
+ border-radius: $border_radius_extra_small;
68
+ padding: 10px 20px;
69
+ height: 50px;
70
+ border: 1px solid $grey_color_3;
71
+ box-shadow: none;
72
+ &:focus{
73
+ border-color: rgba(72,197,105,.6);
74
+ box-shadow: 0 0 2px rgba(72,197,105,.6);
75
+ }
76
+ }
77
+
78
+ @mixin button_icon( $icon ) {
79
+ content: $icon;
80
+ display: inline-block;
81
+ font-family: dashicons;
82
+ font-size: 16px;
83
+ font-style: normal;
84
+ font-weight: 400;
85
+ height: 18px;
86
+ line-height: 18px;
87
+ text-align: center;
88
+ text-decoration: inherit;
89
+ transition: all 200ms linear;
90
+ vertical-align: middle;
91
+ }
92
+
93
+ @mixin button_icon_before( $icon ) {
94
+ &:before {
95
+ @include button_icon( $icon );
96
+ padding: 0 5px 0 0;
97
+ }
98
+ }
99
+
100
+ @mixin button_icon_after( $icon ) {
101
+ &:after {
102
+ @include button_icon( $icon );
103
+ padding: 0 0 0 5px;
104
+ }
105
+ }
106
+
107
+ @mixin button_icon_middle( $icon ) {
108
+ &:before {
109
+ @include button_icon( $icon );
110
+ margin: 0 -5px;
111
+ }
112
+ }
113
+
114
+ @mixin link() {
115
+ display: inline-block;
116
+ text-decoration: none;
117
+ font-size: 12px;
118
+ line-height: 20px;
119
+ font-weight: bold;
120
+ color: $blue_color;
121
+ text-transform: uppercase;
122
+ transition: all 200ms linear;
123
+ &:hover {
124
+ color: $dark_color_1;
125
+ box-shadow: none;
126
+ }
127
+ &:focus,
128
+ &:active {
129
+ outline: none;
130
+ box-shadow: none;
131
+ color: $blue_color;
132
+ }
133
+ }
134
+
135
+ @mixin link_icon_before( $icon ) {
136
+ &:before {
137
+ @include button_icon( $icon );
138
+ padding: 0 5px 0 0;
139
+ color: $grey_color_4;
140
+ }
141
+ &:hover {
142
+ &:before {
143
+ color: $blue_color;
144
+ }
145
+ }
146
+ }
147
+
148
+ @mixin container() {
149
+ padding: 30px;
150
+ border: 2px solid $grey_color_2;
151
+ background: $grey_color_3;
152
+ border-radius: $border_radius_large;
153
+ }
154
+
155
+ @mixin container_heading() {
156
+ margin: -30px -30px 30px -30px;
157
+ border-radius: $border_radius_large $border_radius_large 0 0;
158
+ border-bottom: 1px solid $grey_color_2;
159
+ padding: 20px 30px;
160
+ font-weight: bold;
161
+ font-size: 16px;
162
+ line-height: 18px;
163
+ text-align: center;
164
+ background: #fff;
165
+ }
166
+
167
+ @mixin box() {
168
+ margin: 0 0 30px;
169
+ padding: 20px;
170
+ background: #fff;
171
+ box-shadow: $box_shadow_box;
172
+ border-radius: $border_radius;
173
+ }
174
+
175
+ @mixin box_heading() {
176
+ margin: -20px -20px 20px -20px;
177
+ border-radius: $border_radius_small $border_radius_small 0 0;
178
+ border-bottom: 1px solid $grey_color_2;
179
+ padding: 20px 30px;
180
+ font-weight: bold;
181
+ font-size: 16px;
182
+ line-height: 18px;
183
+ background: #fff;
184
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius_extra_small: 2px;
18
+ $border_radius_small: 4px;
19
+ $border_radius_medium: 6px;
20
+ $border_radius_large: 8px;
21
+
22
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
23
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.js ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Media
3
+ */
4
+ (function( $, CherryJsCore){
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace('ui_elements.media');
8
+ CherryJsCore.ui_elements.media = {
9
+ init: function () {
10
+ $( document ).on( 'ready', this.render );
11
+ $( window ).on( 'cherry-ui-elements-init', this.render );
12
+ },
13
+ render: function ( event ) {
14
+ var target = ( event._target ) ? event._target : $( 'body' ),
15
+ buttons = $('.upload-button', target);
16
+
17
+ buttons.each( function() {
18
+ var button = $( this ),
19
+ button_parent = button.closest('.cherry-ui-media-wrap'),
20
+ settings = {
21
+ input: $('.cherry-upload-input', button_parent),
22
+ img_holder: $('.cherry-upload-preview', button_parent),
23
+ title_text: button.data('title'),
24
+ multiple: button.data('multi-upload'),
25
+ library_type: button.data('library-type'),
26
+ },
27
+ cherry_uploader = wp.media.frames.file_frame = wp.media({
28
+ title: settings.title_text,
29
+ button: { text: settings.title_text },
30
+ multiple: settings.multiple,
31
+ library : { type : settings.library_type }
32
+ });
33
+
34
+ button.on( 'click', function() {
35
+ cherry_uploader.open();
36
+ return !1;
37
+ } ); // end click
38
+
39
+ cherry_uploader.on('select', function() {
40
+ var attachment = cherry_uploader.state().get('selection').toJSON(),
41
+ count = 0,
42
+ input_value = '',
43
+ new_img_object = $('.cherry-all-images-wrap', settings.img_holder),
44
+ new_img = '',
45
+ delimiter = '';
46
+
47
+ if ( settings.multiple ) {
48
+ input_value = settings.input.val();
49
+ delimiter = ',';
50
+ new_img = new_img_object.html();
51
+ }
52
+
53
+ while( attachment[ count ] ) {
54
+ var img_data = attachment[count],
55
+ return_data = img_data.id,
56
+ mimeType = img_data.mime,
57
+ img_src = '',
58
+ thumb = '';
59
+
60
+ switch (mimeType) {
61
+ case 'image/jpeg':
62
+ case 'image/png':
63
+ case 'image/gif':
64
+ if( img_data.sizes !== undefined){
65
+ img_src = img_data.sizes.thumbnail ? img_data.sizes.thumbnail.url : img_data.sizes.full.url;
66
+ }
67
+ thumb = '<img src="' + img_src + '" alt="" data-img-attr="'+return_data+'">';
68
+ break;
69
+ case 'image/x-icon':
70
+ thumb = '<span class="dashicons dashicons-format-image"></span>';
71
+ break;
72
+ case 'video/mpeg':
73
+ case 'video/mp4':
74
+ case 'video/quicktime':
75
+ case 'video/webm':
76
+ case 'video/ogg':
77
+ thumb = '<span class="dashicons dashicons-format-video"></span>';
78
+ break;
79
+ case 'audio/mpeg':
80
+ case 'audio/wav':
81
+ case 'audio/ogg':
82
+ thumb = '<span class="dashicons dashicons-format-audio"></span>';
83
+ break;
84
+ }
85
+
86
+ new_img += '<div class="cherry-image-wrap">'+
87
+ '<div class="inner">'+
88
+ '<div class="preview-holder" data-id-attr="' + return_data +'"><div class="centered">' + thumb + '</div></div>'+
89
+ '<a class="cherry-remove-image" href="#"><i class="dashicons dashicons-no"></i></a>'+
90
+ '<span class="title">' + img_data.title + '</span>'+
91
+ '</div>'+
92
+ '</div>';
93
+
94
+ input_value += delimiter+return_data;
95
+ count++;
96
+ }
97
+
98
+ settings.input.val(input_value.replace(/(^,)/, '')).trigger( 'change' );
99
+ new_img_object.html(new_img);
100
+
101
+ $('.cherry-remove-image').on('click', function () {
102
+ removeMediaPreview( $(this) );
103
+ return !1;
104
+ });
105
+ } );
106
+
107
+ var removeMediaPreview = function( item ) {
108
+ var button_parent = item.closest('.cherry-ui-media-wrap'),
109
+ input = jQuery('.cherry-upload-input', button_parent),
110
+ img_holder = item.parent().parent('.cherry-image-wrap'),
111
+ img_attr = jQuery('.preview-holder', img_holder).data('id-attr'),
112
+ input_value = input.attr('value'),
113
+ pattern = new RegExp(''+img_attr+'(,*)', 'i');
114
+
115
+ input_value = input_value.replace(pattern, '');
116
+ input_value = input_value.replace(/(,$)/, '');
117
+ input.attr({'value':input_value}).trigger( 'change' );
118
+ img_holder.remove();
119
+
120
+ };
121
+
122
+ // This function remove upload image
123
+ jQuery('.cherry-remove-image', button_parent).on('click', function () {
124
+ removeMediaPreview( jQuery(this) );
125
+ return !1;
126
+ });
127
+ } ); // end each
128
+
129
+ // Image ordering
130
+ jQuery('.cherry-all-images-wrap', target).sortable( {
131
+ items: 'div.cherry-image-wrap',
132
+ cursor: 'move',
133
+ scrollSensitivity: 40,
134
+ forcePlaceholderSize: true,
135
+ forceHelperSize: false,
136
+ helper: 'clone',
137
+ opacity: 0.65,
138
+ placeholder: 'cherry-media-thumb-sortable-placeholder',
139
+ start:function(){},
140
+ stop:function(){},
141
+ update: function() {
142
+ var attachment_ids = '';
143
+ jQuery('.cherry-image-wrap', this).each(
144
+ function() {
145
+ var attachment_id = jQuery('.preview-holder', this).data( 'id-attr' );
146
+ attachment_ids = attachment_ids + attachment_id + ',';
147
+ }
148
+ );
149
+ attachment_ids = attachment_ids.substr(0, attachment_ids.lastIndexOf(',') );
150
+ jQuery(this).parent().siblings('.cherry-element-wrap').find('input.cherry-upload-input').val( attachment_ids ).trigger( 'change' );
151
+ }
152
+ } );
153
+ // End Image ordering
154
+ }
155
+ };
156
+
157
+ CherryJsCore.ui_elements.media.init();
158
+
159
+ }(jQuery , window.CherryJsCore));
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.scss ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-container{
5
+ margin: 10px 0 20px 0;
6
+ }
7
+ label.cherry-label{
8
+ margin: 0 0 5px 0;
9
+ display: block;
10
+ }
11
+ .cherry-ui-media-wrap{
12
+ .cherry-upload-preview{
13
+ display: block;
14
+ margin: 0 0 5px 0;
15
+ .cherry-image-wrap{
16
+ position: relative;
17
+ display: inline-block;
18
+ vertical-align: top;
19
+ width: 120px;
20
+ height: 120px;
21
+ .inner{
22
+ width: 110px;
23
+ height: 110px;
24
+ margin: 3px;
25
+ position: relative;
26
+ border: 2px solid $blue_color;
27
+ border-radius: $border_radius_extra_small;
28
+ overflow: hidden;
29
+ .preview-holder{
30
+ width: 100%;
31
+ height: 100%;
32
+ position: relative;
33
+ background: $grey_color_3;
34
+ box-sizing: border-box;
35
+ .centered{
36
+ position: absolute;
37
+ width: 100%;
38
+ height: 100%;
39
+ top: 0;
40
+ left: 0;
41
+ transform: translate(50%,50%);
42
+ }
43
+ img{
44
+ max-width: 100%;
45
+ height: auto;
46
+ transform: translate(-50%,-50%);
47
+ }
48
+ span{
49
+ width: auto;
50
+ height: auto;
51
+ font-size: 60px;
52
+ transform: translate(-50%,-50%);
53
+ }
54
+ }
55
+ .title{
56
+ position: absolute;
57
+ width: 100%;
58
+ padding: 5px 0;
59
+ bottom: 0;
60
+ left: 0;
61
+ color: #fff;
62
+ background: rgba(41, 143, 252, 0.8);
63
+ text-align: center;
64
+ font-size: 11px;
65
+ overflow: hidden;
66
+ }
67
+ }
68
+ &:hover{
69
+ .cherry-remove-image{
70
+ display: block;
71
+ }
72
+ }
73
+ }
74
+ .cherry-media-thumb-sortable-placeholder{
75
+ width: 112px;
76
+ height: 112px;
77
+ margin: 3px;
78
+ vertical-align: top;
79
+ border: 1px dashed $grey_color_1;
80
+ display: inline-block;
81
+ background-color: $grey_color_3;
82
+ }
83
+ }
84
+ .upload-button{
85
+ float: left;
86
+ }
87
+ .cherry-remove-image{
88
+ width: 30px;
89
+ height: 30px;
90
+ color: $red_color;
91
+ display: block;
92
+ position: absolute;
93
+ top: 0;
94
+ right: 0;
95
+ cursor: pointer;
96
+ text-decoration: none;
97
+ outline: 0;
98
+ display: none;
99
+ i{
100
+ width: 30px;
101
+ height: 30px;
102
+ font-size: 30px;
103
+ }
104
+ &:hover{
105
+ color: $red_color_h;
106
+ }
107
+ }
108
+ .cherry-bgsetting{
109
+ float: left;
110
+ width: 32%;
111
+ margin-right: 1%;
112
+ &:nth-child(3n+1){
113
+ width: 34%;
114
+ margin-right: 0;
115
+ }
116
+ select{
117
+ margin-bottom: 10px;
118
+ }
119
+ }
120
+ }
121
+
122
+ .button-default_{
123
+ @include button_base();
124
+ @include button_normal();
125
+ }
126
+ /*.button_{
127
+ display: inline-block;
128
+ cursor: pointer;
129
+ white-space: nowrap;
130
+ text-decoration: none;
131
+ box-sizing: border-box;
132
+ backface-visibility: hidden;
133
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0);
134
+ position: relative;
135
+ transform: translateZ(0px);
136
+ transition-duration: 0.5s;
137
+ transition-property: color;
138
+ vertical-align: middle;
139
+ &:hover,
140
+ &:active,
141
+ &:focus {
142
+ outline: none;
143
+ }
144
+ }
145
+
146
+ .button-default_{
147
+ @extend .button_;
148
+ font-size: 13px;
149
+ background-color: #ffffff;
150
+ border: 1px solid #dddcdc;
151
+ border-radius: 3px;
152
+ line-height: 32px;
153
+ margin: 0;
154
+ padding: 0 14px;
155
+ box-shadow: none;
156
+ color: #464646;
157
+ height: auto;
158
+ }*/
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/ui-media.php ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-media elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Media' ) ) {
19
+
20
+ /**
21
+ * Class for the building UI_Media elements.
22
+ */
23
+ class UI_Media extends UI_Element implements I_UI {
24
+ /**
25
+ * Default settings
26
+ *
27
+ * @var array
28
+ */
29
+
30
+ private $defaults_settings = array(
31
+ 'id' => 'cherry-ui-media-id',
32
+ 'name' => 'cherry-ui-media-name',
33
+ 'value' => '',
34
+ 'multi_upload' => true,
35
+ 'library_type' => '', // image, video
36
+ 'upload_button_text' => 'Choose Media',
37
+ 'label' => '',
38
+ 'class' => '',
39
+ 'master' => '',
40
+ );
41
+
42
+ /**
43
+ * Constructor method for the UI_Media class.
44
+ *
45
+ * @since 4.0.0
46
+ */
47
+ function __construct( $args = array() ) {
48
+
49
+ $this->defaults_settings['id'] = 'cherry-ui-media-'.uniqid();
50
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
51
+
52
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
53
+ }
54
+
55
+ /**
56
+ * Render html UI_Media.
57
+ *
58
+ * @since 4.0.0
59
+ */
60
+ public function render() {
61
+ $html = '';
62
+
63
+ $master_class = ! empty( $this->settings['master'] ) && isset( $this->settings['master'] ) ? esc_html( $this->settings['master'] ) : '';
64
+
65
+ $html .= '<div class="cherry-ui-container ' . $master_class . '">';
66
+ if ( '' != $this->settings['value'] ) {
67
+ $this->settings['value'] = str_replace( ' ', '', $this->settings['value'] );
68
+ $medias = explode( ',', $this->settings['value'] );
69
+ } else {
70
+ $this->settings['value'] = '';
71
+ $medias = array();
72
+ }
73
+
74
+ $img_style = ! $this->settings['value'] ? 'style="display:none;"' : '' ;
75
+
76
+ if ( '' !== $this->settings['label'] ) {
77
+ $html .= '<label class="cherry-label" for="' . esc_attr( $this->settings['id'] ) . '">' . esc_html( $this->settings['label'] ) . '</label> ';
78
+ }
79
+ $html .= '<div class="cherry-ui-media-wrap">';
80
+ $html .= '<div class="cherry-upload-preview" >';
81
+ $html .= '<div class="cherry-all-images-wrap">';
82
+ if ( is_array( $medias ) && ! empty( $medias ) ) {
83
+ foreach ( $medias as $medias_key => $medias_value ) {
84
+ $media_title = get_the_title( $medias_value );
85
+ $mime_type = get_post_mime_type( $medias_value );
86
+ $tmp = wp_get_attachment_metadata( $medias_value );
87
+ $img_src = '';
88
+ $thumb = '';
89
+
90
+ switch ( $mime_type ) {
91
+ case 'image/jpeg':
92
+ case 'image/png':
93
+ case 'image/gif':
94
+ $img_src = wp_get_attachment_image_src( $medias_value, 'thumbnail' );
95
+ $img_src = $img_src[0];
96
+ $thumb = '<img src="' . esc_html( $img_src ) . '" alt="">';
97
+ break;
98
+ case 'image/x-icon':
99
+ $thumb = '<span class="dashicons dashicons-format-image"></span>';
100
+ break;
101
+ case 'video/mpeg':
102
+ case 'video/mp4':
103
+ case 'video/quicktime':
104
+ case 'video/webm':
105
+ case 'video/ogg':
106
+ $thumb = '<span class="dashicons dashicons-format-video"></span>';
107
+ break;
108
+ case 'audio/mpeg':
109
+ case 'audio/wav':
110
+ case 'audio/ogg':
111
+ $thumb = '<span class="dashicons dashicons-format-audio"></span>';
112
+ break;
113
+ }
114
+ $html .= '<div class="cherry-image-wrap">';
115
+ $html .= '<div class="inner">';
116
+ $html .= '<div class="preview-holder" data-id-attr="' . esc_attr( $medias_value ) . '">';
117
+ $html .= '<div class="centered">';
118
+ $html .= $thumb;
119
+ $html .= '</div>';
120
+ $html .= '</div>';
121
+ $html .= '<span class="title">' . $media_title . '</span>';
122
+ $html .= '<a class="cherry-remove-image" href="#" title=""><i class="dashicons dashicons-no"></i></a>';
123
+ $html .= '</div>';
124
+ $html .= '</div>';
125
+ }
126
+ }
127
+ $html .= '</div>';
128
+ $html .= '</div>';
129
+ $html .= '<div class="cherry-element-wrap">';
130
+ $html .= '<input type="hidden" id="' . esc_attr( $this->settings['id'] ) . '" class="cherry-upload-input" name="' . esc_attr( $this->settings['name'] ) . '" value="' . esc_html( $this->settings['value'] ) . '" >';
131
+ $html .= '<input type="button" class="upload-button button-default_" value="' . esc_attr( $this->settings['upload_button_text'] ) . '" data-title="' . esc_attr( $this->settings['upload_button_text'] ) . '" data-multi-upload="' . esc_attr( $this->settings['multi_upload'] ) . '" data-library-type="' . esc_attr( $this->settings['library_type'] ) . '"/>';
132
+ $html .= '<div class="clear"></div>';
133
+ $html .= '</div>';
134
+ $html .= '</div>';
135
+ $html .= '</div>';
136
+
137
+ return $html;
138
+ }
139
+
140
+ /**
141
+ * Enqueue javascript and stylesheet UI_Media
142
+ *
143
+ * @since 4.0.0
144
+ */
145
+ public static function enqueue_assets() {
146
+ wp_enqueue_media();
147
+
148
+ wp_enqueue_script(
149
+ 'ui-media-min',
150
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-media.min.js', __FILE__ ) ),
151
+ array( 'jquery', 'jquery-ui-sortable' ),
152
+ '1.0.0',
153
+ true
154
+ );
155
+
156
+ wp_enqueue_style(
157
+ 'ui-media-min',
158
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-media.min.css', __FILE__ ) ),
159
+ array(),
160
+ '1.0.0',
161
+ 'all'
162
+ );
163
+ }
164
+ }
165
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/min/ui-radio.min.css ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cherry-ui-container {
2
+ margin: 10px 0 20px 0; }
3
+
4
+ label.cherry-label {
5
+ margin: 0 0 5px 0;
6
+ display: block; }
7
+
8
+ input.cherry-radio-input {
9
+ display: none; }
10
+
11
+ .cherry-radio-item {
12
+ margin-bottom: 10px; }
13
+ .cherry-radio-item:last-child {
14
+ margin-bottom: 0; }
15
+ .cherry-radio-item label {
16
+ display: inline-block;
17
+ font-size: 14px;
18
+ line-height: 22px;
19
+ color: #23282d; }
20
+ .cherry-radio-item span {
21
+ width: 25px;
22
+ height: 25px;
23
+ border-radius: 25px;
24
+ margin-right: 10px;
25
+ cursor: pointer;
26
+ position: relative;
27
+ background-color: #f1f1f1;
28
+ display: inline-block;
29
+ float: left; }
30
+ .cherry-radio-item span i {
31
+ width: 13px;
32
+ height: 13px;
33
+ background-color: #298ffc;
34
+ margin: 6px;
35
+ border-radius: 20px;
36
+ display: inline-block;
37
+ -webkit-transform: scale(0);
38
+ -ms-transform: scale(0);
39
+ transform: scale(0);
40
+ -webkit-transition: all 0.3s cubic-bezier(0.27, 0.63, 0.54, 0.96);
41
+ transition: all 0.3s cubic-bezier(0.27, 0.63, 0.54, 0.96); }
42
+
43
+ .cherry-radio-item.checked span i {
44
+ -webkit-transform: scale(1);
45
+ -ms-transform: scale(1);
46
+ transform: scale(1); }
47
+
48
+ .cherry-radio-img {
49
+ float: left;
50
+ margin: 10px 5px 0 5px;
51
+ text-align: center;
52
+ max-width: 80px;
53
+ position: relative; }
54
+ .cherry-radio-img label {
55
+ display: inline-block; }
56
+ .cherry-radio-img img {
57
+ width: 100%;
58
+ height: auto;
59
+ margin: 0 0 5px 0;
60
+ pointer-events: none; }
61
+
62
+ .cherry-radio-img.checked {
63
+ font-weight: bold; }
64
+ .cherry-radio-img.checked .check {
65
+ display: block; }
66
+ .cherry-radio-img.checked img {
67
+ box-shadow: 0 0 0 2px #fffeff, 0 0 0 5px #298ffc; }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/min/ui-radio.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,r){"use strict";r.utilites.namespace("ui_elements.radio"),r.ui_elements.radio={init:function(){e(document).on("ready",this.render),e(window).on("cherry-ui-elements-init",this.render)},render:function(r){var i=r._target?r._target:e("body");e(".cherry-radio-group",i).each(function(){e('.cherry-radio-input[type="radio"]',this).each(function(){var r=e(this),t=r.data("slave");r.is(":checked")||e("."+t,i).stop().hide()})}),e('.cherry-radio-input[type="radio"]',i).on("change",function(){var r=e(this),t=r.data("slave"),a=r.parents(".cherry-radio-group"),n=e('.cherry-radio-input[type="radio"]',a);r.parents(".cherry-radio-group").find(".checked").removeClass("checked"),r.parent().addClass("checked"),e("."+t,i).show(),n.each(function(){var r=e(this),a=r.data("slave");a!==t&&e("."+a,i).hide()}),r.trigger("radio_change_event",[t,n])})}},r.ui_elements.radio.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ &:hover {
14
+ color: #fff;
15
+ box-shadow: none;
16
+ }
17
+ &:focus,
18
+ &:active {
19
+ outline: none;
20
+ box-shadow: none;
21
+ color: #fff;
22
+ }
23
+ }
24
+
25
+ @mixin button_normal() {
26
+ background: $dark_color_2;
27
+ &:hover {
28
+ background: $dark_color_2_h;
29
+ }
30
+ }
31
+
32
+ @mixin button_primary() {
33
+ background: $blue_color;
34
+ &:hover {
35
+ background: $blue_color_h;
36
+ }
37
+ }
38
+
39
+ @mixin button_success() {
40
+ background: $green_color;
41
+ &:hover {
42
+ background: $green_color_h;
43
+ }
44
+ }
45
+
46
+ @mixin button_danger() {
47
+ background: $red_color;
48
+ &:hover {
49
+ background: $red_color_h;
50
+ }
51
+ }
52
+
53
+ @mixin button_warning() {
54
+ background: $orange_color;
55
+ &:hover {
56
+ background: $orange_color_h;
57
+ }
58
+ }
59
+
60
+ @mixin button_icon( $icon ) {
61
+ content: $icon;
62
+ display: inline-block;
63
+ font-family: dashicons;
64
+ font-size: 16px;
65
+ font-style: normal;
66
+ font-weight: 400;
67
+ height: 18px;
68
+ line-height: 18px;
69
+ text-align: center;
70
+ text-decoration: inherit;
71
+ transition: all 200ms linear;
72
+ vertical-align: middle;
73
+ }
74
+
75
+ @mixin button_icon_before( $icon ) {
76
+ &:before {
77
+ @include button_icon( $icon );
78
+ padding: 0 5px 0 0;
79
+ }
80
+ }
81
+
82
+ @mixin button_icon_after( $icon ) {
83
+ &:after {
84
+ @include button_icon( $icon );
85
+ padding: 0 0 0 5px;
86
+ }
87
+ }
88
+
89
+ @mixin button_icon_middle( $icon ) {
90
+ &:before {
91
+ @include button_icon( $icon );
92
+ margin: 0 -5px;
93
+ }
94
+ }
95
+
96
+ @mixin link() {
97
+ display: inline-block;
98
+ text-decoration: none;
99
+ font-size: 12px;
100
+ line-height: 20px;
101
+ font-weight: bold;
102
+ color: $blue_color;
103
+ text-transform: uppercase;
104
+ transition: all 200ms linear;
105
+ &:hover {
106
+ color: $dark_color_1;
107
+ box-shadow: none;
108
+ }
109
+ &:focus,
110
+ &:active {
111
+ outline: none;
112
+ box-shadow: none;
113
+ color: $blue_color;
114
+ }
115
+ }
116
+
117
+ @mixin link_icon_before( $icon ) {
118
+ &:before {
119
+ @include button_icon( $icon );
120
+ padding: 0 5px 0 0;
121
+ color: $grey_color_4;
122
+ }
123
+ &:hover {
124
+ &:before {
125
+ color: $blue_color;
126
+ }
127
+ }
128
+ }
129
+
130
+ @mixin container() {
131
+ padding: 30px;
132
+ border: 2px solid $grey_color_2;
133
+ background: $grey_color_3;
134
+ border-radius: $border_radius_2x;
135
+ }
136
+
137
+ @mixin container_heading() {
138
+ margin: -30px -30px 30px -30px;
139
+ border-radius: $border_radius_2x $border_radius_2x 0 0;
140
+ border-bottom: 1px solid $grey_color_2;
141
+ padding: 20px 30px;
142
+ font-weight: bold;
143
+ font-size: 16px;
144
+ line-height: 18px;
145
+ text-align: center;
146
+ background: #fff;
147
+ }
148
+
149
+ @mixin box() {
150
+ margin: 0 0 30px;
151
+ padding: 20px;
152
+ background: #fff;
153
+ box-shadow: $box_shadow_box;
154
+ border-radius: $border_radius;
155
+ }
156
+
157
+ @mixin box_heading() {
158
+ margin: -20px -20px 20px -20px;
159
+ border-radius: $border_radius $border_radius 0 0;
160
+ border-bottom: 1px solid $grey_color_2;
161
+ padding: 20px 30px;
162
+ font-weight: bold;
163
+ font-size: 16px;
164
+ line-height: 18px;
165
+ background: #fff;
166
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius: 4px;
18
+ $border_radius_2x: 8px;
19
+
20
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
21
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-radio.js ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Radio
3
+ */
4
+ ( function( $, CherryJsCore ){
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace('ui_elements.radio');
8
+ CherryJsCore.ui_elements.radio = {
9
+ init: function () {
10
+ $( document ).on( 'ready', this.render );
11
+ $( window ).on( 'cherry-ui-elements-init', this.render );
12
+ },
13
+ render: function ( event ) {
14
+ var target = ( event._target ) ? event._target : $( 'body' );
15
+
16
+ $( '.cherry-radio-group', target ).each( function() {
17
+ $( '.cherry-radio-input[type="radio"]', this ).each( function() {
18
+ var $this = $(this),
19
+ this_slave = $this.data('slave');
20
+
21
+ if ( ! $this.is( ':checked' ) ) {
22
+ $( '.' + this_slave, target ).stop().hide();
23
+ }
24
+ } );
25
+ } );
26
+
27
+ $( '.cherry-radio-input[type="radio"]', target ).on( 'change', function() {
28
+ var $this = $(this),
29
+ slave = $this.data('slave'),
30
+ radio_group = $this.parents('.cherry-radio-group'),
31
+ radio_group_list = $('.cherry-radio-input[type="radio"]', radio_group);
32
+
33
+ $this.parents('.cherry-radio-group').find('.checked').removeClass('checked');
34
+ $this.parent().addClass('checked');
35
+
36
+ $('.' + slave, target).show();
37
+ radio_group_list.each(function(){
38
+ var $this = $(this),
39
+ this_slave = $this.data('slave');
40
+
41
+ if( this_slave !== slave ){
42
+ $('.' + this_slave, target).hide();
43
+ }
44
+ });
45
+
46
+ $this.trigger( 'radio_change_event', [slave, radio_group_list] );
47
+ });
48
+ }
49
+ };
50
+
51
+ CherryJsCore.ui_elements.radio.init();
52
+
53
+ }( jQuery, window.CherryJsCore ) );
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/ui-radio.scss ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-container{
5
+ margin: 10px 0 20px 0;
6
+ }
7
+ label.cherry-label{
8
+ margin: 0 0 5px 0;
9
+ display: block;
10
+ }
11
+ input.cherry-radio-input{
12
+ display: none;
13
+ }
14
+ .cherry-radio-item{
15
+ margin-bottom: 10px;
16
+ &:last-child{
17
+ margin-bottom: 0;
18
+ }
19
+ label{
20
+ display: inline-block;
21
+ font-size: 14px;
22
+ line-height: 22px;
23
+ color: $dark_color_1;
24
+ }
25
+ span{
26
+ width: 25px;
27
+ height: 25px;
28
+ border-radius: 25px;
29
+ margin-right: 10px;
30
+ cursor: pointer;
31
+ position: relative;
32
+ background-color: $grey_color_3;
33
+ display: inline-block;
34
+ float: left;
35
+ i{
36
+ width: 13px;
37
+ height: 13px;
38
+ background-color: $blue_color;
39
+ margin: 6px;
40
+ border-radius: 20px;
41
+ display: inline-block;
42
+ transform: scale(0);
43
+ transition: all 0.3s cubic-bezier(.27,.63,.54,.96);
44
+ }
45
+ }
46
+ }
47
+ .cherry-radio-item.checked{
48
+ span{
49
+ i{
50
+ transform: scale(1);
51
+ }
52
+ }
53
+ }
54
+ .cherry-radio-img {
55
+ float: left;
56
+ margin: 10px 5px 0 5px;
57
+ text-align: center;
58
+ max-width: 80px;
59
+ position: relative;
60
+ label{
61
+ display: inline-block;
62
+ }
63
+ img {
64
+ width: 100%;
65
+ height: auto;
66
+ margin: 0 0 5px 0;
67
+ pointer-events: none;
68
+ }
69
+ }
70
+ .cherry-radio-img.checked{
71
+ font-weight: bold;
72
+ .check{
73
+ display: block;
74
+ }
75
+ img{
76
+ box-shadow: 0 0 0 2px rgba(255, 254, 255, 1), 0 0 0 5px $blue_color;
77
+ }
78
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-radio/ui-radio.php ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-radio elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Radio' ) ) {
19
+
20
+ /**
21
+ * Class for the building UI_Radio elements.
22
+ */
23
+ class UI_Radio extends UI_Element implements I_UI {
24
+ /**
25
+ * Default settings
26
+ *
27
+ * @var array
28
+ */
29
+ private $defaults_settings = array(
30
+ 'id' => 'cherry-ui-radio-id',
31
+ 'name' => 'cherry-ui-radio-name',
32
+ 'value' => 'radio-2',
33
+ 'options' => array(
34
+ 'radio-1' => array(
35
+ 'label' => 'Radio 1',
36
+ 'img_src' => '',
37
+ 'slave' => '',
38
+ ),
39
+ 'radio-2' => array(
40
+ 'label' => 'Radio 2',
41
+ 'img_src' => '',
42
+ 'slave' => '',
43
+ ),
44
+ 'radio-3' => array(
45
+ 'label' => 'Radio 3',
46
+ 'img_src' => '',
47
+ 'slave' => '',
48
+ ),
49
+ ),
50
+ 'slave' => array(),
51
+ 'label' => '',
52
+ 'class' => '',
53
+ 'master' => '',
54
+ );
55
+
56
+ /**
57
+ * Constructor method for the UI_Radio class.
58
+ *
59
+ * @since 4.0.0
60
+ */
61
+ function __construct( $args = array() ) {
62
+
63
+ $this->defaults_settings['id'] = 'cherry-ui-radio-'.uniqid();
64
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
65
+
66
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
67
+
68
+ self::enqueue_assets();
69
+ }
70
+
71
+ /**
72
+ * Render html UI_Radio.
73
+ *
74
+ * @since 4.0.0
75
+ */
76
+ public function render() {
77
+ $html = '';
78
+ $master_class = ! empty( $this->settings['master'] ) && isset( $this->settings['master'] ) ? esc_html( $this->settings['master'] ) : '';
79
+
80
+ $html .= '<div class="cherry-ui-container ' . $master_class . '">';
81
+ if ( $this->settings['options'] && ! empty( $this->settings['options'] ) && is_array( $this->settings['options'] ) ) {
82
+ if ( '' !== $this->settings['label'] ) {
83
+ $html .= '<label class="cherry-label" for="' . esc_attr( $this->settings['id'] ) . '">' . $this->settings['label'] . '</label> ';
84
+ }
85
+ $html .= '<div class="cherry-radio-group">';
86
+ foreach ( $this->settings['options'] as $option => $option_value ) {
87
+ $checked = $option == $this->settings['value'] ? ' checked' : '';
88
+ $radio_id = $this->settings['id'] . '-' . $option;
89
+ $img = isset( $option_value['img_src'] ) && ! empty( $option_value['img_src'] ) ? '<img src="' . esc_url( $option_value['img_src'] ) . '" alt="' . esc_html( $option_value['label'] ) . '">' : '<span class="cherry-radio-item"><i></i></span>';
90
+ $data_slave = isset( $option_value['slave'] ) && ! empty( $option_value['slave'] ) ? ' data-slave="' . $option_value['slave'] . '"' : '';
91
+ $class_box = isset( $option_value['img_src'] ) && ! empty( $option_value['img_src'] ) ? ' cherry-radio-img' . $checked : ' cherry-radio-item' . $checked;
92
+
93
+ $html .= '<div class="' . $class_box . '">';
94
+ $html .= '<input type="radio" id="' . esc_attr( $radio_id ) . '" class="cherry-radio-input ' . sanitize_html_class( $this->settings['class'] ) . '" name="' . esc_attr( $this->settings['name'] ) . '" ' . checked( $option, $this->settings['value'], false ) . ' value="' . esc_attr( $option ) . '"' . $data_slave . '>';
95
+ $label_content = $img . $option_value['label'];
96
+ $html .= '<label for="' . esc_attr( $radio_id ) . '">' . $label_content . '</label> ';
97
+ $html .= '</div>';
98
+ }
99
+ $html .= '<div class="clear"></div>';
100
+ $html .= '</div>';
101
+ }
102
+ $html .= '</div>';
103
+
104
+ return $html;
105
+ }
106
+
107
+ /**
108
+ * Enqueue javascript and stylesheet UI_Radio
109
+ *
110
+ * @since 4.0.0
111
+ */
112
+ public static function enqueue_assets() {
113
+ wp_enqueue_script(
114
+ 'ui-radio-min',
115
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-radio.min.js', __FILE__ ) ),
116
+ array( 'jquery' ),
117
+ '1.0.0',
118
+ true
119
+ );
120
+
121
+ wp_enqueue_style(
122
+ 'ui-radio-min',
123
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-radio.min.css', __FILE__ ) ),
124
+ array(),
125
+ '1.0.0',
126
+ 'all'
127
+ );
128
+ }
129
+ }
130
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/min/ui-repeater.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .cherry-ui-repeater-container label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-repeater-add{display:inline-block;text-decoration:none;font-size:12px;line-height:20px;font-weight:bold;color:#298ffc;text-transform:uppercase;-webkit-transition:all 200ms linear;transition:all 200ms linear}.cherry-ui-repeater-add:hover{color:#23282d;box-shadow:none}.cherry-ui-repeater-add:focus,.cherry-ui-repeater-add:active{outline:none;box-shadow:none;color:#298ffc}.cherry-ui-repeater-add:before{content:"";display:inline-block;font-family:dashicons;font-size:16px;font-style:normal;font-weight:400;height:18px;line-height:18px;text-align:center;text-decoration:inherit;-webkit-transition:all 200ms linear;transition:all 200ms linear;vertical-align:middle;padding:0 5px 0 0;color:#b4b7ba}.cherry-ui-repeater-add:hover:before{color:#298ffc}.cherry-ui-repeater-item{padding:10px 10px 10px 30px;position:relative}.cherry-ui-repeater-remove{position:absolute;width:20px;height:20px;right:18px;top:13px;border-radius:50%;border:1px solid currentColor;color:red;font-size:18px;line-height:20px;text-align:center;cursor:pointer}.cherry-ui-repeater-remove:before{content:"\00D7"}.cherry-ui-repeater-remove:hover{color:black}.cherry-ui-kit.cherry-ui-repeater-container{padding:30px;border:2px solid #e5e5e5;background:#f1f1f1;border-radius:8px}.cherry-ui-kit>label.cherry-label{margin:-30px -30px 30px -30px;border-radius:8px 8px 0 0;border-bottom:1px solid #e5e5e5;padding:20px 30px;font-weight:bold;font-size:16px;line-height:18px;text-align:center;background:#fff}.cherry-ui-kit .cherry-ui-repeater-item{margin:0 0 30px;padding:20px;background:#fff;box-shadow:0 8px 21px rgba(0,0,0,0.1);border-radius:4px}.cherry-ui-kit .cherry-ui-repeater-actions-box{margin:-20px -20px 20px -20px;border-radius:4px 4px 0 0;border-bottom:1px solid #e5e5e5;padding:20px 30px;font-weight:bold;font-size:16px;line-height:18px;background:#fff;padding:15px 20px;cursor:move;position:relative;text-align:center;min-height:18px}.cherry-ui-kit .cherry-ui-repeater-toggle{position:absolute;color:#b4b7ba;width:20px;height:20px;font-size:22px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;text-decoration:none;box-shadow:none;outline:none;top:13px;left:18px}.cherry-ui-kit .cherry-ui-repeater-toggle:before{content:"\f142";-webkit-transition:all 200ms linear;transition:all 200ms linear;font-family:dashicons;vertical-align:middle}.cherry-ui-kit .cherry-ui-repeater-toggle:hover{color:#23282d}.cherry-ui-kit .cherry-ui-repeater-remove{position:absolute;border:none;color:#b4b7ba;font-size:20px;line-height:20px;width:20px;height:20px;text-align:center;vertical-align:middle;text-decoration:none;box-shadow:none;outline:none;top:13px;right:18px}.cherry-ui-kit .cherry-ui-repeater-remove:before{content:"\f158";-webkit-transition:all 200ms linear;transition:all 200ms linear;font-family:dashicons;vertical-align:middle}.cherry-ui-kit .cherry-ui-repeater-remove:hover{color:#23282d}.cherry-ui-kit .cherry-ui-repeater-title{width:70%;overflow:hidden;text-overflow:ellipsis;display:inline-block;font-size:14px}.cherry-ui-kit .cherry-ui-repeater-min{padding-bottom:0}.cherry-ui-kit .cherry-ui-repeater-min>.cheryr-ui-repeater-content-box{display:none}.cherry-ui-kit .cherry-ui-repeater-min>.cherry-ui-repeater-actions-box{margin-bottom:0;border-bottom:none;background:none}.cherry-ui-kit .cherry-ui-repeater-min>.cherry-ui-repeater-actions-box .cherry-ui-repeater-toggle:before{content:"\f140"}
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/min/ui-repeater.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,t){"use strict";t.utilites.namespace("ui_elements.repeater"),t.ui_elements.repeater={repeaterContainerClass:".cherry-ui-repeater-container",repeaterListClass:".cherry-ui-repeater-list",repeaterItemClass:".cherry-ui-repeater-item",repeaterItemHandleClass:".cherry-ui-repeater-actions-box",repeaterTitleClass:".cherry-ui-repeater-title",addItemButtonClass:".cherry-ui-repeater-add",removeItemButtonClass:".cherry-ui-repeater-remove",toggleItemButtonClass:".cherry-ui-repeater-toggle",minItemClass:"cherry-ui-repeater-min",sortablePlaceholderClass:"sortable-placeholder",init:function(){e(document).on("ready",this.addEvents.bind(this))},addEvents:function(){e("body").on("click",this.addItemButtonClass,{self:this},this.addItem).on("click",this.removeItemButtonClass,{self:this},this.removeItem).on("click",this.toggleItemButtonClass,{self:this},this.toggleItem).on("change",this.repeaterListClass+" input, "+this.repeaterListClass+" textarea, "+this.repeaterListClass+" select",{self:this},this.changeWrapperLable).on("sortable-init",{self:this},this.sortableItem),e(window).on("cherry-ui-elements-init",{self:this},this.sortableItem),this.triggers()},triggers:function(t){return e("body").trigger("sortable-init"),t&&e(window).trigger("cherry-ui-elements-init",{target:t}),this},addItem:function(t){var s=t.data.self,a=e(this).prev(s.repeaterListClass),r=a.data("index"),i=a.data("name"),l=wp.template(i),n=a.data("widget-id"),o={index:r};n&&(o.widgetId=n),a.append(l(o)),r++,a.data("index",r),s.triggers(e(s.repeaterItemClass+":last",a)).stopDefaultEvent(t)},removeItem:function(t){var s=t.data.self,a=e(this).closest(s.repeaterListClass);s.applyChanges(a),e(this).closest(s.repeaterItemClass).remove(),s.triggers().stopDefaultEvent(t)},toggleItem:function(t){var s=t.data.self,a=e(this).closest(s.repeaterItemClass);a.toggleClass(s.minItemClass),s.stopDefaultEvent(t)},sortableItem:function(t){var s,a,r=t.data.self,i=e(r.repeaterListClass);i.each(function(t,i){s=e(i),a=e(i).data("sortable-init"),s.sortable(a?"refresh":{items:r.repeaterItemClass,handle:r.repeaterItemHandleClass,cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,placeholder:r.sortablePlaceholderClass,create:function(){s.data("sortable-init",!0)},update:function(t){var s=e(t.target);r.applyChanges(s)}})})},changeWrapperLable:function(t){var s,a,r=t.data.self,i=e(r.repeaterListClass),l=i.data("title-field"),n=e(this);l&&n.closest("."+l+"-wrap")[0]&&(s=n.val(),a=n.closest(r.repeaterItemClass),e(r.repeaterTitleClass,a).html(s)),r.stopDefaultEvent(t)},applyChanges:function(t){return void 0!==wp.customize&&e("input[name]:first, select[name]:first",t).change(),this},stopDefaultEvent:function(e){return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),this}},t.ui_elements.repeater.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ &:hover {
14
+ color: #fff;
15
+ box-shadow: none;
16
+ }
17
+ &:focus,
18
+ &:active {
19
+ outline: none;
20
+ box-shadow: none;
21
+ color: #fff;
22
+ }
23
+ }
24
+
25
+ @mixin button_normal() {
26
+ background: $dark_color_2;
27
+ &:hover {
28
+ background: $dark_color_2_h;
29
+ }
30
+ }
31
+
32
+ @mixin button_primary() {
33
+ background: $blue_color;
34
+ &:hover {
35
+ background: $blue_color_h;
36
+ }
37
+ }
38
+
39
+ @mixin button_success() {
40
+ background: $green_color;
41
+ &:hover {
42
+ background: $green_color_h;
43
+ }
44
+ }
45
+
46
+ @mixin button_danger() {
47
+ background: $red_color;
48
+ &:hover {
49
+ background: $red_color_h;
50
+ }
51
+ }
52
+
53
+ @mixin button_warning() {
54
+ background: $orange_color;
55
+ &:hover {
56
+ background: $orange_color_h;
57
+ }
58
+ }
59
+
60
+ @mixin button_icon( $icon ) {
61
+ content: $icon;
62
+ display: inline-block;
63
+ font-family: dashicons;
64
+ font-size: 16px;
65
+ font-style: normal;
66
+ font-weight: 400;
67
+ height: 18px;
68
+ line-height: 18px;
69
+ text-align: center;
70
+ text-decoration: inherit;
71
+ transition: all 200ms linear;
72
+ vertical-align: middle;
73
+ }
74
+
75
+ @mixin button_icon_before( $icon ) {
76
+ &:before {
77
+ @include button_icon( $icon );
78
+ padding: 0 5px 0 0;
79
+ }
80
+ }
81
+
82
+ @mixin button_icon_after( $icon ) {
83
+ &:after {
84
+ @include button_icon( $icon );
85
+ padding: 0 0 0 5px;
86
+ }
87
+ }
88
+
89
+ @mixin button_icon_middle( $icon ) {
90
+ &:before {
91
+ @include button_icon( $icon );
92
+ margin: 0 -5px;
93
+ }
94
+ }
95
+
96
+ @mixin link() {
97
+ display: inline-block;
98
+ text-decoration: none;
99
+ font-size: 12px;
100
+ line-height: 20px;
101
+ font-weight: bold;
102
+ color: $blue_color;
103
+ text-transform: uppercase;
104
+ transition: all 200ms linear;
105
+ &:hover {
106
+ color: $dark_color_1;
107
+ box-shadow: none;
108
+ }
109
+ &:focus,
110
+ &:active {
111
+ outline: none;
112
+ box-shadow: none;
113
+ color: $blue_color;
114
+ }
115
+ }
116
+
117
+ @mixin link_icon_before( $icon ) {
118
+ &:before {
119
+ @include button_icon( $icon );
120
+ padding: 0 5px 0 0;
121
+ color: $grey_color_4;
122
+ }
123
+ &:hover {
124
+ &:before {
125
+ color: $blue_color;
126
+ }
127
+ }
128
+ }
129
+
130
+ @mixin container() {
131
+ padding: 30px;
132
+ border: 2px solid $grey_color_2;
133
+ background: $grey_color_3;
134
+ border-radius: $border_radius_2x;
135
+ }
136
+
137
+ @mixin container_heading() {
138
+ margin: -30px -30px 30px -30px;
139
+ border-radius: $border_radius_2x $border_radius_2x 0 0;
140
+ border-bottom: 1px solid $grey_color_2;
141
+ padding: 20px 30px;
142
+ font-weight: bold;
143
+ font-size: 16px;
144
+ line-height: 18px;
145
+ text-align: center;
146
+ background: #fff;
147
+ }
148
+
149
+ @mixin box() {
150
+ margin: 0 0 30px;
151
+ padding: 20px;
152
+ background: #fff;
153
+ box-shadow: $box_shadow_box;
154
+ border-radius: $border_radius;
155
+ }
156
+
157
+ @mixin box_heading() {
158
+ margin: -20px -20px 20px -20px;
159
+ border-radius: $border_radius $border_radius 0 0;
160
+ border-bottom: 1px solid $grey_color_2;
161
+ padding: 20px 30px;
162
+ font-weight: bold;
163
+ font-size: 16px;
164
+ line-height: 18px;
165
+ background: #fff;
166
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius: 4px;
18
+ $border_radius_2x: 8px;
19
+
20
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
21
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-repeater.js ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Repeater
3
+ */
4
+ (function( $, CherryJsCore ) {
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace( 'ui_elements.repeater' );
8
+
9
+ CherryJsCore.ui_elements.repeater = {
10
+
11
+ repeaterContainerClass: '.cherry-ui-repeater-container',
12
+ repeaterListClass: '.cherry-ui-repeater-list',
13
+ repeaterItemClass: '.cherry-ui-repeater-item',
14
+ repeaterItemHandleClass: '.cherry-ui-repeater-actions-box',
15
+ repeaterTitleClass: '.cherry-ui-repeater-title',
16
+
17
+ addItemButtonClass: '.cherry-ui-repeater-add',
18
+ removeItemButtonClass: '.cherry-ui-repeater-remove',
19
+ toggleItemButtonClass: '.cherry-ui-repeater-toggle',
20
+
21
+ minItemClass: 'cherry-ui-repeater-min',
22
+ sortablePlaceholderClass: 'sortable-placeholder',
23
+
24
+ init: function() {
25
+ $( document ).on( 'ready', this.addEvents.bind( this ) );
26
+ },
27
+
28
+ addEvents: function() {
29
+ $( 'body' )
30
+
31
+ // Delegate events
32
+ .on( 'click', this.addItemButtonClass, { 'self': this }, this.addItem )
33
+ .on( 'click', this.removeItemButtonClass, { 'self': this }, this.removeItem )
34
+ .on( 'click', this.toggleItemButtonClass, { 'self': this }, this.toggleItem )
35
+ .on( 'change', this.repeaterListClass + ' input, ' + this.repeaterListClass + ' textarea, ' + this.repeaterListClass + ' select', { 'self': this }, this.changeWrapperLable )
36
+
37
+ // Custom events
38
+ .on( 'sortable-init', { 'self': this }, this.sortableItem );
39
+
40
+ $( window )
41
+ .on( 'cherry-ui-elements-init', { 'self': this }, this.sortableItem );
42
+
43
+ this.triggers();
44
+ },
45
+
46
+ triggers: function( $target ) {
47
+ $( 'body' ).trigger( 'sortable-init' );
48
+
49
+ if ( $target ) {
50
+ $( window ).trigger( 'cherry-ui-elements-init', { 'target': $target } );
51
+ }
52
+
53
+ return this;
54
+ },
55
+
56
+ addItem: function( event ) {
57
+ var self = event.data.self,
58
+ $list = $( this ).prev( self.repeaterListClass ),
59
+ index = $list.data( 'index' ),
60
+ tmplName = $list.data( 'name' ),
61
+ rowTemplate = wp.template( tmplName ),
62
+ widgetId = $list.data( 'widget-id' ),
63
+ data = { index: index };
64
+
65
+ if ( widgetId ) {
66
+ data.widgetId = widgetId;
67
+ }
68
+
69
+ $list.append( rowTemplate( data ) );
70
+
71
+ index++;
72
+ $list.data( 'index', index );
73
+
74
+ self
75
+ .triggers( $( self.repeaterItemClass + ':last', $list ) )
76
+ .stopDefaultEvent( event );
77
+ },
78
+
79
+ removeItem: function( event ) {
80
+ var self = event.data.self,
81
+ $list = $( this ).closest( self.repeaterListClass );
82
+
83
+ self.applyChanges( $list );
84
+
85
+ $( this ).closest( self.repeaterItemClass ).remove();
86
+
87
+ self
88
+ .triggers()
89
+ .stopDefaultEvent( event );
90
+ },
91
+
92
+ toggleItem: function( event ) {
93
+ var self = event.data.self,
94
+ $container = $( this ).closest( self.repeaterItemClass );
95
+
96
+ $container.toggleClass( self.minItemClass );
97
+
98
+ self.stopDefaultEvent( event );
99
+ },
100
+
101
+ sortableItem: function( event ) {
102
+ var self = event.data.self,
103
+ $list = $( self.repeaterListClass ),
104
+ $this,
105
+ initFlag;
106
+
107
+ $list.each( function( indx, element ) {
108
+ $this = $( element );
109
+ initFlag = $( element ).data( 'sortable-init' );
110
+
111
+ if ( ! initFlag ) {
112
+ $this.sortable( {
113
+ items: self.repeaterItemClass,
114
+ handle: self.repeaterItemHandleClass,
115
+ cursor: 'move',
116
+ scrollSensitivity: 40,
117
+ forcePlaceholderSize: true,
118
+ forceHelperSize: false,
119
+ helper: 'clone',
120
+ opacity: 0.65,
121
+ placeholder: self.sortablePlaceholderClass,
122
+ create: function() {
123
+ $this.data( 'sortable-init', true );
124
+ },
125
+ update: function( event ) {
126
+ var target = $( event.target );
127
+
128
+ self.applyChanges( target );
129
+ }
130
+ } );
131
+ } else {
132
+ $this.sortable( 'refresh' );
133
+ }
134
+ } );
135
+ },
136
+
137
+ changeWrapperLable: function( event ) {
138
+ var self = event.data.self,
139
+ $list = $( self.repeaterListClass ),
140
+ titleFilds = $list.data( 'title-field' ),
141
+ $this = $( this ),
142
+ value,
143
+ parentItem;
144
+
145
+ if ( titleFilds && $this.closest( '.' + titleFilds + '-wrap' )[0] ) {
146
+ value = $this.val(),
147
+ parentItem = $this.closest( self.repeaterItemClass );
148
+
149
+ $( self.repeaterTitleClass, parentItem ).html( value );
150
+ }
151
+
152
+ self.stopDefaultEvent( event );
153
+ },
154
+
155
+ applyChanges: function( target ) {
156
+ if ( undefined !== wp.customize ) {
157
+ $( 'input[name]:first, select[name]:first', target ).change();
158
+ }
159
+
160
+ return this;
161
+ },
162
+
163
+ stopDefaultEvent: function( event ) {
164
+ event.preventDefault();
165
+ event.stopImmediatePropagation();
166
+ event.stopPropagation();
167
+
168
+ return this;
169
+ }
170
+ };
171
+
172
+ CherryJsCore.ui_elements.repeater.init();
173
+
174
+ }( jQuery, window.CherryJsCore ) );
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/assets/ui-repeater.scss ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-repeater-container {
5
+ label.cherry-label{
6
+ margin: 0 0 5px 0;
7
+ display: block;
8
+ }
9
+ }
10
+
11
+ .cherry-ui-repeater {
12
+ &-add {
13
+ @include link();
14
+ @include link_icon_before( '\f132' );
15
+ }
16
+ &-item {
17
+ padding: 10px 10px 10px 30px;
18
+ position: relative;
19
+ }
20
+ &-remove {
21
+ position: absolute;
22
+ width: 20px;
23
+ height: 20px;
24
+ right: 18px;
25
+ top: 13px;
26
+ border-radius: 50%;
27
+ border: 1px solid currentColor;
28
+ color: red;
29
+ font-size: 18px;
30
+ line-height: 20px;
31
+ text-align: center;
32
+ cursor: pointer;
33
+ &:before {
34
+ content: "\00D7";
35
+ }
36
+ &:hover {
37
+ color: black;
38
+ }
39
+ }
40
+
41
+ }
42
+
43
+ .cherry-ui-kit {
44
+ &.cherry-ui-repeater-container {
45
+ @include container();
46
+ }
47
+ > label.cherry-label {
48
+ @include container_heading();
49
+ }
50
+ .cherry-ui-repeater {
51
+ &-item {
52
+ @include box();
53
+ }
54
+ &-actions-box {
55
+ @include box_heading();
56
+ padding: 15px 20px;
57
+ cursor: move;
58
+ position: relative;
59
+ text-align: center;
60
+ min-height: 18px;
61
+ }
62
+ &-toggle {
63
+ position: absolute;
64
+ color: $grey_color_4;
65
+ width: 20px;
66
+ height: 20px;
67
+ font-size: 22px;
68
+ line-height: 20px;
69
+ text-align: center;
70
+ vertical-align: middle;
71
+ cursor: pointer;
72
+ text-decoration: none;
73
+ box-shadow: none;
74
+ outline: none;
75
+ top: 13px;
76
+ left: 18px;
77
+ &:before {
78
+ content: "\f142";
79
+ transition: all 200ms linear;
80
+ font-family: dashicons;
81
+ vertical-align: middle;
82
+ }
83
+ &:hover {
84
+ color: $dark_color_1;
85
+ }
86
+ }
87
+ &-remove {
88
+ position: absolute;
89
+ border: none;
90
+ color: $grey_color_4;
91
+ font-size: 20px;
92
+ line-height: 20px;
93
+ width: 20px;
94
+ height: 20px;
95
+ text-align: center;
96
+ vertical-align: middle;
97
+ text-decoration: none;
98
+ box-shadow: none;
99
+ outline: none;
100
+ top: 13px;
101
+ right: 18px;
102
+ &:before {
103
+ content: "\f158";
104
+ transition: all 200ms linear;
105
+ font-family: dashicons;
106
+ vertical-align: middle;
107
+ }
108
+ &:hover {
109
+ color: $dark_color_1;
110
+ }
111
+ }
112
+ &-title{
113
+ width: 70%;
114
+ overflow: hidden;
115
+ text-overflow: ellipsis;
116
+ display: inline-block;
117
+ font-size: 14px;
118
+ }
119
+ }
120
+
121
+ .cherry-ui-repeater-min {
122
+ padding-bottom: 0;
123
+ > .cheryr-ui-repeater-content-box {
124
+ display: none;
125
+ }
126
+ > .cherry-ui-repeater-actions-box {
127
+ margin-bottom: 0;
128
+ border-bottom: none;
129
+ background: none;
130
+ .cherry-ui-repeater-toggle {
131
+ &:before {
132
+ content: "\f140";
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-repeater/ui-repeater.php ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-repeater elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Repeater' ) ) {
19
+
20
+ /**
21
+ * Class for the building ui-repeater elements.
22
+ */
23
+ class UI_Repeater extends UI_Element implements I_UI {
24
+
25
+ /**
26
+ * Default settings
27
+ *
28
+ * @var array
29
+ */
30
+ private $defaults_settings = array(
31
+ 'type' => 'repeater',
32
+ 'id' => 'cherry-ui-repeater-id',
33
+ 'name' => 'cherry-ui-repeater-name',
34
+ 'value' => array(),
35
+ 'fields' => array(),
36
+ 'label' => '',
37
+ 'add_label' => 'Add Item',
38
+ 'class' => '',
39
+ 'master' => '',
40
+ 'ui_kit' => true,
41
+ 'required' => false,
42
+ 'title_field' => '',
43
+ );
44
+
45
+ /**
46
+ * Stored data to process it while renderinr row
47
+ *
48
+ * @var array
49
+ */
50
+ public $data = array();
51
+
52
+ /**
53
+ * Repeater instances counter
54
+ *
55
+ * @var integer
56
+ */
57
+ public static $instance_id = 0;
58
+
59
+ /**
60
+ * Current onstance TMPL name
61
+ *
62
+ * @var string
63
+ */
64
+ public $tmpl_name = '';
65
+
66
+ /**
67
+ * Holder for templates to print it in bottom of customizer page
68
+ *
69
+ * @var string
70
+ */
71
+ public static $customizer_tmpl_to_print = null;
72
+
73
+ /**
74
+ * Is tmpl scripts already printed in customizer
75
+ *
76
+ * @var boolean
77
+ */
78
+ public static $customizer_tmpl_printed = false;
79
+
80
+ /**
81
+ * Constructor method for the UI_Text class.
82
+ *
83
+ * @since 1.0.0
84
+ */
85
+ function __construct( $args = array() ) {
86
+
87
+ $this->defaults_settings['id'] = 'cherry-ui-input-text-' . uniqid();
88
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
89
+
90
+ $this->set_tmpl_data();
91
+
92
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
93
+ add_action( 'admin_footer', array( $this, 'print_js_template' ), 0 );
94
+
95
+ add_action( 'customize_controls_print_footer_scripts', array( $this, 'fix_customizer_tmpl' ), 9999 );
96
+
97
+ }
98
+
99
+ /**
100
+ * Get required attribute
101
+ *
102
+ * @return string required attribute
103
+ */
104
+ public function get_required() {
105
+ if ( $this->settings['required'] ) {
106
+ return 'required="required"';
107
+ }
108
+ return '';
109
+ }
110
+
111
+ /**
112
+ * Render html UI_Repeater.
113
+ *
114
+ * @since 1.0.1
115
+ */
116
+ public function render() {
117
+
118
+ $html = '';
119
+
120
+ $master_class = ! empty( $this->settings['master'] ) && isset( $this->settings['master'] ) ? esc_html( $this->settings['master'] ) : '';
121
+
122
+ $ui_kit = ! empty( $this->settings['ui_kit'] ) ? 'cherry-ui-kit' : '';
123
+
124
+ $html .= sprintf( '<div class="cherry-ui-repeater-container cherry-ui-container %1$s %2$s">',
125
+ $ui_kit,
126
+ $master_class
127
+ );
128
+ if ( '' !== $this->settings['label'] ) {
129
+ $html .= '<label class="cherry-label" for="' . esc_attr( $this->settings['id'] ) . '">' . esc_html( $this->settings['label'] ) . '</label> ';
130
+ }
131
+
132
+ $html .= sprintf(
133
+ '<div class="cherry-ui-repeater-list" data-name="%1$s" data-index="%2$s" data-widget-id="__i__" %3$s id="%4$s">',
134
+ $this->get_tmpl_name(),
135
+ ( ! empty( $this->settings['value'] ) ) ? count( $this->settings['value'] ) : 0,
136
+ ( ! empty( $this->settings['title_field'] ) ) ? 'data-title-field="' . $this->settings['title_field'] . '"': '',
137
+ esc_attr( $this->settings['id'] )
138
+ );
139
+
140
+ if ( is_array( $this->settings['value'] ) ) {
141
+ $index = 0;
142
+ foreach ( $this->settings['value'] as $data ) {
143
+ $html .= $this->render_row( $index, false, $data );
144
+ $index++;
145
+ }
146
+ }
147
+ $html .= '</div>';
148
+ $html .= sprintf(
149
+ '<a href="#" class="cherry-ui-repeater-add">%1$s</a>',
150
+ esc_html( $this->settings['add_label'] )
151
+ );
152
+ $html .= '</div>';
153
+ return $html;
154
+ }
155
+
156
+ /**
157
+ * Render single row for repeater
158
+ *
159
+ * @param string $index Current row index.
160
+ * @param number $widget_index It contains widget index.
161
+ * @param array $data Values to paste.
162
+ * @since 1.0.1
163
+ */
164
+ public function render_row( $index, $widget_index, $data ) {
165
+ $this->data = $data;
166
+
167
+ $html = '<div class="cherry-ui-repeater-item" >';
168
+ $html .= '<div class="cherry-ui-repeater-actions-box">';
169
+
170
+ $html .= '<a href="#" class="cherry-ui-repeater-remove"></a>';
171
+ $html .= '<span class="cherry-ui-repeater-title">' . $this->get_row_title() . '</span>';
172
+ $html .= '<a href="#" class="cherry-ui-repeater-toggle"></a>';
173
+
174
+ $html .= '</div>';
175
+ $html .= '<div class="cheryr-ui-repeater-content-box">';
176
+ foreach ( $this->settings['fields'] as $field ) {
177
+ $html .= '<div class="' . $field['id'] . '-wrap">';
178
+ $html .= $this->render_field( $index, $widget_index, $field );
179
+ $html .= '</div>';
180
+ }
181
+ $html .= '</div>';
182
+ $html .= '</div>';
183
+
184
+ $this->data = array();
185
+
186
+ return $html;
187
+ }
188
+
189
+ /**
190
+ * Get repeater item title
191
+ *
192
+ * @return string
193
+ * @since 1.0.1
194
+ */
195
+ public function get_row_title() {
196
+
197
+ if ( empty( $this->settings['title_field'] ) ) {
198
+ return '';
199
+ }
200
+
201
+ if ( ! empty( $this->data[ $this->settings['title_field'] ] ) ) {
202
+ return $this->data[ $this->settings['title_field'] ];
203
+ }
204
+
205
+ return '';
206
+ }
207
+
208
+ /**
209
+ * Render single repeater field
210
+ *
211
+ * @param string $index Current row index.
212
+ * @param number $widget_index It contains widget index.
213
+ * @param array $field Values to paste.
214
+ * @return string
215
+ */
216
+ public function render_field( $index, $widget_index, $field ) {
217
+
218
+ if ( empty( $field['type'] ) || empty( $field['name'] ) ) {
219
+ return '"type" and "name" are required fields for UI_Repeater items';
220
+ }
221
+
222
+ $field = wp_parse_args( $field, array( 'value' => '' ) );
223
+ $parent_name = str_replace( '__i__', $widget_index, $this->settings['name'] );
224
+
225
+ $field['id'] = sprintf( '%s-%s', $field['id'], $index );
226
+ $field['value'] = isset( $this->data[ $field['name'] ] ) ? $this->data[ $field['name'] ] : $field['value'];
227
+ $field['name'] = sprintf( '%1$s[item-%2$s][%3$s]', $parent_name, $index, $field['name'] );
228
+
229
+ $ui_class_name = 'UI_' . ucwords( $field['type'] );
230
+
231
+ if ( ! class_exists( $ui_class_name ) ) {
232
+ return '<p>Class <b>' . $ui_class_name . '</b> not exist!</p>';
233
+ }
234
+
235
+ $ui_item = new $ui_class_name( $field );
236
+
237
+ return $ui_item->render();
238
+ }
239
+
240
+ /**
241
+ * Enqueue javascript and stylesheet UI_Text
242
+ *
243
+ * @since 1.0.0
244
+ */
245
+ public static function enqueue_assets() {
246
+
247
+ wp_enqueue_style(
248
+ 'ui-repeater',
249
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-repeater.min.css', __FILE__ ) ),
250
+ array(),
251
+ '1.0.0',
252
+ 'all'
253
+ );
254
+
255
+ wp_enqueue_script(
256
+ 'ui-repeater',
257
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-repeater.min.js', __FILE__ ) ),
258
+ array( 'wp-util', 'jquery-ui-sortable' ),
259
+ '1.0.0',
260
+ true
261
+ );
262
+
263
+ }
264
+
265
+ /**
266
+ * Get TMPL name for current repeater instance.
267
+ *
268
+ * @return string
269
+ */
270
+ public function get_tmpl_name() {
271
+ return $this->tmpl_name;
272
+ }
273
+
274
+ /**
275
+ * Set current repeater instance ID
276
+ *
277
+ * @return void
278
+ */
279
+ public function set_tmpl_data() {
280
+ self::$instance_id++;
281
+ $this->tmpl_name = sprintf( 'repeater-template-%s', self::$instance_id );
282
+
283
+ global $wp_customize;
284
+ if ( isset( $wp_customize ) ) {
285
+ self::$customizer_tmpl_to_print .= $this->get_js_template();
286
+ }
287
+
288
+ }
289
+
290
+ /**
291
+ * Print JS template for current repeater instance
292
+ *
293
+ * @return void
294
+ */
295
+ public function print_js_template() {
296
+ echo $this->get_js_template();
297
+ }
298
+
299
+ /**
300
+ * Get JS template to print
301
+ *
302
+ * @return string
303
+ */
304
+ public function get_js_template() {
305
+
306
+ return sprintf(
307
+ '<script type="text/html" id="tmpl-%1$s">%2$s</script>',
308
+ $this->get_tmpl_name(),
309
+ $this->render_row( '{{{data.index}}}', '{{{data.widgetId}}}', array() )
310
+ );
311
+
312
+ }
313
+
314
+ /**
315
+ * Outputs JS templates on customizer page
316
+ *
317
+ * @return void
318
+ */
319
+ public function fix_customizer_tmpl() {
320
+ if ( true === self::$customizer_tmpl_printed ) {
321
+ return;
322
+ }
323
+ self::$customizer_tmpl_printed = true;
324
+ echo self::$customizer_tmpl_to_print;
325
+ }
326
+ }
327
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/min/select2.min.css ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}
2
+ .select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}
3
+ .select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
4
+ .select2-container .select2-selection--single .select2-selection__clear{position:relative}
5
+ .select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}
6
+ .select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}
7
+ .select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}
8
+ .select2-container .select2-search--inline{float:left}
9
+ .select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}
10
+ .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}
11
+ .select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}
12
+ .select2-results{display:block}
13
+ .select2-results__options{list-style:none;margin:0;padding:0}
14
+ .select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}
15
+ .select2-results__option[aria-selected]{cursor:pointer}
16
+ .select2-container--open .select2-dropdown{left:0}
17
+ .select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}
18
+ .select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}
19
+ .select2-search--dropdown{display:block;padding:4px}
20
+ .select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}
21
+ .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}
22
+ .select2-search--dropdown.select2-search--hide{display:none}
23
+ .select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}
24
+ .select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}
25
+ .select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}
26
+ .select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}
27
+ .select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}
28
+ .select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}
29
+ .select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}
30
+ .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}
31
+ .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}
32
+ .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}
33
+ .select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}
34
+ .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}
35
+ .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888;border-width:0 4px 5px}
36
+ .select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text}
37
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}
38
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}
39
+ .select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}
40
+ .select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}
41
+ .select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}
42
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}
43
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}
44
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{float:right}
45
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}
46
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}
47
+ .select2-container--default.select2-container--focus .select2-selection--multiple{border:solid #000 1px;outline:0}
48
+ .select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}
49
+ .select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}
50
+ .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}
51
+ .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}
52
+ .select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}
53
+ .select2-container--default .select2-search--inline .select2-search__field{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}
54
+ .select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}
55
+ .select2-container--default .select2-results__option[role=group]{padding:0}
56
+ .select2-container--default .select2-results__option[aria-disabled=true]{color:#999}
57
+ .select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}
58
+ .select2-container--default .select2-results__option .select2-results__option{padding-left:1em}
59
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}
60
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}
61
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}
62
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}
63
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}
64
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}
65
+ .select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}
66
+ .select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}
67
+ .select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top,#fff 50%,#eee 100%);background-image:-o-linear-gradient(top,#fff 50%,#eee 100%);background-image:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}
68
+ .select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}
69
+ .select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}
70
+ .select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}
71
+ .select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}
72
+ .select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top,#eee 50%,#ccc 100%);background-image:-o-linear-gradient(top,#eee 50%,#ccc 100%);background-image:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}
73
+ .select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}
74
+ .select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}
75
+ .select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}
76
+ .select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}
77
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:0 0;border:none}
78
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888;border-width:0 4px 5px}
79
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top,#fff 0,#eee 50%);background-image:-o-linear-gradient(top,#fff 0,#eee 50%);background-image:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}
80
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top,#eee 50%,#fff 100%);background-image:-o-linear-gradient(top,#eee 50%,#fff 100%);background-image:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}
81
+ .select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}
82
+ .select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}
83
+ .select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}
84
+ .select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}
85
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}
86
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}
87
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}
88
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}
89
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}
90
+ .select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}
91
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}
92
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}
93
+ .select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}
94
+ .select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}
95
+ .select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}
96
+ .select2-container--classic .select2-dropdown--above{border-bottom:none}
97
+ .select2-container--classic .select2-dropdown--below{border-top:none}
98
+ .select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}
99
+ .select2-container--classic .select2-results__option[role=group]{padding:0}
100
+ .select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}
101
+ .select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}
102
+ .select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}
103
+ .select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-select/assets/min/select2.min.js ADDED
@@ -0,0 +1,3 @@
 
 
1
+ !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var t;return function(){if(!t||!t.requirejs){t?n=t:t={};var e,n,r;!function(t){function i(e,t){return $.call(e,t)}function o(e,t){var n,r,i,o,s,a,l,c,u,d,p,h=t&&t.split("/"),f=y.map,g=f&&f["*"]||{};if(e&&"."===e.charAt(0))if(t){for(e=e.split("/"),s=e.length-1,y.nodeIdCompat&&b.test(e[s])&&(e[s]=e[s].replace(b,"")),e=h.slice(0,h.length-1).concat(e),u=0;u<e.length;u+=1)if(p=e[u],"."===p)e.splice(u,1),u-=1;else if(".."===p){if(1===u&&(".."===e[2]||".."===e[0]))break;u>0&&(e.splice(u-1,2),u-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((h||g)&&f){for(n=e.split("/"),u=n.length;u>0;u-=1){if(r=n.slice(0,u).join("/"),h)for(d=h.length;d>0;d-=1)if(i=f[h.slice(0,d).join("/")],i&&(i=i[r])){o=i,a=u;break}if(o)break;!l&&g&&g[r]&&(l=g[r],c=u)}!o&&l&&(o=l,a=c),o&&(n.splice(0,a,o),e=n.join("/"))}return e}function s(e,n){return function(){var r=w.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),h.apply(t,r.concat([e,n]))}}function a(e){return function(t){return o(t,e)}}function l(e){return function(t){m[e]=t}}function c(e){if(i(v,e)){var n=v[e];delete v[e],_[e]=!0,p.apply(t,n)}if(!i(m,e)&&!i(_,e))throw new Error("No "+e);return m[e]}function u(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function d(e){return function(){return y&&y.config&&y.config[e]||{}}}var p,h,f,g,m={},v={},y={},_={},$=Object.prototype.hasOwnProperty,w=[].slice,b=/\.js$/;f=function(e,t){var n,r=u(e),i=r[0];return e=r[1],i&&(i=o(i,t),n=c(i)),i?e=n&&n.normalize?n.normalize(e,a(t)):o(e,t):(e=o(e,t),r=u(e),i=r[0],e=r[1],i&&(n=c(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n}},g={require:function(e){return s(e)},exports:function(e){var t=m[e];return"undefined"!=typeof t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:d(e)}}},p=function(e,n,r,o){var a,u,d,p,h,y,$=[],w=typeof r;if(o=o||e,"undefined"===w||"function"===w){for(n=!n.length&&r.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if(p=f(n[h],o),u=p.f,"require"===u)$[h]=g.require(e);else if("exports"===u)$[h]=g.exports(e),y=!0;else if("module"===u)a=$[h]=g.module(e);else if(i(m,u)||i(v,u)||i(_,u))$[h]=c(u);else{if(!p.p)throw new Error(e+" missing "+u);p.p.load(p.n,s(o,!0),l(u),{}),$[h]=m[u]}d=r?r.apply(m[e],$):void 0,e&&(a&&a.exports!==t&&a.exports!==m[e]?m[e]=a.exports:d===t&&y||(m[e]=d))}else e&&(m[e]=r)},e=n=h=function(e,n,r,i,o){if("string"==typeof e)return g[e]?g[e](n):c(f(e,n).f);if(!e.splice){if(y=e,y.deps&&h(y.deps,y.callback),!n)return;n.splice?(e=n,n=r,r=null):e=t}return n=n||function(){},"function"==typeof r&&(r=i,i=o),i?p(t,e,n,r):setTimeout(function(){p(t,e,n,r)},4),h},h.config=function(e){return h(e)},e._defined=m,r=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),i(m,e)||i(v,e)||(v[e]=[e,t,n])},r.amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=r}}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(e){function t(e){var t=e.prototype,n=[];for(var r in t){var i=t[r];"function"==typeof i&&"constructor"!==r&&n.push(r)}return n}var n={};n.Extend=function(e,t){function n(){this.constructor=e}var r={}.hasOwnProperty;for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},n.Decorate=function(e,n){function r(){var t=Array.prototype.unshift,r=n.prototype.constructor.length,i=e.prototype.constructor;r>0&&(t.call(arguments,e.prototype.constructor),i=n.prototype.constructor),i.apply(this,arguments)}function i(){this.constructor=r}var o=t(n),s=t(e);n.displayName=e.displayName,r.prototype=new i;for(var a=0;a<s.length;a++){var l=s[a];r.prototype[l]=e.prototype[l]}for(var c=(function(e){var t=function(){};e in r.prototype&&(t=r.prototype[e]);var i=n.prototype[e];return function(){var e=Array.prototype.unshift;return e.call(arguments,t),i.apply(this,arguments)}}),u=0;u<o.length;u++){var d=o[u];r.prototype[d]=c(d)}return r};var r=function(){this.listeners={}};return r.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},r.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(e,t){for(var n=0,r=e.length;r>n;n++)e[n].apply(this,t)},n.Observable=r,n.generateChars=function(e){for(var t="",n=0;e>n;n++){var r=Math.floor(36*Math.random());t+=r.toString(36)}return t},n.bind=function(e,t){return function(){e.apply(t,arguments)}},n._convertData=function(e){for(var t in e){var n=t.split("-"),r=e;if(1!==n.length){for(var i=0;i<n.length;i++){var o=n[i];o=o.substring(0,1).toLowerCase()+o.substring(1),o in r||(r[o]={}),i==n.length-1&&(r[o]=e[t]),r=r[o]}delete e[t]}}return e},n.hasScroll=function(t,n){var r=e(n),i=n.style.overflowX,o=n.style.overflowY;return i!==o||"hidden"!==o&&"visible"!==o?"scroll"===i||"scroll"===o?!0:r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth:!1},n.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},n.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var r=e();e.map(n,function(e){r=r.add(e)}),n=r}t.append(n)},n}),t.define("select2/results",["jquery","./utils"],function(e,t){function n(e,t,r){this.$element=e,this.data=r,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=e('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(t.message);r.append(n(i(t.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null==e.results||0===e.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var r=e.results[n],i=this.option(r);t.push(i)}this.$results.append(t)},n.prototype.position=function(e,t){var n=t.find(".select2-results");n.append(e)},n.prototype.sort=function(e){var t=this.options.get("sorter");return t(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var r=e.map(n,function(e){return e.id.toString()}),i=t.$results.find(".select2-results__option[aria-selected]");i.each(function(){var t=e(this),n=e.data(this,"data"),i=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(i,r)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")})})},n.prototype.showLoading=function(e){this.hideLoading();var t=this.options.get("translations").get("searching"),n={disabled:!0,loading:!0,text:t(e)},r=this.option(n);r.className+=" loading-results",this.$results.prepend(r)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var n=document.createElement("li");n.className="select2-results__option";var r={role:"treeitem","aria-selected":"false"};t.disabled&&(delete r["aria-selected"],r["aria-disabled"]="true"),null==t.id&&delete r["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(r.role="group",r["aria-label"]=t.text,delete r["aria-selected"]);for(var i in r){var o=r[i];n.setAttribute(i,o)}if(t.children){var s=e(n),a=document.createElement("strong");a.className="select2-results__group";{e(a)}this.template(t,a);for(var l=[],c=0;c<t.children.length;c++){var u=t.children[c],d=this.option(u);l.push(d)}var p=e("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});p.append(l),s.append(a),s.append(p)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t){var n=this,r=t.id+"-results";this.$results.attr("id",r),t.on("results:all",function(e){n.clear(),n.append(e.data),t.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),t.on("results:append",function(e){n.append(e.data),t.isOpen()&&n.setClasses()}),t.on("query",function(e){n.hideMessages(),n.showLoading(e)}),t.on("select",function(){t.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),t.on("open",function(){n.$results.attr("aria-expanded","true"),n.$results.attr("aria-hidden","false"),n.setClasses(),n.ensureHighlightVisible()}),t.on("close",function(){n.$results.attr("aria-expanded","false"),n.$results.attr("aria-hidden","true"),n.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=n.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=n.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?n.trigger("close",{}):n.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=n.getHighlightedResults(),t=n.$results.find("[aria-selected]"),r=t.index(e);if(0!==r){var i=r-1;0===e.length&&(i=0);var o=t.eq(i);o.trigger("mouseenter");var s=n.$results.offset().top,a=o.offset().top,l=n.$results.scrollTop()+(a-s);0===i?n.$results.scrollTop(0):0>a-s&&n.$results.scrollTop(l)}}),t.on("results:next",function(){var e=n.getHighlightedResults(),t=n.$results.find("[aria-selected]"),r=t.index(e),i=r+1;if(!(i>=t.length)){var o=t.eq(i);o.trigger("mouseenter");var s=n.$results.offset().top+n.$results.outerHeight(!1),a=o.offset().top+o.outerHeight(!1),l=n.$results.scrollTop()+a-s;0===i?n.$results.scrollTop(0):a>s&&n.$results.scrollTop(l)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){n.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=n.$results.scrollTop(),r=n.$results.get(0).scrollHeight-t+e.deltaY,i=e.deltaY>0&&t-e.deltaY<=0,o=e.deltaY<0&&r<=n.$results.height();i?(n.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):o&&(n.$results.scrollTop(n.$results.get(0).scrollHeight-n.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var r=e(this),i=r.data("data");return"true"===r.attr("aria-selected")?void(n.options.get("multiple")?n.trigger("unselect",{originalEvent:t,data:i}):n.trigger("close",{})):void n.trigger("select",{originalEvent:t,data:i})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var t=e(this).data("data");n.getHighlightedResults().removeClass("select2-results__option--highlighted"),n.trigger("results:focus",{data:t,element:e(this)})})},n.prototype.getHighlightedResults=function(){var e=this.$results.find(".select2-results__option--highlighted");return e},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]"),n=t.index(e),r=this.$results.offset().top,i=e.offset().top,o=this.$results.scrollTop()+(i-r),s=i-r;o-=2*e.outerHeight(!1),2>=n?this.$results.scrollTop(0):(s>this.$results.outerHeight()||0>s)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,n){var r=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),o=r(t,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=i(o):e(n).append(o)},n}),t.define("select2/keys",[],function(){var e={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return e}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var t=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},r.prototype.bind=function(e){var t=this,r=(e.id+"-container",e.id+"-results");this.container=e,this.$selection.on("focus",function(e){t.trigger("focus",e)}),this.$selection.on("blur",function(e){t._handleBlur(e)}),this.$selection.on("keydown",function(e){t.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){t.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){t.update(e.data)}),e.on("open",function(){t.$selection.attr("aria-expanded","true"),t.$selection.attr("aria-owns",r),t._attachCloseHandler(e)}),e.on("close",function(){t.$selection.attr("aria-expanded","false"),t.$selection.removeAttr("aria-activedescendant"),t.$selection.removeAttr("aria-owns"),t.$selection.focus(),t._detachCloseHandler(e)}),e.on("enable",function(){t.$selection.attr("tabindex",t._tabindex)}),e.on("disable",function(){t.$selection.attr("tabindex","-1")})},r.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)},1)},r.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.select2."+t.id,function(t){var n=e(t.target),r=n.closest(".select2"),i=e(".select2.select2-container--open");i.each(function(){var t=e(this);if(this!=r[0]){var n=t.data("element");n.select2("close")}})})},r.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},r.prototype.position=function(e,t){var n=t.find(".selection");n.append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},r}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(e){var t=this;r.__super__.bind.apply(this,arguments);var n=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(e){1===e.which&&t.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),e.on("focus",function(){e.isOpen()||t.$selection.focus()}),e.on("selection:update",function(e){t.update(e.data)})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(e,t){var n=this.options.get("templateSelection"),r=this.options.get("escapeMarkup");return r(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0===e.length)return void this.clear();var t=e[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(t,n);n.empty().append(r),n.prop("title",t.title||t.text)},r}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},r.prototype.bind=function(){var t=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){t.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(n){if(!t.options.get("disabled")){var r=e(this),i=r.parent(),o=i.data("data");t.trigger("unselect",{originalEvent:n,data:o})}})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(e,t){var n=this.options.get("templateSelection"),r=this.options.get("escapeMarkup");return r(n(e,t))},r.prototype.selectionContainer=function(){var t=e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>');return t},r.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],r=0;r<e.length;r++){var i=e[r],o=this.selectionContainer(),s=this.display(i,o);o.append(s),o.prop("title",i.title||i.text),o.data("data",i),t.push(o)}var a=this.$selection.find(".select2-selection__rendered");n.appendMany(a,t)}},r}),t.define("select2/selection/placeholder",["../utils"],function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id,r=t.length>1;if(r||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e}),t.define("select2/selection/allowClear",["jquery","../keys"],function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){r._handleClear(e)}),t.on("keypress",function(e){r._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();for(var r=n.data("data"),i=0;i<r.length;i++){var o={data:r[i]};if(this.trigger("unselect",o),o.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(e,n,r){r.isOpen()||(n.which==t.DELETE||n.which==t.BACKSPACE)&&this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var r=e('<span class="select2-selection__clear">&times;</span>');r.data("data",n),this.$selection.find(".select2-selection__rendered").prepend(r)}},n}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function r(e,t,n){e.call(this,t,n)}return r.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var r=t.call(this);return this._transferTabIndex(),r},r.prototype.bind=function(e,t,r){var i=this;e.call(this,t,r),t.on("open",function(){i.$search.trigger("focus")}),t.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),t.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),t.on("disable",function(){i.$search.prop("disabled",!0)}),t.on("focus",function(){i.$search.trigger("focus")}),t.on("results:focus",function(e){i.$search.attr("aria-activedescendant",e.id)}),this.$selection.on("focusin",".select2-search--inline",function(e){i.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){i._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented();var t=e.which;if(t===n.BACKSPACE&&""===i.$search.val()){var r=i.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var o=r.data("data");i.searchRemoveChoice(o),e.preventDefault()}}});var o=document.documentMode,s=o&&11>=o;this.$selection.on("input.searchcheck",".select2-search--inline",function(){return s?void i.$selection.off("input.search input.searchcheck"):void i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(s&&"input"===e.type)return void i.$selection.off("input.search input.searchcheck");var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&i.handleSearch(e)})},r.prototype._transferTabIndex=function(){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},r.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";if(""!==this.$search.attr("placeholder"))e="100%";else{var t=this.$search.val().length+1;e=.75*t+"em"}this.$search.css("width",e)},r}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,r){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting"],s=["opening","closing","selecting","unselecting"];t.call(this,n,r),n.on("*",function(t,n){if(-1!==e.inArray(t,o)){n=n||{};var r=e.Event("select2:"+t,{params:n});i.$element.trigger(r),-1!==e.inArray(t,s)&&(n.prevented=r.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var r=t(e);n._cache[e]=r}return new n(n._cache[e])},n}),t.define("select2/diacritics",[],function(){var e={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return e}),t.define("select2/data/base",["../utils"],function(e){function t(){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var r=t.id+"-result-";return r+=e.generateChars(4),r+=null!=n.id?"-"+n.id.toString():"-"+e.generateChars(4)},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,e),r.prototype.current=function(e){var t=[],r=this;this.$element.find(":selected").each(function(){var e=n(this),i=r.item(e);t.push(i)}),e(t)},r.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(r){var i=[];e=[e],e.push.apply(e,r);
2
+ for(var o=0;o<e.length;o++){var s=e[o].id;-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")});else{var r=e.id;this.$element.val(r),this.$element.trigger("change")}},r.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple"))return e.selected=!1,n(e.element).is("option")?(e.element.selected=!1,void this.$element.trigger("change")):void this.current(function(r){for(var i=[],o=0;o<r.length;o++){var s=r[o].id;s!==e.id&&-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")})},r.prototype.bind=function(e){var t=this;this.container=e,e.on("select",function(e){t.select(e.data)}),e.on("unselect",function(e){t.unselect(e.data)})},r.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},r.prototype.query=function(e,t){var r=[],i=this,o=this.$element.children();o.each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var o=i.item(t),s=i.matches(e,o);null!==s&&r.push(s)}}),t({results:r})},r.prototype.addOptions=function(e){t.appendMany(this.$element,e)},r.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup"),t.label=e.text):(t=document.createElement("option"),void 0!==t.textContent?t.textContent=e.text:t.innerText=e.text),e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var r=n(t),i=this._normalizeItem(e);return i.element=t,n.data(t,"data",i),r},r.prototype.item=function(e){var t={};if(t=n.data(e[0],"data"),null!=t)return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var r=e.children("option"),i=[],o=0;o<r.length;o++){var s=n(r[o]),a=this.item(s);i.push(a)}t.children=i}return t=this._normalizeItem(t),t.element=e[0],n.data(e[0],"data",t),t},r.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e}),e=n.extend({},{text:""},e);var t={selected:!1,disabled:!1};return null!=e.id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},t,e)},r.prototype.matches=function(e,t){var n=this.options.get("matcher");return n(e,t)},r}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function r(e,t){var n=t.get("data")||[];r.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(r,e),r.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){function r(e){return function(){return n(this).val()==e.id}}for(var i=this,o=this.$element.find("option"),s=o.map(function(){return i.item(n(this)).id}).get(),a=[],l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,s)>=0){var u=o.filter(r(c)),d=this.item(u),p=n.extend(!0,{},c,d),h=this.option(p);u.replaceWith(h)}else{var f=this.option(c);if(c.children){var g=this.convertToOptions(c.children);t.appendMany(f,g)}a.push(f)}}return a},r}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,r){var i=n.ajax(e);return i.then(t),i.fail(r),i}};return n.extend({},t,e,!0)},r.prototype.processResults=function(e){return e},r.prototype.query=function(e,t){function r(){var r=o.transport(o,function(r){var o=i.processResults(r,e);i.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(o)},function(){r.status&&"0"===r.status||i.trigger("results:message",{message:"errorLoading"})});i._request=r}var i=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof o.url&&(o.url=o.url.call(this.$element,e)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},r}),t.define("select2/data/tags",["jquery"],function(e){function t(t,n,r){var i=r.get("tags"),o=r.get("createTag");void 0!==o&&(this.createTag=o);var s=r.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,n,r),e.isArray(i))for(var a=0;a<i.length;a++){var l=i[a],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return t.prototype.query=function(e,t,n){function r(e,o){for(var s=e.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!r({results:l.children},!0),u=l.text===t.term;if(u||c)return o?!1:(e.data=s,void n(e))}if(o)return!0;var d=i.createTag(t);if(null!=d){var p=i.option(d);p.attr("data-select2-tag",!0),i.addOptions([p]),i.insertTag(s,d)}e.results=s,n(e)}var i=this;return this._removeOldTags(),null==t.term||null!=t.page?void e.call(this,t,n):void e.call(this,t,r)},t.prototype.createTag=function(t,n){var r=e.trim(n.term);return""===r?null:{id:r,text:r}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(){var t=(this._lastTag,this.$element.find("option[data-select2-tag]"));t.each(function(){this.selected||e(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,r){function i(t){var n=s._normalizeItem(t),r=s.$element.find("option").filter(function(){return e(this).val()===n.id});if(!r.length){var i=s.option(n);i.attr("data-select2-tag",!0),s._removeOldTags(),s.addOptions([i])}o(n)}function o(e){s.trigger("select",{data:e})}var s=this;n.term=n.term||"";var a=this.tokenizer(n,this.options,i);a.term!==n.term&&(this.$search.length&&(this.$search.val(a.term),this.$search.focus()),n.term=a.term),t.call(this,n,r)},t.prototype.tokenizer=function(t,n,r,i){for(var o=r.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<s.length;){var c=s[a];if(-1!==e.inArray(c,o)){var u=s.substr(0,a),d=e.extend({},n,{term:u}),p=l(d);null!=p?(i(p),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},t}),t.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",t.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){return t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):void e.call(this,t,n)},e}),t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var r=this;this.current(function(i){var o=null!=i?i.length:0;return r.maximumSelectionLength>0&&o>=r.maximumSelectionLength?void r.trigger("results:message",{message:"maximumSelected",args:{maximum:r.maximumSelectionLength}}):void e.call(r,t,n)})},e}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=r,this.$search=r.find("input"),n.prepend(r),n},t.prototype.bind=function(t,n,r){var i=this;t.call(this,n,r),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(){e(this).off("keyup")}),this.$search.on("keyup input",function(e){i.handleSearch(e)}),n.on("open",function(){i.$search.attr("tabindex",0),i.$search.focus(),window.setTimeout(function(){i.$search.focus()},0)}),n.on("close",function(){i.$search.attr("tabindex",-1),i.$search.val("")}),n.on("focus",function(){n.isOpen()&&i.$search.focus()}),n.on("results:all",function(e){if(null==e.query.term||""===e.query.term){var t=i.showSearch(e);t?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide")}})},t.prototype.handleSearch=function(){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},t.prototype.showSearch=function(){return!0},t}),t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;r>=0;r--){var i=t[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},e}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,n,r){var i=this;t.call(this,n,r),n.on("query",function(e){i.lastParams=e,i.loading=!0}),n.on("query:append",function(e){i.lastParams=e,i.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,i.$loadingMore[0]);if(!i.loading&&t){var n=i.$results.offset().top+i.$results.outerHeight(!1),r=i.$loadingMore.offset().top+i.$loadingMore.outerHeight(!1);n+50>=r&&i.loadMore()}})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(t,n,r){this.$dropdownParent=r.get("dropdownParent")||e(document.body),t.call(this,n,r)}return n.prototype.bind=function(e,t,n){var r=this,i=!1;e.call(this,t,n),t.on("open",function(){r._showDropdown(),r._attachPositioningHandler(t),i||(i=!0,t.on("results:all",function(){r._positionDropdown(),r._resizeDropdown()}),t.on("results:append",function(){r._positionDropdown(),r._resizeDropdown()}))}),t.on("close",function(){r._hideDropdown(),r._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),r=t.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,r){var i=this,o="scroll.select2."+r.id,s="resize.select2."+r.id,a="orientationchange.select2."+r.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){e(this).data("select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(o,function(){var t=e(this).data("select2-scroll-position");e(this).scrollTop(t.y)}),e(window).on(o+" "+s+" "+a,function(){i._positionDropdown(),i._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,r){var i="scroll.select2."+r.id,o="resize.select2."+r.id,s="orientationchange.select2."+r.id,a=this.$container.parents().filter(t.hasScroll);a.off(i),e(window).off(i+" "+o+" "+s)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=o.top,s.bottom=o.top+s.height;var a={height:this.$dropdown.outerHeight(!1)},l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},c=l.top<o.top-a.height,u=l.bottom>o.bottom+a.height,d={left:o.left,top:s.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h=p.offset();d.top-=h.top,d.left-=h.left,n||r||(i="below"),u||!c||n?!c&&u&&n&&(i="below"):i="above",("above"==i||n&&"below"!==i)&&(d.top=s.top-h.top-a.height),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(t){for(var n=0,r=0;r<t.length;r++){var i=t[r];i.children?n+=e(i.children):n++}return n}function t(e,t,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return t.prototype.showSearch=function(t,n){return e(n.data.results)<this.minimumResultsForSearch?!1:t.call(this,n)},t}),t.define("select2/dropdown/selectOnClose",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("close",function(e){r._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var r=this.getHighlightedResults();if(!(r.length<1)){var i=r.data("data");null!=i.element&&i.element.selected||null==i.element&&i.selected||this.trigger("select",{data:i})}},e}),t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",function(e){r._selectTriggered(e)}),t.on("unselect",function(e){r._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,n,r,i,o,s,a,l,c,u,d,p,h,f,g,m,v,y,_,$,w,b,A,x,E,C,O,S){function T(){this.reset()}T.prototype.apply=function(d){if(d=e.extend(!0,{},this.defaults,d),null==d.dataAdapter){if(d.dataAdapter=null!=d.ajax?f:null!=d.data?h:p,d.minimumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,v)),d.maximumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,y)),d.maximumSelectionLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,_)),d.tags&&(d.dataAdapter=c.Decorate(d.dataAdapter,g)),(null!=d.tokenSeparators||null!=d.tokenizer)&&(d.dataAdapter=c.Decorate(d.dataAdapter,m)),null!=d.query){var S=t(d.amdBase+"compat/query");d.dataAdapter=c.Decorate(d.dataAdapter,S)}if(null!=d.initSelection){var T=t(d.amdBase+"compat/initSelection");d.dataAdapter=c.Decorate(d.dataAdapter,T)}}if(null==d.resultsAdapter&&(d.resultsAdapter=n,null!=d.ajax&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,A)),null!=d.placeholder&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,b)),d.selectOnClose&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,C))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=$;else{var D=c.Decorate($,w);d.dropdownAdapter=D}if(0!==d.minimumResultsForSearch&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,E)),d.closeOnSelect&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,O)),null!=d.dropdownCssClass||null!=d.dropdownCss||null!=d.adaptDropdownCssClass){var q=t(d.amdBase+"compat/dropdownCss");d.dropdownAdapter=c.Decorate(d.dropdownAdapter,q)}d.dropdownAdapter=c.Decorate(d.dropdownAdapter,x)}if(null==d.selectionAdapter){if(d.selectionAdapter=d.multiple?i:r,null!=d.placeholder&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,o)),d.allowClear&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,s)),d.multiple&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,a)),null!=d.containerCssClass||null!=d.containerCss||null!=d.adaptContainerCssClass){var L=t(d.amdBase+"compat/containerCss");d.selectionAdapter=c.Decorate(d.selectionAdapter,L)}d.selectionAdapter=c.Decorate(d.selectionAdapter,l)}if("string"==typeof d.language)if(d.language.indexOf("-")>0){var j=d.language.split("-"),P=j[0];d.language=[d.language,P]}else d.language=[d.language];if(e.isArray(d.language)){var k=new u;d.language.push("en");for(var I=d.language,R=0;R<I.length;R++){var M=I[R],U={};try{U=u.loadPath(M)}catch(H){try{M=this.defaults.amdLanguageBase+M,U=u.loadPath(M)}catch(z){d.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}k.extend(U)}d.translations=k}else{var N=u.loadPath(this.defaults.amdLanguageBase+"en"),B=new u(d.language);B.extend(N),d.translations=B}return d},T.prototype.reset=function(){function t(e){function t(e){return d[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(r,i){if(""===e.trim(r.term))return i;if(i.children&&i.children.length>0){for(var o=e.extend(!0,{},i),s=i.children.length-1;s>=0;s--){var a=i.children[s],l=n(r,a);null==l&&o.children.splice(s,1)}return o.children.length>0?o:n(r,o)}var c=t(i.text).toUpperCase(),u=t(r.term).toUpperCase();return c.indexOf(u)>-1?i:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:S,matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},T.prototype.set=function(t,n){var r=e.camelCase(t),i={};i[r]=n;var o=c._convertData(i);e.extend(this.defaults,o)};var D=new T;return D}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,n,r){function i(t,i){if(this.options=t,null!=i&&this.fromElement(i),this.options=n.apply(this.options),i&&i.is("input")){var o=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,o)}}return i.prototype.fromElement=function(e){var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(this.options.dir=e.prop("dir")?e.prop("dir"):e.closest("[dir]").prop("dir")?e.closest("[dir]").prop("dir"):"ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),e.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),e.data("data",e.data("select2Tags")),e.data("tags",!0)),e.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var i={};i=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var o=t.extend(!0,{},i);o=r._convertData(o);for(var s in o)t.inArray(s,n)>-1||(t.isPlainObject(this.options[s])?t.extend(this.options[s],o[s]):this.options[s]=o[s]);return this},i.prototype.get=function(e){return this.options[e]},i.prototype.set=function(e,t){this.options[e]=t},i}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,n,r){var i=function(e,n){null!=e.data("select2")&&e.data("select2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),i.__super__.constructor.call(this);var r=e.attr("tabindex")||0;e.data("old-tabindex",r),e.attr("tabindex","-1");var o=this.options.get("dataAdapter");this.dataAdapter=new o(e,this.options);var s=this.render();this._placeContainer(s);var a=this.options.get("selectionAdapter");this.selection=new a(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){u.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("select2",this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(e){var t="";return t=null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4),t=t.replace(/(:|\.|\[|\]|,)/g,""),t="select2-"+t},i.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},i.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var r=this._resolveWidth(e,"style");return null!=r?r:this._resolveWidth(e,"element")}if("element"==t){var i=e.outerWidth(!1);return 0>=i?"auto":i+"px"}if("style"==t){var o=e.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;l>a;a+=1){var c=s[a].replace(/\s/g,""),u=c.match(n);if(null!==u&&u.length>=1)return u[1]}return null}return t},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},i.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var r=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=r?(this._observer=new r(function(n){e.each(n,t._syncA),e.each(n,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},i.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},i.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(r,i){-1===e.inArray(r,n)&&t.trigger(r,i)})},i.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},i.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},i.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("select2-container--open")}),this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&t.altKey?(e.close(),t.preventDefault()):n===r.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===r.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===r.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._syncSubtree=function(e,t){var n=!1,r=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var i=0;i<t.addedNodes.length;i++){var o=t.addedNodes[i];o.selected&&(n=!0)}else t.removedNodes&&t.removedNodes.le